Nav v3.70A - Calculate Depreciation based on 365 days

ykcheongykcheong Member Posts: 32
Hi,

I want the system to calculate the fixed asset depreciation based on 360 days or 365 days.

I found out in this forum that you need to change the formula in codeunit 5611.

DeprYears :=
DepreciationCalc.DeprDays("Depreciation Starting Date","Depreciation Ending Date") / 360;

I am wondering whether I can replace the 360 in the above formula with a variable. This variable will be place in the Depreciation Book code and the user can enter the number of days (e.g. 360 or 365).

Any other things that I need to consider or aware off?

Thank you for your advice.

Best regards,
Cheong

Comments

Sign In or Register to comment.