You dont have javascript enabled! Please enable it! Reading and understanding the TDL Code : Full explanation of the TDL coding |
You cannot view this unit as you're not logged in yet.

173 thoughts on “Reading and understanding the TDL Code : Full explanation of the TDL coding

  1. Balaji Arumugam says:

    hi the coding is not taken effect in tally, nothing showing in ledger please assist.

    [#part : Ledcontact]

    add : line : Ledger DOB

    [line : Ledger DOB]

    Field : Medium Prompt, LED DOB

    Local : Field : Medium Prompt : set as: “Date of Birth”

    local : field : Medium Report : color : Green

    [Field : LED DOB]

    Use : Uni date field

    [system : UDF]
    BirthDate : Date : 10001

    ;; end

    Also i wanted use contact no instead of DOB in that case what should define is use

    1. Hello Balaji,

      Sorry, My mac was under repaire so I couldn’t share the dropbox link with you guys who have registered recently.

      I will share the Link today with all those who have registered during last 4-5 days so that you guys can upload your code there

      To add the contact number the process is same just at field level use : Number field instead of Date field and for UDF define the type as Number as number instead of Date

      The code will be
      [Field : MyFld]
      Use : Number Field

      [System : UDF]

      ConctNumber : Number : 899

      Please try this. By late evening today, You all guys will get your drop box link to put your codes

    2. Ishwar prajapati says:

      Hi Sir ,

      Good Morning ,

      i use above code of birthday in ledger master

      but data is not save ,

      please guide me

      Thanks
      Ishwar Prajapati
      9723227388

    3. Marutha Muthu says:

      Please check Storage – is missing

      [#Part:Led contact]
      Add:Line:ledger DOB
      [Line:Ledger DOB]
      Field: Medium prompt, LED DOB
      Local:Field:Medium prompt:Set as:”Maruthamuthu DOB My Own TDL”
      Local:Field:Medium prompt: Color:Blue
      [Field:LED DOB]
      Use:uni date field
      Storage:Birth date

      [System:UDF]
      Birthdate:Date:10001

      I Joined Yesterday only , this is my 2nd TDL practice …. i got it coming properly
      If you want contact number instead of date. please make it number instead of Uni field date… please check the unit topics have detailed explanation about name, number and date.

      Regards
      Maruthamuthu 9444713907

  2. Hello Balaji,

    I checked your code. Its working fine however it is not showing green color effect because in your line level definition you have typed Medium Report instead of Medium prompt for color definition 🙂

    So, change your code and test it again.

    I have upload your code to drop box so, please make changes there and update me so that I can verify the same

    Also, please upload other test tdl to the Dropbox for my review

  3. Wonderful explanation of each line. Now we want to create one report where Ledger Name (Debtors & Creditors) & Date of birth will show. Self study for us. Just for fun.

    1. Hello Rahul,

      Thanks for the positive and good feedback and your active participation.
      Love your feedback 🙂
      Yeah, Practice practice and practice is the “GuruMantra” to learn the coding languages.
      It says a person who can write 10000 Lines of coding is a great Coder.
      So, far I had written only around 2500 Lines of coding
      That means even I have to go a long way.

      I wish I had joined in the coding world 10 years ago.
      I am not talking just about Tally TDL, As I am currently learning PHP, Java, and other programming languages to enhance my skill and income potentials.

  4. Abhishek Agarwal says:

    [#Part: Ledcontact]
    Add : Line : Ledger DOB

    [Line : Ledger DOB]
    Field : Medium Prompt, Led DOB

    Local : Field : Medium Prompt : Set As : “Date Of Birth”
    Local : Field : Medium Prompt : Color : RED

    [Field : Led DOB]

    Use : Uni Date Field
    Storage : Birth Date
    ;;Color : Green

    [System : UDF]
    Birth Date : Date : 10001

    Sir there is no effect is showing in ledger master via above code plz. check

    1. Hello Abhishek,

      Have you enabled contact details in your ledger Master?

      go to ledger master in the alteration mode for any sundry Debtor/ Creditor then hit F12 configuration menu
      Set show contact details to yes and save the form

      then check the TDL if it is working or not

  5. Anirban Bhattacharya says:

    I’ve created TDL as per your instruction & it’s working properly. Bust my question is:

    [System : UDF]
    BirthDate : Date : 10001

    What is the meaning of the number “10001”? Can I use different number instead of “10001”?

    1. Good Question.
      The number suggest the index of the Field in the programming languages.

      Yes, you can use any number of your choice. However, there are certain positions which are reserved for the exclusive usage of the TSPL itself.

      I will publish the list of that reserved number in some time.

      Another thing to mark is that in one TDL you can’t use the same index number for two different UDF
      Every UDF must have its own special index number.

  6. Anirban Bhattacharya says:

    I’ve created TDL for Contact No. entry:

    [Field : ContactNo]
    Use : Number Field
    Storage : ContactNumber
    Color : blue
    [System : UDF]
    ContactNumber : Number : 899
    ;; end of the TDL code

    But after accepting Ledger A/c, Contact No. can’t be stored.
    Please resolve

    1. Hello Anirban,
      Your code will not work because you had assigned a default ContactNo as UDF in your code.

      Give a new name storage to like MyNewContactNo

      [Field : ContactNo]

      Use : Number Field

      Storage : NewContactNumber

      Color : blue

      [System : UDF]

      NewContactNumber : Number : 899

      Do this way, and let me know if it is working or not.

  7. Bankim Desai says:

    I have created DOB.txt as per the chapter. I have linked this tdl. How this TDL will execute and what will be its effect. Please explain

    1. Hello,

      Please go to the Main Menu of the Tally.ERP 9, Press F12 then products or tdl configuration depending on the version of your Tally.ERP 9
      Then Press F4 set yes to default TDL Configuration
      Now at the path level, Type the path of the tdl file where it is located
      If your tDL file is saved in the dropbox then copy the entire path and paste in the Tally.ERP 9 as explained above
      I think I already gave you two links to study to activate the TDL. Please go through the same and if you face any issue, please revert back with the issue you are facing

  8. P SUBRAHMANYAM says:

    Respected Sir,

    Is there any mistake in this TDL Code?

    [#part : Led Contact]
    Add : Line : Ledger DOB

    [Line : Ledger BOB]
    Field : Medium Prompt, LED DOB;;
    [Line : Led BOB]
    Local : Field : Medium Prompt : Color : Red
    Se as a “ Date Of Birth”

    Field : LED DOB]
    Use : Uni DateField
    Storage : Birth Date
    Color : Blue

    [System : UDF]
    Birth Date : Date : 10001;;

    1. a mistake in the spelling and missed the : symbol between the set as : and text

      Se as a “ Date Of Birth”

      it should be set as :” Date of Birth”

  9. NAUSHAD VALIYAPEEDIKAYIL PADINHARE says:

    [#Part:Ledger Contact]
    Add:Line:Ledger Dob

    [Line:Ledger Dob]
    Field:Medium Prompt,Led Dob

    Local:Field:Medium Prompt:Set as:”Date of Birth”
    Local:Field:Medium Prompt:Color:Red
    [Field:LED DOB]
    Use:Uni Date Field
    Storage:Birth Date
    Color:Blue:

    [System:UDF]
    Birth date:Date:10001
    sir…its not working please help

  10. Natesh Babu DR says:

    On this page:
    https://tallynine.com/module-1/structure-of-a-tdl-code/

    Completed this unit and click on “Next Unit”. We get to this page:

    https://tallynine.com/module-1/reading-and-understanding-the-tdl-code-full-explanation-of-the-tdl-coding/

    the first sentence says:
    in the last chapter, we gone through a TDL dob.txt which prints
    date of birth and accept user input in the ledger master.

    –> There is no dob in the previous page (https://tallynine.com/module-1/structure-of-a-tdl-code/)
    Did we miss anything in between. Looks liks the flow here(pagination) has
    some issues

  11. sopan landge says:

    I Can’t Understood about Date Of Birth Ledger. Will you please explain more.

    1. Hello Sopan,

      As explained you over chat, you hadn’t added any line in your part and you gone directly to field level. You skipped two steps
      Please refer and compare your code once again with the chapter code.
      In the chapter the Part contains lines and the line is defined with two fields which are missing in your code

  12. Bhavin Vora says:

    Sir I have entered following code, it creates Date of Birth Field in Ledger creation and also allow me to enter date but it is not storing the value.

    [#Part: LedContact]
    Add: Line: Ledger DOB

    [Line: Ledger DOB]
    Field: Medium Prompt, LED DOB

    Local: Field: Medium Prompt: Set as: “Date of Birth”
    Local: Field: Medium Prompt: Color: Red

    [Field: LED DOB]
    Use: Uni Date Field
    Storage: BrithDate
    Color: Blue

    [System: UDF]
    BirthDate: Date: 100001

    1. Hello Bhavin
      There are limits on how to use the UDF Index number. Which you will learn in the latter chapter.
      Meanwhile, change the index number from 100001 to 701 and see if that is storing the value or not

        1. Bhavin Vora says:

          Sir problem solved, actually i had done mistake in spelling of Birthdate, in Storage: Brithdate and in UDF it is Birthdate.

  13. prakash babia says:

    Sir,
    I have write code of enter DOB. I am showing fields in ledger master but when type in dob filed that time do not store value and also control is not focus on next control.

    [#Part: LedContact]

    Add:Line:Ledger DOB

    [Line: Ledger DOB]

    Field: Medium Prompt,LED DOB

    Local:Field:Medium Prompt:set as:”Date of Birth”

    Local: Field:Medium Prompt:Color:Red

    [Field:LED DOB]
    use: Uni Date Field
    Storage:BirthDate
    Color: Red

    [System:UDF]
    BirthDate:Date:100001

    1. If you are using educational version then only 1st or last date of a month can be stored

      Also change the index number of UDF to 77 and see if it is working

  14. prakash babia says:

    Working, 1st and last date of month in educational version.

  15. Manish Chheda says:

    Sir Attached Screen Shot name : Scheen Shot LEDCONTACT
    Kindly check and confirm.

  16. I have created ledger DOB TDL and added in Tally. But field Date of Birth is not appeared in ledger

  17. pm.mohanani says:

    ;;No Error No Output….

    [#Part:LedContact]
    Add:Line:LedgerDOB
    [Line : LedgerDOB]
    Field : Medium Prompt, LEDDOB
    Local:Filed:Medium Prompt : Set as:”Date Of Birth”
    local:Filed:Medium Prompt : Color : ReD

    [Field:LEDDOB]
    use : uni Date Field
    Storage : BirthDate
    Color : Blue
    [System:UDF]
    BirthDate : Date : 77

  18. ankitkanhy says:

    ankit kumar singh
    ankitkanhy@gmail.com

    [#Part:LedContact]
    Add:line:Ledger DOB

    [Line:Ledger DOB]
    Field:Medium Prompt,LED DOB
    local : Field : Medium Prompt : set as:”Date of Birth”
    local : Field : Medium Prompt : Color:red

    [Field:LED DOB]
    Use:Uni Date Field
    Storage:BirthDate
    Color:Blue

    [System:UDF]
    BirthDate:Date:10001

  19. Giridharan Varadharajan says:

    Giridharan varadharajan

    Sir,
    I have shared TDL codes for inclusion in ledger master along with screen shot of output in Tally.
    For your Kind information.
    Regards.
    Giridharan varadharajan

  20. ajit.kumar853 says:

    ;; my date of birth tally tdl
    ;; date 28.12.2017

    [#Part : LedContact]
    Add : Line : Ledger DoB
    [Line : Ledger DoB]
    Field : Medium Prompt , Led DOB
    Local : Field : Medium Prompt : Set as : “Date of Birth”
    Local : Field : Medium Prompt : Color : Red
    [Field : Led DOB]
    Use : Uni Date Field
    Storage : Birth Date
    Color : Red
    [System : UDF
    BirthDate : Date : 100001
    Sir how to check result

    1. in Tally, Create a ledger master or in alter master for a sundry debtor or a sundry Creditor
      Then press F12 there an option set contact details to yes
      save that configuration and test it.
      and you will see your code as per the screen shot shown in the course chapter.
      If you face any issue, give me the Team Viewer Version 12 access.

  21. suhasmasaye says:

    ;; Suhas masaye

    [#Part : LedContact]
    Add : Line : Ledger DOB

    [Line : Ledger DOB]
    Field : Medium Prompt, LED DOB

    Local: Field : Medium Prompt : Set as : “Date of Birth”
    Local: Field : medium Prompt : Color : Red

    [Field : LED DOB]
    Use : uni date field
    Storage : BirthDate

    [System : UDF]
    Birthdate : Date : 77

    i wrote this code, i take 100001 & 77 also,, both storing the values,,, is there any mistake..??

    1. Are you facing any issues?
      If yes the do let me know what problem you are facing. By that way, I can proper solve your issues.

  22. Rajesh Upadhyay says:

    Respected Sir,
    Bellow is the code and it is working fine.

    [#Part:LedContact]
    Add: Line: LedgerDOB
    [Line: LedgerDOB]
    Field: Medium Prompt, Led DOB
    Local: Field: Medium Prompt: Set as: “Date of Birth”
    Local: Field: Medium Prompt: Color: Red

    [Field: Led DOB]
    Use: Uni Date Field
    Storage: BirthDate
    [System: UDF]
    BirthDate: Date:10001

    Sir, Please check it.

    Regards ,
    Rajesh Upadhyay

  23. UDAY SHUKLA says:

    In the 1st phara it mentioned that we did “accept user input in the ledger master” in last chapter, but there was no such type of code in previous chapter.

    1. It was referenced to Module 3, Unit one. However the full code of the dob.txt is given again the current chapter.I Modified the text.

  24. It was successfully done. But how to get name of forms or parts where we need to work upon??
    Though I found it in standard TDL given in Tally Developer. But is there any method where we can find out names of forms or parts??

    CA Manish Ojha
    8275058999

    1. Yes, there are multiple ways.
      You will get those chapters in the other module.

      And since I am travelling I will evaluate your assignment later

      May be tomorrow evening.

      But will check them as early as possible.

  25. prakash sharma says:

    Sir,
    I Put the DOB.txt in my Tally.ERP9 but Date of Birth option does not show in ledger Master. My DOB.txt is uploaded in my dropbox . Can u please Check .

    Thanks

  26. Dheeraj Kumar says:

    Dear Sir
    It is not storing Date of Birth, cursor is not navigating from DOB Field in LEdger Master

  27. Sir can you please explain the following line in the code
    Birthdate : Date: 10001

    What is the use of 10001?

  28. sandeep.gths says:

    CODE RUN SECCESSFULLY
    THANKS….

    [#Part:LED CONTACT]
    Add:Line:LEDGER DOB
    [Line:LEDGER DOB]
    Field:MEDIUM PROMPT, LED DOB

    Local:Field:MEDIUM PROMPT:Set as:”DATE OF BIRTH”
    Local:Field:MEDIUM PROMPT: Color:RED

    [Field:LED DOB]
    Use:UNI DATE FIELD
    Storage:BIRTH DATE
    Color:BLUE

    [System:UDF]
    BIRTHDATE:Date:10001

  29. mominsahiil says:

    Hello,
    code is working properly sir,
    my question is why we add field ” Medium Prompt ” ? we only want to add ” Ledger DOB ” in ” LedContact “. Why it necessary to add ” Medium Prompt ” as a additional field?

    Thanks.

  30. deepakagrawal23 says:

    Dear Sir,
    Code ran properly..
    But i have some questions :

    Ques1) Why we are using “Local” keyword before “Medium Prompt” Field ? Whats its significance , what will happen if we will remove it?

    Ques2) What does this “Storage: BirthDate” Means ? Can we use other string insted of BirthDate? Is BirthDate is a Variable here?

    Ques3) Why is this used …
    [System:UDF]
    BirthDate:Date:10001
    What does System:UDF means ? and when we are writing “BirthDate:Date” Does this mean that we are setting a datatype for variable BirthDate.

    Please elaborate Sir…

    1. Hello Deepak,

      About local and other things you will get the explanations in the sub sequent chapters.
      Storage is used to store user input
      Storage type and field type should be the same
      Like if field type is a string(name field ) then the storage type for that field will be a string only.
      10001 is the index Number(memory location to store the user input) .
      System UDF defines the type of storage, and its index position( where to store the data)

      like [field : my fld]
      use : Date Field
      Storage : my date
      Now basically you will be able to feed/input the date in this field but when you save the form in Tally it won’t store the data because System udf is not defined so once you define the system udf only then the user input will be stored
      so it will be like
      [System :UDF]
      myDate : date : 99

      you will get detailed chapters about field type etc and as I said field type will be the storage type.
      So, please continue few more chapters and you will get everything clear. In case of any doubt, I will solve them.

  31. deepakagrawal23 says:

    Dear Sir,

    the below mention code ran properly , but how do i restrict the mobile number to only 10 digits
    and how do i remove commas from the number , please explain

    [#Part: LedContact]
    Add:Line:DOB,WhatsApp Number

    [Line:DOB]
    Field: Caption,UserInputt

    [Field:Caption]
    Use: Name Field
    Set as: “Date OF Birth”

    [Field:UserInputt]
    Use: Uni Date Field
    Storage: VarDob
    Color: Green

    [Line:WhatsApp Number]
    Field:WhatsAppCaption,WhatsNum

    [Field:WhatsAppCaption]
    Use:Name Field
    Set as: “Whats App Number”

    [Field:WhatsNum]
    Use:Number Field
    Storage: WhNum
    Color:Green

    [System:UDF]
    VarDob: Date:10002
    WhNum: Number:10003

  32. SURAJIT SARKAR says:

    [#Part: LedContact]
    Add: Line: Ledger DOB
    [Line: Ledger DOB]
    Field: Medium prompt, LED DOB
    [Line: LED DOB]
    Local: Field: Medium prompt: Color: Red
    Set as: “Date of Birth”
    [Field: LED DOB]
    Use: Uni Date Field
    Storage: Birth Date
    Color: Blue
    [System: UDF]
    Birth Date: Date: 100001

    But unfortunately this tdl code does not run. Kindly check it.

    1. Did you read your code again carefully? Did you compared your codes with the course chapter carefully?
      It will not work because you are not doing things as per the course chapter. you need to read the chapter carefully.

    2. SURAJIT SARKAR says:

      [#Part: LedContact]
      Add: Line: Ledger DOB
      [Line: Ledger DOB]
      Field: Medium Prompt, LED DOB
      Local: Field: Medium prompt: Set as: “Date of Birth”
      Local: Field: Medium Prompt: Color: Red
      [Field: LED DOB]
      Use: Uni Date Field
      Storage: BirthDate
      Color: Blue
      [System: UDF]
      BirthDate: Date: 10001

      Thank you sir. This code run.

  33. SURAJIT SARKAR says:

    [#Part:LedContact]
    Add:Line:WhatsappNum

    [Line: WhatsappNum]

    Field:Medium Prompt, WhatsappNum
    Local:Field:Medium Prompt:Set as:”Whatsapp number”
    Local:Field:Medium Prompt:Color:Green

    [Field:WhatsappNum]
    Use: Number Field
    Storage:WhatsAppNo
    Color:red

    [System:UDF]
    WhatsAppNo:Number:899

    This code is run. But when i input ph no 9046229990 it shows 9,04,62,29,990. I want to show 9046229990. How it possible sir . kindly discuss.

    1. you completed one assignment and that is working fine. So you need to move ahead instead of getting everything in one chapter.
      Because all these things depends on the field type and it is not possible to explain each and everything in one chapter.
      So, just move to the next chapter and you will get more clarity of the things you wanted to do.

  34. madhuri Kumar says:

    hello sir
    how to get the Tally Tdl IDE?
    please guide me.
    how to use the drop box?
    where should I write my code

  35. Shubham Rokade says:

    Hello Sir,
    I have written code but it is giving me error.
    ‘Field:Medium Promt’

    Could not find description

  36. irfan shaikh says:

    sir, i have set as below code & try to activate in tally tdl but it is not shown DOB window Menu in ledger pl suggest

    [#Part:LedContact]
    Add: Line:Ledger DOB
    [Line:Ledger DOB]

    Field:Medium Prompt,Led DOB
    Local:Field:Medium Prompt:Set as:”Date of Birth”
    Local:Field:Medium Prompt:Color:Red

    [Field: Led DOB]
    Use: Uni Date Field
    Storage: Birth Date
    Color: Blue

    [System:UDF]
    Birth Date : Date: 10001

  37. Rishi Kumar says:

    dear sir
    i am trying the above mention project ,its working and showing date of birth filed but when i insert date in the filed & press enter, cursor is not moving at the next field.

    1. Hello Rishil,
      You are educational version of Tally which allows only 1st and 31st date of a month.
      So, feed date as 1.1. or 31.1 and it will enter.
      If you have a licensed version of Tally then you can enter any date.
      So, it has nothing to with the codes. Its the Tally’s limitations else no one will buy the Tally license.

  38. [#Part : LedContact] ;; how to find existing defination ledcontact i am not undurstood
    Add : Line :LedgerDOB

    [Line : LedgerDOB]
    Field : Medium Prompt, LED DOB

    Local : Field : medium prompt :Set as: “Date Of Birth”
    Local : Field : medium Prompt : Color : red

    [Field : LED DOB]
    Use : uni date field
    Storage : Dateofbirth
    Color : blue

    [System : UDF]
    dateofbirth: Date : 10001

    1. In the chapter I didn’t asked to find the default definitions so you shouldn’t do efforts to do so!
      Learning needs disciplined efforts where first of all you have to get yourself familiar with the codes step by steps.
      So, just follow the chapters, learn a little thing, write the code, test it and move on.
      when the time comes, you will get the chapters to find things.
      Hope you will agree and move on. Because this chapter is not about finding default definitions.
      There are modules on how to find the default definitions but don’t jump there. Just go unit by unit.Else you will face more confusion.

  39. Anuj Mittal says:

    Hi About This Ledger Dob Chapter :-
    How Many Parts in Ledger Masters And How To Know The Names of The Parts.

    1. Hi,
      No one can make a list of how many parts or lines! Its too complicated
      you will get chapters on how to find the definitions names. every chapter has a limited purpose.
      you do a chapter, get familiar yourself with the little part and then move on and slowly you will get the idea of how thing works in TDL

  40. Bhavesh Mehta says:

    I dont know why my program not run ?

    ;;this is birthday ledger program

    [#Menu: Gateway of Tally]

    [#Part : LedContact]

    Add: Line: Ledger DOB

    [#Line: Ledger DOB]

    Field : medium Prompt,LED DOB

    Local: Field : medium Prompt : set as :”Date of Birth”

    Local: Field : medium Prompt : Color : red

    [Field: LED DOB]

    Use: Uni Date Field

    Storage : Birthdate

    Color: Blue

    [System : UDF]

    Birthdate : Date: 10001

    1. you didn’t mentioned what issue or error you are facing?
      If you didn’t find any error then you need to enable contact details in ledger through F12

      after that you will be able to see the effect of the code.

  41. Amit Pandya says:

    Dear Sir,
    Very Well explained, Thanks for your efforts.

    QST:

    [System:UDF]
    BirthDate:Date:10001 ;;;;;;here after Date, you mentioned ***10001***…how to find / know which number should we use?

    Please suggest

    Warm Regards,

  42. Suman Sawant says:

    By using this TDL, tally accepts DOB for all type of ledgers.. revenue, non-revenue, even if contact details for revenue account is disabled.

  43. Ankit Jallan says:

    Please check the following code..

    [#Part: LedContact]
    Add: Line: Ledger DOB
    [Line: Ledger DOB]
    Field: Medium Prompt, LED DOB
    Local: Field: Medium Prompt: Set as: “Date of Birth”
    Local: Field: Medium Prompt: Color: red
    [Field: LED DOB]
    Use: uni date field
    Storage: BirthDate
    Color: blue
    [System: UDF]
    Birthdate: Date: 10001

    my understanding of the above code was that from GoT—-ALA.. (Ledger Alteration Menu) we will get a new line to enter DOB for each ledger. But that has not happened with the above code. Kindly suggest what did I do wrong.
    Regards,
    Ankit

    1. Hello Ankit,
      You will need to enable the contacts in the party ledger through
      GAT
      ALA
      Debtor/ Credit Ledger select
      F12
      Enable Contacts set yes

      after that the code will show

  44. moonis.magnus says:

    AS PER YOUR INSTRUCTION IN ”READING AND UNDERSTANDING THE TDL CODE”
    I HAVE PREPARE TDL BELOW MENTIONED…..
    [#Part:ledcontact]
    Add:Line:ledger dob
    [Line:ledger dob]
    Field:medium prompt,led dob;;
    Local:Field:medium prompt:Set as:”DATE OF BIRTH”
    Local:FIELD:MEDIUM PROMPT:COLOR:RED;;
    [Field:LED DOB]
    Use:UNI DATE FIELD
    Storage:BIRTHDATE
    COLOR:BLUE
    [System:UDF]
    BIRTHDATE:Date:10001
    BUT I CAN’T SEE ANY IMPACT IN TALLY WHILE RUNNING TDL.
    TDL ALSO SHOW NO ERROR ON ALT+CTRL+F7.
    KINDLY GUIDE WHERE I DO MISTAKE…

    1. Hi,
      Everything is always not related to coding.
      Many thing depends on Tally settings also.
      If your code are 100% as per the course then you need to check the Tally settings
      in your Party Master (Main Menu->Accounts Info->Ledger->Create) create a new ledger with any name
      then Select group as Sundry Debtor or Creditors now press F12,
      You will see a pop up window enable contact details? Set that to yes and accept the form
      Now you will be able to see the code impacts
      Please note that if you are using an educational Version of Tally then it will allow you to store 1st and last date of a month only.
      So, in the educational version try to input date as 1.1. or 31.1.
      Please follow these instructions and still if you face any issue then do let me know.

  45. Silambarasan Ponnusamy says:

    Dear Sir,

    Date of Birth new UDF creation was awesome, I have worked out.
    And also i have tried some other New UDF creation like adding facebook id but there was issue in storage. How to find the available storage location to allocate to our UDF??

    Pls clarify sir. Pls do needful.

    1. There is no need to find the available storage location
      Because storage location you have to define yourself.
      Why don’t you tell me what is the issue and I can sort out the issue.
      IF you are facing any error then you need to read that error message fully, carefully and then post the error message here.

  46. Vishal Vaishnav says:

    Nice Today I Tried DOB in Ledger Creation window UDF and stored in tally, This working. I am feeling nice and so confident that i can do. Thank You Mahendra Rana Sir.

  47. Gnanasekar Ramasamy says:

    why are we using medium prompt here to display “Date of Birth”
    why we are not using field in name field type

    1. Because we are using default part from the master and if you study the default part led contact you will notice that all the other fields in that part
      are using field medium prompt

      you can use the name field and can test it to see what happens it may not align properly. its all
      but rest you can use your own field also. There is nothing like to use only medium field
      but you may not get the proper alignment
      name Field, Medium prompt etc Tally’s default /pre defined field with the pre fixed structure/width

  48. RUPESH SRIVASTAVA says:

    [#Part:Ledcontact]

    Add:Line:Ledger DOB

    [Line:Ledger DOB]
    Field:Medium prompt,LED DOB
    Local:Field:Medium Prompt:Set as:”Date of Birth”
    Local:Field:Medium Prompt:Color:red
    [Field:LED DOB]
    Use:uni date field
    Storage: Birth Date
    Color:Blue

    [System:UDF]
    birthDate: Date:10001

  49. SAMBHAJI SHINDE says:

    [Part: LED Contact]
    Led DOB does not work in tally
    how to solve the problem

    1. Hi,
      You need to explain exactly what is not working?
      are able to see the dob field?
      Are you able to type the dob in the field?
      are you able to store the dob?
      How can I guess exactly what is not working?
      Are you able to explain the issue with a bit more details?

  50. S Rajesh Kannan says:

    Dear Rana Ji,

    i have tested the above code and it works fine. Please clarify the following.

    Birthdate : Date: 10001

    I understand Birthdate is the storage name we have provided. 10001 is the location. What for Date is used?

    1. Date in the UDF refers to the field type
      if your field is number then it will contain as number if it is a text then it will contain string
      [Field : Myfield ]
      use : Name Field ;; name field is a string
      storage : fbprofile

      [System : UDF]
      fbprofile : String :99

      [Field : mymob number ]
      Use : Number Field
      storage : mymobno

      [System : UDF]
      Mymobno : Number : 100
      So whatever type you have in your field, udf should set the same type else it will give an error conflicting storage

  51. sarthakinfotechsolutions says:

    i have two doubts
    1) cursor is having date of birth field
    we have to skip that field
    then what to do?

    2)what is this 10001 meaning
    is their any specific address code for each field

    1. you can use skip : yes to the field level
      2) 10001 is the index number memory location for the udfname
      you can give any index number you want but every file /project will have one unique udfnamw and index number per udf name
      like in your code if you are having 2 storage name then you will have to use 2 storage and give 2 different index number to each of them.

  52. sandeep.gths says:

    Hello Sir I have put this below code in TDL
    but i dont found any option in Ledger

    [#Part: LedContact]
    Add:Line:Ledger DOB

    [Line:Ledger DOB]
    Field:Medium Prompt, LED DOB

    Local:Field:Medium Prompt:Set as:”Date of Birth”
    Local:Field:Medium Prompt:Color: Red

    [Field:LED DOB]
    Use:Uni Date Field
    Storage: Birth Date
    Color: Blue

    [System:UDF]
    Birth Date:Date:10001

  53. KISHORE KUMAR B N says:

    Sir Firstly I thanking you for the nice understandable class

    in this DOB code, while i am executing with my tally I am getting DOB Field at ledger masters but after typing I can’t do enter. without giving any data I have the no problem enter next field. and also after reopening my tally i cant open my tally memory violation also coming. Please check my code its with file name DOB.txt file at my dropbox folder. kindly check the file and instruct me to changes required in my code

    1. in your dob code you will need to remove the last line */end of code

      then save and refresh the tdl in your Tally and the code will run fine.

      If you face any issue, please message me either in Zopim Chat or in WhatsApp for a quick support.

  54. kapalavayi Naga Suresh says:

    ledger dob.txt tdl course completed. but i have small doubght here. today i created Date Of Birth filed in contact list. its correct but when i try to add additional field aadhar no i am some confusion. pls give me some suggestion

    1. you need to tell me what confusion you are having!
      How can I guide you if you don’t tell me your confusion.
      If you want to add a aadhar number field then in the contact part you can add one more line
      and then add the 2 new field, Medium prpompt and aadharno
      SEt the medium prompt locally to print the text like ” Aadhar No”
      then the 2nd field aadharno use number field
      and put the set as :$$Value

      add a storage unit to it and then define the storage at the System udf
      most important, please read this answer very carefully and then write your codes and after that if there is any confusion, you need to tell me what is it.

    1. you will need a pc. you can’t learn it through mobile.
      And also there is nothing to understand.
      Just read the chapter and then write codes as shown in the chapter.

      and once you write the code, please revert back to me for further help.

  55. Udit Narayan Mehrotra says:

    [#Part: LedContact]
    Add:Line: Ledger DOB
    [Line: Ledger DOB]
    Field: Medium Prompt, LED DOB
    Local: Field: Medium Prompt: Color: Red
    Set as: “Date of Birth”
    [Field: LED DOB]
    Use: Uni Date Field: Color: Blue
    Storage: BirthDate
    [System: UDF]
    BirthDate: Date: 100001
    ;; Sir Pl point out my mistake in above code and how can I use in Ledger Master?

    1. There were many mistakes in your codes

      I suggest you please check your codes with the chapter carefully

      If you want to learn then you need to learn to comparing the codes.
      You will need to do efforts else it won’t help you to learn coding.

      It took me only 2 minutes to find out the issue
      You can also solve it but first you need to do efforts.
      So, please check your codes and compare it with the chapter your codes are not as per the chapter

  56. jakkasbill says:

    HI SIR
    after a long time i could get time to concentrate on the subject and i am learning from the begining again

    and in this date of birth coding, i did everthing as per the instruction but i am unable to store the value in defined field, the field is not accepting the value but it is allowing me to enter but after entring the value i am not able to go to the next field

    hence please tell me where i gone wrong in the following programe
    [#Part:led contact]
    Add:Line:dob
    [Line:dob]
    Field:medium prompt,birth
    Local:Field:medium prompt: Set as:”Enter date of Birth”
    Local:Field:medium prompt: Color:red

    [Field:birth]
    Use:Uni Date Field
    Storage:birthDATE
    Color:blue
    [System:UDF]
    BIRTHDATE:Date:10001

    1. If you are using an educational version of Tally then you can enter only as 1st or 31st Ddate
      so, try to input 1.1 or 31.5 etc.

      You will need a licensed version to input date other then the 1st or 31st of a month.
      This is Tally license restrictions which doesn’t allow to put any other date. Same applies here also.

  57. Shanavas vaidyarakath says:

    That code works fine , but I didn get the concept of default field (Medium Prompt) ,why are we didnt define it like new date of birth field? though we set value as Date of Birth ?

    1. Medium Prompt, Name Field, Simple Field are the pre existing Fields /definitions in TDL.
      We do not needed to define pre existing definitions names, we can use them and can define them locally using local attribute.

      These things explained in the upcoming chapters.
      Default means all fields within same line/definitions
      Suppose if a line is having four field a,b, c and D we can configure all those fields just through one line of code

      for that purpose we can use default. by that way we don’t need to write code multiple times to define each and every field within the lines.

  58. Santosh Shrestha says:

    Amazing Teaching Idea. This was improved sir, From long time again i am visit this page

  59. SRINIVASAN M says:

    Good Evening Sir,
    I have completed this DOB creation task and stored the code and output in Dropbox folder.

    Nice way of learning

  60. FARRAKH HAYAT says:

    [#Part:LedContact] is the default part which we are going to edit. But how to find this name in this Tally ERP? Infect I want to find it by myself that on which screen and which part it is?

    1. While learning Coding, one Needs concentration and descipline. As a learner you don’t have to understand everything on your own or have to do things on your own. First you need to be familiar with the codes and basics.
      So, please don’t lose the focus and continue the course as it is and move on. You will get the chapters to find out the things one by one. The reason is that there is no magic way to find these things and there are multipel ways to find them and those ways needs a complete chapter on its own which you will get subsequently.

  61. FARRAKH HAYAT says:

    My Question is that why is the defining format is different of these two fields.
    Medium Propmt field is starting with Local and LED DOB is stating in differentway.

    Local:Field:Medium Prompt:Set As:”Date of Birth”
    Local:Field:Medium Prompt:Color:Red

    [Field:LED DOB]
    Use : Uni Date Field
    Storage : BirthDate
    Color : Blue

    1. Fields can be used as globaly and locally
      Tally is having its own default field and custom field
      In starting you can’t get all these things you will get chapters for all of these things in subsequent chapters which will help you to understand
      Medium prompt is the default definitions in TDL while the led DOB is a custom field created by me. You can also create your own field
      You just need to do the chapter and then move on otherwise you will get much confusion.

  62. FARRAKH HAYAT says:

    “error T0005: empty description name” in my below code.

    [#Part:LedContact]
    Add:Line:Ledger DOB

    [Line:Ledger DOB]

    Field:Medium Prompt, LED DOB

    Local:Field:Medium Prompt:Set As:”Date of Birth”
    Local:Field:Medium Prompt:Color:Red

    [Field:LED DOB]
    Use : Uni Date Field
    Storage : BirthDate
    Color : Blue

    [System UDF]
    BirthDate : Date : 10001

    1. Looks like your codes doesn’t have any issue.
      Can you type the full error descriptions? becuase the error you typed was half only.
      It gives the definitions name, line number etc to identify the exact cause of the issue.
      First save your codes, refresh the TDL then try again and if you see any error write the full error descriptions,

  63. Sridharan Rajannan says:

    Sir, The following Code does not work. Could you help me plz.

    /* Sri Siva Sakthi Vinayaka Kandhan Thunai
    ** Sridharan
    ** Jalakandapuram
    */
    [#Part: LedContact]
    Add: Line: Ledger DOB
    [Line: Ledger DOB]
    Field: Medium Prompt, LED DOB

    Local:Field: Medium Prompt:Set as: “Date of Birth”
    Local:Field: Medium Prompt:Color: Red

    [Field: LED DOB]
    Use: Uni Date Field
    Storage: BirthDate
    Color: Blue
    [System: UDF]
    BirthDate: Date: 10001

    ;; End of Code.

    1. Sridharan Rajannan says:

      Sir, In this Code, the [System: UDF] and BirthDate: Date: 10001 could not be understood.

      1. Sure, I can explain it.
        In the field we are adding a storage.
        A storage is needed to store user input. that means whatever you type, it will be stored in a storage unit.
        So once we add a storage to a field we need to define that storage at the sysem level

        code to deine the system level storage is
        [System : UDF] ;;here udf mean User Defined filed

        Now we add the storage name, field type and a memory location to it.
        We associate a location, an index number for our storage/udf

        So here the birthdate is the storage name then Date is the field type and 10001 is the index number

        you can assign any index number like 99 to 999 or 11001 or 31001 to 39900 which are more than enough and is up to to define it whaever index number you want
        if your field type is a name field then the udf type will be a string and if the field type is a number then the udf type will alos be a number

        like
        [Field : myfld]
        use : Number Field
        Storage : mymobno

        [Sysem : UDF]
        mymobno : Number : 11
        if you want to use same code for a name field then it will be like

        [Field : myfld]
        use : Name Field
        Storage : mymobno

        [Sysem : UDF]
        mymobno : String : 11

        Don’t use same index number for multiple storage. it should be unique. means one index number for each storage /udf name

  64. Sridharan Rajannan says:

    /* SSSVK
    ** Student Name: Sridharan Rajannan
    ** Student Mail ID: sssvkcasridhar@gmail.com
    ** Module 1 Unit 06
    ** Adding Extra Field to Lender Contact Details in Ledger
    */

    [#Part: LedContact]
    Add: Line: Ledger DOB
    [Line: Ledger DOB]
    Field: Medium Prompt,LED DOB ;; This field is default. Hence, we need not to define again.
    Local: Field: Medium Prompt: Set as: “Date of Birth”
    Local: Field: Medium Prompt: Color: Red
    [Field: LED DOB]
    Use: Uni Date Field
    Storage: BirthDate
    Color: Blue

    [System: UDF]
    BirthDate: Date: 10001

    ;; End of File.

  65. ankitkanhy says:

    [#Part:ledcontact]
    Add: Line: Ledger DOB

    [Line: Ledger DOB]
    Field: medium prompt, Ledger DOB

    Local: Field: medium prompt : Set as: “Date of Birth”

    Local: Field: medium prompt : Color: red

    [Field:Ledger DOB]

    Use: uni date field

    Storage: Birthdate

    [System: UDF]

    Birthdate: Date:10001

    I got the field in ledger master, but problem is that, when I am saving the screen, the value in Date of Birth is getting empty.. How I can resolve the issue
    .

    1. Try to change the udfname from BirthDate to DOB
      [Field:Ledger DOB]

      Use: uni date field

      Storage: DOB

      [System: UDF]

      DOB: Date: 99
      Also if you are using educational version then you can store only 1st or 31st of a month.
      If you face any issue you need to share the screen shot of the output image to your Dropbox folder or to my whatsApp number 7227900879

  66. ankitkanhy says:

    I also wants to know the how we can assign the position of my UDF, like now it is coming below contact details, if i need below default credit period. How I can decide it?

    1. You have to continue the course to get the answers of such questions. You will get familiars with the things how to solve such issues.
      Basically you will need to find the default defintions which you want to modify and then manipulate it. but to understand these thigns you need to continue the course.

  67. Dinesh Babu M says:

    Thanks Sir, i take some time. but finally it works fine. i am happy

  68. Mujeeb Chembakasseri says:

    ;; Sir , Showing Error Message “Field:Medium Prompt Could not find descrption” Screen Short in Dropbox Foler Name – Mujeeb Chembakasseri. Kindly review and advise.
    [#Part:LEDContact]
    Add:Line:Ledger DOB
    [Line:Ledger DOB]
    Field:Medium Pormpt,LED DOB
    Local:Field:Medium Prompt:Set as:”Date of Birth”
    Local:Field:medium Pormpt:Color:Red
    [Field:LED DOB]
    Use:Uni Date Field
    Storage:Birth Date
    Color:Blue
    [System:UDF]
    BirthDate:Date:10001

    1. Did you read your codes carefully?
      Even the error message you typed here is also
      It is telling you that field Medium Pormpt could’t find descriptions
      Cause it is Medium Prompt and not Medium Pormpt

      Check your codes. read it carefully and you will notice your mistakes

  69. Mujeeb Chembakasseri says:

    mine is working fine code as below

    [#Part:LEDContact]
    Add:Line:Ledger DOB
    [Line:Ledger DOB]
    Field:Medium Prompt,LED DOB
    Local:Field:Medium Prompt:Set as:”Date of Birth”
    Local:Field:medium Pormpt:Color:Red
    [Field:LED DOB]
    Use:Uni Date Field
    Storage:BirthDate
    Color:Blue
    [System:UDF]
    BirthDate:Date:10001

  70. Mudit Khandelwal says:

    Hello,
    This is my first day of the course. I have executed the code as above and its loaded without any error. But i am not able to locate the date of birth field anywhere. Is is because i am using educational version of tally or something else? Please guide me & thanks

    1. Education has nothing to do here. All of us here using educational versions only including me.

      The code you wrote is related to Ledger Master.
      So go to a customer ledger in Alter mode and then enable Contact details in the leddger master

      in Tally.ERP 9 F12 -> Show Contact
      in Tally Prime more details right side bar

  71. Muruga Vel says:

    [#Part:LEDContact]
    Add:Line:Ledger DOB
    [Line:Ledger DOB]
    Field:Medium Prompt,LED DOB
    Local:Field:Medium Prompt:Set as:”Date Of Birth”
    Local:Field:Medium Prompt:Color:RED
    [Field:LED DOB]
    Use:Uni Date Field
    Storage:Birth Date
    Color : Blue
    [System:UDF]
    BirthDate:Date:1001

    1. Is there any issue? Because you only posted the code but didn’t gave any details if it is working or not.
      also use dropbox Folder for code sharing with me.

  72. Sarvesh Prabhukhanolkar says:

    I have tried your Led DOB Code and activated the same in my tally.
    It is not saving the entered DOB with the ledger master.
    Every time I open the ledger, this field is blank.
    Code is uploaded in my Drop Box Folder

  73. Suryanarayana Kollepara says:

    Sir , asper above code, date of birth is shown in ledger but Dob not accepting in tally
    I am using tally education mode

  74. MANOHAR CHATARAJ says:

    [# Part: led contact]
    Add: Line: ledger DOB

    [Line: ledger DOB]
    Field: medium prompt,LED DOB
    Local: Field: medium prompt: Set as: “Date of Birth”
    Local: Field: medium prompt: Color: red

    [Field: LED DOB]
    Use: uni date field
    Storage: Birthdate
    Color: blue

    [System: UDF]
    birthdate: Date: 10001

    ;;displayed : date of birth in red color

  75. Nitesh Ranjan says:

    [#Part: LedConatct]
    Add:Line:Ledger DOB

    [Line: Ledger DOB]
    Field: Led DOB

    [Field: Led DOB]
    Use: Uni Date Field
    Storage: BirthDate

    [System: UDF]
    BirthDate: Date: 10001

    ;;end

    Sir Please help me this code is not working

  76. Abdul Rahman says:

    hi,
    please guide me process & access to drop box and file

  77. Sarathkumar Ganesan says:

    Hi Can you share me your Drop box link pls
    9047415449

  78. Amolkumar Nahar says:

    I have written the following code but it is not making any effect in ledger creation/alteration. Please help me in this regard
    [#Part:Ledcontact]
    Add:Line: ledger DOB
    [Line: Ledgerdob]
    Field: Medium prompt, LED DOB
    Local:field:Medium prompt:Medium Promp:set as: “Date of Birth”
    Local:Field:Medium Report:Color:Green
    [Field:Leddob]
    use: uni date field
    Storage:Birth date
    [System:UDF]
    Birthdate:date:10001

  79. DHEERAJ PUDKE says:

    Hello
    Kindly Check this is no working

    [Part: LedContact]
    Add: Line: Ledger DOB

    [Line: Ledger DOB]
    Field: Medium Prompt, LED DOB
    Local: Field: Medium Prompt : Set as: “Date of Birth”
    Local: Field: Medium Report: Color: Blue

    [Field: led DOB]
    Use: uni date field
    Storage: Birth Date
    Color: Red
    [System: UDF]
    BirthDate: Date: 10001

  80. DHEERAJ PUDKE says:

    Hello
    Kindly Check this is no working

    [Part: LedContact]
    Add: Line: Ledger DOB

    [Line: Ledger DOB]
    Field: Medium Prompt, LED DOB
    Local: Field: Medium Prompt : Set as: “Date of Birth”
    Local: Field: Medium Report: Color: Blue

    [Field: led DOB]
    Use: uni date field
    Storage: Birth Date
    Color: Red
    [System: UDF]
    BirthDate: Date: 10001

  81. Upendrasingh.a says:

    Sir, I am trying to create a new filed as TAN no. in LED other details written the following code, but the data is not getting stored in the ledger master:-
    [#Part:LED Other Details]
    Add: line:Ledger TAN
    [Line: Ledger TAN]
    Field: Medium Prompt, LED TAN
    Local: Field: Medium Prompt: Set as: “TAN No.”
    Local: Field: Medium Prompt: Color: Blue
    [Field: LED TAN]
    use: Name Field
    Storage: New TAN Number
    [System: UDF]
    New TAN Number: Number: 701

  82. Muthiah Sundaram says:

    [#Part: LED Contact]
    Add: Line: LED DOB
    [Line: LED DOB]
    Fields: Medium Prompt, LED DOB
    Local: Field: Medium Prompt : Set as: “Date of Birth”
    Local: Field: Medium Prompt : color: Red
    [Field: LED DOB]
    Use: Uni Date Field
    Storage: Birthdate
    [System: UDF]
    Birthdate : Date: 10001
    Fields are added But Date Value is not accepting in the storage field.
    I mean not letting to pass after entering value

  83. MD ABDUL ALIM SHEKH says:

    Dear Sir,

    Here is DOB TDL Code ,
    # Date of Birth option shown in ledger create filed ..
    but not storage in Tally Data base .
    ;————————————————;

    [#Part: Led contact]
    Add: Line: Ledger DOB

    [Line : Ledger DOB]
    Field : Medium Prompt, LED DOB
    Local : Field : Medium Prompt : Set as: “Date of Birth”

    [Field : LED DOB]
    Use : Uni date field
    Storage : BrithDate
    Color : Blue

    [System : UDF]
    Birth Date : Date: 10001

    1. Hello MD Abdul Alim, Shekh,
      Can you explain What do you mean by not storage in Tally Database?
      and also are you using educational verion of Tally or a licensed version?

  84. Rakesh Tripathi says:

    [#Part:LEDCONTACT]
    Add:Line:Ledger DOB
    [Line:Ledger DOB]
    Field:Medium Prompt,Led DOB
    Local:Field:Medium Prompt:Set as: “Date of Birth”
    Local:Field:Medium Prompt:Color:Red
    [Field:Led DOB]
    Use:Uni Date Field
    Storage:Birthdate
    Color:Blue
    [System:UDF]
    Birth Date:Date:10001
    it’s show under the Provide Contact Details
    Birht Date and its in Red Color Fonts

  85. Sainath Konduri says:

    [#Part: LED Contact]
    Add: Line: Ledger DOB

    [Line: Ledger DOB]
    Field: MediumPrompt, LED DOB

    Local: Field: MediumPromt: Set as: “Date of Birth”

    [Field: LED DOB]
    Use: UniDateField
    Storage: BirthDate
    Color: Blue

    [System: UDF]
    BirthDate: Date: 10001
    ;;Sir this the code I am not getting the line in the Contact details

Leave a Reply