Report: A/R Aging Report
nverma
Member Posts: 396
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
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
0
Answers
-
First thing I would do is leave the orig report alone.
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 Entry0 -
I made a copy of the report before I started playing around with it.
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.0 -
I didn't mention gut it. I asking if you tried to add (Insert) a new dataitem "Customer posting Group" before the other dataitems Then you adjust the DataItemIndent by 1 across the board for the dataitems that already exist.
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.0 -
Solved!!!
CurrReport.CREATETOTALS("BalanceDue$"[1]); CurrReport.CREATETOTALS("BalanceDue$"[2]); CurrReport.CREATETOTALS("BalanceDue$"[3]); CurrReport.CREATETOTALS("BalanceDue$"[4]);
I put all those fields (BalanceDue[1], BalanceDue[2], BalanceDue[3], etc) in the GroupFooter.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions