TaxFiscalDocumentTotals_BR.lineDiscAmount Method [AX 2012]
Retrieves the discount amount of the current line.
Syntax
protected DiscAmount lineDiscAmount(UnitQty unitQty, TransDate transDate)
Run On
Server
Parameters
- unitQty
Type: UnitQty Extended Data Type
The line quantity.
- transDate
Type: TransDate Extended Data Type
The transaction date.
Return Value
Type: DiscAmount Extended Data Type
The discount amount of the current line.
Remarks
The return value is always 0 (zero) for a tax fiscal document.