LedgerDimensionController::restrictQueryForRelationshipConstraints Method [AX 2012]
Restricts the query to dimension attribute values that are based on the relationships for the current account structure.
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 restrictQueryForRelationshipConstraints(
QueryBuildDataSource _queryBuildDataSource,
RecId _dimensionAttributeId,
DimensionStorage _dimensionStorage,
RecId _dimHierarchyLevelId,
[boolean _applyRestrictionBasedOnTranslations])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void restrictQueryForRelationshipConstraints(
QueryBuildDataSource _queryBuildDataSource,
RecId _dimensionAttributeId,
DimensionStorage _dimensionStorage,
RecId _dimHierarchyLevelId)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void restrictQueryForRelationshipConstraints(
QueryBuildDataSource _queryBuildDataSource,
RecId _dimensionAttributeId,
DimensionStorage _dimensionStorage,
RecId _dimHierarchyLevelId)
Microsoft Dynamics AX 2012 (FPK)
client server public static void restrictQueryForRelationshipConstraints(
QueryBuildDataSource _queryBuildDataSource,
RecId _dimensionAttributeId,
DimensionStorage _dimensionStorage,
RecId _dimHierarchyLevelId)
Microsoft Dynamics AX 2012 (SYS)
client server public static void restrictQueryForRelationshipConstraints(
QueryBuildDataSource _queryBuildDataSource,
RecId _dimensionAttributeId,
DimensionStorage _dimensionStorage,
RecId _dimHierarchyLevelId)
Run On
Called
Parameters
- _queryBuildDataSource
Type: QueryBuildDataSource Class
The QueryBuildDataSource object to which to add restrictions.
- _dimensionAttributeId
Type: RecId Extended Data Type
The record ID of the dimension attribute for the segment to add restrictions for.
- _dimensionStorage
Type: DimensionStorage Class
The DimensionStorage instance to retrieve known values from.
- _dimHierarchyLevelId
Type: RecId Extended Data Type
The record ID of the dimension hierarchy level for the segment to add restrictions for.
- _applyRestrictionBasedOnTranslations
Type: boolean