Compartilhar via


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

  • _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.

See Also

Reference

EcoResCategoryHierarchy Table