Closed antonyRoberts closed 1 year ago
this works return getNetSuite().request({ path: 'record/v1/salesOrder?limit=999' }) while this does not const limit = 500; return getNetSuite().request({ path: 'record/v1/salesOrder?limit=' + limit })
return getNetSuite().request({ path: 'record/v1/salesOrder?limit=999' })
const limit = 500; return getNetSuite().request({ path: 'record/v1/salesOrder?limit=' + limit })
path: `record/v1/salesOrder?limit=${limit}&offset=${offset}`,
Main issue was the offset must be divisible by the limit otherwise will return
"ERR_NON_2XX_3XX_RESPONSE"
this works
return getNetSuite().request({ path: 'record/v1/salesOrder?limit=999' })
while this does notconst limit = 500; return getNetSuite().request({ path: 'record/v1/salesOrder?limit=' + limit })