

When Tally.ERP 9 starts, it looks for a file named ‘MyReport.tcp’ or ‘MyReport.txt’ in the directory C:\Tally.ERP 9. If the parameter ‘User TDL’ is set to NO, Tally.ERP 9 will not read any TDL parameters specified in the Tally.ini file. The path of the TDL program has to be included in the Tally.ini file, using a parameter called ‘TDL’. Specifying the TDL files through Tally.ERP 9 application configuration screen Specifying the TDL files in Tally.ini (Configuration Settings File) There are two ways of implementing the TDL code: It is possible to run all files, i.e.txt.tdl and.tcp in Tally.ERP 9. It is possible to compile the file for a particular Tally serial number.

The file can be compiled into a file with an extension.tcp (Tally Compliant Product). The editor can save the file with an extension ‘. Save the file with a meaningful name and extension, as applicable to the editor. Open any ASCII text editor such as notepad, or use the IDE Tally Developer, provided by Tally.ERP 9. The TDL statements required to perform a particular task, can be created in a file using IDE provided by Tally.ERP 9, such as Tally Developer.

This simplifies the process of definition, allowing even a person without any programming language background to work on TDL. TDL allows us to define tasks in standard English statements. In this lesson, an overview and basic functionality of each component involved in a TDL program will be provided. Whenever the user performs an action, a particular segment of code gets executed.
