首页 > 解决方案 > NetSuite:报价时弹出消息

问题描述

我们正在寻找可以在用户查看报价时弹出消息的代码,如果客户在保存的搜索中,则消息显示,否则不会显示消息。

我不是开发人员,但我觉得逻辑很简单,所以它不应该是复杂的代码。我在网上搜索了一下,随机想出一些东西:

define([], function () {
    function showMessage(context) {
        var message = "This customer does not have a contact information, please make sure you have the payment information on hand and you could process the payment once the Quote is being Converted"
        var searchresult = contaxt.nlapiLoadRecord(Transaction, customsearch387)({
        "searchID": "customsearch387"
        });

        if (customsearch387){
            alert(message):
        }
  }

    return {
        pageInit: showMessage
  };

});

谁能教我一点我的剧本?我无法使用它,因为当我将它上传到 netsuite 时它给了我错误。

谢谢,依婷

标签: popupnetsuitequote

解决方案


由于您不熟悉脚本,因此您可以尝试使用工作流。对你来说可能会容易一些。


推荐阅读