Let me know, if you can, what is the formula to pick up the Ledger's Bank A/c details (Default tally).....
Thanks a lot Pankaj for your valuable efforts..... but still you are missing the point........... So I explain my point of view here below: What you have done is getting the Data from the Vouchers and it is easy to get. Either by way of formula (as per your code) or computing it in collection by walking through all Ledger entries, Bank allocations etc., one can get it easily. But consider this, if a Ledger does not have a Payment voucher till date....then from which voucher will this data be collected. The code you have sent will give me blank details as there are no vouchers to extract information from. Also consider the case when a party has multiple Bank Accounts.....and some payments are made to Bank1 and some to Bank2, and hence this method is not wanted. Therefore I am trying to extract the information from the Ledger Master. The screenshot i have sent to you, vide earlier mail.
Anyway....I've got the idea now............ will have to tap the collection and include it in the report.......... I am trying to get the value in another report.............. and in your case you have the collection built-in in the Voucher entry mode.... Thanks a ton....buds.
we can modify the ledger object to compute bank details without making much complex: Code: [#Object:Ledger] Sledbankname:$PAYMENTDETAILS.BANKNAME Sledbankaccount:$PAYMENTDETAILS.ACCOUNTNUMBER Sledbankifsc:$PAYMENTDETAILS.IFSCODE then use these methods to get bankname,account number, ifsc code: Code: $Sledbankname:Ledger:$LedgerNAme $Sledbankaccount:Ledger:$LedgerName $Sledbankifsc:Ledger:LedgerName