RetailContosoDemoDataHelper::releaseProduct Method [AX 2012]

Releases an existing product to the specified legal entity.

server public static void releaseProduct(
    EcoResProductNumber _productNumber, 
   [InventModelGroupId _inventModelGroupId, 
    ItemGroupId _itemGroupId, 
    ReqPOType _defaultOrderType, 
    TaxItemGroup _taxItemGroupPurch, 
    TaxItemGroup _taxItemGroupSales, 
    LegalEntityDataAreaId _legalEntity])

Run On

Server

Parameters

_productNumber
Type: EcoResProductNumber Extended Data Type
The product number of the product to release.
_inventModelGroupId
Type: InventModelGroupId Extended Data Type
An inventory model group ID for the released product.
_itemGroupId
Type: ItemGroupId Extended Data Type
An item group ID for the released product.
_defaultOrderType
Type: ReqPOType Enumeration
A default order type for the released product.
_taxItemGroupPurch
Type: TaxItemGroup Extended Data Type
A tax item group for purchase value.
_taxItemGroupSales
Type: TaxItemGroup Extended Data Type
A tax item group for sales value.
_legalEntity
Type: LegalEntityDataAreaId Extended Data Type
The legal entity targeted for release.

This method does not release the product variants.

Show: