Changing Status of "Released-Pending" Stuck Work Orders to "Released"

Work Orders Stuck in Released-Pending Status:

Sometimes Work Order gets Stuck in Released- Pending with no notification sent to any user even when no Approval flow was setup on that Work Order.

It is Approval Management Bug and Can be resolved using below Data Fix.


If work orders are having same issue, then the Data Fix should be as follows:

update wip_discrete_jobs set status_type = 3 where wip_entity_id in
(select wip_entity_id from wip_entities where wip_entity_name = '&WO_NUMBER');

update eam_work_order_details set user_defined_status_id = 3, pending_flag = 'N' where wip_entity_id in
(select wip_entity_id from wip_entities where wip_entity_name = '&WO_NUMBER');


commit;

- You will have to enter the work order number.


Comments

Popular posts from this blog

Invoice Price Variance Process Accounting

Query to Find Out Move Order Number for Work Order with Transacted Quantity

DISALLOW USER TO CANCEL PO LINE IF QUANTITY RECEIVED