Chris
03/26/2025, 3:55 AMCeligo AI
03/26/2025, 3:55 AMAI generated answer (using internal Slack threads):To set
isDynamic
to false in another script, you can use the record.load
method with the isDynamic
option set to false. This will load the record in a non-dynamic mode. Here is a sample code snippet:
javascript
var record = record.load({
type: record.Type.SALES_ORDER,
id: '123',
isDynamic: false
});
This will load the Sales Order record with id '123' in a non-dynamic mode. Please note that when a record is loaded in non-dynamic mode, you cannot use the record.selectNewLine
, record.commitLine
, record.selectLine
, record.removeLine
, record.insertLine
, record.getLineCount
, and record.getCurrentSublistIndex
methods.
******
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
03/26/2025, 3:55 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.771774411
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.767319739
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.767229259
Celigo AI
03/26/2025, 3:55 AM