Dear All TDL Experts, Happy New year to you, your family and your friends, I need to pick one particular ledger value in ledgerentries collection in invoice. I also need to Remove one particular ledger in ledger entriescollection in invoice. This is a scenario Discount Issued 5000 out put vat @ 5% 10000 Transport charges 25000 Here I want to pick a value of discount Issued (if it is in the collection) i also need to remove the ledger Discount Issued in the collection (if it is in the collection). If is it possible Please reply. Thanking You
1. By using System Formula, you can take the Discount Ledger's Amount DiscVal : $$FilterValue:$Amount:LedgerEntries:FirstiscFlt DiscFlt : $LedgerName Contains "Discount" 2. In the Print, while repeating the Ledger Entries Collection, you can "Empty If : @@DiscFlt".
Dear pritam krishna sir, Thanks for your great reply. your code is working fine, my problem solved. once again thank you very much.