Share via


LedgerDimensionController::restrictQueryDimensionAttributeValues Method [AX 2012]

Restricts the query to dimension attribute values that meet the specified criteria.

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 restrictQueryDimensionAttributeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            boolean _includeSuspended, 
            boolean _includeTotal, 
           [date _date, 
            boolean _restrictDimAttribValueLedgerOverride, 
            LedgerRecId _ledgerRecId, 
            boolean _applyRestrictionBasedOnTranslations])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static void restrictQueryDimensionAttributeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            boolean _includeSuspended, 
            boolean _includeTotal)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static void restrictQueryDimensionAttributeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            boolean _includeSuspended, 
            boolean _includeTotal)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static void restrictQueryDimensionAttributeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            boolean _includeSuspended, 
            boolean _includeTotal)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static void restrictQueryDimensionAttributeValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            boolean _includeSuspended, 
            boolean _includeTotal)

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.
  • _includeSuspended
    Type: boolean
    A Boolean value that indicates whether to include the dimension attribute values marked as suspended.
  • _includeTotal
    Type: boolean
    A Boolean value that indicates whether to include the dimension attribute values marked as total.
  • _date
    Type: date
    The date to which the dimension attribute values need to be filtered; optional.
  • _restrictDimAttribValueLedgerOverride
    Type: boolean
    A Boolean value that indicates whether to add query restrictions based on DimensionAttrValueLedgerOverride table; optional.
  • _applyRestrictionBasedOnTranslations
    Type: boolean
    A Boolean value that indicates whether to apply restrictions based on dimension attribute value translations; optional.

Remarks

The parameter _restrictDimAttribValueLedgerOverride is ignored. The values are always restricted.

See Also

Reference

LedgerDimensionController Class