Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Same SuiteQL query behaves differently in SuiteQL RESTFul API and query module runSutieQL
We have a query to retrieve the inventory assignments of partially fulfilled sales orders. We used runSuiteQL from query module, results were returned correctly except null was returned for inventory assignment since the user roles didn't have Item Fulfilment permission. After we added the Item Fulfilment permission, the result ended up the following: "{"columns":null,"types":["null","null","null","null","null","null","null","null","null","null","null","null","null"],"results":[],"metadataProvider":"SUITE_QL"}".
We tried the same query on the RESTFul SuiteQL API, the results were returned correctly. We delete the RESTLet script which uses runSuiteQL and redeployed it again but ended up with null.
Tagged:
0