繁体   English   中英

NetSuite:报价单上的弹出消息

[英]NetSuite: popup message on Quote

我们正在寻找一个代码,当用户查看报价时,该代码可能会弹出一条消息,如果客户在保存的搜索中,则该消息将显示,否则将不显示任何消息。

我不是开发人员,但是我觉得逻辑很简单,因此它不应该是复杂的代码。 我在网上进行了一些搜索,并随机提出了​​一些建议:

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时它给了我错误。

谢谢逸婷

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM