LedgerJournalEngine.offsetAccountModified Method [AX 2012]
Adjusts LedgerJournalTrans and optionally LedgerJournalTrans_Project fields in response to a change in the LedgerJournalTransOffsetAccount value.
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 void offsetAccountModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset,
LedgerJournalTrans_RAsset _ledgerJournalTrans_RAsset,
LedgerJournalTrans_RDeferrals _ledgerJournalTrans_RDeferrals])
Microsoft Dynamics AX 2012 R2 (SYS)
public void offsetAccountModified(
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)
public void offsetAccountModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset])
Microsoft Dynamics AX 2012 (FPK)
public void offsetAccountModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset])
Microsoft Dynamics AX 2012 (SYS)
public void offsetAccountModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset])
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans table record being modified.
- _ledgerJournalTrans_Project
Type: LedgerJournalTrans_Project Table
The LedgerJournalTrans_Project table record being modified; optional.
- _ledgerJournalTrans_Asset
Type: LedgerJournalTrans_Asset Table
The LedgerJournalTrans_Asset table record being modified; optional.
- _ledgerJournalTrans_RAsset
Type: LedgerJournalTrans_RAsset Table
- _ledgerJournalTrans_RDeferrals
Type: LedgerJournalTrans_RDeferrals Table
Remarks
This method should be called from the modified method in the OffsetAccount field of the LedgerJournalTrans form data source. If there is no LedgerJournalTrans_Project or LedgerJournalTrans_Asset data source on the form, null Nothing nullptr unit a null reference (Nothing in Visual Basic) may be passed in.