mibuso.com

Microsoft Business Solutions online community
It is currently Thu Jun 20, 2013 11:51 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [Solved] Report: A/R Aging Report
PostPosted: Wed May 09, 2012 11:38 pm 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
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


Last edited by nverma on Thu May 10, 2012 6:19 pm, edited 1 time in total.

Top
 Profile E-mail  
 
 Post subject: Re: Report: A/R Aging Report
PostPosted: Wed May 09, 2012 11:53 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6992
Location: L.I., New York
Country: United States (us)
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 Entry

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Report: A/R Aging Report
PostPosted: Thu May 10, 2012 3:00 am 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
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.


Top
 Profile E-mail  
 
 Post subject: Re: Report: A/R Aging Report
PostPosted: Thu May 10, 2012 4:46 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6992
Location: L.I., New York
Country: United States (us)
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.

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Report: A/R Aging Report
PostPosted: Thu May 10, 2012 6:19 pm 
Offline

Joined: Fri Sep 30, 2011 7:04 pm
Posts: 298
Country: Canada (ca)
Solved!!!

Code: Select all
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.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: