EcoResCategoryHierarchy::findOrCreateCategoryHierarchy Method
Finds the category hierarchy that is associated with the product configuration or creates one if it does not exist.
Syntax
client server public static EcoResCategoryHierarchy findOrCreateCategoryHierarchy(
EcoResCategoryHierarchyName _ecoResCategoryHierarchyName,
[EcoResCategoryHierarchyModifier _ecoResCategoryHierarchyModifier,
boolean _forUpdate])
Run On
Called
Parameters
- _ecoResCategoryHierarchyName
Type: EcoResCategoryHierarchyName Extended Data Type
The category hierarchy name in the EcoResCategoryHierarchy table to retrieve if it exists.
- _ecoResCategoryHierarchyModifier
Type: EcoResCategoryHierarchyModifier Enumeration
The category hierarchy modifier in the EcoResCategoryHierarchy table to retrieve.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: EcoResCategoryHierarchy Table
The EcoResCategoryHierarchy record of the category hierarchy that is associated with the product configuration.