Share via


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

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.

See Also

Reference

LedgerJournalEngine Class