How to set TDL in tally.erp 9

TDL stand for Tally Definition Language. It is tally’s programming language .It is a Domain Specific Language which help you to control, customize, create, alter tally reporting, integrate other application with tally.

I have uploaded a free logo printing  TDL for users you can use it for your invoice printing.

IF you are sincere then then learning TDL is very very simple. However it needs lot of practice, practice and practice.

You need to create some tdl file in a simple editor like notepad or tally developer.

then save  it in .txt or in .tdl(only possible through the compiler) copy the file to tally folder

Once you did this, then you need to specify your tdl location file  in the following way.

Go to tally.erp 9 main menu and press f12

Select TDL configuration

[grwebform wid="630136" css="on/off"]

You will find below screen. Now press F4

You will see the below screen. in first option set to yes

then in the below space, just specify location and file name where your .txt/tdl file is located for e.g. you made a logo.tdl file.

copy this file to d:Tally.erp logo.tdl

Specify the above path here

Accept the screen and it will ask for restart of software. allow it

Now if file name you typed is correct/file exist, it will show a message of active against the file path otherwise it will show an error message

if no error then you can work with your tdl.

32 thoughts on “How to set TDL in tally.erp 9

  1. if auto expenses option is given in tally means it is very helpful to do the expenses entries in a very short entries

  2. Please can you show me how my basic tdl should be for inserting a logo of my company to the invoice in tally.erp 9. Thanks.

  3. SIR
    I done the work till active tdl file afterward its providing some logo mapping option when i click on it asking logo description. So now from where can i get it & how to upload co. image in tdl file for display in sales invoice.An early response is highly appreciate.

  4. hi .
    Tell me how to make payroll ennrty in Tally with Journal and how to manage PT Rs2500 in Tally auto fill payroll.
    Reply Soon

  5. hi sir..

    hw r u..?
    i need ur help for adding logo in tally sales invoice,I done the work till active tdl file afterward its providing some logo mapping option when i click on it asking logo description. So now from where can i get it & how to upload co. image in tdl file for display in sales invoice…i will wait for ur kindly answer…

    thank u sir…

    • Karthik,
      Please Actually I missed to upload supporting files folder on the forum
      Please download the zip file again from the above link and also read the post again carefully which I edited yesterday.
      First go through the default logo you can see default tally logo there
      after that create your own logo in .TTF folder using font creator 5.5 etc. then rename it with default tally logo and copy paste it where the original tally default logo was installed from the supporting files.

      If face any problem, please do revert back at the support forum

      • Hi Sir ,

        How r u ? I know codings in java , C, C++ , visual basic and HTML, XML and operating systems very well i am interested to be a tdl developer can u help me please. I am a commerce graduate and i am well at Tally Erp9

  6. how to enter grms and kilogrms in tally

  7. Hi, Sir
    We want to Tally Synchronisation Please help this,
    I well Excepting Good Knowladge u have.

    Regards,
    Shivakumar

  8. Nameste sir

    I have create my first Tdl in tally & local tdl is activate . But i am wondering for next step how can i use the tdl in tally please help me sir.

    thanking you
    balai puri

  9. pls i have one quarey ,pls tel me,in what type we setup the TDL Confrigution to tally.ERP9,pls give me the tally developer process,how to uae in tally.erp9.tdl application

  10. why are coming TDL error In my Tally ERP9, when i given printout of sale invoice

  11. Dear Sir,

    My Tally SN is 7xxxxxxxxx my problem is that how can i use tdl & tcp file of tally 9 into Tally ERP 9 release 3 as I have converted tcp file but not working whereas it is working fine in tally 9 becoz on loading it shows error.how to solve this problem

    • Hello Suresh,
      Thanks for contacting us.
      The TDL made prior to Release 3 of Tally.erp 9 may or may not work as TDL definition has been changed to enhance the functionality of the software.
      You have to modify the TCP TDL coding only than it will work. Please contact the person who developed your TDL file. It will require some minor changes and then it will work fine.

  12. ismail saiyed says:

    hii sir,

    How to changes to leadger cration in two different langauges.

  13. chaitany sharan says:

    I want to add two fields in receipt voucher through TDL. how can I do it?

  14. I have written a TDL for Trial balance using Variable Myvar and collection ” My Collection”. The tdl does not show any Syntax error. but while viewing the report my Trial balance iam not getting the Trial balance( iam able to view only Particulars, Dr, Cr, Total Column.
    Repeat: Fld Detail : My collection
    Scroll : Vertical
    The above command does not works.
    on your confirmation i will forward the TDL prepared by me. Kindly Check and advise me

  15. Dear Mahendra: Your article is just fabulous.. but still i am unable process with d:\tally.erp:\logo.tdl
    how to create logo.tdl and where to save it, please help me out with this…

  16. Hello Sir,

    I have downloaded the Tally. But I am unable to start working with it as it shows an error message saying insufficient height to allocate.

    Can you please advise me why this is coming and what can i do to solve this issue and start working in Tally??

    Thanking you and expecting a speedy reply.

    Regards,

    Bibin

  17. rizwan shaik bhatkal says:

    Dear Sir,
    I have alter sales invoice via TDL, everything is correct, but i need to add Vat column in body part, but i dont know the name of VAT field

    please tell me sir,

    i am waiting to u

    thank you
    rizwan shaik

  18. i am facing a problem that the application was unable to start(0xc0000142). give me solution .

  19. Dear Sir,

    I need to 2 Fileds only under the sundry debtors and both the fields need to be a Mandatory

    Thank you

    Regards
    Vijaya Kumar

  20. Dear Sir,

    I need the TDL for upload & download the data from Tally to MS-Access and wiseversa.

    Thank you

    Regards
    Vijaya Kumar

  21. S. VENKATAGIRI RAO says:

    I wish to inform you that, in the previous version of tally release 4.5, when a cash sales voucher was made, there is an option to include the buyer’s details like name etc. This name is visible in tally only until the voucher is printed. The details of the buyer is not saved in tally. Hence if the sales voucher made towards a particular party has to be checked, I have to check the entire set of the printed sales vouchers, which is tedious and time consuming.

    I wish to explain our requirement as below:

    It is not possible to create a ledger for every buyer paying cash on sales.

    Therefore I am preparing cash vouchers with buyers name and details.

    Certain parties are being provided credit on cash sales. In such events, it is tedious to search the entire set of cash vouchers to find the particular buyer.

    Therefore my suggestion is to allow save the buyers details in the cash vouchers, in order to help search the buyer’s name instantly on tally.

    As per my suggestion:

    Option for Columnar Register Alteration [for sales]. Here one more Option may be provided for Buyer’s Name.

    If this option can be made available, then the list of cash voucher will show an additional column with the name of the buyer against the cash sales voucher. The list of all cash sales voucher would appear in the detailed columnar. This option will help us save a lot of time. This is just a suggestion;

    Any other suitable layout is up to you.

    Appreciate if you can try and make a TDL for the same in tally, so that all of my other tally friends can also use it and save more times.

  22. i have following negative patch but i want to change that patch for godownwise control

    [#Part: VCFG Inventory]

    Local : Line : VCFG NegativeStock : Invisible : Yes

    [#Part: ICFG Invoicing]

    Local : Line : VCFG NegativeStock : Invisible : Yes

    [#Field: VCHSTKJrnl BilledQty]

    Control : NegativeStock : $$InCreateMode AND $$IsNegative:@@godownStockTotal
    Control : NegativeStock : $$InAlterMode AND $$IsNegative:@@godownStockTotal

    [#Field: VCHBATCH NrmlAQty]

    Control : NegativeStock : @@IsOutwardType AND $$InCreateMode AND $$IsNegative:@@godownStockTotal

    [#Field: VCHBATCH NrmlBQty]

    Control : NegativeStock : $$InCreateMode AND $$IsNegative:@@godownStockTotal
    Control : NegativeStock : $$InAlterMode AND $$IsNegative:@@godownStockTotal

    [#Field: VCH NrmlBilledQty]

    Control : NegativeStock : @@IsOutwardType AND $$InCreateMode AND $$IsNegative:@@godownStockTotal

    [#Field: VCH JrnlBilledQty]

    Control : NegativeStock : @@IsOutwardType AND $$InCreateMode AND $$IsNegative:@@godownStockTotal

    [#Field: VCHBATCH BilledQty]

    Control : NegativeStock : @@IsOutwardType AND $$InCreateMode AND $$IsNegative:@@godownStockTotal

    pls help me

  23. Hi, i am facing a very big trouble in integrating tally in my portal and i already killed a lot of time,
    my code is written in php, kindly tell me how to send invoice or memo data to tally automatically from my code.

Leave a Reply