<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: ECC Project Procurement, Deliverables -->
 <REPORTS_ROW>
  <GUID>EEE75CEB4AF46AD8E05362FB09051F8B</GUID>
  <SQL_TEXT>select
x.*
from
(
  SELECT * FROM
	                       (SELECT  DELDATA AS ECC_SPEC_ID,
								 DELDATA AS RECORD_IDENTIFIER,
								 PROJECT_NAME ,
								 ORDER_NUMBER,
								 DELDATA,
								 BUSINESS_DOCUMENT_TYPE,
								 BUSINESS_DOCUMENT_TYPE_CODE,
								 DELIVERABLE_TYPE,
								 DELIVERABLE_TYPE_CODE,
								 DELIVERABLE_STATUS,
								 DELIVERABLE_STATUS_CODE,
								 RESPONSIBLE_PARTY_CODE,
								 RESPONSIBLE_PARTY,
								 DELIVERABLE_NAME,
								 DELIVERABLE_DESCRIPTION,
								 DISPLAY_SEQUENCE,
								 FIXED_DUE_DATE_YN,
								 ACTUAL_DUE_DATE,
								 RECURRING_YN,
								 AMENDMENT_NOTES,
								 STATUS_CHANGE_NOTES,
								 VENDOR_CONTACT_ID,
								 PARTY_NAME,
								 CONTACT,
								 PO_HEADER_ID,
								 DELIVERABLE_HOLD,
								 HOLD_AMOUNT,
								 DAYS_ON_HOLD,
								 ORG_ID,
								 PROJECT_ID,
								 PROJECT_NUMBER,
								 HOLD_DATE,
								 MANAGE_DELIVERABLE,
                                 LANGUAGE
                                 FROM (
										SELECT  pap.name project_name
											   ,poh.segment1 order_number
											   ,del.deliverable_id deldata
											   ,busdoctypes_tl.name business_document_type
											   ,del.business_document_type business_document_type_code
											   ,deliverabletypes_tl.name deliverable_type
											   ,del.deliverable_type deliverable_type_code
											   ,status_lookup.meaning deliverable_status
											   ,del.deliverable_status deliverable_status_code
											   ,del.responsible_party responsible_party_code
											   ,reptl.name responsible_party
											   ,del.deliverable_name
											   ,del.description deliverable_description
											   ,del.display_sequence
											   ,del.fixed_due_date_yn
											   ,del.actual_due_date
											   ,del.recurring_yn
											   ,del.amendment_notes
											   ,del.status_change_notes
											   ,poh.vendor_contact_id
											   ,CASE
												WHEN    del.deliverable_type = &apos;CONTRACTUAL&apos;
												AND     responsible_party = &apos;SUPPLIER_ORG&apos;
														THEN
																(
																SELECT  vendor_name
																FROM    ap_suppliers
																WHERE   vendor_id = poh.vendor_id
																)
												ELSE
														(
														SELECT  DISTINCT
																name
														FROM    hr_all_organization_units_tl
														WHERE   organization_id = poh.org_id
														AND     language (+) = lang.language_code
														) END party_name
											   ,CASE
												WHEN    del.deliverable_type = &apos;CONTRACTUAL&apos;
												AND     responsible_party = &apos;SUPPLIER_ORG&apos;
														THEN
																(
																SELECT  DISTINCT
																		party_name
																FROM    hz_parties
																WHERE   party_id = poh.vendor_contact_id
																)
												ELSE
														(
														SELECT  DISTINCT
																full_name
														FROM    per_all_people_f
														WHERE   person_id = del.internal_party_contact_id
														) END contact
											   ,poh.po_header_id
											   ,decode (nvl (holds.hold
															,0)
													   ,0
													   ,&apos;N&apos;
													   ,&apos;Y&apos;) deliverable_hold
											   ,holds.hold_amount hold_amount
											   ,trunc (sysdate - holds.hold_date) days_on_hold
											   ,poh.org_id org_id
											   ,psco.project_id
											   ,pap.segment1 project_number
											   ,holds.hold_date hold_date
											   ,po_endeca_util_pub.po_get_action_text (&apos;MANAGE_DELIVERABLE&apos;
																					  ,20) manage_deliverable
											   ,lang.language_code LANGUAGE
										FROM    okc_deliverables del
											   ,po_headers_all poh
											   ,po_doc_style_headers ps
											   ,pa_supply_chain_options psco
											   ,pa_projects_all pap
											   ,po_proc_plan_header pph
											   ,fnd_lookup_values status_lookup
											   ,okc_deliverable_types_tl deliverabletypes_tl
											   ,okc_bus_doc_types_tl busdoctypes_tl
											   ,okc_resp_parties_b repb
											   ,okc_resp_parties_tl reptl
											   ,
												(
												SELECT  pod.po_header_id
													   ,count (1) hold
													   ,sum (apd.amount) hold_amount
													   ,min (ah.hold_date) hold_date
												FROM    ap_invoice_distributions_all apd
													   ,ap_holds_all ah
													   ,po_distributions_all pod
												WHERE   apd.project_id &gt; 0
												AND     ah.invoice_id = apd.invoice_id
												AND     pod.po_distribution_id &gt; 0
												AND     pod.po_distribution_id = apd.po_distribution_id
												AND     ah.hold_lookup_code = &apos;PO Deliverable&apos;
												AND     ah.release_lookup_code IS NULL
												GROUP BY pod.po_header_id
												) holds
												,fnd_languages lang
										WHERE   poh.po_header_id = del.business_document_id
										AND     poh.revision_num = del.business_document_version
										AND     poh.po_header_id = holds.po_header_id (+)
										AND     business_document_type IN (&apos;PO_STANDARD&apos;,&apos;RFQ&apos;)
										AND     psco.project_id IN
												(
												SELECT  DISTINCT
														project_id
												FROM    po_distributions_all
												WHERE   po_header_id = poh.po_header_id
												)
										AND     pap.project_id = psco.project_id
										AND     pph.project_id = psco.project_id
										AND     psco.enable_scp_flag = &apos;Y&apos;
										AND     status_lookup.lookup_type = &apos;OKC_DELIVERABLE_STATUS&apos;
										AND     status_lookup.lookup_code = del.deliverable_status
										AND     status_lookup.VIEW_APPLICATION_ID = 0
                                        AND     status_lookup.SECURITY_GROUP_ID = 0
										AND     status_lookup.language = lang.language_code
										AND     del.deliverable_status not in (&apos;INACTIVE&apos; , &apos;CANCELLED&apos;)
										AND     lang.installed_flag in (&apos;I&apos;, &apos;B&apos;)
										AND     nvl(deliverabletypes_tl.language, lang.language_code) = lang.language_code
										AND     deliverabletypes_tl.deliverable_type_code = del.deliverable_type
										AND     nvl(busdoctypes_tl.language, lang.language_code) = lang.language_code
										AND     busdoctypes_tl.document_type = del.business_document_type
										AND     poh.style_id = ps.style_id
										AND 	repb.document_type_class = reptl.document_type_class(+)
										AND     repb.resp_party_code = reptl.resp_party_code(+)
										AND     nvl (repb.intent , &apos;XXX&apos;) = nvl (reptl.intent  ,&apos;XXX&apos;)
										AND     nvl(reptl.language, lang.language_code) = lang.language_code
										AND     repb.resp_party_code(+) = del.responsible_party
										AND     nvl(repb.document_type_class, &apos;PO&apos;) = &apos;PO&apos;
										AND  LANG.LANGUAGE_CODE in (&apos;US&apos;))
										) PIVOT (
										 MAX(business_document_type) AS BUSINESS_DOCUMENT_TYPE,
										 MAX(deliverable_type) AS DELIVERABLE_TYPE,
										 MAX(party_name) AS PARTY_NAME,
										 MAX(responsible_party) AS RESPONSIBLE_PARTY,
										 MAX(deliverable_status) AS DELIVERABLE_STATUS
										for LANGUAGE in (&apos;US&apos; &quot;US&quot;)
										 )
) x
where
2=2</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <REPORT_NAME>ECC شراء المشروع, المخرجات المحتملة</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <REPORT_NAME>ECC Projektbeschaffung, Leistungen</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>E</LANGUAGE>
    <REPORT_NAME>ECC Project Procurement, Entregables</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <REPORT_NAME>ECC Project Procurement, Délivrables</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <REPORT_NAME>ECC Acquisti progetto, Deliverable</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <REPORT_NAME>ECC プロジェクト調達, 提出物</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>KO</LANGUAGE>
    <REPORT_NAME>ECC 프로젝트 조달, 산출물</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <REPORT_NAME>ECC Закупки для проекта, Позиции поставки</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <REPORT_NAME>ECC Projektupphandling, Leverabler</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <REPORT_NAME>ECC Proje Tedariği, Teslim Edilecek Çıktılar</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>ECC Project Procurement, Deliverables</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <REPORT_NAME>ECC Project Procurement, 可交付物</REPORT_NAME>
    <DESCRIPTION>Imported from Enterprise Command Center
Dataset Key: po-proc-deliverables
Query Procedure: PO_PPCC_ECC_UTIL_PVT.LOAD_ECC_DATA_FULL
Security Procedure: PO_PPCC_ECC_UTIL_PVT.GetFilterAttributeValues</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enterprise Command Center</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
  </ANCHORS>
  <PARAMETERS>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
  </PARAMETER_DEPENDENCIES>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
  <UPLOAD_DEPENDENCIES>
  </UPLOAD_DEPENDENCIES>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
