"This TDL that I have created below is not working."
1.I have multiple companies available in Tally Prime, so I need to save the voucher XML based on the selected company's GST number in Tally Prime.
Below is the TDL file that will save the voucher as an XML file upon saving the voucher.
2.In the provided TDL file, there are variables defined as follows:
Variable: Gstin12:String:"22AAAAA0000A1Z5"
Variable: Cmpgstin:String
The GST number '22AAAAA0000A1Z5' represents the actual GST of the company, and I need to save the data when saving the voucher. The variable 'Cmpgstin' represents the company's GST, which is available when creating the voucher.
I have created a function called 'IsGSTNoExists' to compare the GST number of the actual company GST with the selected GST number. If both GST numbers are equal, then another function is called within the same function. If they are not equal, the voucher is not saved.
05:call: sendxml
""Please correct the TDL file so that it saves the XML file based on the selected GST number.""
"This TDL that I have created below is not working."
1.I have multiple companies available in Tally Prime, so I need to save the voucher XML based on the selected company's GST number in Tally Prime. Below is the TDL file that will save the voucher as an XML file upon saving the voucher.
2.In the provided TDL file, there are variables defined as follows:
Variable: Gstin12:String:"22AAAAA0000A1Z5"
Variable: Cmpgstin:String
The GST number '22AAAAA0000A1Z5' represents the actual GST of the company, and I need to save the data when saving the voucher. The variable 'Cmpgstin' represents the company's GST, which is available when creating the voucher.
I have created a function called 'IsGSTNoExists' to compare the GST number of the actual company GST with the selected GST number. If both GST numbers are equal, then another function is called within the same function. If they are not equal, the voucher is not saved.
05:call: sendxml
""Please correct the TDL file so that it saves the XML file based on the selected GST number.""