Share via


DimensionTree Class [AX 2012]

The DimensionTree class provides an API for creating and editing dimension constraint trees.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          class DimensionTree implements SysPackable

  Microsoft Dynamics AX 2012 R2 (SYS)
          class DimensionTree

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          class DimensionTree

  Microsoft Dynamics AX 2012 (FPK)
          class DimensionTree

  Microsoft Dynamics AX 2012 (SYS)
          class DimensionTree

Run On

Called

Methods

  Method Description
Gg736687.pubmethod(en-us,AX.60).gif addLevel Adds the dimension attribute to the tree at the specified level.
Gg736687.privmethod(en-us,AX.60).gif addLevelPrivate Adds the dimension attribute to the tree at the specified level.
Gg736687.pubmethod(en-us,AX.60).gif addNode Inserts a constraint node record at the specified point.
Gg736687.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg736687.privmethod(en-us,AX.60).gif clearLevels Deletes all tree nodes at the specified levels.
Gg736687.privmethod(en-us,AX.60).gif createCriteriaRecords Creates the criteria records for the node.
Gg736687.protmethod(en-us,AX.60).gif createNode Creates an instance of the DimensionTreeNode class.
Gg736687.privmethod(en-us,AX.60).gif createStarBranch Appends nodes that contain "*" to the node until all hierarchy levels are filled.
Gg736687.privmethod(en-us,AX.60).gif createStarNode Creates a star node for the specified hierarchy level.
Gg736687.privmethod(en-us,AX.60).gif deleteNodeAndChildren Deletes the constraint node and all its child nodes.
Gg736687.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg736687.privmethod(en-us,AX.60).gif fillHierarchyCache Fills the hierarchy cache variables for the current tree.
Gg736687.privmethod(en-us,AX.60).gif fixupJournalControlTree Updates the specified journal control hierarchy and tree for an account structure modification.
Gg736687.pubmethod(en-us,AX.60).gif getDisambiguationLevel Determines the level at which the tree can be disambiguated with the existing account structures.
Gg736687.pubmethod(en-us,AX.60).gif getDisambiguationLevelByLedger Determines the level at which the tree can be disambiguated with the existing account structures.
Gg736687.pubmethod(en-us,AX.60).gif getHierarchyId Gets the ID of the hierarchy record.
Gg736687.privmethod(en-us,AX.60).gif getHierarchyLevelId Gets the ID of the hierarchy level record at the specified level.
Gg736687.pubmethod(en-us,AX.60).gif getHierarchyName Retrieves the hierarchy name.
Gg736687.privmethod(en-us,AX.60).gif getLevel Gets the level for the hierarchy level record.
Gg736687.privmethod(en-us,AX.60).gif getMatchingLevelCount Determines the number of levels with matching dimension attributes.
Gg736687.privmethod(en-us,AX.60).gif getMaxOrdinal Gets the maximum ordinal of the sibling nodes for the specified parent node.
Gg736687.privmethod(en-us,AX.60).gif getParentNodeLevel Gets the hierarchy level of the parent node.
Gg736687.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg736687.privmethod(en-us,AX.60).gif init Initializes an instance of the DimensionTree class.
Gg736687.privmethod(en-us,AX.60).gif initHierarchySynchronization Initializes certain class variables that are needed for the subsequent hierarchy synchronization process.
Gg736687.pubmethod(en-us,AX.60).gif moveLevel Moves the dimension attribute at the specified level to a new level position.
Gg736687.privmethod(en-us,AX.60).gif moveLevelPrivate Moves the dimension attribute at the specified level to a new level position.
Gg736687.protmethod(en-us,AX.60).gif new Initializes a new instance of the DimensionTree class.
Gg736687.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif pack Serializes the current instance of the DimensionTree class.
Gg736687.pubmethod(en-us,AX.60).gif parmLastModifiedId Gets the LastModifiedId parameter.
Gg736687.privmethod(en-us,AX.60).gif parmLevelCount Gets the LevelCount value.
Gg736687.pubmethod(en-us,AX.60).gif removeLevel Removes the dimension attribute from the tree at the specified level.
Gg736687.privmethod(en-us,AX.60).gif removeLevelPrivate Removes the dimension attribute from the tree at the specified level.
Gg736687.pubmethod(en-us,AX.60).gif removeNode Deletes the constraint node and all its child nodes.
Gg736687.privmethod(en-us,AX.60).gif retrieveLastModifiedId Retrieves the last modified ID for the current tree value from the database and caches it locally.
Gg736687.pubmethod(en-us,AX.60).gif setActiveDates Sets the active dates for the specified DimensionConstraintNode record.
Gg736687.privmethod(en-us,AX.60).gif setLevelActiveDates Sets the active dates for the added level.
Gg736687.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg736687.privmethod(en-us,AX.60).gif structureType Retrieves the structure type of the tree.
Gg736687.privmethod(en-us,AX.60).gif synchronizeHierarchies Synchronizes the account structure hierarchy changes with its related journal control and alias records.
Gg736687.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif unpack Deserializes the _packedClass parameter value to an instance of the DimensionTree class.
Gg736687.privmethod(en-us,AX.60).gif updateErrorInChildren Updates the HasErrorInChildren flag in the pertinent tree nodes.
Gg736687.privmethod(en-us,AX.60).gif updateLastModifiedId Updates the last modified ID of the current record to a new GUID and caches the new value.
Gg736687.pubmethod(en-us,AX.60).gif updateNode Updates an existing constraint node record with the specified values.
Gg736687.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::activateDraft Converts the draft tree into the active tree
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::addLevelServer Adds the dimension attribute to the tree at the specified level.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::checkForMainAccount Indicates whether the main account is part of the hierarchy.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::clearTree Clears the specified tree.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::compareHierarchies Indicates whether two hierarchies have the same structure.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::construct Constructs an instance of the DimensionTree class.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::constructDimTreeForAccountStructures Constructs an instance of the DimensionTree class.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::copyTree Creates a copy of the whole tree.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::create Creates an instance of the DimensionTree class from a packed copy.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::createDraft Creates a draft version of the tree.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::createSystemTree Creates an empty, system generated constraint tree.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::createTree Creates an empty constraint tree.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::createTreePrivate Creates an empty constraint tree.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::deleteAllNodes Deletes all tree nodes for the specified tree.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::deleteDraft Deletes the draft version of a tree.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::deleteTree Deletes the tree.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::deleteTreeAndHierarchy Deletes the whole tree. This includes the underlying hierarchy.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::displayDuplicateTreeNameError Displays an error message for duplicate tree names.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::draftExists Determines whether a draft version of the specified tree exists.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::duplicateTree Creates a copy of the whole tree.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getConstraintText Gets a string that represents all of the criteria for a node that matches the specified criteria.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getDisambiguationDepth Calculates the number of segments before the disambiguation point for all account structures in the specified chart of accounts.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getDisambiguationDepthByLedger Calculates the number of segments before the disambiguation point for all account structures in the specified ledger.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getDisambiguationDepthForTreeImages Calculates the disambiguation depth for the specified trees.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getDisambiguationDepthForTrees Determines the level at which the two nodes can be disambiguated.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getDisambiguationTreeDepth Determines the level at which two trees can be disambiguated.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getMainAccountCriteria Retrieves the main account criteria for the specified tree
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getOverlappingErrorMessage Gets the error message for a node with an overlapping criteria.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::getSameStructureDepth Determines the number of leading levels that match for both trees by dimension attribute.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isCriteriaIntersecting Checks if the criteria intersect.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isMainAccountOverlapping Check if main account is overlapping within a specified ledger.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isNodeDisjoint Indicates whether the node has overlapping criteria at the specified point.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isNodeIntersecting Indicates whether the nodes have overlapping criteria.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isValidForActivate Indicates whether a draft tree can be activated.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isValidForAssign Indicates whether an active account structure can be assigned to a chart of accounts
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::isValidForAssignByLedger Indicates whether an active account structure can be assigned to a ledger
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::logIsOptionalWarning Sends the correct warning message to the Infolog for a node with the IsOptional value of true.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::moveLevelServer Moves the dimension attribute at the specified level to a new level position.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::removeLevelServer Removes the dimension attribute from the tree at the specified level.
Gg736687.pubmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::retrieveLastModifiedIdForTree Gets the last modified ID for the specified tree.
Gg736687.privmethod(en-us,AX.60).gif Gg736687.static(en-us,AX.60).gif ::updateLastModifiedIdStatic Updates the last modified ID of the specified tree to a new value.

Top

Inheritance Hierarchy

Object Class
  DimensionTree Class