Code to print Ledger Accounts in a tree structure
I am attaching the code for a customized script "Print Ledger Accounts in Tree Structure". This primarily prints the list of ledger (between from and to ledger accounts) accounts in a tree structure (between from and to sublevel).
I hope this is useful for everyone.
One enhancement which one can build over it is to get total debits, credits, quantity1 and quantity2 of each ledger account for a given range of fiscal year and period. Their totals for the parent ledger account should also appear. I am currently working on it and not completed it.
There is nothing extraordinary about me except my insignificance