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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Searching by ExternalId problem
Hi,
We're having problems searching by externalId when the string contains whitespace. We're receiving an INVALID_KEY_OR_REF error stating the the externalId is invalid.
Should the following not work?
SearchMultiSelectField extId = new SearchMultiSelectField(); extId.setOperator(SearchMultiSelectFieldOperator.anyOf); RecordRef[] recordRefs = new RecordRef[1]; RecordRef recordRef = new RecordRef(); recordRef.setExternalId("Customer External Id"); recordRefs[0] = recordRef; extId.setSearchValue(recordRefs); custSearchBasic.setExternalId(extId); 0