popup - 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 时它给了我错误。
谢谢,依婷
解决方案
由于您不熟悉脚本,因此您可以尝试使用工作流。对你来说可能会容易一些。
推荐阅读
- python - 有没有办法检查 Python 中具有可变大小的二维数组的对角线?
- mysql - 插入表格之间?
- c# - 将当前表单引用到另一个表单的构造函数
- python - 替换字符串的第一个和最后一个字符时“字符串索引超出范围”?
- r - 在呈现为 HTML 时,如何将 R Markdown 图形块超链接到原始图像?
- bash - 批处理逐行按位函数(相当于 diff/comm 的按位逻辑运算符?)
- python - 使用 pip 安装 Python 包时出错
- database - 设计具有外部用户、组和权限的数据库的最佳方法是什么?
- sql - 如何在 SQL Server 中获取日期差异并返回值
- azure-devops - Azure SQL 数据库 DevOps 发布管道返回错误 CREATE DATABASE 权限被拒绝