Understanding TDL requires familiarity with its fundamental building blocks:
To get started with TDL, you will need:
: These are filtered and sorted lists of Objects. For instance, a Collection can fetch all ledgers of a particular group (e.g., Sundry Debtors) or all vouchers of a specific type. tdl for tally erp 9
Create a report showing top 10 selling products compared to the same period last month, with color-coded growth indicators. This uses Collections (to fetch both current and historical periods) and a custom Line with conditional formatting.
A wholesale distributor wants to block a voucher if the customer’s outstanding exceeds ₹100,000. A TDL script can attach a validation Action to the Voucher Entry object, checking the ##SVCustLedgerBal and displaying an error message. This uses Collections (to fetch both current and
Always explain what a piece of code does using ; (semicolon).
TDL is a programming language developed by Tally Solutions, the company behind Tally ERP 9. It is used to create custom applications, modify existing ones, and integrate Tally ERP 9 with other systems. TDL is a proprietary language that is specific to Tally ERP 9 and is used to define the structure and behavior of the software. Always explain what a piece of code does using ; (semicolon)
Restrict specific users from seeing profit figures or editing back-dated vouchers.
Are you interested in to become a developer?
Generate reports tailored to manufacturing, pharmacy, or retail needs that aren't available out of the box. The Components of TDL