Was trying to access the PricingGroup Table in Netsuite via SuiteQL and keep getting back this error:
The query failed with the following error:\r\nUnable to retrieve columns for table PricingGroup].
Query for reference:
{
"query": "SELECT TOP 10 * FROM NetSuite7.Netsuite.PricingGroup"
}
I have been having this issue with several other tables and/or fields that just don’t seem to be accessible via SuiteQL.
Another example is on the Item table I can’t return PurchaseUnit or StockUnit.
Why isn’t everything just available and query able in SuiteQL?