SalesBookTable_RU::createDefaultQuery Method [AX 2012]

Creates default query for use in purchase book report.

client server public static Query createDefaultQuery(
    SalesPurchBookRecId_RU _bookRecId, 
   [Query _query, 
    TransDate _fromDate, 
    TransDate _toDate, 
    boolean _initBookId])

Run On

Called

Parameters

_bookRecId
Type: SalesPurchBookRecId_RU Extended Data Type
RecId of purch book.
_query
Type: Query Class
Query which is already initialized.
_fromDate
Type: TransDate Extended Data Type
Start date of period.
_toDate
Type: TransDate Extended Data Type
End date of period.
_initBookId
Type: boolean
If true only book table rec id ranges cleared, otherwise all ranges cleared.

Return Value

Type: Query Class
Query for use in purchase book report.
Show: