Share via


GeneralJournalAccountEntry.checkReversal Method

Gets a value that indicates whether the active transaction can be reversed.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean checkReversal(
            GeneralJournalEntry _generalJournalEntry, 
            SubledgerVoucherGeneralJournalEntry _subledgerVoucherLink, 
            LedgerEntry _ledgerEntry, 
           [boolean _showError, 
            boolean _checkCustVend, 
            RefRecId _subledgerJournalAccountEntry, 
            boolean _checkFixedAssetsPostingType])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean checkReversal(
            GeneralJournalEntry _generalJournalEntry, 
            SubledgerVoucherGeneralJournalEntry _subledgerVoucherLink, 
            LedgerEntry _ledgerEntry, 
           [boolean _showError, 
            boolean _checkCustVend, 
            RefRecId _subledgerJournalAccountEntry, 
            boolean _checkFixedAssetsPostingType])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean checkReversal(
            GeneralJournalEntry _generalJournalEntry, 
            SubledgerVoucherGeneralJournalEntry _subledgerVoucherLink, 
            LedgerEntry _ledgerEntry, 
           [boolean _showError, 
            boolean _checkCustVend])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean checkReversal(
            GeneralJournalEntry _generalJournalEntry, 
            SubledgerVoucherGeneralJournalEntry _subledgerVoucherLink, 
            LedgerEntry _ledgerEntry, 
           [boolean _showError, 
            boolean _checkCustVend])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean checkReversal(
            GeneralJournalEntry _generalJournalEntry, 
            SubledgerVoucherGeneralJournalEntry _subledgerVoucherLink, 
            LedgerEntry _ledgerEntry, 
           [boolean _showError, 
            boolean _checkCustVend])

Run On

Called

Parameters

  • _showError
    Type: boolean
    A Boolean value to specify whether the error message is shown or hidden; optional.
  • _checkCustVend
    Type: boolean
    A Boolean value to specify whether reversal is valid if customer or vendor transactions exist; optional.
  • _subledgerJournalAccountEntry
    Type: RefRecId Extended Data Type
    The record for the entry in the subledger voucher general journal; optional.
  • _checkFixedAssetsPostingType
    Type: boolean
    A Boolean value to specify whether reversal is valid for transactions if the posting type is Fixed assets; optional.

Return Value

Type: boolean
true if the specified entry can be reversed; otherwise, false.

See Also

Reference

GeneralJournalAccountEntry Table