RetailCatalogProductAttributeFormHelper::newFromCatalogProduct Method [AX 2012]

Constructs an object of the class.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static RetailCatalogProductAttributeFormHelper newFromCatalogProduct(
            FormRun _formRun, 
            CatalogProduct _catalogProduct, 
            RetailTmpCatalogProductAttributes _retailTmpCatalogProductAttributes, 
           [boolean _readOnlyMode])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RetailCatalogProductAttributeFormHelper newFromCatalogProduct(
            FormRun _formRun, 
            CatalogProduct _catalogProduct, 
            RetailTmpCatalogProductAttributes _retailTmpCatalogProductAttributes)

Run On

Called

Parameters

_formRun
Type: FormRun Class
Form using this helper object.
_catalogProduct
Type: CatalogProduct Table
Catalog product for which the attributes will be edited.
_retailTmpCatalogProductAttributes
Type: RetailTmpCatalogProductAttributes Table
The RetailTmpCatalogProductAttributes temporary table where the set of catalog product attributes will be cached.
_readOnlyMode
Type: boolean

Return Value

Type: RetailCatalogProductAttributeFormHelper Class
An object of the helper class.
Show: