Nour Khaled
05/14/2025, 6:01 AMCeligo AI
05/14/2025, 6:01 AMAI generated answer (using internal Slack threads):To get the name of the employee that created a record in NetSuite SuiteScript, you can use the
getText
method on the record. The getText
method returns the display name (text) of the select field instead of the internal ID. Here is how you can do it:
javascript
var createdBy = newRecord.getText('recordcreatedby');
In this case, 'recordcreatedby' is the field id of the 'Created By' field on the record. The getText
method will return the name of the employee who created the record.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
05/14/2025, 6:02 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824983537
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813501775
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811484933
Celigo AI
05/14/2025, 6:02 AM