Closed yungtilly closed 2 years ago
The Query function will not return more than 1000 items. To retrieve more, the function needs to be called repeatedly with a new offset. It appears the SDK does not handle this corectly.
Hi there,
I wanted to follow up on this issue:
Just to confirm: Query is supporting actually 2000 as a max, different from readByQuery, which only supports 1000 record (https://developer.intacct.com/web-services/queries/)
Thank you and have a good weekend. Karsten
Hello,
I am trying to create a query that pulls the RECORDID for every invoice whose RECORDNO value appears in a list that I include in a QueryFilter statement.
The code that I included above works when the length of
invoice_nos
is less than a certain threshold (I haven't been able to confirm this, but the threshold appears to be 1000); however, once the list length exceeds that threshold, attempts to execute the query yield the following error:"XL03000003 XML Parse schema error: Error 1871: Element 'value': This element is not expected.. Line: 1, column: 0. [Support ID: MhL0rEB033%7EX-Xq6P0w2ZI-R2%40WZhcqhQAAAAU]"
Am I diagnosing this error correctly in concluding that I'm exceeding a limit on the length of the list? If so, are there any workarounds that I should be aware of, and/or can I expect this behavior to change in the future?
Thanks in advance.