RetailDiscountLineOffer.applyDiscount Method [AX 2012]

Applies the discount on the price based on the discount method defined for the discount offer.

public real applyDiscount(real _price)

Run On

Called

Parameters

_price
Type: real
The given price value.

Return Value

Type: real
The price after discounted amount.

If the price passed is 0, it returns 0.

Show: