Share via


MCRCustCategoryHierarchy::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 MCRCustCategoryHierarchy findOrCreateCategoryHierarchy(EcoResCategoryHierarchyName _ecoResCategoryHierarchyName, [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: MCRCustCategoryHierarchy Table
The MCRCustCategoryHierarchy record of the category hierarchy that is associated with the product configuration.

See Also

Reference

MCRCustCategoryHierarchy Table