U should have TDE, if not having, please download it. Open Tally in Developer mode. Hover your mouse and click on the field (pic 1), and you will get the field name in the tooltip box. As per pic2, where you have marked the position, find out the field name on the left hand side.....then you need to add the field in the appropriate line. Do this much, rest I will guide you step by step.
Im new in TDL development. I just currently use ur already developed codes and i already installed TDE but cant understand it well
So EiBuyer is the field that you want next to EiConsignee.... Now in TDE....press Ctrl+D and search for "Field : EIBuyer", and note down the UDF Storage name then similarly search for EIConsignee.... and try to locate its "LINE" name.
Part â–º Line â–º Field.... that the structure of TDL Coding.......... In your 2nd photo ..... Party A/c Name and its selection of ledger name... so there are 2 fields in that "line". So you need to find that LINE name and insert your field i.e. 3rd one there.........
Thank you, I did it... code works great: [#Line: EI Consignee] Field : Simple Prompt, EI Consignee,CustomerNamePrompt, CustomerName, EI CurrConsignee, EI FirstLedger, INVMailName, Name field RightFields : Short Prompt, EI PriceLevel, EI PrevPriceLevel [Field:CustomerNamePrompt] Use: Medium Prompt Set as: "Contact Person" [Field:CustomerName] Use: Name Field Set as:$BasicBuyerName Color : blue Set Always: Yes Skip: Yes I take this link as referance http://tallyexperttips.blogspot.com/2017/10/tally-tdl-how-to-add-custom-field-udf.html and converted as @Amit Kamdar sir suggested...
@Akumar See this Screenshot or tdl , you will definitely like it See this Image See this code here [#Line: EI PartyLimit] Add : Field : After : EI CreditLimit : Contact [Field : Contact] Invisible : NOT ##CurBalanceFlag Field : Simple Prompt, Name Field Local : Field : Simple Prompt : Info : $$LocaleString:"Customer Name:" Local : Field : name Field : Set as : $LedgerContact:Ledger:#EIConsignee
My code works fine in sales voucher but in purchase voucher, it shows company name in that field. Should I tried to change it like following ;=================================== [#Line: EI Consignee] Field : Simple Prompt, EI Consignee,CustomerNamePrompt, CustomerName, SupplierNamePrompt, SupplierName, EI CurrConsignee, EI FirstLedger, INVMailName, Name field RightFields : Short Prompt, EI PriceLevel, EI PrevPriceLevel [Field:CustomerNamePrompt] Use: Simple Prompt Set as: "Customer Name" [Field:CustomerName] Use: Name Field Set as:$BasicBuyerName Color : blue Set Always: Yes Skip: Yes [Field:SupplierNamePrompt] Use: Simple Prompt Set as: "Supplier Name" [Field:SupplierName] Use: Name Field Set as:$PartyName Color : blue Set Always: Yes Skip: Yes ;=================================== but won't work as excepted.. and it shows duplicate name in sales voucher when ledger is selected as buyer (credit sale) need if else statment where it detect voucher type @Amit Kamdar sir please help
Good...now as a learning curve...... understand that for Sale it is "EI Consignee", for purchase it is not. So now get the requisite field name from Purchase Voucher and make addition to your code.
@Akumar your problem has solved, I also added customer mobile number, see here screenshot see this code here , [#Line: EI PartyLimit] Add : Field : After : EI CreditLimit : Customer Name Add : Field : After : Customer Name : Customer Contact [Field : Customer Name] Invisible : NOT ##CurBalanceFlag Field : Simple Prompt, Name Field Local : Field : Simple Prompt : Info : $$LocaleString:"Customer Name:" Local : Field : name Field : Set as : $LedgerContact:Ledger:#EIConsignee Local: Field: Name Field: Width:25 Invisible : @@IsSales [Field : Customer Contact] Invisible : NOT ##CurBalanceFlag Field : Simple Prompt, Name Field Local : Field : Simple Prompt : Info : $$LocaleString:"Contact:" Local : Field : name Field : Set as : $LedgerMobile:Ledger:#EIConsignee Local: Field: Name Field: Width:30 Invisible : @@IsSales change as per your own requirement, if you want to display in sales voucher, just change in above code in red color field option like this Invisible : @@IsSales or Invisible : @@IsPurchase happy tally , happy tdl . thank you.