Share via


SalesTotals_Trans.lineHasDiscount Method [AX 2012]

Determines whether a discount is applied to the line.

Syntax

protected boolean lineHasDiscount()

Run On

Server

Return Value

Type: boolean
true if a discount amount, a discount percentage, a multiline discount amount, or a multiline discount percentage is applied; otherwise, false.

See Also

Reference

SalesTotals_Trans Class