Company Specific TDLs?? (Diffrent invoices for diffrent companies?)

Discussion in 'Tally Developer' started by Pulkit lila, Jul 30, 2014.

    
  1. Pulkit lila

    Pulkit lila New Member


    I want to set diffrent custom invoices for 2 diffrent companies, as of now i only get the same custom invoice format that i made for all the companies.

    So i want to know can TDLs be Company specificy, IE it would work only for 1 particular company, or maybe like it would not work for a particular comapny
     


  2. Pulkit lila

    Pulkit lila New Member


    Further, it would be even better if i could switch off certian TDLs for one firm, and add Certiain TDL only to another firm
     


  3. RIBU

    RIBU New Member


    Just given one condition at form level; eg :

    [#Form : Sales Color]
    Option : ABC trading Invoice : @@Cmpmailname contains "ABC Ltd"
    Option : XYZ trading Invoice : @@Cmpmailname contains "XYZ Traders"

    [!Form : ABC trading Invoice]
    Delete : Print : Printed Invoice
    Print : ABC INVOICE

    [!Form : XYZ trading Invoice]
    Delete : Print : Printed Invoice
    Print : XYZ INVOICE

    Try this code;
     
    JObimon Arackal JOhn likes this.


  4. Mahesh Sethi

    Mahesh Sethi Member


    Sir,

    If i want Two Different Invoice formats for single company than............

    Pls help me....
    Thanks in Advance
     



  5. Hi Mahesh,

    You have to add variable at the invoice print level which will allow you to select different print for single company.
     


  6. Mahesh Sethi

    Mahesh Sethi Member


    Hello Aaradhya,

    can you pls explain (example .. ) or pls give me your mail id so i send code to you .

    Thanks for your replay. this is your first replay when i was join this forum.
    again thanks & awaiting for your replay.

    Manish Patil
    tally_Indore@yahoo.com
     


  7. Maulik Patel

    Maulik Patel Active Member


    Dear Mahesh,

    I dont know your exact requirement but I can give you one example to print different voucher type.

    Code:
    [#Form : Sales Color]
        Delete    : Print
        Add    : Option    : MLK Format 1    : ##SVVoucherType = "Sales Invoice 1"
        Add    : Option    : MLK Format 2    : ##SVVoucherType = "Sales Invoice 2"
    
        [!Form : MLK Format 1]
            Print    : MLK Format 1
    
        [!Form : MLK Format 2]
            Print    : MLK Format 2
     


Share This Page