In the database, there is a report called A/R Aging Report.
At the end of every month, the user has to run the report for each Customer Posting Group (which takes alot of time). The user has requested us if we can modify the report, so he/she can run the report and sort by posting groups. At the end of each posting group, the report should contain the total of that posting group and also each Posting group should start on a new page.
Most of the processing is done in the Cust Ledger Entry (Dataitem) and the information is put in array and the Integer (dataitem) is used to display this information.
I created a Groupheader for Customer (dataitem) so it can sort the information out by Customer Posting Group. However, the problem I am not really sure how can I do TotalFields on the arrary Items so it can calculate it for every Posting Group and then automatically reset them?
Section Designer: -
http://www.zshare.ma/lsawurw5xdv8
Report Output -
http://www.zshare.ma/3szrb9z301md
Answers
Copy the orig report to a new Number 50000+ range call it "a/r aging report by Posting group" or something.
Why wouldn't you make the first dataitem "Customer Posting Group"? and play around with that since it sounds like they would like it by
Customer Posting Group
-Customer
--Cust. Ledger Entry
http://www.BiloBeauty.com
http://www.autismspeaks.org
So there is no simple way of keeping track of the array totals eh using the TotalFields.
I kinda was trying not to gut the report, because it does so many things in the background. I never made the original report, it was already in the system. If I dont have a choice, that would be my last resource.
Then you can add a New Customer posting Group footer or group footer to the report. See what you can come up with. That's where I would start because you wan the same report you just want to wrap the Cust Posting Group around it.
http://www.BiloBeauty.com
http://www.autismspeaks.org
I put all those fields (BalanceDue[1], BalanceDue[2], BalanceDue[3], etc) in the GroupFooter.