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
[#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.
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
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.
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.
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
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
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
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
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
[#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
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
[#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
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.
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
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.
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??
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 .
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?
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.
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.
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
[#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.
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.
[#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
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.
Hi,
The link is given in the Tools of Trade chapter.
It is Tally developer network software
or you can download it from http://www.tallysolutions.com/download
there you will see tabs like Tally.ERP 9, Tally server Tally Developer
Select Tally Developer and then hit install now.
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.
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.
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.
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
[#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
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…
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.
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??
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.
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.
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
[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
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?
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
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.
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
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
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.
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.
[#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?
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
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
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.
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 ?
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.
[#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?
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.
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
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.
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,
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
/* 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
[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
.
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
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?
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.
;; 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
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
[#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
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
[#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
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.
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
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
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
[#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
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?
[#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
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
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
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
Hope the issue is resolved after the zoho chat
Yes 100% Thanks
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
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
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.
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.
[#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
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
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”?
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.
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
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.
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
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
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;;
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”
[#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
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
I Can’t Understood about Date Of Birth Ledger. Will you please explain more.
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
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
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
No sir still not it’s not storing the value.
Sir problem solved, actually i had done mistake in spelling of Birthdate, in Storage: Brithdate and in UDF it is Birthdate.
Great work Sir….
Hello Rakesh,
Thanks for the inspiring words and we love the feedback from you
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
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
Working, 1st and last date of month in educational version.
Sir Attached Screen Shot name : Scheen Shot LEDCONTACT
Kindly check and confirm.
There isn’t any error I noticed.
I have created ledger DOB TDL and added in Tally. But field Date of Birth is not appeared in ledger
;;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
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
sir
Work Successful done.
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
;; 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
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.
;; 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..??
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.
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
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.
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.
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
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.
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
Dear Sir
It is not storing Date of Birth, cursor is not navigating from DOB Field in LEdger Master
Sir can you please explain the following line in the code
Birthdate : Date: 10001
What is the use of 10001?
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
Awesome
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.
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…
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.
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
[#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.
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.
[#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.
[#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.
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.
Thank you Sir
hello sir
how to get the Tally Tdl IDE?
please guide me.
how to use the drop box?
where should I write my code
Hi,
The link is given in the Tools of Trade chapter.
It is Tally developer network software
or you can download it from http://www.tallysolutions.com/download
there you will see tabs like Tally.ERP 9, Tally server Tally Developer
Select Tally Developer and then hit install now.
Hello Sir,
I have written code but it is giving me error.
‘Field:Medium Promt’
Could not find description
You need to read the codes carefully! and your own codes also
It is Medium Prompt but you wrote it as Medium Promt!
Thank you sir
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
Very easy way of learning > The Approach good . Thanks
The code has been executed without any error
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.
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.
[#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
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.
Field Not Displayed in Ledger Master.
Hi About This Ledger Dob Chapter :-
How Many Parts in Ledger Masters And How To Know The Names of The Parts.
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
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
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.
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,
By using this TDL, tally accepts DOB for all type of ledgers.. revenue, non-revenue, even if contact details for revenue account is disabled.
Hi,
Yes sir, it works fine..
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
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
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…
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.
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.
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.
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.
birthday:date:10001
what is 10001
why are we using medium prompt here to display “Date of Birth”
why we are not using field in name field type
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
[#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
[Part: LED Contact]
Led DOB does not work in tally
how to solve the problem
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?
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?
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
file in activate in tally but changing is not show ?
code doesn’t Work
Plse Suggest..
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
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.
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
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
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.
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
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.
Please explain this chapter I don’t understand
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.
Feedback: I am getting the results.
[#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?
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
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
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.
How to see effect of DOB.txt TDL
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 ?
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.
Amazing Teaching Idea. This was improved sir, From long time again i am visit this page
Good Evening Sir,
I have completed this DOB creation task and stored the code and output in Dropbox folder.
Nice way of learning
[#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?
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.
Noted
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
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.
noted
“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
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,
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.
Please enable contacts in customer ledger master through F12
Sir, In this Code, the [System: UDF] and BirthDate: Date: 10001 could not be understood.
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
Thank you vary much Sir. I understood….
/* 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.
[#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
.
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
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?
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.
Thanks Sir, i take some time. but finally it works fine. i am happy
;; 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
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
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
Good Work! Finally you did it.
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
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
Oh! Thanks you so much. Got it!
I am glad that it helped. Keep coding. You will see many wonders.
[#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
is this code working?
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.
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
I made changes in your code and put my remarks please check and confirm.
Thank you for the prompt response on chat
Sir , asper above code, date of birth is shown in ledger but Dob not accepting in tally
I am using tally education mode
Please use 1st or 31st of a month
Educational version of Tally won’t allow you to input any other date
[# 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
[#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
Plesae change the code
[Field: Led DOB]
Use: Uni Date Field
Storage: MyDob
[System: UDF]
MyDob: Date: 10001
hi,
please guide me process & access to drop box and file
Hi Can you share me your Drop box link pls
9047415449
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
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
Did you enabled contact details in the party Ledger master?
yes i did
Now it is working thank you for support
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
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
[#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
Since, You were trying educational version of Tally, it will accept only first and 31st of a given month.
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
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?
[#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
done!
[#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