PCConfigurationProductVariantFactory.createVariant Method [AX 2012]

Creates a new variant configuration and a new distinct product variant for a specified generic product model.

public container createVariant(
    EcoResProductMaster _ecoResProductMaster, 
    ItemId _itemId, 
    InventDimId _lineInventDimId)

Run On

Called

Parameters

_ecoResProductMaster
Type: EcoResProductMaster Table
The product master that is associated with the distinct product variants.
_itemId
Type: ItemId Extended Data Type
The ID of the item that was released from the generic product model.
_lineInventDimId
Type: InventDimId Extended Data Type
The ID of the inventory dimension that is attached to the item line that contains the item.

Return Value

Type: container
A container that contains the ID of the new variant that was created, the ID of the inventory dimension that was created, and the name of the configuration that was created.

Community Additions

ADD
Show: