RetailProductPropertyManager::newFromProductRecId Method [AX 2012]

Initialize the class RetailProductPropertyManager with product RecId and legal entity RecId.

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 newFromProductRecId(EcoResProductRecId _productRecId, CompanyInfoRecId _legalEntityId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RetailProductPropertyManager newFromProductRecId(EcoResProductRecId _productRecId, RefRecId _legalEntityId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RetailProductPropertyManager newFromProductRecId(EcoResProductRecId _productRecId, RefRecId _legalEntityId)

Run On

Server

Parameters

_productRecId
Type: EcoResProductRecId Extended Data Type
The RecId of the product in EcoResProduct atbel.
_legalEntityId
Type: CompanyInfoRecId Extended Data Type
The RecId of the legal entity RecId.

Return Value

Type: RetailProductPropertyManager Class
Instance of class RetailProductPropertyManager.
Show: