How to print custom invoice by button

Discussion in 'Requests' started by Hems, Mar 1, 2024.

    
  1. Hems

    Hems Member


    I want to print the sales invoice in my format by a button.
    Alt + p prints the default and the new button prints my format.
    For this I wrote this code, but not work.

    Please any suggestion...?



    [#Form : Sales Color]
    Add : button: hk

    [Button:hk]
    Title: $$localstring:"MyFormat"
    Key: alt + 1
    Action :print: EBY Custom Invoice



    [Report :EBY Custom Invoice]
    Use : Printed Invoice
    Delete: Form : Printed Invoice
    Form : EBY Custom Invoice
     


  2. Hems

    Hems Member



    Problem solved..
    Thanks
     


  3. AMIT JALAN

    AMIT JALAN Member


    Hi Hems,

    How did you solved it?
     


  4. Hems

    Hems Member






    [#Form : Sales Color]
    Add : button: hk

    [Button:hk]
    Title: $$localstring:"MyFormat"
    Key: alt + 1
    Action :print report :hks Custom Invoice:true



    [Report :hks Custom Invoice]
    Use : Printed Invoice
    Delete: Form : Printed Invoice
    Form : hks Custom Invoice
     
    AMIT JALAN likes this.


Share This Page