DimensionHierarchy::findByTypeAndName Method
Finds the specified record in the DimensionHierarchy table.
Syntax
client server public static DimensionHierarchy findByTypeAndName(
DimensionHierarchyType _structureType,
Name _name,
[boolean _isSystemGenerated,
boolean _isDraft,
boolean _forUpdate])
Run On
Called
Parameters
- _structureType
Type: DimensionHierarchyType Enumeration
The structure type of the DimensionHierarchy record.
- _name
Type: Name Extended Data Type
The name of the DimensionHierarchy record.
- _isSystemGenerated
Type: boolean
A Boolean value that indicates whether the name was system-generated; optional.
- _isDraft
Type: boolean
A Boolean value that indicates the draft version of the hierarchy; optional.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: DimensionHierarchy Table
A record in the DimensionHierarchy table; otherwise, an empty record.