Share via


Markup.insertJournalMarkupTrans Method [AX 2012]

Creates and a new journal markup transaction record to be posted.

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 MarkupTrans insertJournalMarkupTrans(
            MarkupTrans _markupTrans, 
            Common _destin, 
            AmountCur _calculatedAmount, 
           [Voucher _voucher, 
            TransDate _transDate, 
            AmountCur _posted, 
            MarkupTrans _originalMarkupTrans])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected MarkupTrans insertJournalMarkupTrans(
            MarkupTrans _markupTrans, 
            Common _destin, 
            AmountCur _calculatedAmount, 
           [Voucher _voucher, 
            TransDate _transDate, 
            AmountCur _posted, 
            MarkupTrans _originalMarkupTrans])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void insertJournalMarkupTrans(
            MarkupTrans _markupTrans, 
            Common _destin, 
            AmountCur _calculatedAmount, 
           [Voucher _voucher, 
            TransDate _transDate, 
            AmountCur _posted, 
            MarkupTrans _originalMarkupTrans])

  Microsoft Dynamics AX 2012 (FPK)
          protected void insertJournalMarkupTrans(
            MarkupTrans _markupTrans, 
            Common _destin, 
            AmountCur _calculatedAmount, 
           [Voucher _voucher, 
            TransDate _transDate, 
            AmountCur _posted, 
            MarkupTrans _originalMarkupTrans])

  Microsoft Dynamics AX 2012 (SYS)
          protected void insertJournalMarkupTrans(
            MarkupTrans _markupTrans, 
            Common _destin, 
            AmountCur _calculatedAmount, 
           [Voucher _voucher, 
            TransDate _transDate, 
            AmountCur _posted, 
            MarkupTrans _originalMarkupTrans])

Run On

Server

Parameters

  • _markupTrans
    Type: MarkupTrans Table
    The journal markup transaction record to be posted.
  • _destin
    Type: Common Table
    The destination record to which the new journal markup transaction record points.
  • _transDate
    Type: TransDate Extended Data Type
    The last transaction date of the ledger voucher to which the journal markup transaction record belongs.
  • _originalMarkupTrans
    Type: MarkupTrans Table
    The original journal markup transaction record.

Return Value

Type: MarkupTrans Table
The new journal markup transaction record.

See Also

Reference

Markup Class