RetailProductPropertyManager::retrieveExisting Method [AX 2012]

Initializes the class RetailProductPropertyManager with product and legal 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 retrieveExisting(
            EcoResProduct _product, 
            CompanyInfoRecId _legalEntityId, 
           [RetailReportName _itemLabel, 
            RetailReportName _shelfLabel])

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

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RetailProductPropertyManager retrieveExisting(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 the legal entity Id.
_itemLabel
Type: RetailReportName Extended Data Type
_shelfLabel
Type: RetailReportName Extended Data Type

Return Value

Type: RetailProductPropertyManager Class
The instantiated class RetailProductPropertyManager.

If the product does not exists in base table then an error message is displayed.

Show: