TAMVendRebateAgreement.checkRebateRequirements Method
Validates the vendor rebate agreement requirements for the passed in parameters.
Syntax
public boolean checkRebateRequirements(
real _rebateAmount,
PurchQty _rebateQty,
PurchUnit _purchUnit,
CurrencyCode _currency,
[ItemId _itemId])
Run On
Called
Parameters
- _rebateAmount
Type: real
The rebate amount that should be validated against the rebate requirements.
- _rebateQty
Type: PurchQty Extended Data Type
The rebate quantity that should be validated against the rebate requirements.
- _purchUnit
Type: PurchUnit Extended Data Type
The purchase unit that should be validated against the rebate requirements.
- _currency
Type: CurrencyCode Extended Data Type
The currency code that should be validated against the rebate requirements.
- _itemId
Type: ItemId Extended Data Type
The ItemId that should be validated against the rebate requirements; optional.
Return Value
Type: boolean
true if the vendor rebate is valid based on the passed in parameters; otherwise, false.