The computes formulas give by me and used by you will not work for your purposes. It is given to him, to enable him to transpose data to excel. In your case, you have to design and construct your collection in a way, that is required. e.g. Filter on Sales or Purchases....... CollectionField will work better and perfectly when you have a strict and consistent method of data entry or a Consistent Table of Data OR from another Collection. As per above CollectionField is getting the data for Line # 1 to 8 ......... and let's say your sales entries are as under: entry # 1 Party A/c DR ....to Sales A/c Cr ....to CGST 9% A/c Cr ....to SGST 9% A/c Cr entry # 2 Party A/c DR ....to Sales A/c Cr ....to IGST 28% A/c Cr ...to R/Off A/c Cr or Dr (as the case maybe) As you can see, in above case.....CollectionField will not work for you.......... it will pick data based on the Line number. There are many similar type of Reports on this Forum.......go through the same and learn how to collect your relevant data.
Amit Ji I'm relatively new to TDL, and can't figure out how to display the amount next to the ledger name and also display the primary group of the ledger [Collection : All Vouchers] Type : Voucher Fetch : Date, VoucherNumber, Reference, VoucherTypeName, LedgerName, Narration, PartyLedgerName, Amount ;Fetch : DrLed, CrLed Compute : Led1 : $$CollectionField:$LedgerName:1:AllLedgerEntries Compute : Amt1 : $$CollectionField:$Amount:1:AllLedgerEntries Compute : Led2 : $$CollectionField:$LedgerName:2:AllLedgerEntries Compute : Amt2 : $$CollectionField:$Amount:2:AllLedgerEntries Please help.
Explain clearly..... In what report you want? Which position??? Show by way of screenshot with remarks.