【发布时间】:2017-04-18 03:45:13
【问题描述】:
所有 .SSP 文件在 SuiteCommerce Advance Mont Blanc 中的执行角色是什么?是Customer Center吗?
背景:
我的 SuiteScript 文件 Account/SuiteScript/Account.Model.js 从 Customer 数据库表中检索信息。但它失败/崩溃,因为脚本/文件没有查看Customer 数据库的权限。
// Crash occurs here. (Inside login function)
var picSearch = nlapiSearchRecord('customer', null,
new nlobjSearchFilter('custentity_bd_carer', null, 'is', ''+profile.internalid));
所以我需要知道脚本在哪个角色下执行,然后编辑该角色权限以允许查看Customer 表。
【问题讨论】:
标签: netsuite suitescript suitecommerce