Top N Debtors from Tally

Moderator: ramajayam

Post Reply
admin
Site Admin
Posts: 67
Joined: Wed Feb 07, 2024 8:24 am

Top N Debtors from Tally

Post by admin »

Copy paste the below code in the Calculator Panel of Tally and Press Enter


Code: Select all

SELECT Top 3 $Name, $_PrimaryGroup, $Parent, $$AsCrAmt:$_ClosingBalance from Ledger where $_PrimaryGroup is like "Sundry Debtors" and  $$isdr:$_ClosingBalance and $_ClosingBalance > 0  order by $_ClosingBalance
[/size]
Rathinagiri
Posts: 34
Joined: Thu Mar 07, 2024 9:35 pm

Re: Top N Debtors from Tally

Post by Rathinagiri »

Nice one. For creditors please change to Sundry Creditors and order by desc since dr baance is positive.
Post Reply