尝试在 NetSuite 中保存记录时何时使用 "enableSourcing" 选项?

When to use the "enableSourcing" option while trying to save a record in NetSuite?

用户在 NetSuite 上点击 PO 中的 "Save" 按钮后,脚本会将一些值从 PO 更新为 SO。

我尝试为 record.save 启用和禁用选项 "enableSourcing"。但是保存的时间非常小,可能相差1、2秒。

代码如下:

 try {
     so_record.save({
         enableSourcing: true
     });
 } catch (error) {
     log.debug('error.message', error.message);
 }

如果我的情况下不需要该选项,我想删除该选项以便更好地维护。

但是我不确定"enableSourcing"的用法,有谁知道这个选项的用法吗?

Indicates whether to enable sourcing during the record update. Defaults to true.

采购是指加载列表字段信息,例如,所选子公司的位置列表。如果您不更改任何来源列表,那么不妨将其关闭。