RetailPricingDataManager.getVariantByItemIdAndInventDimId Method [AX 2012]

Gets the variant info for given item identifier and variant inventory dimension identifier.

public container getVariantByItemIdAndInventDimId(ItemId _itemId, InventDimId _inventDimId)

Run On



Type: ItemId Extended Data Type
The item identifier to find variant of.
Type: InventDimId Extended Data Type
The variant inventory dimension.

Return Value

Type: container
The variant with specified columns populated. nullNothingnullptrunita null reference (Nothing in Visual Basic) container if variant not found.