This post provides information on how to programmatically enable/disable the Company Features [F11] in Tally using XML tags.
PS: Ensure that Company name in the code below matches your Tally company Name.
<ENVELOPE> <HEADER> <TALLYREQUEST>Import Data</TALLYREQUEST> </HEADER> <BODY> <IMPORTDATA> <REQUESTDESC> <REPORTNAME>All Masters</REPORTNAME> </REQUESTDESC> <REQUESTDATA> <TALLYMESSAGE xmlns:UDF="TallyUDF"> <!-- TO DO: Specify the company Name as it appears in Tally --> <COMPANY NAME="DEMO" ACTION="Alter"> <!-- enable Maintain Multiple Godown --> <ISMULTIGODOWNON>Yes</ISMULTIGODOWNON> <!-- enable Use Debit/Credit Notes --> <ISDCNOTEON>Yes</ISDCNOTEON> <!-- enable Use Invoice mode for Credit Notes --> <DNOTEASINVOICE>Yes</DNOTEASINVOICE> <!-- enable Use Invoice mode for Debit notes --> <CNOTEASINVOICE>Yes</CNOTEASINVOICE> <!-- enable Use 0 valued entries in vouchers --> <USEZEROENTRIES>Yes</USEZEROENTRIES> </COMPANY> </TALLYMESSAGE> </REQUESTDATA> </IMPORTDATA> </BODY> </ENVELOPE>
Section | Tally Features [F11] | XML Tag-Name |
---|---|---|
Company | Integrate Accounts & Inventory | <ISINTEGRATED> |
Allow multi-currency | <ISMULTICURRENCYON> | |
Allow Invoicing | <ISINVOICINGON> | |
Enter purchases in Invoice format | <PURCASINVOICE> | |
Separate Discount column on Invoices | <ISDISCOUNTSON> | |
Enable Service Tax | <ISSERVICETAXON> | |
Maintain Budgets & Controls | <ISBUDGETSON> | |
Allow 0 valued entries in vouchers | <USEZEROENTRIES> | |
Allow Purchase order processing | <ISPURCORDERSON> | |
Allow Sales Order processing | <ISSALESORDERSON> |