Dear All,
I have been working on workflow development for Dynamics 365 F&O. In Purchase order workflow while configuring there are 2 Approval elements available(Same as AX 2012 R3). One is workflow Approve purchase order and other one is Approve purchase order, editable. My query is about the development of the 2nd one which says Editable (highlighted below as well). As per my testing if I associate this element while configuration, system allows the Approvers to edit the purchase order and then take the approval action afterwards.
I am developing a custom workflow and want to have the same feature mentioned above with my custom workflow. I have tried to look into some of the system default code but couldn’t managed to get some deeper and identify the area where certain validation are being applied for Approval editable element at the time of purchase order workflow execution.
Let me clear once again that I have looked into the related classes for Purchase order workflow like event handler and document classes. If anyone has worked on this then kindly share Ideas which classes should I look into for such validation of editable on the basis of Workflow approval element and replicate the same for my workflow.