'Calculate Depreciation' job inaccurately updating the depreciation on the assets.DescriptionIf an asset is having a orphan/invalid reference to depreciation field, depreciation value of asset is getting updated inaccurately by 'Calculate Depreciation' job. This is also results is in unnecessary updates on corresponding CIs.Steps to Reproduce 1) In an asset record, delete the depreciation (cmdb_depreciation) record associated via script or use an invalid reference of depreciation.2) Run 'Calculate Depreciation' job, note that the asset's depreciation , residual date gets modified. Expectation is the asset should not be updated as the reference is invalid.WorkaroundIssue is fixed viaPRB1709605.Related Problem: PRB1709605