Dear Model Builders,
As per attached screenshot of my Straight Line Depreciation code, I am not able to get depreciation to calculate and spread for all subsequent months from Date in Use to Useful Life of the asset. All I am getting is a depreciation for a month of Date in Use but not for subsequent months. I have even used SPREAD fuction as SPREAD(Purchase Price,'DEP02 Combined Asset Register'.'Useful Life (Years sys)' * 12) but it just increased the depreciation amount for Date in Use month but as above it didn't really spread/calculate the depreciation for subsequent months.
It could be something restricting the calculation or something else.
Also, I am not sure how this part of the formula really working here.
IF
Opening Capex < PREVIOUS(Straight Line Depreciation) AND Opening Capex > 0
THEN
Opening Capex
Appreciate your help.