To implement this hotfix, you must have a developer license.
You do not have to have rights to the data stores unless you have to perform data repair.
...
WITH ItemLedgEntry DO BEGIN
// Avoid stack overflow, if too many recursions
IF Recursion THEN
LevelNo[3] := LevelNo[3] + 1
ELSE
LevelNo[3] := 0;
IF LevelNo[3] = MaxLevels THEN BEGIN
SetAppliedEntryToAdjust(TRUE);
LevelExceeded := TRUE;
LevelNo[3] := 0;
EXIT;
END;
UpDateWindow(WindowAdjmtLevel,WindowItem,WindowAdjust,LevelNo[3],WindowEntry);
ForwardCostToOutbndEntries("Entry No.",Recursion,AppliedEntryToAdjust);
ForwardCostToInbndTransEntries("Entry No.",Recursion);
ForwardCostToInbndEntries("Entry No.");
IF NOT IsOutbndConsump THEN
UpdateAppliedEntryToAdjustBuf("Entry No.",AppliedEntryToAdjust);
SetAppliedEntryToAdjust(FALSE);
END;
...
...
WITH ItemLedgEntry DO BEGIN
// Avoid stack overflow, if too many recursions
IF Recursion THEN
LevelNo[3] := LevelNo[3] + 1
ELSE
LevelNo[3] := 0;
IF LevelNo[3] = MaxLevels THEN BEGIN
SetAppliedEntryToAdjust(TRUE);
LevelExceeded := TRUE;
LevelNo[3] := 0;
EXIT;
END;
UpDateWindow(WindowAdjmtLevel,WindowItem,WindowAdjust,LevelNo[3],WindowEntry);
ForwardCostToOutbndEntries("Entry No.",Recursion,AppliedEntryToAdjust);
ForwardCostToInbndTransEntries("Entry No.",Recursion);
ForwardCostToInbndEntries("Entry No.");
//Add the following lines.
IF OutboundSalesEntryToAdjust(ItemLedgEntry) THEN
AppliedEntryToAdjust := TRUE;
//End of the added lines.
IF NOT IsOutbndConsump THEN
UpdateAppliedEntryToAdjustBuf("Entry No.",AppliedEntryToAdjust);
SetAppliedEntryToAdjust(FALSE);
END;
...
You must have Microsoft Dynamics NAV 2009 Service Pack 1 installed to apply this hotfix.