SpecTransManager.insertSpec Method [AX 2012]

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

Syntax

public SpecTrans insertSpec(
    SpecTrans _insertSpecTrans, 
    CompanyId _refCompany, 
    TableId _refTableId, 
    RefRecId _refRecId, 
    Amount _balance, 
    CurrencyCode _currency, 
   [NoYes _markedPayment, 
    CashDiscAmount _discAmountToTake, 
    TransDate _selectedDateUsedToCalcCashDisc])

Run On

Called

Parameters

  • _insertSpecTrans
    Type: SpecTrans Table
    The reference table ID of the SpecTrans record to be inserted.
  • _markedPayment
    Type: NoYes Enumeration
    The indicator that the marked transaction is the primary payment; Optional.

Return Value

Type: SpecTrans Table
A record of the SpecTrans table.

See Also

Reference

SpecTransManager Class