Sahithya
05/19/2025, 10:10 PMCeligo AI
05/19/2025, 10:11 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** The error you're encountering, "Rbuild.selectNewLine is not a function", is due to the fact that you're trying to use a method that is only available in Dynamic Mode while you've created the record in Standard Mode. In your code, you're creating a record of type ASSEMBLY_BUILD in Standard Mode:
javascript
var Rbuild = record.create({type: record.Type.ASSEMBLY_BUILD});
And then you're trying to use the selectNewLine
method, which is only available in Dynamic Mode:
javascript
Rbuild.selectNewLine({sublistId: 'component'});
To fix this, you need to create the record in Dynamic Mode. Here's how you can do it:
javascript
var Rbuild = record.create({type: record.Type.ASSEMBLY_BUILD, isDynamic: true});
Now, you should be able to use the selectNewLine
method without any issues.Celigo AI
05/19/2025, 10:11 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.763670444
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.761669636
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.759292364
Celigo AI
05/19/2025, 10:11 PM