Ron
11/13/2024, 7:19 PMCeligo AI
11/13/2024, 7:20 PMAI generated answer (using internal Slack threads):The proper record type for FILE Record in NetSuite is 'file'. However, it's important to note that 'file' is not a part of the record.Type enum. Instead, it's a string that you use when you want to attach a file to a record. For example, if you want to attach a file to a customer record, you would use the following code:
javascript
var id = record.attach({
record: {
type: 'file',
id: '200'
},
to: {
type: 'customer',
id: '90'
}
});
In this code, 'file' is used as the type for the record that you're attaching, and 'customer' is used as the type for the record that you're attaching the file to.
******
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
11/13/2024, 7:20 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.794399142
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.791024089
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.790182889
Celigo AI
11/13/2024, 7:20 PM