DBA Data[Home] [Help]

APPS.PO_COPYDOC_SUB dependencies on WIP_ENTITIES

Line 1911: from wip_entities

1907: IF x_wip_entity_id is NOT NULL and x_wip_line_id IS NULL THEN
1908: begin
1909: select entity_type
1910: into x_entity_type
1911: from wip_entities
1912: where wip_entity_id=x_wip_entity_id;
1913: exception
1914: when others then
1915: null;

Line 1920: from wip_entities we,

1916: end;
1917: if x_entity_type =6 then --6 stands for eAM work orders
1918: select count(*)
1919: into x_count
1920: from wip_entities we,
1921: wip_discrete_jobs wdj
1922: where we.wip_entity_id = wdj.wip_entity_id
1923: and we.entity_type = 6
1924: and wdj.status_type in (3,4,6);