CatalogProductCategory::findByCatalogProduct Method
Finds the catalog product.
Syntax
client server public static CatalogProductCategory findByCatalogProduct(
RefRecId _catalogProductId,
EcoResCategoryHierarchyId _hierarchyId,
EcoResCategoryId _categoryId,
[boolean _forUpdate])
Run On
Called
Parameters
- _catalogProductId
Type: RefRecId Extended Data Type
The reference record ID of the catalog product.
- _hierarchyId
Type: EcoResCategoryHierarchyId Extended Data Type
The catalog hierarchy ID.
- _categoryId
Type: EcoResCategoryId Extended Data Type
The category ID.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to update the catalog product category.
Return Value
Type: CatalogProductCategory Table
Information about the catalog product category.