getGLDetailReport Query
GL activity lines. When startDate and endDate are both omitted, results are capped to the most recent 300 posted journals for performance. glCompanyId names the books these lines belong to; it carries the statement rule of the trial balance they add up to, so a company the reader may not open is refused by name and the unnamed whole-workspace stream is served only to a reader who holds every company.
Arguments
#
accountId
orphanAccountsOnly
Narrows to journal lines whose account no longer exists in the chart — the lines the P&L readiness banner counts as orphaned, each rendered under the Unknown account label. The filter behind the banner's Review GL detail link, so the report reproduces the count that named it.
startDate
endDate
sortBy
sortDirection
limit
skip
glCompanyId
Response
#
Returns [GLDetailRow !]!.
Example
#
getGLAccounts