RetailPricingEngineHelper::getUnitOfMeasureConversion Method [AX 2012]

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

client server public static CLRObject getUnitOfMeasureConversion(
    ItemId _itemId, 
    UnitOfMeasureSymbol _uomId, 
    UnitOfMeasureConversion _uomConversion)

Run On

Called

Parameters

_itemId
Type: ItemId Extended Data Type
Item Id to convert to a Commerce Runtime UnitOfMeasureConversion object.
_uomId
Type: UnitOfMeasureSymbol Extended Data Type
Unit Of Measure Symbol to convert to a Commerce Runtime UnitOfMeasureConversion object.
_uomConversion
Type: UnitOfMeasureConversion Table
Record in the UnitOfMeasureConversion table to convert to a Commerce Runtime UnitOfMeasureConversion object.

Return Value

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