RTax25LedgerRun.addMainAccountRange Method [AX 2012]
Adding main account range to query
Syntax
private QueryBuildRange addMainAccountRange(
QueryBuildDataSource qdbs,
[boolean allInclude,
RecId mainAccountRecID])
Run On
Server
Parameters
- qdbs
Type: QueryBuildDataSource Class
QueryBuildDataSource
- allInclude
Type: boolean
shows whether all accounts are included in query
- mainAccountRecID
Type: RecId Extended Data Type
main account recId, if allInclude = true, this parameter ignored
Return Value
Type: QueryBuildRange Class
created query build range
Remarks
This function is used instead of SysQuery::addDimensionAttributeRange to add main account range.
This function has been writen to solve performance problem. This fucnction uses 'EntityInstance' instead of 'DisplayValue' field to find main account.
This is the only difference with SysQuery::addDimensionAttributeRange