MCRRoyaltyTablePricing.checkRoyaltyQtyRequirements Method
Checks whether the royalty quantity satisfies the royalty minimum quantity requiremets.
Syntax
public boolean checkRoyaltyQtyRequirements(
SalesQty _royaltyQty,
SalesUnit _salesUnit,
[ItemId _itemId,
boolean _maxRoyaltyLineBreak])
Run On
Called
Parameters
- _royaltyQty
Type: SalesQty Extended Data Type
The royalty quantity.
- _salesUnit
Type: SalesUnit Extended Data Type
The sales unit on the transaction.
- _itemId
Type: ItemId Extended Data Type
The ItemId for which to check requirements.
- _maxRoyaltyLineBreak
Type: boolean
A boolean value that defines whether to check the rebate requirements for the maximum royalty or not.
Return Value
Type: boolean
true if the royalty quantity satisfies royalty minimum quantity requirements; otherwise, false.