Vasilis Spilka
09/27/2023, 12:21 PMitem
table with the classification
table I get
{
"detail": "Invalid search query. Detailed unprocessed description follows. Invalid search type: class.",
"o:errorCode": "INVALID_PARAMETER",
"o:errorQueryParam": "q"
}
Are there some permissions I am missing or what I’m trying to do is not possible?
How can I join the item with it’s class to get the class name?CD
09/27/2023, 1:02 PMVasilis Spilka
09/27/2023, 1:22 PMSELECT
i.itemId,
c.id
FROM item as i
LEFT JOIN classification AS c ON i.class = c.id
WHERE i.itemId = 'sku'
returns the error shared above when run via HTTP Post to /services/rest/query/v1/suiteql
Vasilis Spilka
09/27/2023, 1:22 PM{"q": "…"}
not an issue with any of thatVasilis Spilka
09/27/2023, 1:26 PM{
"detail": "Invalid search query. Detailed unprocessed description follows. Search error occurred: Record 'classification' was not found.",
"o:errorCode": "INVALID_PARAMETER",
}
the one I shared earlier was when I tried “class” as table nameShai Coleman
09/27/2023, 3:07 PMVasilis Spilka
09/27/2023, 3:13 PMShai Coleman
09/27/2023, 5:43 PMList - Classes
and Lists - Items
, see:
https://timdietrich.me/blog/netsuite-suiteql-tables-permissions-reference/michoel
09/28/2023, 12:07 AMVasilis Spilka
09/28/2023, 12:34 PM