Share via


DEL_RetailDiscountOfferLine.applyDiscount Method

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

Syntax

public real applyDiscount(real _price)

Run On

Called

Parameters

  • _price
    Type: real
    The given price value.

Return Value

Type: real
A price after discounted amount.

Remarks

If the price passed is 0, then it returns 0.

See Also

Reference

DEL_RetailDiscountOfferLine Table