SpecTransManager.insert Method [AX 2012]

Creates the SpecTrans record with the SpecCompany, SpecTableId, and SpecRecId fields shared by this instance of the SpecTransManager class.

Syntax

public void insert(
    CompanyId _refCompany, 
    TableId _refTableId, 
    RefRecId _refRecId, 
    Amount _settleAmount, 
    CurrencyCode _currency, 
   [NoYes _markedPayment, 
    AmountCur _discAmountToTake, 
    TransDate _selectedDateUsedToCalcCashDisc])

Run On

Called

Parameters

  • _markedPayment
    Type: NoYes Enumeration
    The indicator that the marked transaction is the primary payment; optional.

Remarks

Replaces the create method on the Specification class.

See Also

Reference

SpecTransManager Class