[英]How to prevent user from cancelling a salesorder using js?
My mission is: after the user clicks on cancel order button, I need to check some data and if the data is true, I need to prevent from the button functionality to run and alert the user, where can I insert my code?我的任务是:用户点击取消订单按钮后,我需要检查一些数据,如果数据为真,我需要阻止按钮功能运行并提醒用户,我在哪里可以插入我的代码?
Mscrm.Form.salesorder.CancelOrder
is a vanilla button and seems close to add or edit, how can I do that? Mscrm.Form.salesorder.CancelOrder
是一个香草按钮,似乎接近添加或编辑,我该怎么做?
InvalidPluginExecutionException
if it is satisfiedInvalidPluginExecutionException
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.