Share via


DimensionTree::createTree Method [AX 2012]

Creates an empty constraint tree.

Syntax

server public static RecId createTree(
    str _name, 
    str _description, 
    DimensionHierarchyType _structureType, 
    boolean _isDraft)

Run On

Server

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 to create the new tree in draft mode.

Return Value

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

See Also

Reference

DimensionTree Class