Scenario
Create a Saved Search and extract only the first word of the Customer ID found on the Customer Record.
Solution
- Using the Administrator Role, navigate to Lists > Search > Saved Search > New
- Find and click on Type = Customer
- Under the Results Tab, add field:
- –Formula(Text) – CASE WHEN INSTR({entityid}, ‘ ‘) > 0 THEN SUBSTR( {entityid},0, INSTR({entityid}, ‘ ‘)-1 ) ELSE {entityid} END
- Click Save and Run
Note: If the Customer ID field had two words such as “1 Customer”, the formula field will pull only the “1”.