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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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