RetailProductPropertyManager::newFromProduct Method [AX 2012]

Initialize the class RetailProductPropertyManager with product and lengal entity.

NoteNote

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


  Microsoft Dynamics AX 2012 R3
          server public static RetailProductPropertyManager newFromProduct(EcoResProduct _product, CompanyInfoRecId _legalEntityId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RetailProductPropertyManager newFromProduct(EcoResProduct _product, RefRecId _legalEntityId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RetailProductPropertyManager newFromProduct(EcoResProduct _product, RefRecId _legalEntityId)

Run On

Server

Parameters

_product
Type: EcoResProduct Table
The value for the product.
_legalEntityId
Type: CompanyInfoRecId Extended Data Type
The value of th legal entity Id.

Return Value

Type: RetailProductPropertyManager Class
Instance of class RetailProductPropertyManager.
Show: