Finance Charge Memo Question
headley27
Member Posts: 188
I am attempting to use Finance Charge Memos but am running across an error message that I don't quite understand: ](*,)
When I run Report 192 (Suggest Fin. Charge Memo Lines) from Form 477 (Finance Charge Memo), the code breaks with:
The error message has been traced to the CalcFinChrg() function in Table 303 (Finance Charge Memo Line).
So what I see is that Navision gets the appropriate Customer Posting Group and looks for an Interest Account. In the G/L Account table a General Product Posting group is also expected.
Why must an Interest Account have an attached General Product Posting Group? I am using a G/L Account called 'Other Income' that has nothing to do with product (other that the fact that I sold a product to a customer and they are late paying the bill).
To resolve the issue I could attach any General Product Posting Group to the G/L Account (which is the same as pulling a number out of a hat) or I could comment the line.
This requirement makes no sense to me.
Can someone please explain this to me?
Thank you,
headley27
When I run Report 192 (Suggest Fin. Charge Memo Lines) from Form 477 (Finance Charge Memo), the code breaks with:
The error message has been traced to the CalcFinChrg() function in Table 303 (Finance Charge Memo Line).
IF Amount <> 0 THEN BEGIN
CustPostingGr.GET(FinChrgMemoHeader."Customer Posting Group");
CustPostingGr.TESTFIELD("Interest Account");
GLAcc.GET(CustPostingGr."Interest Account");
GLAcc.TESTFIELD("Gen. Prod. Posting Group"); //<< Breaks Here
VALIDATE("Gen. Prod. Posting Group",GLAcc."Gen. Prod. Posting Group");
VALIDATE("VAT Prod. Posting Group",GLAcc."VAT Prod. Posting Group");
END;
So what I see is that Navision gets the appropriate Customer Posting Group and looks for an Interest Account. In the G/L Account table a General Product Posting group is also expected.
Why must an Interest Account have an attached General Product Posting Group? I am using a G/L Account called 'Other Income' that has nothing to do with product (other that the fact that I sold a product to a customer and they are late paying the bill).
To resolve the issue I could attach any General Product Posting Group to the G/L Account (which is the same as pulling a number out of a hat) or I could comment the line.
IF Amount <> 0 THEN BEGIN
CustPostingGr.GET(FinChrgMemoHeader."Customer Posting Group");
CustPostingGr.TESTFIELD("Interest Account");
GLAcc.GET(CustPostingGr."Interest Account");
//GLAcc.TESTFIELD("Gen. Prod. Posting Group");
VALIDATE("Gen. Prod. Posting Group",GLAcc."Gen. Prod. Posting Group");
VALIDATE("VAT Prod. Posting Group",GLAcc."VAT Prod. Posting Group");
END;
This requirement makes no sense to me.
Can someone please explain this to me?
Thank you,
headley27
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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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