RetailPricingEngineHelper::getProductVariant Method [AX 2012]

Construct a productVariant object from the Commerce Runtime from product information in AX.

client server public static CLRObject getProductVariant(
    RetailValidationId _variantId, 
    ItemId _itemId, 
    InventDimId _inventDimId)

Run On

Called

Parameters

_variantId
Type: RetailValidationId Extended Data Type
Variant Id to convert to a Commerce Runtime productVariant object.
_itemId
Type: ItemId Extended Data Type
Item Id to convert to a Commerce Runtime productVariant object.
_inventDimId
Type: InventDimId Extended Data Type
Invent Dim Id to convert to a Commerce Runtime productVariant object.

Return Value

Type: CLRObject Class
The new Commerce Runtime productVariant object.
Show: