Share via


LedgerDimensionController::restrictQueryToCategorizedValues Method [AX 2012]

Restricts the query to dimension attribute values for the category associated with the specified dimension attribute.

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 restrictQueryToCategorizedValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
           [RecId _ledgerCOARecId, 
            boolean _applyRestrictionBasedOnTranslations])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static void restrictQueryToCategorizedValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
           [RecId _ledgerCOARecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static void restrictQueryToCategorizedValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
           [RecId _ledgerCOARecId])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static void restrictQueryToCategorizedValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
           [RecId _ledgerCOARecId])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static void restrictQueryToCategorizedValues(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
           [RecId _ledgerCOARecId])

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.
  • _applyRestrictionBasedOnTranslations
    Type: boolean

See Also

Reference

LedgerDimensionController Class