hello All, has anyone had any luck getting a SuiteQL with a UNION clause to work via REST? I keep getting a "An unexpected error occurred" messages. individual queries work great and the returned column is identical (i.e. SELECT id FROM transaction WHERE id = '40330' UNION SELECT id FROM transaction WHERE id = '40771')
t
tdietrich
08/03/2020, 11:36 PM
I just tried this, and I'm getting the same response. I suspect that SuiteTalk REST's SuiteQL doesn't support UNION just yet. However, I was able to get a UNION query to run as a SuiteLet.
tdietrich
08/03/2020, 11:37 PM
One more thing. Instead of a UNION, could you simply do this?
SELECT
ID,
Type
FROM
Transaction
WHERE
ID IN (40330, 40771)
a
Ady
08/04/2020, 3:20 AM
Thanks. My query is more complex. That was just an example :)