SalesCalcTax_Sales.lineEndDisc Method [AX 2012]

Calculates the end discount amount for sales order line.

public DiscAmount lineEndDisc(TaxBaseCur baseAmount, [boolean _rounded])

Run On

Server

Parameters

baseAmount
Type: TaxBaseCur Extended Data Type
The base amount for the discount calculation.
_rounded
Type: boolean
The boolean flag indicating whether result should be rounded according to currency setup.

Return Value

Type: DiscAmount Extended Data Type
The end discount amount.
Show: