0

Sorting by Totals : Payments

Hi,

i want to calculate the total of payments by clients within the current month, to do that i used the following code :

D2=01/04/2012, E2=30/04/2012; G2=NP("DateFilter";D2;E2)

I2=NL("filter";"COMPANY$G_L Entry";"Source No_";"G_L Account No_";411000;"Posting Date";G2)

B5=NL("Rows";"COMPANY$Customer";;"No_";$I$2)
C5=NF(B5;"No_")
D5=NF(B5;"Name")
G5=NL("Sum";"COMPANY$G_L Entry";"Amount";"Document Type";"1";"Source No_";C5;"G_L Account No_";411000;"Posting Date"; G2)

The result is perfect, but my problem is : How can i sort those Clients by the Total of Payments ?
i checked a similar post here : http://community.jetreports.com/viewtopic.php?f=7&t=1856, but it doesn't work for me!!
is it possible to do that using Flow Fields? how?

Thanks,

2 comments

Please sign in to leave a comment.