Share via


AssetTransfer.createDepreciationTransactions Method [AX 2012]

Creates depreciation transactions for the asset transfer according to business needs.

Syntax

protected void createDepreciationTransactions(
    AssetBook _assetBook, 
    LedgerVoucher _ledgerVoucher, 
    LedgerVoucherObject _ledgerVoucherObject)

Run On

Server

Parameters

  • _assetBook
    Type: AssetBook Table
    An instance of the AssetBook table to use.
  • _ledgerVoucher
    Type: LedgerVoucher Class
    A LedgerVoucher object, which will be used to create transactions.

Remarks

This method will be started by the createTransactions method to add depreciation transactions.

This method may be overridden by derivatives so as to implement a different logic of adding depreciation transactions.

In this implementation, we would add only one accumulated depreciation transaction against the asset transfer.

See Also

Reference

AssetTransfer Class