Share via


LedgerDimensionAccountController::restrictQueryForJournalControlTree Method [AX 2012]

Restricts the query to dimension attribute values by using the dimension journal control.

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 private static void restrictQueryForJournalControlTree(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            RecId _dimensionConstraintTreeId, 
            int _segmentIndex, 
           [boolean _applyRestrictionBasedOnTranslations])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server private static void restrictQueryForJournalControlTree(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            RecId _dimensionConstraintTreeId, 
            int _segmentIndex)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server private static void restrictQueryForJournalControlTree(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            RecId _dimensionConstraintTreeId, 
            int _segmentIndex)

  Microsoft Dynamics AX 2012 (FPK)
          client server private static void restrictQueryForJournalControlTree(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            RecId _dimensionConstraintTreeId, 
            int _segmentIndex)

  Microsoft Dynamics AX 2012 (SYS)
          client server private static void restrictQueryForJournalControlTree(
            QueryBuildDataSource _queryBuildDataSource, 
            RecId _dimensionAttributeId, 
            DimensionStorage _dimensionStorage, 
            RecId _dimensionConstraintTreeId, 
            int _segmentIndex)

Run On

Called

Parameters

  • _dimensionAttributeId
    Type: RecId Extended Data Type
    The record ID of the dimension attribute for the segment for which to add journal control restrictions.
  • _dimensionStorage
    Type: DimensionStorage Class
    The DimensionStorage object from which to retrieve known values.
  • _dimensionConstraintTreeId
    Type: RecId Extended Data Type
    The DimensionConstraintTree record to use to restrict values.
  • _segmentIndex
    Type: int
    The index of the segment in the control for which to add journal control restrictions.
  • _applyRestrictionBasedOnTranslations
    Type: boolean

See Also

Reference

LedgerDimensionAccountController Class