SQL For IN PROCESS PO:
SELECT wf_item_key, wf_item_type, authorization_status,
org_id, last_update_date, segment1 po_no
FROM po_headers_all
WHERE authorization_status = ‘IN PROCESS’
ORDER BY last_update_date;
SQL For IN PROCESS PO Requisition :
SELECT wf_item_type , wf_item_key, authorization_status,
org_id , last_update_date, segment1 poreq_no
FROM po_requisition_headers_all
WHERE authorization_status = ‘IN PROCESS’
ORDER BY last_update_date;
To remove stuck in process status need to run bellow SQL using APPS SESSION LOGIN
For PO
begin
— wf_engine.startprocess( ‘WF_ITEM_TYPE’ , ‘WF_ITEM_KEY’ );
wf_engine.startprocess( ‘POAPPRV’ , ‘1276980-832203’ );
end;
For PO REQ
begin
— wf_engine.startprocess( ‘WF_ITEM_TYPE’ , ‘WF_ITEM_KEY’ );
wf_engine.startprocess(‘REQAPPRV’ , ‘1276980-832203’ );
end;
SELECT wf_item_key, wf_item_type, authorization_status,
org_id, last_update_date, segment1 po_no
FROM po_headers_all
WHERE authorization_status = ‘IN PROCESS’
ORDER BY last_update_date;
SQL For IN PROCESS PO Requisition :
SELECT wf_item_type , wf_item_key, authorization_status,
org_id , last_update_date, segment1 poreq_no
FROM po_requisition_headers_all
WHERE authorization_status = ‘IN PROCESS’
ORDER BY last_update_date;
To remove stuck in process status need to run bellow SQL using APPS SESSION LOGIN
For PO
begin
— wf_engine.startprocess( ‘WF_ITEM_TYPE’ , ‘WF_ITEM_KEY’ );
wf_engine.startprocess( ‘POAPPRV’ , ‘1276980-832203’ );
end;
For PO REQ
begin
— wf_engine.startprocess( ‘WF_ITEM_TYPE’ , ‘WF_ITEM_KEY’ );
wf_engine.startprocess(‘REQAPPRV’ , ‘1276980-832203’ );
end;