SpecTransManager::markedSpecTransLine_server Method [AX 2012]
Marks the invoice line.
Syntax
server private static container markedSpecTransLine_server(
CustTransOpenLine _custTransOpenLine,
RefRecId _specTransRecId,
CashDiscAmount _discAmountToTake,
AmountCur _remainingTotalAmount,
AmountCur _totalAmountCur,
CashDiscAmount _remainingDiscToTake,
AmountCur _remainingSettlementAmount,
CurrencyCode _currencyCode)
Run On
Server
Parameters
- _custTransOpenLine
Type: CustTransOpenLine Table
The CustTransOpenLine record.
- _specTransRecId
Type: RefRecId Extended Data Type
The unique record ID of SpecTrans table.
- _discAmountToTake
Type: CashDiscAmount Extended Data Type
The total discount amount to take on the invoice.
- _remainingTotalAmount
Type: AmountCur Extended Data Type
The total remaining amount on the invoice.
- _totalAmountCur
Type: AmountCur Extended Data Type
The total amount on the invoice.
- _remainingDiscToTake
Type: CashDiscAmount Extended Data Type
The total remaining discount on the invoice.
- _remainingSettlementAmount
Type: AmountCur Extended Data Type
The total remaining amount to settle on the invoice.
- _currencyCode
Type: CurrencyCode Extended Data Type
The CurrencyCode to use in exchange rate calculations.
Return Value
Type: container
The remaining amount, discount and amount to settle on the invoice and marked line.