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.
Searching for Customers with multiple Contacts
I need to pull a list of all our Customers that have multiple contacts in key positions. As an example, if a company has more than one Accounting Contact listed I want them returned in the search. Can I use a formula to count the email contacts and return only the ones that have more than one? How?
Basically I need to translate this into a search:
select x.* from ( select users_id, count(user_id) as thecount FROM users group by user_id ) as x where x.thecount > 1
thanks.
0