Cancelling the requisition in JDE on an OSP step via coding
Hi All,
I have a requirement where I need to delete an OSP step. Before deleting, I need to check if there is a requisition created for that OSP step and that requisition needs to be cancelled too. How can i accomplish this technically. What are the BSFNs I should use that will retain the integrity of the tables and cancel the requisition. The requisition should be deleted the same way we do it from front end(going through Row Exit in WO routing app->Outside operations->Form-> Cancel PO).
I cancel the requisition 04613053 by clicking Cancel PO. It cancels the requistion and sets the status to 980/999. I want to achieve this through coding. Please guide me how do I delete the requisition before deleting the OSP step in F3112 routing table. I shouldn't loose integrity since deleting impacts many tables.