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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. 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