Customer runs Navision 4sp3, Swedish version.
When creating finance charge memos, some line amounts become way too big. We have located the problem to invoices which have partial payments, i.e. more than one payment applied to the invoice.
The problem seems to be in the function CumulateDetailedEntries in table 303. The code in 4sp3 is like this:
IF DtldCLE.FIND('-') THEN
REPEAT
IF DtldCLE."Entry Type" = DtldCLE."Entry Type"::"Initial Entry" THEN
InterestStartDate := UseDueDate
ELSE
IF UseDueDate < DtldCLE."Posting Date" THEN
InterestStartDate := DtldCLE."Posting Date"
ELSE
IF NrOfLinesToInsert = 0 THEN
UseCalcDate := 0D;
In NAV 5.0 the code is changed:
IF DtldCLE.FIND('-') THEN
REPEAT
IF DtldCLE."Entry Type" = DtldCLE."Entry Type"::"Initial Entry" THEN
InterestStartDate := UseDueDate
ELSE
IF UseDueDate < DtldCLE."Posting Date" THEN
InterestStartDate := DtldCLE."Posting Date";
When we change the code like that the line amounts turn out fine.
I can't find any information about this change between versions 4 and 5. Before implementing it in the customer's data base I want to make sure that this is the only thing that should be changed, and that nothing else is impacted in any way.
Thankful for any help!
/Rickard
Comments
Anyone who can confirm that this is the only change between versions 4 and 5 regarding this?