Share via


TransactionReversal_Asset.validateReversal Method [AX 2012]

Validates all the asset transactions to guarantee that the transaction can be reversed or revoked.

Syntax

public boolean validateReversal(
    Voucher _voucher, 
    TransDate _transDate, 
    AssetJournalId _journalNumber, 
    LineNum _journalLineNum, 
    boolean _revoke)

Run On

Called

Parameters

  • _revoke
    Type: boolean
    A Boolean value that specifies whether to validate a reversal or a revoke.

Return Value

Type: boolean
true if all called validation checks are passed; otherwise, false.

Remarks

This routine calls methods to validate posting type, originate the journal location and status, and verify that the transaction is the last.

See Also

Reference

TransactionReversal_Asset Class