Sarah
04/09/2025, 2:08 PMCeligo AI
04/09/2025, 2:43 PMAI generated answer (using internal Slack threads):To update an external ID without doing a CSV import, you can use SuiteScript. SuiteScript is a JavaScript-based API that allows you to customize, automate, and extend NetSuite. Here is a simple example of how you can update an external ID using SuiteScript:
javascript
var record = nlapiLoadRecord('customer', internalId);
record.setFieldValue('externalid', 'newExternalId');
nlapiSubmitRecord(record);
In this example, 'customer' is the record type, 'internalId' is the internal ID of the record you want to update, and 'newExternalId' is the new external ID you want to set.
Please note that you need to have the necessary permissions to update the record and the external ID field. Also, the external ID must be unique across all record types.
******
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
04/09/2025, 2:43 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823974907
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820089698
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819326162
Celigo AI
04/09/2025, 2:44 PM