DBA Data[Home] [Help]

APPS.AHL_COMPLETIONS_PVT dependencies on CS_INCIDENT_TYPES_VL

Line 5872: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),

5868: --fix for bug number 7295717 (Sunil)
5869: CURSOR get_ue_details( c_unit_effectivity_id NUMBER ) IS
5870: SELECT UE.unit_effectivity_id unit_effectivity_id,
5871: DECODE( UE.Mr_header_id, null,
5872: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),
5873: (select title from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) ue_title,
5874: UE.object_version_number ue_object_version_number,
5875: UE.status_code ue_status_code,
5876: --UE.qa_inspection_type_code ue_qa_inspection_type_code,

Line 5947: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),

5943: CURSOR get_child_ue_details( c_unit_effectivity_id NUMBER ) IS
5944: SELECT unit_effectivity_id,
5945: object_version_number,
5946: DECODE( UE.Mr_header_id, null,
5947: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),
5948: (select title from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) title,
5949: status_code ump_status_code,
5950: DECODE( UE.Mr_header_id, null,null,(select QA_INSPECTION_TYPE from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) qa_inspection_type_code,
5951: -1 qa_plan_id,

Line 8218: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),

8214: --fix for bug number 7295717 (Sunil)
8215: CURSOR get_visit_ue_details( c_visit_id NUMBER ) IS
8216: SELECT UE.unit_effectivity_id unit_effectivity_id,
8217: DECODE( UE.Mr_header_id, null,
8218: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),
8219: (select title from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) title,
8220: UE.object_version_number object_version_number,
8221: UE.status_code ump_status_code,
8222: DECODE( UE.Mr_header_id, null,null,(select QA_INSPECTION_TYPE from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) qa_inspection_type_code,

Line 8283: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),

8279: CURSOR get_child_ue_details( c_unit_effectivity_id NUMBER ) IS
8280: SELECT unit_effectivity_id,
8281: object_version_number,
8282: DECODE( UE.Mr_header_id, null,
8283: (select cit.name || '-' || cs.incident_number from cs_incidents_all_vl cs, cs_incident_types_vl cit WHERE cs.incident_type_id = cit.incident_type_id AND cs.incident_id = UE.Cs_Incident_id),
8284: (select title from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) title,
8285: status_code ump_status_code,
8286: DECODE( UE.Mr_header_id, null,null,(select QA_INSPECTION_TYPE from AHL_MR_HEADERS_B MR where MR.mr_header_id = UE.mr_header_id )) qa_inspection_type_code,
8287: -1 qa_plan_id,

Line 11769: from cs_incidents_all_vl cs, cs_incident_types_vl cit

11765: IS select title, QA_INSPECTION_TYPE from AHL_MR_HEADERS_B MR where MR.mr_header_id = p_mr_header_id;
11766:
11767: CURSOR sr_csr (p_cs_incident_id IN NUMBER )
11768: IS select cit.name || '-' || cs.incident_number
11769: from cs_incidents_all_vl cs, cs_incident_types_vl cit
11770: WHERE cs.incident_type_id = cit.incident_type_id
11771: AND cs.incident_id = p_cs_incident_id;
11772:
11773: CURSOR visit_task_csr(p_unit_effectivity_id IN NUMBER)IS