ANS-0113 · SAVED SEARCHES & FORMULAS

How to Display a Specific Sales Team Member by Role in NetSuite Customer Searches

Learn how to configure a NetSuite customer saved search to identify and display the name of a sales team member assigned a particular role, such as an Account Manager.

Short answer

To display a specific sales team member by role in a NetSuite customer saved search, use a formula text column. The formula CASE WHEN {salesteamrole} = 'Account Manager' then {salesteammember} else '' end can identify the member. If multiple lines appear, apply a MAX aggregation to consolidate the results for each customer.

Scenario

Users often need to quickly identify the specific sales team member responsible for a customer based on their assigned role, such as an Account Manager. Standard customer saved searches may not directly expose this information in a consolidated manner, making it challenging to report on key contacts without additional steps. The goal is to display only the relevant sales team member's name in a dedicated column.

Solution

To display a specific sales team member's name based on their role in a NetSuite customer saved search, a formula text field can be added to the results. This approach aims to identify and present the name of a sales team member assigned a particular role, such as 'Account Manager'.Add a new 'Formula (Text)' column to the saved search results and input the following formula:

CASE WHEN {salesteamrole} = 'Account Manager' then {salesteammember} else '' end

This formula is designed to return the sales team member's name if their role matches 'Account Manager', otherwise, it will display an empty string. While directly accessing and filtering all sales team members and their roles via simple field references in a customer saved search can be complex, this formula attempts to target a specific role.If the saved search results in multiple lines for a single customer due to multiple sales team members, applying a 'Maximum' aggregation to this formula column will consolidate the output, displaying only the identified sales team member's name for that customer.

Expert NetSuite Support

Need help with this NetSuite issue?

Saved Searches & Formulas consulting and configuration support

Talk to a consultant