Emily S
10/10/2025, 2:36 PMCeligo AI
10/10/2025, 2:36 PMAI generated answer (using internal Slack threads):To remove a partner relationship from a NetSuite customer without a CSV import, you can use the
record.detach method in SuiteScript. This method allows you to detach a record from another record.
Here is a sample code snippet:
javascript
var record = require('N/record');
var detachId = record.detach({
record: {
type: 'customer',
id: '123' // replace with your customer ID
},
subrecord: {
type: 'partner',
id: '456' // replace with your partner ID
}
});
This script will remove the relationship between the customer and the partner in NetSuite. Please replace '123' and '456' with your actual customer and partner IDs.
******
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
10/10/2025, 2:36 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.821411133
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818603516
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8127442
Celigo AI
10/10/2025, 2:36 PM