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.
[NS OneWorld] Subsidiary filter in Saved Search
Hi All,
I've created a Saved Search in a OneWorld account.
From my client app, I now want to retrieve the search result filtered for a certain subsidiary.
in short words here is what I do:
[LIST]
[*]Create a RecordSearchBasic
[*]Set the subsidiary property to a SearchMultiSelectField with my subsidiaryId as RecordRef and operator as anyOf
[*]Create a RecordSearchAdvanced
[*]Set the criteria property to a new RecordSearch setting its basic property to my RecordSearchBasic previously created with my subsidiary filter
[*]Set the savedSearchId property with my Saved Search internalId
[*]And finally call the service Search method
[/LIST] This works fine except that records not part of the headquarter (top most subsidiary level) are not part of the result even if records are set explicitly to be part of the referenced subsidiary.