简体   繁体   English

防止用户在Netsuite中使用标准/非自定义表单

[英]Prevent Users from Using Standard/Uncustomized Forms in Netsuite

Do you know any Suitescript code example that will prevent users from using the standard/uncustomized forms? 您是否知道任何Suitescript代码示例会阻止用户使用标准/非定制形式? We have a lot of custom forms in our netsuite account and each of these forms have mandatory fields needed for our reporting. 我们的netsuite帐户中有很多自定义表格,并且每种表格都有报告所必需的必填字段。 However, the users are able to skip these fields by choosing the standard/uncustomized forms. 但是,用户可以通过选择标准/非定制形式来跳过这些字段。 Is there a way to prohibit using these forms for all roles excel administrator and full access roles without going to each role and disabling the standard/uncustomized forms? 有没有一种方法可以禁止对所有角色excel管理员和完全访问角色使用这些表单,而无需转到每个角色并禁用标准/非自定义表单? I'll appreciate any help. 我将不胜感激。 Cheers! 干杯!

You don't need to create a script. 您无需创建脚本。 You just need to do a workflow instead. 您只需要执行工作流程即可。 Preventive solution: Before USER submit, do not allow to user to save if they are using the Standard/Uncustomized form. 预防性解决方案:如果用户使用的是“标准/未自定义”表单,则在用户提交之前,不允许用户进行保存。

Before RECORD Load, if User Role = ROLE A then... Set Field Value; 在加载记录之前,如果用户角色=角色A,则...设置字段值; Custom Form to the desired form. 自定义表格为所需的表格。 This is except for Admin and Full Access role. 除了“管理员”和“完全访问”角色外。 Before RECORD Load, if User Roles = ROLE A then... Set Display Type: Custom Form to DISABLE. 在加载记录之前,如果用户角色=角色A,则...将显示类型:自定义表单设置为禁用。 This is except for Admin and Full Access role. 除了“管理员”和“完全访问”角色外。

Unfortunately for you, the way to do this is to go to each role and disable the standard/uncustomized forms. 对于您来说不幸的是,执行此操作的方法是转到每个角色并禁用标准/非定制形式。

That's the best practice. 那是最佳做法。

For most standard forms you can mark them inactive. 对于大多数标准表单,您可以将它们标记为无效。 Inactive forms cannot be selected by users. 用户不能选择不活动的表单。

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

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