Failed to obtain data from allocatedSupply from NetSuite2.com
Hi all,
I'm trying to access the allocatedSupply table through NetSuite2.com (ODBC) and have run into some strange behaviour.
Our company has two NetSuite instances. I have been granted what appears to be the same permissions in both instances. When running SuiteQL directly in the NetSuite UI, I can successfully query allocatedSupply in both environments:
SELECT * FROM allocatedSupply
SELECT TOP 5 * FROM allocatedSupply
Both return data as expected.
However, when I run the same queries through the NetSuite2.com ODBC driver:
- Instance A returns an empty table. Interestingly, it includes all the columns I see in the UI plus some additional columns.
- Instance B returns "Base table allocatedSupply was not found"
I've also tried joining allocatedSupply to transactionLine, but that either returns no data or produces the same error.
A few things I'm wondering:
- Is
allocatedSupplyactually supported through NetSuite2.com ODBC? - Are there any known limitations where a table is available in SuiteQL but not through ODBC?
- Could this be permission-related even though I can query it from the UI?
- Has anyone found an alternative way to retrieve allocated supply information?
- Any ideas why two instances would behave differently with the same user permissions?
Any suggestions or workarounds would be greatly appreciated. Thanks!