【问题标题】:NetSuite Suitelet: How to display created custom body field in sublist?NetSuite Suitelet:如何在子列表中显示创建的自定义正文字段?
【发布时间】:2021-10-24 00:09:16
【问题描述】:

我在带有自定义字段(客户主体)或列的套件中创建了一个保存的搜索。 示例代码: var dnote = result.getText('custbody_kd_so_notes'); // 这将在子列表中显示空白

但对于代码: var dnote = result.getValue('custbody_kd_so_notes'); // 它会给我一个错误

谁能给我一个可能的代码来从自定义字段中提取值?非常感谢。

【问题讨论】:

    标签: netsuite


    【解决方案1】:

    如果您尝试从子列表本身获取值,请尝试使用sublist.getSublistValue(),如帮助文档here 中所述。

    如果您尝试从搜索中获取它,请告诉我您看到了什么错误。听起来这可能是某个地方的一个简单错误。

    如果您有兴趣,我还写了一系列关于 Suitelets here 的文章。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-08-28
      • 1970-01-01
      • 2022-08-09
      • 2016-02-17
      • 2017-12-08
      • 2021-11-06
      • 1970-01-01
      相关资源
      最近更新 更多