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
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
filter join class table to item table
I'm trying to source out the following:
SQL
SELECT item.id FROM item JOIN class ON class.id = item.class WHERE class.custrecord_shipdate <= %today% AND item.custcol_specialitem = false
but finding it incredibly hard to operate.
There appears to be no way to perform a search joining the class table to the item table. I've gone through saved searches in both lists, as well as classes (which isn't directly linked and has to be gotten through by going to an actual class item first).
Because there's no way to join, I'm forced to lookup the ids of all classes <= %today%, then compile those into an array to use with a second search of item.
0