Share via


DimensionTree::createTreePrivate Method [AX 2012]

Creates an empty constraint tree.

Syntax

client server private static RecId createTreePrivate(
    str _name, 
    str _description, 
    DimensionHierarchyType _structureType, 
    boolean _isDraft, 
    boolean _isSystemGenerated)

Run On

Called

Parameters

  • _name
    Type: str
    The name of the new tree.
  • _description
    Type: str
    The description of the new tree.
  • _isDraft
    Type: boolean
    A Boolean value that indicates whether the new tree is created in draft mode.

Return Value

Type: RecId Extended Data Type
The record ID of the new tree if successfully created; otherwise, 0.

See Also

Reference

DimensionTree Class