AssetProposalDepreciation.createDeprecionAdjustmentTrans Method [AX 2012]
Creates a transaction for an asset journal specifically for the Depreciation Adjstments.
Syntax
private void createDeprecionAdjustmentTrans(
AssetAmount _priorYearsDepreciation,
AssetAmount _totalDepreciation,
AssetTableInterval _assetTableInterval,
AssetJournal _assetJournal,
real _sumDepPeriodPriorYears,
real _sumDepPeriodCurrentYear,
AssetBook _assetBook,
AssetTransDate _firstTransDate,
AssetTransDate _lastTransDate)
Run On
Called
Parameters
- _priorYearsDepreciation
Type: AssetAmount Extended Data Type
The sum of depreciation amounts for the prior/priors fiscal years
- _totalDepreciation
Type: AssetAmount Extended Data Type
The sum of depreciation amounts for the current fiscla year.
- _assetTableInterval
Type: AssetTableInterval Class
An instance of AssetTableInterv object.
- _assetJournal
Type: AssetJournal Class
An instance of AssetJournal object.
- _sumDepPeriodPriorYears
Type: real
sumDepPeriodPriorYears
- _sumDepPeriodCurrentYear
Type: real
sumDepPeriodCurrentYear
- _assetBook
Type: AssetBook Table
AssetBook table buffer
- _firstTransDate
Type: AssetTransDate Extended Data Type
firstTransDate
- _lastTransDate
Type: AssetTransDate Extended Data Type
lastTransDate
Remarks
Added a new method to check whether generated transaction need to be created as sumarized journal or not.