Aged Accounts Receivable in v4.0 sp3 - Not Due
raven44
Member Posts: 85
Hi,
The Aged Accounts Receivable report in Nav v4.0 sp3 does not specify figures in the Not Due column.
Scenario below:
Posting Date Due Date Amount
01/03/07 02/03/07 10,000.00
01/03/07 30/04/07 100,000.00
01/03/07 01/03/07 1,000.00
Without Fix (By Due Date)
Balance Not Due 1-30 Days
1,000.00 0.00 1,000.00
Without Fix (By Posting Date)
Balance 1-30 Days
111,000.00 111,000.00
Possible Fix:
OpenCustLedgEntry - OnAfterGetRecord()
CASE AgingBy OF
AgingBy::"Due Date":
//>> Insert Temp records for Due Date records (Not Due)
BEGIN
CALCFIELDS("Remaining Amount");
IF "Remaining Amount" = 0 THEN
CurrReport.SKIP;
END;
//<<
TempCustLedgEntryLoop - OnAfterGetRecord()
UNTIL DetailedCustomerLedgerEntry.NEXT = 0;
CustLedgEntryEndingDate.CALCFIELDS("Remaining Amount"); //Obtain Remaining Amount for Due Date records (Not Due)
IF CustLedgEntryEndingDate."Remaining Amount" = 0 THEN
CurrReport.SKIP;
With Fix (By Due Date)
Balance Not Due 1-30 Days
111,000.00 110,000.00 1,000.00
With Fix (By Posting Date)
Balance 1-30 Days
111,000.00 111,000.00
Note: Still need to work on the Totals (LCY)
Does anyone have any comments on the above?
(If you run the v4.0 sp2 report, you get the values as per the fix)
The Aged Accounts Receivable report in Nav v4.0 sp3 does not specify figures in the Not Due column.
Scenario below:
Posting Date Due Date Amount
01/03/07 02/03/07 10,000.00
01/03/07 30/04/07 100,000.00
01/03/07 01/03/07 1,000.00
Without Fix (By Due Date)
Balance Not Due 1-30 Days
1,000.00 0.00 1,000.00
Without Fix (By Posting Date)
Balance 1-30 Days
111,000.00 111,000.00
Possible Fix:
OpenCustLedgEntry - OnAfterGetRecord()
CASE AgingBy OF
AgingBy::"Due Date":
//>> Insert Temp records for Due Date records (Not Due)
BEGIN
CALCFIELDS("Remaining Amount");
IF "Remaining Amount" = 0 THEN
CurrReport.SKIP;
END;
//<<
TempCustLedgEntryLoop - OnAfterGetRecord()
UNTIL DetailedCustomerLedgerEntry.NEXT = 0;
CustLedgEntryEndingDate.CALCFIELDS("Remaining Amount"); //Obtain Remaining Amount for Due Date records (Not Due)
IF CustLedgEntryEndingDate."Remaining Amount" = 0 THEN
CurrReport.SKIP;
With Fix (By Due Date)
Balance Not Due 1-30 Days
111,000.00 110,000.00 1,000.00
With Fix (By Posting Date)
Balance 1-30 Days
111,000.00 111,000.00
Note: Still need to work on the Totals (LCY)
Does anyone have any comments on the above?
(If you run the v4.0 sp2 report, you get the values as per the fix)
0
Answers
-
TempCustLedgEntryLoop - OnAfterGetRecord()
UNTIL DetailedCustomerLedgerEntry.NEXT = 0;
CustLedgEntryEndingDate.CALCFIELDS("Remaining Amount"); //Obtain Remaining Amount for Due Date records (Not Due)
IF CustLedgEntryEndingDate."Remaining Amount" = 0 THEN
CurrReport.SKIP;
Dont think this is correct, as the "Remaining Amount" is actually calced above.
Figured it out.
Got the report using all columns as it should be in v4.0 sp3.
New Integer dataitem and some coding.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