LedgerDimensionController::doRestrictQueryToTreeValuesForHierarchy Method [AX 2012]
Determines whether restrictions are to be applied from the specified hierarchy.
Syntax
client server protected static boolean doRestrictQueryToTreeValuesForHierarchy(
DimensionAttributeRecId _dimensionAttributeRecId,
DimensionStorage _dimensionStorage,
int _hierarchyStart,
int _maxSegments,
container _segmentedEntryControlDimAttributes)
Run On
Called
Parameters
- _dimensionAttributeRecId
Type: DimensionAttributeRecId Extended Data Type
The record ID of the dimension attribute for the segment for which to add restrictions.
- _dimensionStorage
Type: DimensionStorage Class
The DimensionStorage object from which to retrieve known values.
- _hierarchyStart
Type: int
The segment index the hierarchy starts at in the specified DimensionStorage object.
- _maxSegments
Type: int
The maximum segments in the hierarchy if the hierarchy is known; otherwise the maximum disambiguation depth.
- _segmentedEntryControlDimAttributes
Type: container
A Container with dimension attributes present in the segmented entry control.
Return Value
Type: boolean
true when the restrictions are to be applied; otherwise, false.