Share via


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.

Return Value

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

See Also

Reference

EcoResProductCategory Table