工作流程错误 采购申请
我创建了一份采购申请,该申请必须经过工作流程才能获得批准。当我单击它时,它会向我提供以下信息。
执行代码时出错:SysWorkflowFormControls(对象)在方法“getActionBarContentForOriginator”中没有有效的可运行代码。
(C)\Classes\SysWorkflowFormControls\getActionBarContentForOriginator
(C)\Classes\SysWorkflowFormControls\showOriginatorContent - line 19
(C)\Classes\SysWorkflowFormControls\updateControls - line 76
(C)\Classes\SysSetupFormRun\updateWorkflowControls - line 4
(C)\Classes\Info\formNotify - line 30
(C)\Classes\FormRun\selectControl
I have created a purchase requisition which has to go through a workflow for approval.It gives me the following when i click on it .
Error executing code: SysWorkflowFormControls (object) has no valid runable code in method 'getActionBarContentForOriginator'.
(C)\Classes\SysWorkflowFormControls\getActionBarContentForOriginator
(C)\Classes\SysWorkflowFormControls\showOriginatorContent - line 19
(C)\Classes\SysWorkflowFormControls\updateControls - line 76
(C)\Classes\SysSetupFormRun\updateWorkflowControls - line 4
(C)\Classes\Info\formNotify - line 30
(C)\Classes\FormRun\selectControl
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须安装 ms dax 2009 sp1 才能消除该错误。
如果您不想安装 SPI 来消除此错误,
您可以简单地删除 datetime2str 方法。
例如,
您可以将“datetime2str(lastActionDateTime, DateFlags::FormatAll)”写为“lastActionDateTime”。
确保在 SysWorkflowFormControls 类中的三个位置进行这些更改。
You have to install your ms dax 2009 sp1 to get rid of that error.
In case you dont want to install SPI to get rid of this error,
you could simply remove the datetime2str method.
For eg,
you could write “datetime2str(lastActionDateTime, DateFlags::FormatAll)” as “lastActionDateTime”.
Make sure you do these changes in three places in SysWorkflowFormControls Class.