MCRRoyaltyTablePricing::findPricingFromInventDimIdMax Method
Selects the MCRRoyaltyTablePricing based on a series of passed parameters.
Syntax
server public static MCRRoyaltyTablePricing findPricingFromInventDimIdMax(
MCRRoyaltyTable _mcrRoyaltyTable,
ItemId _itemId,
InventDimId _inventDimId,
SalesQty _royaltyQty,
SalesUnit _salesUnit,
CurrencyCode _currency,
AmountCur _royaltyAmt)
Run On
Server
Parameters
- _mcrRoyaltyTable
Type: MCRRoyaltyTable Table
A MCRRoyaltyTable record.
- _itemId
Type: ItemId Extended Data Type
The item id to use to find the royalty pricing.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension to use to find the royalty pricing.
- _royaltyQty
Type: SalesQty Extended Data Type
A quantity to use to find matching royalty pricing.
- _salesUnit
Type: SalesUnit Extended Data Type
The sales unit of measure to use to find royalty pricing.
- _currency
Type: CurrencyCode Extended Data Type
The currency to use to find royalty pricing.
- _royaltyAmt
Type: AmountCur Extended Data Type
An amount from a sales or invoice line.
Return Value
Type: MCRRoyaltyTablePricing Table
A MCRRoyaltyTablePricing record.