Share via


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

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

See Also

Reference

DimensionHierarchy Table