47:
48: select count(pda.wip_entity_id)
49: into l_count
50: from
51: po_distributions_all pda,
52: wip_entities we
53: where
54: pda.po_header_id = p_header_id
55: and pda.wip_entity_id = we.wip_entity_id
62:
63: select count(pda.wip_entity_id)
64: into l_count
65: from
66: po_distributions_all pda,
67: wip_entities we
68: where
69: pda.po_release_id = p_release_id
70: and pda.wip_entity_id = we.wip_entity_id