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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Formula to extract string from entity name
Hi
I have the following situation:
{entityid} on a customer record shows just the customer id for the record in question when viewing the customer record..
When using {entityid} in a saved search, this shows "ACC_ name of parent customer : ACC__name of child customer"
I am trying to use a formula to split the parent and child customer ids from the {entityid} field.
I can't seem to find anything online that explains what the search patterns in the REGEXP_REPLACE or REGEXP_SUBSTR mean so I am guessing on how to do this.
In this case, the "ACC__" customer id code I am interested in is the second occurrence of that string since that is the child customer.
Tagged:
0