I have a Lawson Query node that accesses the APCINVOlCE table. Generally it works fine but the other day it failed. When I looked at the node detail it appeared to fail on the 2nd page of the call and returned no records. The query should have returned over 1000 records and is set to send back 50 records for page. The second page didn't error but returned no records and a RECORD_COUNT = 0. I have no clue why it would do this other than the size of the query was over 1000 and most other queries are less than 100. I have seen it return multiple pages without a problem.
Any clue what went wrong?
Also, how do you set the records per page in IPA since I can't find it in the node?
Here is the first and second calls and the returned variables:
1st Call (correct)
S3 Query LwsnQuery9800: Executing S3 query: PROD=GHSE&FILE=APCINVOICE&FIELD=VENDOR;INVOICE&SELECT=AUTH-CODE=CON&OUT=CSV&DELIM=&MAX=50&NEXT=true, host: xxxxxxxxxxxxxxx.net:444, web user: xxxxxxxxxx, ejb user:
LwsnQuery9800_errorCode = 0
LwsnQuery9800_informationCode = 0
LwsnQuery9800_returnMessage = Query completed.
LwsnQuery9800_outputData =
LwsnQuery9800_currentPage = 1
LwsnQuery9800_complete = false
LwsnQuery9800_recordCount = 50
LwsnQuery9800_hasNext = true
2nd call (returns no records, incorrect)
Query:LwsnQuery9800 Retrieving next page 2
S3 Query LwsnQuery9800: Executing S3 query: DELIM=%7E&PROD=GHSE&MAX=50&FIELD=VENDOR%3BINVOICE&NEXT=true&FILE=APCINVOICE&SELECT=AUTH-CODE%3DCON&OUT=CSV&BEGIN=910=+++++1143=spaces=661156214=0, host: xxxxxxxxxxxxxxxxxxx:444, web user: xxxxxxxxxx, ejb user:
LwsnQuery9800_errorCode = 0
LwsnQuery9800_informationCode = 0
LwsnQuery9800_returnMessage = S3 Query LwsnQuery9800: No of records returned 0
LwsnQuery9800_outputData =
LwsnQuery9800_currentPage = 2
LwsnQuery9800_complete = true
LwsnQuery9800_recordCount = 0
LwsnQuery9800_hasNext = false
Activity completed
LwsnQuery9800_RECORD_COUNT = 0
Activity completed