Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Installation information
Note Before you install this hotfix, verify that all Microsoft Navision client users are logged off the system. This includes Microsoft Navision Application Services (NAS) client users. You should be the only client user who is logged on when you implement this hotfix.
To implement this hotfix, you must have a developer license.
• The Modify permission for the object that you will be changing.
• The Execute permission for the System Object ID 5210 object and for the System Object ID 9015 object.
Note You do not have to have rights to the data stores unless you have to perform data repair.
Existing code
LOCAL PROCEDURE CalculateDeprAmount@2() : Decimal;
...
ELSE
CASE DeprMethod OF
DeprMethod::StraightLine:
Amount := CalcSLAmount;
DeprMethod::DB1:
Amount := CalcDB1Amount;
DeprMethod::DB2:
Amount := CalcDB2Amount;
DeprMethod::DB1SL,
DeprMethod::DB2SL:
Amount := CalcDBSLAmount;
DeprMethod::Manual:
Amount := 0;
DeprMethod::"User-Defined":
Amount := CalcUserDefinedAmount(UntilDate);
DeprMethod::BelowZero:
Amount := CalcBelowZeroAmount; // Delete this line.
END;
END
...
Replacement code
LOCAL PROCEDURE CalculateDeprAmount@2() : Decimal;
...
ELSE
CASE DeprMethod OF
DeprMethod::StraightLine:
Amount := CalcSLAmount;
DeprMethod::DB1:
Amount := CalcDB1Amount;
DeprMethod::DB2:
Amount := CalcDB2Amount;
DeprMethod::DB1SL,
DeprMethod::DB2SL:
Amount := CalcDBSLAmount;
DeprMethod::Manual:
Amount := 0;
DeprMethod::"User-Defined":
Amount := CalcUserDefinedAmount(UntilDate);
DeprMethod::BelowZero:
Amount := DepreciationCalc.CalcRounding(DeprBookCode,CalcBelowZeroAmount); // Add this line.
END;
END
...
• Microsoft Dynamics NAV 4.0
• Microsoft Dynamics NAV 5.0
Removal information
You cannot remove this hotfix.
4.0 SP3