Report 120 - Aged Accounts Receivable Customization

podollypodolly Member Posts: 84
Dear all,

I am trying to modify this report (NAV 4.0 SP3) to fulfill our finance requirement. Here is the scenario.

1. Run the report for customer 'DC001'
2. On the option tab,
Aged As Of: 31/12/2008
Aging by: Due Date
Period Length: 1M+CM
Print Details: Yes
3. The report shows no line for section 'TempCustLedgEntryLoop'
4. Run step 1-2 again with Aging by: Posting Date, 1 line shows
Posting Date: 15/10/2008
Due Date: 15/01/2009
Original Amount: 1,000.00
Balance: 1,000.00
Zeros for all periods

We want to show the lines even if due date is later than 31/12/2008 for step 2, so that we can inform the customer there is no overdue payment, but an invoice line will due on 15/01/2009. How can I modify this report?

I have studied through the C/AL code, but cannot understand the meaning of the line:
CustLedgEntryEndingDate := TempCustLedgEntry; [In TempCustLedgEntryLoop - OnAfterGetRecord()]

I tried to show all the entries for this customer, and found that for the specific record, having outstanding 1,000.00 on the customer ledger entries, shows 0.00 for balance and not due on this report.

Can anyone advice if this is a program bug or how the program should be modified? Thanks very much.
Sign In or Register to comment.