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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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