MCRCustCategory::findNonExistNameInHierarchy Method
Finds a name that does not match any existing record in the EcoResCategory table of the given hierarchy.
Syntax
client server public static EcoResCategoryName findNonExistNameInHierarchy(EcoResCategoryHierarchyId _hierarchyRecId)
Run On
Called
Parameters
- _hierarchyRecId
Type: EcoResCategoryHierarchyId Extended Data Type
The category hierarchy record ID.
Return Value
Type: EcoResCategoryName Extended Data Type
A string that would not conflict with any existing name column of the EcoResCategory table of the record in the given hierarchy.
Remarks
An exception is thrown if we cannot find one after exhausting all possibilities.