Good Morning,
There are 2 workflows
1.Purchase Requisition
2.Purchas Order
There are 2 ways for creating Purchase order after Purchase Requisition
1.Manual
2.Automatic Through BatchJob
In both the ways After completing The process of Purchase Requisition.while creating Purchase order The status is automatically taking as Approved For Purchase Order..
Because of this the purchase order Workflow is not enable.
1.In Manual Purchase Order Creation i made changes in PurchAutoCreate_PurchReq\endUpdate() .It is working Perfect For Manual
2.In Automatic i.e Batch job Process It is again coming as approved
I searched for Batch job class "PurchReqPurchaseOrderGenerationBatch"
I am unable to place debug point.It is not even Hitting.
So,please Help me in finding out where the Approved status is hitting
Please Please do any favour.
Regards