Ron
11/13/2024, 7:22 PMCeligo AI
11/13/2024, 7:22 PMAI generated answer (using internal Slack threads):The enum for File Record in NetSuite is not explicitly defined in the record.Type enum. However, when you want to attach a file to a record, you can use the string 'file' as the type. Here is an example:
javascript
var id = record.attach({
record: {
type: 'file',
id: '200'
},
to: {
type: 'customer',
id: '90'
}
});
In this example, 'file' is used as the type for the record to be attached.
******
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:22 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815130472
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.78034991
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.77877748
Celigo AI
11/13/2024, 7:22 PM