Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

NSC | SuiteQL: Replacing Field Value in Customer Record

edited May 23, 2024 7:31PM in SuiteCloud / Customization

SuiteQL, an advanced query language used in NetSuite, provides powerful capabilities for querying and manipulating data. One common task is to transform or clean up data as it's retrieved from the database. In this article, we’ll demonstrate how to use the SuiteQL REPLACE function to modify field values in a customer record. Specifically, we'll show how to replace a substring in the EntityStatus field of customer records.

We aim to retrieve customer records, displaying the customer ID, company name, and a cleaned-up version of the EntityStatus field. The EntityStatus field contains values prefixed with "Customer-", which we want to remove for clarity.

Richard James Uri | SuiteCloud and WMS Tech

----

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders