Workflow error Purchase requisition

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

Please advice.

you have to upgrade your ax to Service Pack 1, or you have to edit the method getActionBarContentForOriginator

change “datetime2str(lastActionDateTime, DateFlags::FormatAll)” to “lastActionDateTime”.

i have tried it and it works.

credits to the owner ; i forgot the name and link but thanks! [:D]