Share via


LedgerDimensionController::restrictQueryToTreeValues Method [AX 2012]

Restricts the query to dimension attribute values by using the 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
          client server public static void restrictQueryToTreeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            int _segmentIndex, 
           [boolean _ignoreSegmentsAfterIndex, 
            boolean _isAccountStructureForced, 
            container _segmentedEntryControlDimAttributes, 
            boolean _applyRestrictionBasedOnTranslations])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static void restrictQueryToTreeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            int _segmentIndex, 
           [boolean _ignoreSegmentsAfterIndex, 
            boolean _isAccountStructureForced])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static void restrictQueryToTreeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            int _segmentIndex, 
           [boolean _ignoreSegmentsAfterIndex, 
            boolean _isAccountStructureForced])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static void restrictQueryToTreeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            int _segmentIndex, 
           [boolean _ignoreSegmentsAfterIndex, 
            boolean _isAccountStructureForced])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static void restrictQueryToTreeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            int _segmentIndex, 
           [boolean _ignoreSegmentsAfterIndex, 
            boolean _isAccountStructureForced])

Run On

Called

Parameters

  • _dimensionAttributeId
    Type: RecId 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.
  • _segmentIndex
    Type: int
    The index of the segment in the control for which to add restrictions.
  • _ignoreSegmentsAfterIndex
    Type: boolean
  • _isAccountStructureForced
    Type: boolean
  • _segmentedEntryControlDimAttributes
    Type: container
  • _applyRestrictionBasedOnTranslations
    Type: boolean

See Also

Reference

LedgerDimensionController Class