MCRRoyaltyTablePricing::findPricingFromSalesLine Method
Selects the MCRRoyaltyTablePricing based on a series of passed parameters.
Syntax
server public static MCRRoyaltyTablePricing findPricingFromSalesLine(
MCRRoyaltyTable _mcrRoyaltyTable,
SalesLine _salesLine,
SalesQty _royaltyQty,
SalesUnit _salesUnit,
CurrencyCode _currency,
AmountCur _royaltyAmt)
Run On
Server
Parameters
- _mcrRoyaltyTable
Type: MCRRoyaltyTable Table
A MCRRoyaltyTable record.
- _salesLine
Type: SalesLine Table
A SalesLine record.
- _royaltyQty
Type: SalesQty Extended Data Type
A quantity from the sales line.
- _salesUnit
Type: SalesUnit Extended Data Type
A unit of measure from the sales line
- _currency
Type: CurrencyCode Extended Data Type
A currency from the sales line.
- _royaltyAmt
Type: AmountCur Extended Data Type
An amount from the sales line.
Return Value
Type: MCRRoyaltyTablePricing Table
A MCRRoyaltyTablePricing record.
Remarks
Selects the appropriate MCRRoyaltyTablePricing based on a series of passed parameters.