LedgerJournalEngine.offsetAccountTypeModified Method [AX 2012]
Adjusts a LedgerJournalTrans table record and optionally LedgerJournalTrans_Project fields in response to a change in the OffsetAccountType 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 offsetAccountTypeModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset,
LedgerJournalTrans_RCash _ledgerJournalTrans_RCash])
Microsoft Dynamics AX 2012 R2 (SYS)
public void offsetAccountTypeModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset,
LedgerJournalTrans_RCash _ledgerJournalTrans_RCash])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void offsetAccountTypeModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset])
Microsoft Dynamics AX 2012 (FPK)
public void offsetAccountTypeModified(
LedgerJournalTrans _ledgerJournalTrans,
[LedgerJournalTrans_Project _ledgerJournalTrans_Project,
LedgerJournalTrans_Asset _ledgerJournalTrans_Asset])
Microsoft Dynamics AX 2012 (SYS)
public void offsetAccountTypeModified(
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 optional LedgerJournalTrans_Asset table record being modified; optional.
- _ledgerJournalTrans_RCash
Type: LedgerJournalTrans_RCash Table
Remarks
This method should be called from the modified method in the OffsetAccountType 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.