Share via


SalesCalcTax_Sales.lineEndDisc Method [AX 2012]

Calculates the end discount amount for sales order line.

Syntax

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

Run On

Server

Parameters

  • _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.

See Also

Reference

SalesCalcTax_Sales Class