Calculates the rebate amounts based on the rebate amount type.
Syntax
public void calculateRebateAmount([PdsRebateAgreement _pdsRebateAgreement])
Run On
Called
Parameters
- _pdsRebateAgreement
Type: PdsRebateAgreement Table
The PdsRebateAgreement record; optional.
Exceptions
| Exception | Condition |
|---|---|
| Error | A rebate with a PdsRebateAmtType enumeration value other than AmountPerUnit, FixedAmount and Percentage was specified. |