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.
Customer formula in a group search
We're building a new web site that allows customers to form and join groups. The groups are static NetSuite groups. We've also added the concept of badges. Customers earn badges by completing certain tasks or buying certain items. We track that information on the customer record in a field called custentity_badges_earned (type=list).
I'm trying to create a Group saved search that lists groups and how many badges each group has earned (total of all member's badges).
This is part of my results.
Field: Name | Summary Type: Group
Field: Formula (numeric) | Summary Type: Sum | Formula: decode({customer.custentity_badges_earned},'Sponsor a Child','1')
0