SpecTransManager.insertAllLines Method [AX 2012]
Inserts all invoice lines based on amount to settle.
Syntax
public void insertAllLines(
CompanyId _refCompany,
TableId _refTableId,
RefRecId _refCustTransOpenRecId,
RefRecId _refSpecTransRecId,
AmountCur _settleAmount,
[CashDiscAmount _discAmountToTake])
Run On
Called
Parameters
- _refCompany
Type: CompanyId Extended Data Type
The reference company of the SpecTrans record to insert.
- _refTableId
Type: TableId Extended Data Type
The reference table ID of the SpecTrans record to insert.
- _refCustTransOpenRecId
Type: RefRecId Extended Data Type
The reference record ID of the CustTransOpen record to insert.
- _refSpecTransRecId
Type: RefRecId Extended Data Type
The reference record ID of the SpecTrans record to insert.
- _settleAmount
Type: AmountCur Extended Data Type
The amount to be distributed among the lines.
- _discAmountToTake
Type: CashDiscAmount Extended Data Type
The cash discount amount to be distributed among the lines.