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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Join assembly item to work order query (SuiteQL)
When I try this query:
SELECT t.tranid, t.id, i.itemid, i.description from transaction t INNER JOIN item i ON t.item = i.id WHERE recordtype = 'workorder'
I get:
Invalid search query. Detailed unprocessed description follows. Search error occurred: Field 'item' for record 'transaction' was not found.
I've looked at the Records Catalog and tried item, assembly and assemblyitem. No luck. I know the item can be joined to the work order transaction because I have existing SuiteScript that does that. Names are all different in SuiteQL, though.
edited to remove distracting details
Tagged:
0