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 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