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.
How to use CustomerSearch to search for a specific stage
I'm using SuiteTalk. Let's say I want to get a list of all customers that are at the "Prospect" stage. So I use a CustomerSearch object containing a CustomerSearchBasic object. In the CustomerSearchBasic, I set custStage. However, custStage must be a SearchMultiSelectField. I cannot set up this SearchMultiSelectField because its searchValue takes an array of RecordRef, and CustomerStage is an enum, not a RecordRef. So how do I search for all prospects?
0