【问题标题】:Memorized transaction in Netsuite using SuiteScript使用 SuiteScript 在 Netsuite 中存储事务
【发布时间】:2017-12-08 13:31:59
【问题描述】:

Netsuite 提供了一种我们可以使用应用程序或前端创建记忆交易的方法...是否可以使用 suitescript 2.0 在 netsuite 中创建记忆交易。

【问题讨论】:

    标签: netsuite suitescript2.0


    【解决方案1】:

    很遗憾,SuiteScript 不支持记忆交易

    【讨论】:

      【解决方案2】:

      我只是想出了一种方法,可以帮助我通过套件脚本 2.0 复制记忆的交易。

      通过在 Scheduled 脚本中使用 record.copy() 函数,这是可能的。

      invoiceObject = record.copy({
          type: record.Type.INVOICE,
          id: <internal id of invoice to copy>
      });
      
      //update invoice record fields if you want
      
      invoiceObject.save();
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-10-24
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多