Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the Rebate unit and purchase unit can be converted.
Syntax
public boolean checkRebateQtyRequirements(
PurchQty _rebateQty,
PurchUnit _purchUnit,
[ItemId _itemId,
boolean _maxRebateLineBreak])
Run On
Called
Parameters
- _rebateQty
Type: PurchQty Extended Data Type
The quantity on which the rebate will be calculated.
- _purchUnit
Type: PurchUnit Extended Data Type
The purchase unit on the purchase order line.
- _itemId
Type: ItemId Extended Data Type
The ItemId on the transaction.
- _maxRebateLineBreak
Type: boolean
A boolean value that defines whether to check the rebate requirements for the maximum rebate or not.
Return Value
Type: boolean
true if purchase unit and rebate unit can be converted; otherwise, false.