Share via


TransactionReversal_Asset.updateDepBookOriginal Method [AX 2012]

Updates the original TransactionReversalTrans reversed flag for the depreciation book transaction that matches the specified voucher and transaction date or journal number and journal line number.

Syntax

protected void updateDepBookOriginal(
    Voucher _voucher, 
    TransDate _transDate, 
    AssetJournalId _journalNumber, 
    LineNum _journalLineNum)

Run On

Called

Parameters

  • _journalLineNum
    Type: LineNum Extended Data Type
    The journal line number for which the transaction has to be updated if no voucher is provided; optional.

Remarks

If a voucher is specified then it is assumed we are updating the asset books.

Otherwise, this method finds and updates the depreciation book transaction.

See Also

Reference

TransactionReversal_Asset Class