LedgerDimensionAccountController::restrictQueryForMainAccounts Method [AX 2012]
Restricts the query for the MainAccounts.
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 restrictQueryForMainAccounts(QueryBuildDataSource _queryBuildDataSource, [boolean _applyRestrictionBasedOnTranslations])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void restrictQueryForMainAccounts(QueryBuildDataSource _queryBuildDataSource)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void restrictQueryForMainAccounts(QueryBuildDataSource _queryBuildDataSource)
Microsoft Dynamics AX 2012 (FPK)
client server public static void restrictQueryForMainAccounts(QueryBuildDataSource _queryBuildDataSource)
Microsoft Dynamics AX 2012 (SYS)
client server public static void restrictQueryForMainAccounts(QueryBuildDataSource _queryBuildDataSource)
Run On
Called
Parameters
- _queryBuildDataSource
Type: QueryBuildDataSource Class
The QueryBuildDataSource instance to which to add restrictions.
- _applyRestrictionBasedOnTranslations
Type: boolean