Hello everyone,
I have created a custom page ("Purchase Requisition") with PageType = Document. I have also created a custom action i.e. Request Approval and used the same code unit behind the action as in "Purchase Order" and "Purchase Invoice" with minor changes. The problem is that whenever I'm trying to request for approval it is giving the error below. Below is also attached the workflow figure. Maybe the problem is that, it is not considering my custom document page as purchase document. Kindly help.