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.
- _ledgerJournalTrans_Project
Type: LedgerJournalTrans_Project Table
A buffer that stores the LedgerJournalTrans_Project part of the transaction.
- _ledgerJournalTrans_Asset
Type: LedgerJournalTrans_Asset Table
A buffer that stores the LedgerJournalTrans_Asset part of the transaction.
- _ledgerJournalTrans_RAsset
Type: LedgerJournalTrans_RAsset Table
The buffer storing the LedgerJournalTrans_RAsset portion of the transaction.
- _ledgerJournalTrans_RDeferrals
Type: LedgerJournalTrans_RDeferrals Table
The buffer storing the LedgerJournalTrans_RDeferrals portion of the transaction.
Remarks
This method is used by the accountModified method to default in an offset account.