DimensionHierarchyController.setActiveDates Method [AX 2012]
Sets the active dates for the specified DimensionTree and Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyConstraintNode objects.
Syntax
private void setActiveDates(
DimensionTree _tree,
CLRObject _node,
DimensionActiveFrom _activeFrom,
DimensionActiveTo _activeTo)
Run On
Client
Parameters
- _tree
Type: DimensionTree Class
The DimensionTree object to update.
- _node
Type: CLRObject Class
The Microsoft.Dynamics.AX.Frameworks.Controls.Dimensions.HierarchyConstraintNode object to update.
- _activeFrom
Type: DimensionActiveFrom Extended Data Type
The DimensionActiveFrom date to set.
- _activeTo
Type: DimensionActiveTo Extended Data Type
The DimensionActiveTo date to set.
Remarks
When the specified node is not a leaf node the dates will be set on all leaf nodes under the specified node in the tree.