Need Code for Multiple Billing Formats

Discussion in 'Free Source Codes' started by SRikanth Dasari, Nov 11, 2018.

    

  1. Can anyone here design a code for multiple billing formats

    In the voucher type we can select a format from the list available so for that particular voucher it will print in that format.

    Billing Formats are Sales Bill on A4 or A5

    Retail Sales Bills with Gate Pass and the bill should be in less size for stationary saving presently I am using one third of legal
     



  2. [#Part: VTYP BehaviourMain]
    Add: Line: After : VTYP SalesVoucher Jurisdiction : BillFormat

    [Line: BillFormat]

    Fields : PSDescription, PrintStyle


    [Field: PSDescription]
    Use:Name Field
    Set as:"Print Format:"
    Align:Left
    Color:"Blue"
    Read Only:Yes
    Skip :Yes


    [Field:printStyle]
    Use:Name Field
    Align:Left
    Table:pSTable, End of List
    Show Table:Always
    Storage:printStyle


    [System:UDF]
    PrintStyle:String:41024

    [Table:pSTable]
    Title:"PrintFormats"
    List: Default Style, Style 1, Style 2



    Now Anyone Help after this if in Sales Voucher we select Style A4 then default sales voucher should be printed

    Next If we select Style 1 a customized design file should be printed for example here we have new GST INVOICE with batch

    Next if we select style 3 another format should be
     



  3. how to defined style for style 1 on customized invoice
     


Share This Page