Share via


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

  • allInclude
    Type: boolean
    shows whether all accounts are included in query

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

See Also

Reference

RTax25LedgerRun Class