Retrieves the price history potential type related to a price history type.
Syntax
client server public static MCRPriceHistoryPotentialType mcrPriceHistoryTypeToPotential(MCRPriceHistoryType _mcrPriceHistoryType, boolean _fromQty)
Run On
Called
Parameters
- _mcrPriceHistoryType
Type: MCRPriceHistoryType Enumeration
The price history potential type.
- _fromQty
Type: boolean
A Boolean to indicate whether the price history potential type should be a from or to type.
Return Value
Type: MCRPriceHistoryPotentialType Enumeration
A price history potential type.
Exceptions
| Exception | Condition |
|---|---|
| Error | The argument cannot be converted to a potential type. |