EcoResProductCategory::findCategoryByProduct Method
Finds the specified record in the EcoResProductCategory table.
Syntax
server public static EcoResCategory findCategoryByProduct(int64 _product, [EcoResCategoryHierarchyId _hierarchyId])
Run On
Server
Parameters
- _product
Type: int64
The ProductId field of the record to find.
- _hierarchyId
Type: EcoResCategoryHierarchyId Extended Data Type
Return Value
Type: EcoResCategory Table
A record in the EcoResCategory table; otherwise, an empty record.