Many journal entries are created by the Sage Intacct system based on activity in sub ledgers like Accounts Receivable and Accounts Payable. General ledger details help understand the relationships between journal entries and their source sub ledger transactions. See the General Ledger Detail entity relationship diagram for more information.


List General Ledger Details

readByQuery

List General Ledger Details:

<readByQuery>
    <object>GLDETAIL</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

List General Ledger Details for the Cash Management module:

<readByQuery>
    <object>GLDETAIL</object>
    <fields>*</fields>
    <query>MODULEKEY = '11.CM'</query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use GLDETAIL
fields Optional string Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Custom page size between 1 and 1000 items (Default: 100)

query

Name Required Type Description
MODULEKEY Optional string Module key for the application area. Use 2.GL for General Ledger, 3.AR for Accounts Payable, 4.AR for Accounts Receivable, 6.EE for Employee Expenses, 7.INV for Inventory Control, 8.SO for Order Entry, 9.PO for Purchasing, 11.CM for Cash Management, 48.PROJACCT for Project and Resource Management, 55.CONTRACT for Contracts and Revenue Management.

Provide feedback