Hello, I am using two companies in tally. I need different print configuration for the selected company. For example, one company prints the Sales Invoice in Simple Format with no mailing details. This format is used when I want to print Cash invoices The other company prints the Sales Invoice in detailed format. I have to change the setting each time based on the company selected which is very tedious. Can anyone help with a tdl so that each company has its own print setting? Thanks in advance
Code: [#Line: SASimple] Local : Field : Logical Field : Set as : If $BasicCompanyFormalName:Company:##SVCurrentCompany="ABC & Co." Then Yes Else No [#Report: VchF12Config SalesInvoice] Set : SASimple : If $BasicCompanyFormalName:Company:##SVCurrentCompany="ABC & Co." Then Yes Else No [#Variable: SASimple] Persistent : Yes Type : Logical Default : If $BasicCompanyFormalName:Company:##SVCurrentCompany="ABC & Co." Then Yes Else No But owing to the fact that TALLY uses a common config file.... you will have to do the following....... After pressing Ctrl+P....press F12...then Press Ctrl+A .... the rest will be automatic. In the above code....replace "ABC & Co." with your company's formal name...i.e. the mailing name.......
Technically you can avoid the above steps....if you open TALLY in multiple times..... i.e. open tally with Company wherein you want simple invoice......and in another instance of Tally...open companies for other print profiles.
Thanks for replying. I have been doing this by opening two instances of Tally and changing the setting once every day. The code will only change the format to Simple mode based on the company name right? I am attaching my print configs of both my companies. Kindly check and help me with tdl file. Thanks in advance
Well that is whole lot of coding.....which am sure you can do it on your own..........you can refer to TALLY Developer for F12 Configuration and you can follow the sample code that i have provided you above.......It is doable and if you have any problem.....i can help you out.......... But I do not have time nor inclination to divert from my own projects to make TDL.......... It will be a good learning exposure......good luck
Thank you so much for your time. I will try this. Can you refer me a link for Tally developer modules? It would be really helpful Thanks again
In Tally Developer....press Ctrl+D....and search for this.......... Report: VchF12Config SalesInvoice U can scroll down and find relevant fields relation to your requirement..... In each and every one of them....just follow the example i have done as shown in earlier post........ You can also open Tally in developer mode....hover about the field you want set to YES....and it will give you that field name......
Sir require company with two invoice format print with selection Invoice format 1 & Invoice format 2 please help