DimensionHierarchyController Class [AX 2012]

The DimensionHierarchyController class manages the instances of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner class when it is used on a form.

Syntax

class DimensionHierarchyController

Run On

Client

Methods

  Method Description
Gg726624.protmethod(en-us,AX.60).gif accountRuleEventHandler Handles the account rule event by passing the account structure as a record to the account rule form
Gg726624.protmethod(en-us,AX.60).gif activateHierarchy Activates the specified hierarchy.
Gg726624.protmethod(en-us,AX.60).gif activateHierarchyEventHandler Handles the activate hierarchy event by starting the draft tree that is associated with the currently selected hierarchy.
Gg726624.protmethod(en-us,AX.60).gif addControlToTabPage Adds an instance of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner class to the specified tab page.
Gg726624.pubmethod(en-us,AX.60).gif addDimensionHierarchy Adds the specified dimension hierarchy to the form to be edited.
Gg726624.pubmethod(en-us,AX.60).gif addMainAccountSegment Adds the main account segment to the dimension hierarchy.
Gg726624.privmethod(en-us,AX.60).gif addNodeRecursive Adds the specified node to the specified tree and calls this method for each child of the node.
Gg726624.protmethod(en-us,AX.60).gif addRelationships Adds relationships to the specified Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner instance.
Gg726624.protmethod(en-us,AX.60).gif addTabPage Adds a tab page that contains the specified caption.
Gg726624.protmethod(en-us,AX.60).gif attachEventHandlers Attaches event handlers to the specified instance of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner class.
Gg726624.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg726624.protmethod(en-us,AX.60).gif clearRelationships Clears relationships from the specified Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner instance.
Gg726624.protmethod(en-us,AX.60).gif combinationAddedEventHandler Handles the combination added event that is raised by the hierarchy designer control.
Gg726624.protmethod(en-us,AX.60).gif combinationMovedEventHandler Handles the combination moved event that is raised by the hierarchy designer control.
Gg726624.protmethod(en-us,AX.60).gif combinationPastedEventHandler Handles the combination pasted event that is raised by the hierarchy designer control.
Gg726624.protmethod(en-us,AX.60).gif combinationRemovedEventHandler Handles the combination removed event that is raised by the hierarchy designer control.
Gg726624.protmethod(en-us,AX.60).gif constraintChangedEventHandler Handles the constraint changed event by updating the constraint information that is associated with the hierarchy level that is specified in the event information.
Gg726624.protmethod(en-us,AX.60).gif createHierarchySegmentEventHandler Handles the create dimension event by opening the dimension details form and automatically adding any newly created dimension attributes as segments in the hierarchy that is associated with the designer that is raising the event.
Gg726624.pubmethod(en-us,AX.60).gif deleteHierarchy Deletes the selected hierarchy.
Gg726624.pubmethod(en-us,AX.60).gif deleteHierarchyEventHandler Handles the delete hierarchy event by deleting the currently selected hierarchy or elements.
Gg726624.protmethod(en-us,AX.60).gif deleteSelection Deletes the current selection in the account structure.
Gg726624.protmethod(en-us,AX.60).gif duplicateStructure Duplicates the specified tree.
Gg726624.protmethod(en-us,AX.60).gif duplicateStructureEventHandler Handles the duplicate event by creating a copy of the hierarchy and tree that are associated with the currently selected hierarchy.
Gg726624.protmethod(en-us,AX.60).gif editHierarchyEventHandler Handles the edit hierarchy event by converting the current hierarchy to a draft state.
Gg726624.protmethod(en-us,AX.60).gif editHierarchySegmentEventHandler Handles the event to add a dimension that is raised by the hierarchy designer control.
Gg726624.protmethod(en-us,AX.60).gif editRelationshipsEventHandler Handles the edit relationships event by starting the DimensionRelationshipConstraint form and updates the designer with the changes.
Gg726624.protmethod(en-us,AX.60).gif enableDisable Enables or disables buttons for the specified DimensionHierarchyDesignerInfo object.
Gg726624.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg726624.protmethod(en-us,AX.60).gif getDefaultNodeId Retrieves the node ID for the nodes that were automatically created by the DimensionTree class.
Gg726624.protmethod(en-us,AX.60).gif getDesigner Converts the specified object to an instance of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner class.
Gg726624.protmethod(en-us,AX.60).gif getDesignerFromTabPage Retrieves the hierarchy designer for the specified tab page.
Gg726624.pubmethod(en-us,AX.60).gif getDimensionAttributeForHierarchy
Gg726624.protmethod(en-us,AX.60).gif getHierarchyConstraintNode Creates a new instance of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyConstraintNode class by using the specified constraint node ID.
Gg726624.protmethod(en-us,AX.60).gif getLevelCountFromDesigner Gets the hierarchy level count from the specified hierarchy designer.
Gg726624.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg726624.protmethod(en-us,AX.60).gif getTreeIdFromDesigner Retrieves the record ID of the associated tree from the specified designer.
Gg726624.protmethod(en-us,AX.60).gif getTreeIdFromTabPage Retrieves the record ID of the associated tree from the specified tab page.
Gg726624.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg726624.protmethod(en-us,AX.60).gif hierarchySegmentAddedEventHandler Handles the level-added event by adding the hierarchy level that is specified in the event information to the hierarchy that is associated with the designer that raised the event.
Gg726624.protmethod(en-us,AX.60).gif hierarchySegmentMovedEventHandler Handles the level moved event by updating the hierarchy level information for the hierarchy that is associated with the designer that raised the event.
Gg726624.protmethod(en-us,AX.60).gif hierarchySegmentRemovedEventHandler Handles the level removed event by removing the hierarchy level that is specified in the event information from the hierarchy that is associated with the designer that raised the event.
Gg726624.protmethod(en-us,AX.60).gif initDimensionTreeNode Initializes an instance of the DimensionTreeNode class based on the specified constraint.
Gg726624.protmethod(en-us,AX.60).gif initializeDimensionHierarchyFromDatabase Initializes the specified designer based on information currently in the database.
Gg726624.protmethod(en-us,AX.60).gif initializeManagedSegments Initializes the collection of segments that can be used by the control.
Gg726624.protmethod(en-us,AX.60).gif isHierarchyReadOnly Determines if the control should let the user change the hierarchy's structure
Gg726624.pubmethod(en-us,AX.60).gif isRowOrColumnSelected Determines whether either a row or column is selected.
Gg726624.protmethod(en-us,AX.60).gif lazyLoadChildren Creates the child nodes for the specified node.
Gg726624.privmethod(en-us,AX.60).gif loadChildren Loads the child nodes for the specified node.
Gg726624.protmethod(en-us,AX.60).gif loadChildrenEventHandler Handles the event for lazy loading in the children of a node that is raised by the hierarchy designer control.
Gg726624.protmethod(en-us,AX.60).gif loadDimensionHierarchyDesigner Loads dimension hierarchy designer data to the tab page for editing.
Gg726624.privmethod(en-us,AX.60).gif loadRootNodes Loads the root nodes from the specified tree into the specified instance of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner class.
Gg726624.protmethod(en-us,AX.60).gif makeDraft Updates the specified designer and committed tree to draft mode if they are not already in draft mode.
Gg726624.protmethod(en-us,AX.60).gif markForDelete Marks the specified tab page for holding a deleted hierarchy.
Gg726624.pubmethod(en-us,AX.60).gif new Initializes an instance of the DimensionHierarchyController class.
Gg726624.privmethod(en-us,AX.60).gif nodeDescendentHasActiveDatesSet Determines whether the specified DimensionTreeNode has any descendents with active dates set.
Gg726624.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.)
Gg726624.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.)
Gg726624.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg726624.protmethod(en-us,AX.60).gif openAccountRule Opens the account rule form, that displays only those account rules that are valid for current account structure.
Gg726624.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg726624.pubmethod(en-us,AX.60).gif pageActivatedEventHandler Handles the tab page activated event by storing the currently selected tab page.
Gg726624.pubmethod(en-us,AX.60).gif parmDimensionHierarchyId Gets or sets the DimensionHierarchyId parameter.
Gg726624.protmethod(en-us,AX.60).gif parmDuplicateButtonMenuItem Gets the DuplicateButtonMenuItem parameter.
Gg726624.pubmethod(en-us,AX.60).gif parmIsAccountRuleDraft Gets or sets the IsAccountRuleDraft parameter.
Gg726624.pubmethod(en-us,AX.60).gif parmIsAllReadOnly Gets or sets the IsAllReadOnly parameter.
Gg726624.protmethod(en-us,AX.60).gif parmIsCreateDimensionAllowed Gets the IsCreateDimensionAllowed parameter.
Gg726624.protmethod(en-us,AX.60).gif parmIsOptionalConstraintAllowed Gets the IsOptionalConstraintAllowed parameter.
Gg726624.protmethod(en-us,AX.60).gif parmSetActiveButtonVisibility Gets the SetActiveButtonVisibility parameter.
Gg726624.protmethod(en-us,AX.60).gif parmShowAccountRuleButton Gets the ShowAccountRuleButton parameter.
Gg726624.protmethod(en-us,AX.60).gif parmShowRelationshipsButton Gets the ShowRelationshipsButton parameter.
Gg726624.protmethod(en-us,AX.60).gif parmShowRenameButton Gets the ShowRenameButton parameter.
Gg726624.protmethod(en-us,AX.60).gif parmShowValidateButton Gets the ShowValidateButton parameter.
Gg726624.protmethod(en-us,AX.60).gif rename Renames the specified designer and draft tree.
Gg726624.protmethod(en-us,AX.60).gif renameHierarchyEventHandler Handles the rename hierarchy event by renaming the current hierarchy.
Gg726624.protmethod(en-us,AX.60).gif renameHierarchyOpenedEventHandler Handles the rename hierarchy event by populating the current hierarchy name and description into the shortcut menu.
Gg726624.privmethod(en-us,AX.60).gif restoreHierarchy Restores the specified hierarchy.
Gg726624.protmethod(en-us,AX.60).gif restoreHierarchyEventHandler Handles the restore hierarchy event by reverting the draft state of the currently selected hierarchy.
Gg726624.privmethod(en-us,AX.60).gif setActiveDates Sets the active dates for the specified DimensionTree and Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyConstraintNode objects.
Gg726624.protmethod(en-us,AX.60).gif setActiveDatesEventHandler Handles the event to set the active dates that are raised by the hierarchy designer control.
Gg726624.privmethod(en-us,AX.60).gif setErrorMessage Sets or clears the error message of the specified node.
Gg726624.protmethod(en-us,AX.60).gif setLabels Sets the labels for the specified instance of the Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyDesigner class.
Gg726624.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg726624.protmethod(en-us,AX.60).gif setTreeId Sets the record ID of the associated tree for the specified designer.
Gg726624.protmethod(en-us,AX.60).gif showConstraintNodeDesignerEventHandler Handles the event that shows the constraint node designer raised by the hierarchy designer control.
Gg726624.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg726624.privmethod(en-us,AX.60).gif updateParentNodes Updates the has error in descendant flag of parent nodes with the result of an operation in the tree.
Gg726624.privmethod(en-us,AX.60).gif updateSiblingNodes Updates the error messages of siblings with the result of an operation in the tree.
Gg726624.protmethod(en-us,AX.60).gif updateTabPageCaption Updates the caption of the specified tab page.
Gg726624.privmethod(en-us,AX.60).gif updateTreeVersion Updates the mapping between the original tree and the current version.
Gg726624.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.)
Gg726624.protmethod(en-us,AX.60).gif validateHierarchy Validates the specified hierarchy.
Gg726624.protmethod(en-us,AX.60).gif validateHierarchyEventHandler Handles the validate event by running tree validation on the draft tree that is associated with the currently selected hierarchy.
Gg726624.privmethod(en-us,AX.60).gif validateInterunit Validates the interunit rules on a hierarchy assigned to the ledger.
Gg726624.privmethod(en-us,AX.60).gif validateTreeVersion Validates the current tree version is the same version first loaded.
Gg726624.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg726624.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg726624.privmethod(en-us,AX.60).gif Gg726624.static(en-us,AX.60).gif ::getErrorMessageForSibling Retrieves the error message for the specified node.

Top

Inheritance Hierarchy

Object Class
  DimensionHierarchyController Class
    DimensionAccountRuleStructureController Class
    DimensionAccountStructureController Class