Compartir a través de


EcoResProductCategory::findByProductIdAndCategoryId Method

Finds the specified record in the EcoResProductCategory table by using the product and category ID.

Syntax

Note

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 EcoResProductCategory findByProductIdAndCategoryId(
            RefRecId _productRecId, 
            EcoResCategoryId _categoryId, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static EcoResProductCategory findByProductIdAndCategoryId(
            RefRecId _productRecId, 
            EcoResCategoryId _categoryId, 
           [boolean _forUpdate])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static EcoResProductCategory findByProductIdAndCategoryId(RefRecId _productRecId, EcoResCategoryId _categoryId)

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether the update is enabled.

Return Value

Type: EcoResProductCategory Table
A record in the EcoResProductCategory table; otherwise, an empty record.

See Also

Reference

EcoResProductCategory Table