Share via


LedgerJournalEngine.defaultOffsetAcctForAccountModifiedEvent Method [AX 2012]

Applies a default offset account value to a ledger account that is specified by account properties, posting profiles, and module parameters.

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
          protected void defaultOffsetAcctForAccountModifiedEvent(
            LedgerJournalTrans _ledgerJournalTrans, 
            LedgerJournalTrans_Project _ledgerJournalTrans_Project, 
            LedgerJournalTrans_Asset _ledgerJournalTrans_Asset, 
           [LedgerJournalTrans_RAsset _ledgerJournalTrans_RAsset, 
            LedgerJournalTrans_RDeferrals _ledgerJournalTrans_RDeferrals])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void defaultOffsetAcctForAccountModifiedEvent(
            LedgerJournalTrans _ledgerJournalTrans, 
            LedgerJournalTrans_Project _ledgerJournalTrans_Project, 
            LedgerJournalTrans_Asset _ledgerJournalTrans_Asset, 
           [LedgerJournalTrans_RAsset _ledgerJournalTrans_RAsset, 
            LedgerJournalTrans_RDeferrals _ledgerJournalTrans_RDeferrals])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void defaultOffsetAcctForAccountModifiedEvent(
            LedgerJournalTrans _ledgerJournalTrans, 
            LedgerJournalTrans_Project _ledgerJournalTrans_Project, 
            LedgerJournalTrans_Asset _ledgerJournalTrans_Asset)

  Microsoft Dynamics AX 2012 (FPK)
          protected void defaultOffsetAcctForAccountModifiedEvent(
            LedgerJournalTrans _ledgerJournalTrans, 
            LedgerJournalTrans_Project _ledgerJournalTrans_Project, 
            LedgerJournalTrans_Asset _ledgerJournalTrans_Asset)

  Microsoft Dynamics AX 2012 (SYS)
          protected void defaultOffsetAcctForAccountModifiedEvent(
            LedgerJournalTrans _ledgerJournalTrans, 
            LedgerJournalTrans_Project _ledgerJournalTrans_Project, 
            LedgerJournalTrans_Asset _ledgerJournalTrans_Asset)

Run On

Called

Parameters

  • _ledgerJournalTrans
    Type: LedgerJournalTrans Table
    A buffer that stores the LedgerJournalTrans part of the transaction.

Remarks

This method is used by the accountModified method to default in an offset account.

See Also

Reference

LedgerJournalEngine Class