20277: and wip_entity_id = p_wip_entity_id
20278: and quantity_issued <> 0)
20279: or exists (
20280: select 'x'
20281: from wip_move_txn_interface
20282: where organization_id = p_organization_id
20283: and wip_entity_id = p_wip_entity_id)
20284: or exists (
20285: select 'x'
20352: or wpb.pl_overhead_out <> 0
20353: or wpb.pl_outside_processing_out <> 0
20354: or exists (
20355: select 'x'
20356: from wip_move_txn_interface
20357: where organization_id = p_organization_id
20358: and wip_entity_id = p_wip_entity_id)
20359: or exists (
20360: select 'x'