Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Proper Join using FilterExpression
I am trying to create a filterExpression for a custom record type that has a parent/child relationship with the customer record and one condition of the filterExpression is to be applied against a custom customer field that is a Custom List. 1 = Yes, 2 = No. The code below is what I am using and in debugger it is returning the error shown below that. I've never used a join in a filterExpression before and obviously I'm doing something wrong. Can someone provide me with some sample code or suggest what I am doing wring here?
My Code:
var TRfilterExpression = [ ['custrecordcr_trainedresponder_enddate', 'within', todaysDate, todaysDatePlus120],'and', ['customer.custentitycr_deactivated','anyof',"2"],];