Description
SR SELECT cib.incident_id, cib.incident_number incident_number, cisl.NAME incident_status, cisl.description incident_status_description, csev.NAME cs_severity, csev.description cs_serverity_des, /* TrackIT 141852 */ csurg.NAME cs_urgency, csurg.description cs_urgency_des, /* TrackIT 141852 */ cib.problem_description incident_description, citl.summary incident_summary, cib.last_update_date last_update_date, cib.last_updated_by last_updated_by, cib.incident_date incident_date, cib.incident_occurred_date incident_occurred_date, cib.incident_resolved_date incident_resolved_date, cib.creation_date incident_creation_date, cib.close_date incident_close_date, cib.open_flag open_flag, cib.problem_code problem_code, look1.description problem_code_description, /* TrackIT 123370 */ cib.current_serial_number current_serial_number, cib.resolution_code resolution_code, look2.description resolution_code_description, /* TrackIT 123370 */ cib.web_entry_flag web_entry_flag, cib.status_flag status_flag, ssp.attribute2 survey_flag, msi.segment1 product, cib.product_name product_name, msi.description product_description, sr_group.group_name owning_group, sr_eng.resource_name support_engineer, cib.sr_creation_channel sr_creation_channel, u.user_name logged_person, ttl.NAME incident_type, ttl.description incident_type_description, hp.party_number customer_number, hca.account_number customer_account, hp.party_name customer_name, (SELECT 'party_address' FROM DUAL ) address_type, hp.address1 address1, hp.address2 address2, hp.address3 address3, hp.address4 address4, hp.city city, hp.state state, hp.postal_code postal_code, hp.country country, cib.site_id site_id, cib.customer_site_id customer_site_id, cii.external_reference configuration, cii.serial_number serial_number, sr_party.sub_party_name contact_name, cgcv.phone_country_code phone_country_code, cgcv.phone_area_code phone_area_code, cgcv.phone_number phone_number, cgcv.email_address email_address, cia.creation_date group_assigned_date, --Added for trackit# 213714 cib.incident_attribute_1 software_version, --Raj-added for TrackIT# 248845 nuan_cs_notes(cib.incident_id) consolidated_notes -- Raj-added for TrackIt#2 36960 FROM fnd_user u, cs_hz_sr_contact_points cp, csi_item_instances cii, hz_parties hp, hz_cust_accounts hca, cs_incident_types_tl ttl, mtl_system_items_b msi, cs_incident_statuses_tl cisl, cs_incidents_all_tl citl, cs_incidents_all_b cib, --Added for trackit# 213714 cs_incidents_audit_b cia, jtf.jtf_rs_groups_tl sr_group, jtf.jtf_rs_resource_extns_tl sr_eng, apps.csc_hz_parties_self_v sr_party, apps.xxcust_csc_gs_contacts_v cgcv, hz_parties ssp, cs_lookups look1, /* TrackIT 123370 */ cs_lookups look2, /* TrackIT 123370 */ cs_incident_severities_tl csev, /* TrackIT 141852 */ cs_incident_urgencies_tl csurg /* TrackIT 141852 */ WHERE 1 = 1 -- AND cib.org_id = 539 --Commented for Trackit 166662 -- AND cib.incident_number = '100907330' --'100796 748' AND cib.incident_id = citl.incident_id AND citl.LANGUAGE = 'US' AND cib.incident_status_id = cisl.incident_status_id AND cisl.LANGUAGE = 'US' AND cib.incident_type_id = ttl.incident_type_id AND ttl.LANGUAGE = 'US' AND cib.inventory_item_id = msi.inventory_item_id(+) AND cib.inv_organization_id = msi.organization_id(+) AND cib.customer_id = hp.party_id AND cib.account_id = hca.cust_account_id(+) -- AND hca.party_id = hp.party_id(+) /*Commented for Trackit #279155*/ AND cib.customer_product_id = cii.instance_id(+) AND cib.incident_id = cp.incident_id(+) AND cp.party_id = cgcv.party_id(+) AND cp.party_id = sr_party.party_id(+) AND cp.primary_flag = 'Y' AND cib.created_by = u.user_id AND ssp.party_id(+) = cp.party_id AND sr_eng.resource_id(+) = cib.incident_owner_id AND sr_group.GROUP_ID(+) = cib.owner_group_id AND cib.problem_code = look1.lookup_code(+) /* TrackIT 123370 */ AND look1.lookup_type(+) = 'REQUEST_PROBLEM_CODE' estdtl. fndu2.installed_cp_return_by_date. lk1. bp.line_number. estdtl. asop.address2 ' ' hl1. estdtl. estdtl.incident_urgency_id(+) /* TrackIT 141852 */ /* Added for trackit# 213714 */ AND cia.unit_of_measure_code.description created_by.order_line_id.last_update_login. inc.original_source_id.incident_id AND cia1.change_group_flag = 'Y' ) /* end of code for trackit# 213714 */ SR Charges SELECT estdtl.meaning material_billing_desc. mtl.order_type_id.description mtl_item. bp.est_tax_amount.last_update_date. estdtl.owner_group_id AND cia1. 1.incident_severity_id = csev. estdtl.incident_id AND cia.creation_date. estdtl.NAME line_type_name. estdtl.rollup_flag. asoh./* TrackIT 123370 */ AND cib.source_code.incident_id. estdtl.conversion_rate_date.account_id. 220 .updated_entity_code = 'SR_HEADER' AND cia1.business_process_id.customer_id party_id. estdtl.order_header_id. estdtl. estdtl. estdtl. lk2. estdtl.lookup_type(+) = 'REQUEST_RESOLUTION_CODE' /* TrackIT 123370 */ AND cib. estdtl.meaning.price_list_header_id. estdtl. asoh.order_number order_num.NAME business_process_name.ordered_date order_date.serial_number. fndu1.conversion_type_code. estdtl. estdtl.currency_code. estdtl. estdtl.line_type_id.tax_code.original_source_code.incident_severity_id(+) /* TrackIT 141852 */ AND cib. estdtl.lookup_code(+) /* TrackIT 123370 */ AND look2.incident_id = cib. asol. estdtl.address1 ' ' hl1.func_curr_aft_warr_cost.coverage_bill_rate_id.source_id.incident_id = cib.new_cp_return_by_date.billing_type material_billing_flag.conversion_rate. estdtl.after_warranty_cost. alty. estdtl. estdtl.description last_update_by.NAME price_list_name. estdtl.line_number order_line_num.selling_price.resolution_code = look2.quantity_required. inc. estdtl.address3 ' ' hl1.incident_urgency_id = csurg.address4.invoice_to_org_id bill_to. estdtl.interface_to_oe_flag.line_category_code. estdtl. estdtl.return_reason_code. tbt. estdtl.add_to_order_flag.incident_audit_id = (SELECT MAX (incident_audit_id) FROM cs_incidents_audit_b cia1 WHERE cia1. inc.NAME ttype.customer_product_id. SUBSTR ( hl1. estdtl. ttt. ttb. estdtl. estdtl.txn_billing_type_id. estdtl.org_id. estdtl.GROUP_ID = cib.revision_flag. estdtl. estdtl.ship_to_org_id ship_to.estimate_detail_id. transaction_type_id. estdtl.city bcity. estdtl. estdtl. estdtl. 'NEW'. -999. 'SUBMITTED' ) ) line_status. DECODE (estdtl.generated_by_bca_engine_flag.address1 ' ' hl2. estdtl.invoice_to_account_id. hl2. -999.purchase_order_num cust_po_number.ship_to_party_id.ship_to_contact_id.order_line_id. estdtl.rate_name rate_type.org_id.address3 ' ' hl2.list_price. okh.object_version_number. estdtl. 0. okbr. okc. estdtl.line_submitted. estdtl.after_warranty_cost.bill_to_party_id. 'xxx'.charge_line_type. SUBSTR ( hl2.activity_start_date_time. estdtl. estdtl.state sstate. estdtl. estdtl. DECODE (estdtl. -999). hl2.country scountry.no_charge_flag. estdtl.submit_restriction_message. hl2. 'ESTIMATE'. .transaction_inventory_org. -999).postal_code bpostal_code.address2 ' ' hl2.activity_end_date_time. 'NEW'. estdtl. estdtl.country bcountry. DECODE (NVL (estdtl. 0 ) ) total_unsubmitted.transaction_sub_inventory. 220 ) ship_to_address. 'xxx' ).contract_id. estdtl.charge_line_type. hl1. estdtl.state bstate. estdtl.charge_line_type. estdtl.address4.) bill_to_address.submit_error_message. estdtl. 0 ) total_estimate.exception_coverage_used.charge_line_type. 1.bill_to_contact_id.postal_code spostal_code. estdtl. estdtl.item_revision. 'ESTIMATE'. hl1. DECODE (estdtl.coverage_id. 'xxx').ship_to_account_id. 'ESTIMATE'.submit_restriction_message. hl1. hl2. 'IN_ERROR' ). 'NEW'.NAME coverage. estdtl.after_warranty_cost.coverage_txn_group_id. estdtl. estdtl.city scity.contract_discount_amount. 'IN_PROGRESS'.contract_number. 'xxx'. estdtl. estdtl.submit_from_system. DECODE (NVL (estdtl.order_line_id. estdtl. estdtl. hl1. 'FOR_REVIEW' ). DECODE (NVL (estdtl.submit_error_message. DECODE (NVL (estdtl. cs_lookups lk2.location_id(+) AND estdtl.LANGUAGE(+) = USERENV ('LANG') AND estdtl. -999).incident_id --AND estdtl. oe_order_lines_all asol.user_id AND ctboa.line_type_id = alty.txn_billing_type_id(+) AND estdtl. okc_k_lines_tl okc.location_id = hl1. 0.txn_billing_type_id = ctboa.party_site_id(+) AND hp1. cs_estimate_details estdtl.organization_id(+) = cs_std.incident_id = 642844 AND estdtl.created_by = fndu2.business_process_id = bp. cs_transaction_types_tl ttt.location_id = hl2. mtl_system_items mtl.LANGUAGE(+) = USERENV ('LANG') AND estdtl. lk3.contract_id = okh.start_date(+) IS NOT NULL AND okh.header_id(+) .DECODE (estdtl. cs_business_processes bp.bill_rate_id(+) AND estdtl.txn_billing_type_id(+) AND tbt. hz_locations hl1.last_updated_by = fndu1.transaction_type_id(+) AND estdtl.incident_id = inc.org_id(+) AND estdtl.inventory_item_id(+) AND mtl. hz_party_sites hp1.LANGUAGE(+) = USERENV ('LANG') AND estdtl.txn_billing_type_id = tbt. fnd_user fndu2.inventory_item_id = mtl.business_process_id AND estdtl.user_id AND estdtl.transaction_type_id(+) AND ttt.list_header_id(+) AND asop.invoice_to_org_id = hp1.transaction_type_id = ttb.charge_line_type. estdtl. cs_txn_billing_types tbt.coverage_bill_rate_id = okbr.order_line_id.coverage_id = okc. hz_locations hl2. -999. DECODE (NVL (estdtl. oe_transaction_types_tl alty.ID(+) AND okh. cs_lookups lk1.get_item_valdn_orgzn_id AND estdtl.ship_to_org_id = hp2. fnd_user fndu1.after_warranty_cost ) ) total_submitted. oe_order_headers_all asoh.end_date(+) IS NOT NULL AND estdtl. cs_lookups lk3 WHERE estdtl.location_id(+) AND hp2.org_id = ctboa. oks_ent_bill_rates_v okbr.meaning line_status_meaning FROM qp_list_headers_tl asop.LANGUAGE(+) = USERENV ('LANG') AND estdtl. okc_k_headers_b okh.transaction_type_id = ttt.price_list_header_id = asop. cs_incidents_all_b inc. 'ESTIMATE'. cs_txn_billing_oetxn_all ctboa.party_site_id(+) AND estdtl.order_header_id = asoh. hz_party_sites hp2. cs_transaction_types_b ttb.ID(+) AND okc.transaction_type_id(+) AND alty. 0. billing_type lk3.incident_id.lookup_code(+) = DECODE (estdtl.NAME incident_type. MAX (time_calc.moved_to_assigned_date ) ). ( time_calc1. 2 ) moved_to_assigned_status. 2 ) moved_from_assigned_days FROM (SELECT time_calc. citl. ROUND (( time_calc1. jrgt.0). 'xxx'.sr_creation_channel sr_creation_channel. 'FOR_REVIEW' ). cib. hp.moved_to_assigned_date ) moved_to_assigned_date. DECODE (NVL (estdtl.order_line_id = asol.resource_name support_engineer.time_calc1.incident_creation_date ). ttl.lookup_type(+) = 'MTL_SERVICE_BILLABLE_FLAG' lk2. ROUND (DECODE (time_calc1.party_name customer_name.moved_from_assigned_date.submit_error_message. 'xxx').last_update_date last_update_date.order_line_id.summary incident_summary.incident_id. 'IN_ERROR' ). 'SUBMITTED' ) ) SR Details SELECT cib.time_calc1. cisl. 'xxx' ). DECODE (NVL (estdtl. 'IN_PROGRESS'. time_calc. 'xxx'. MAX .submit_restriction_message.AND AND AND AND AND AND AND estdtl.NAME cs_severity. cib.lookup_type(+) = 'ESTIMATE_SOURCE' lk2.incident_number incident_number.lookup_code(+) = tbt.creation_date incident_creation_date. jrre.moved_from_assigned_date . 'ESTIMATE'.original_source_code = lk1.line_id(+) estdtl. 'NEW'.charge_line_type. csev. -999. -999.lookup_code(+) lk1.0.incident_creation_date. 'mm/dd/yyyy'). cib. cib.NAME incident_status. 'NEW'.group_name owning_group. 'NEW'. DECODE (NVL (estdtl. 0.lookup_type(+) = 'CS_CHG_LINE_STATUS' lk3. TO_DATE ('01/01/1900'.moved_to_assigned_date . cia.party_id jrre.incident_id. cs_incident_severities_tl csev. cs_incidents_audit_b cia WHERE 1 = 1 AND cib. jrret. cs_incident_types_tl ttl. cia.incident_id = time_calc1.NAME type.incident_owner_id jrgt.NAME Status.incident_id AND cia. hp.party_type customer_type. cs_incident_statuses_tl cisl.incident_id citl.incident_id.resource_id(+) = cib. cib.incident_date. hp.moved_from_assigned_date ) moved_from_assigned_date FROM (SELECT cib. cs_incidents_audit_b cia WHERE 1 = 1 AND cib. .GROUP_ID(+) = cib. 'mm/dd/yyyy' ) moved_from_assigned_date FROM cs_incidents_all_b cib. hp. 'mm/dd/yyyy' ) moved_to_assigned_date.NAME <> 'Solved' WHERE AND AND AND AND AND AND AND AND AND AND AND SR Log Notes SELECT ciab. hz_parties hp cib.NAME severity.old_incident_status_id = 103 AND cia.jtf_rs_resource_extns_tl jrre.party_name customer_name.incident_id = citl.incident_status_id <> 1 UNION ALL SELECT cib.party_id .incident_creation_date) tim e_calc1. cs_incidents_all_tl citl. time_calc. jrgt.incident_id(+) = cib. cib.incident_id(+) = cib.old_incident_status_id = 1 AND cia. hp.creation_date moved_to_assigned_date.LANGUAGE = 'US' cib.party_number customer_number.incident_severity_id = csev.customer_id = hp.sr_creation_channel = 'WEB' AND cia. TO_CHAR (ciab.owner_group_id cib.(time_calc.group_name group_name.creation_date moved_from_assigned_date FROM cs_incidents_all_b cib.incident_id cib. cs_incidents_all_b cib.incident_number .incident_severity_id(+) cisl.creation_date incident_creation_date.sr_creation_channel = 'WEB' AND cia.creation_date incident_creation_date. citt.LANGUAGE = 'US' cib. jtf.jtf_rs_groups_tl jrgt.incident_status_id = cisl. jtf. TO_DATE ('01/01/1900'.incident_id AND cia. 'DD-MON-YYYY HH24:MI: SS') reported.LANGUAGE = 'US' cib.incident_status_id cisl.incident_id. cisvt.incident_type_id ttl. TO_DATE ('01/01/1900'.resource_name owner.incident_status_id <> 103) time_calc GROUP BY time_calc.incident_type_id = ttl. cist. mtl_categories mc.account_number . cs_incident_severities_b cisvb.incident_type_id ciab.LANGUAGE IS NULL) severity2.incident_severity_id = cisvt. cs_incident_severities_tl cisvt.GROUP_ID ciab.incident_status_id ciab.last_updated_by lkp. jtf_rs_resource_extns_tl jrret.incident_type_id = citt.party_type FROM WHERE AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND .incident_severity_id cisvb.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' lkp.audi.LANGUAGE IS NULL) audi.incident_severity_id = cisvb.incident_severity_id = cisvt.incident_status_id ciab.user_id = fu.old_incident_severity_id (severity1.owner_group_id = jrgt. cs_incident_types_tl citt.owner_group_id = jrgb.resource_id or jrret. cs_incident_severities_tl severity1.caller_type = hp.incident_status_id cisb. jtf_rs_groups_b jrgb.user_id = audi.change_incident_severity_flag = 'Y' audi.incident_status_id = cisb. ext_user.user_id fu.creation_date.incident_owner_id=jrret.incident_type_id citb.description item_description .GROUP_ID jrgb. mtl_parameters mp 1=1 -.incident_status_id = cist. jtf_rs_groups_tl jrgt. cs_incident_severities_tl severity2. msi.GROUP_ID = jrgt.LANGUAGE = USERENV ('LANG') OR severity1.Severity' source_type. cs_incident_statuses_b cisb. mtl_system_items_b msi.segment1 item.email_address . 'DD-MON-YYYY HH24:MI:SS') creation_date.resource_id = jrret.incident_type_id = citt. msi.incident_severity_id (severity2. hz_parties hp.resource_id(+) jrre.incident_type_id = citb.incident_severity_id ciab.incident_severity_id(+) = audi.incident_severity_id ciab. mc. cs_lookups lkp. jtf_rs_resource_extns jrre.incident_owner_id = jrre.NAME "Logs And Notes" fnd_user fu.incident_id = :p_incident_id ext_user.source_name ' (' fu.LANGUAGE = USERENV ('LANG') OR severity2. TO_CHAR (audi. hz_cust_accounts hca. hp.resource_id is null) ciab.NAME. cs_incidents_all_b ciab . cs_incident_statuses_tl cist. 'Audit.incident_id ciab.incident_type_id ciab. ' ') ' --------> ' severity2.lookup_code = 'SR_HEADER' severity1. 'Severity:' '-------->' NVL (severity1. jtf_rs_resource_extns ext_user.hca.incident_id = ciab. cs_incident_types_b citb.GROUP_ID ciab.incident_status_id = cist.resource_id(+) (ciab.segment1 CATEGORY. cs_incidents_audit_b audi.incident_severity_id(+) = audi.user_name ')' user_name. old_incident_type_id AND (type1. cist. ext_user.organization_code IS NULL) UNION ALL SELECT ciab.incident_type_id = citt. cs_incident_types_tl citt. 'DD-MON-YYYY HH24:MI:SS') creation_date.incident_type_id(+) = audi. cs_incident_statuses_b cisb. hp. 'Audit.user_name ')' user_name.incident_type_id AND (type2.organization_id = mp.category_id = mc.incident_id AND ciab. jtf_rs_resource_extns jrre.party_number customer_number.organization_code = 'MLB' OR mp.user_id = audi. cs_incident_severities_tl cisvt. cs_incident_types_tl type2. cs_incident_types_b citb. hp.resource_name owner. jtf_rs_resource_extns ext_user. hz_cust_accounts hca.description item_description . hz_parties hp.incident_type_id .incident_type_id AND citb.category_id(+) AND ciab. hp.segment1 CATEGORY.incident_type_id(+) = audi.cust_account_id AND ciab. hca.source_name ' (' fu.party_id . mc.audi.NAME.segment1 item.group_name group_name.incident_number .Type' source_type. TO_CHAR (ciab. mtl_categories mc. hp. cs_incidents_audit_b audi.user_id = fu.NAME Status. jrret. msi.NAME type. msi.customer_id = hp. cs_incident_severities_b cisvb.inventory_item_id(+) AND msi. cs_incidents_all_b ciab. 'DD-MON-YYYY HH24:MI: SS') reported.inventory_item_id = msi. jrgt.party_type customer_type.LANGUAGE IS NULL) AND audi.incident_date.LANGUAGE = USERENV ('LANG') OR type2. jtf_rs_groups_tl jrgt. cs_lookups lkp.creation_date. citt. cisvt.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp. hp.party_id AND ciab.user_id AND fu.LANGUAGE IS NULL) AND type2.account_id = hca.incident_id = :p_incident_id AND ext_user.account_number . TO_CHAR (audi.organization_id(+) AND (mp. ' ') ' --------> ' type2.LANGUAGE = USERENV ('LANG') OR type1.NAME "Logs And Notes" FROM fnd_user fu.AND ciab. jtf_rs_resource_extns_tl jrret.change_incident_type_flag = 'Y' AND audi. --cs_incidents_all_b ciab1.NAME severity.email_address . jtf_rs_groups_b jrgb.incident_id = ciab. mtl_parameters mp WHERE 1=1 -. cs_incident_types_tl type1.lookup_code = 'SR_HEADER' AND type1. mtl_system_items_b msi.incident_type_id = citb. 'Type:' '-------->' NVL (type1.party_name customer_name.last_updated_by AND lkp. cs_incident_statuses_tl cist. cs_incidents_audit_b audi.segment1 item. citt.Status' source_type. cs_incident_types_tl citt.cust_account_id AND ciab. cs_lookups lkp.incident_status_id = cist.party_id --and hp.category_id(+) AND ciab.incident_severity_id AND ciab.incident_status_id = cisb.creation_date.category_id = mc.GROUP_ID AND ciab. ' ') ' --------> ' status2.incident_status_id AND ciab.caller_type = hp.resource_id is null) AND ciab. 'Audit.party_number customer_number.organization_id(+) AND (mp.incident_owner_id=jrret.incident_status_id AND cisb.account_number .party_type AND ciab.resource_id(+) AND jrre. hp.NAME type.GROUP_ID AND jrgb.incident_owner_id = jrre.resource_id or jrret. cs_incidents_all_b ciab.incident_severity_id AND ciab.incident_number .source_name ' (' fu. cs_incident_statuses_tl status2. msi. 'DD-MON-YYYY HH24:MI: SS') reported.incident_severity_id = cisvb.account_id = hca.organization_code IS NULL) UNION ALL SELECT ciab. hp. hp. --cs_incidents_all_b ciab1.incident_severity_id AND cisvb. cs_incident_statuses_b cisb. cs_incident_statuses_tl cist.cust_account_id AND ciab.organization_id = mp.owner_group_id = jrgt. cs_incident_severities_tl cisvt.description item_description . jtf_rs_resource_extns ext_user.customer_id = hp. TO_CHAR (ciab.resource_id = jrret.GROUP_ID = jrgt.incident_severity_id = cisvt.NAME Status. .incident_status_id AND ciab.party_name customer_name. hp. jtf_rs_groups_tl jrgt.party_id .segment1 CATEGORY. ext_user.resource_id(+) AND (ciab. 'DD-MON-YYYY HH24:MI:SS') creation_date. jtf_rs_groups_b jrgb. jtf_rs_resource_extns_tl jrret. TO_CHAR (audi. msi. cs_incident_severities_b cisvb.incident_status_id = cist.incident_type_id AND ciab.incident_severity_id = cisvt. mtl_categories mc.incident_date.NAME severity.NAME.inventory_item_id(+) AND msi. 'Status:' '-------->' NVL (status1. hp. cs_incident_types_b citb. cisvt.party_type customer_type.AND ciab.organization_code = 'MLB' OR mp. cs_incident_statuses_tl status1. hca. hz_cust_accounts hca.resource_name owner. mc.inventory_item_id = msi. cist. hz_parties hp.owner_group_id = jrgb. jrgt.NAME "Logs And Notes" FROM fnd_user fu. jtf_rs_resource_extns jrre.user_name ')' user_name.party_id=hca1.incident_type_id = citt. jrret.email_address .group_name group_name.GROUP_ID AND ciab. mtl_system_items_b msi. incident_type_id = citb.source_name ' (' fu.GROUP_ID AND ciab.party_number customer_number.owner_group_id = jrgb.NAME.segment1 CATEGORY.incident_id = :p_incident_id AND ext_user.resource_id or jrret. ' ') ' --------> ' urgency2.party_id .NAME "Logs And Notes" FROM fnd_user fu. TO_CHAR (audi. hp.incident_status_id = cist. hp.category_id = mc.incident_number .incident_severity_id = cisvb.resource_id(+) AND jrre. 'DD-MON-YYYY HH24:MI:SS') creation_date. cs_lookups lkp.incident_severity_id AND cisvb.incident_status_id = cist. jtf_rs_resource_extns ext_user. ext_user.incident_id AND ciab.segment1 item.incident_owner_id = jrre.customer_id = hp.GROUP_ID = jrgt.GROUP_ID AND jrgb.email_address .LANGUAGE IS NULL) AND status2. hca.caller_type = hp. cs_incidents_audit_b audi. jrret.party_type AND ciab.organization_id(+) AND (mp.party_id --and hp.incident_status_id AND (status2.LANGUAGE = USERENV ('LANG') OR status2. mc. .account_id = hca.account_number . msi.audi.change_incident_status_flag = 'Y' AND audi.incident_severity_id AND ciab.owner_group_id = jrgt. cs_incident_urgencies_tl urgency1.incident_severity_id AND ciab. cisvt.incident_type_id = citt. hp.incident_severity_id = cisvt.last_updated_by AND lkp.organization_code IS NULL) UNION ALL SELECT ciab.incident_severity_id = cisvt. citt.lookup_code = 'SR_HEADER' AND status1.organization_id = mp.party_name customer_name. cs_incident_urgencies_tl urgency2.incident_type_id AND citb.user_id = fu.old_incident_status_id AND (status1.Urgency' source_type.incident_status_id AND cisb.incident_date.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp.user_id = audi.incident_type_id AND ciab.NAME severity. jrgt.cust_account_id AND ciab.incident_type_id AND ciab.GROUP_ID AND ciab.resource_id is null) AND ciab. 'Audit.mtl_parameters mp WHERE 1=1 -. --cs_incidents_all_b ciab1.incident_status_id AND ciab. TO_CHAR (ciab.user_id AND fu.resource_id = jrret.description item_description .resource_id(+) AND (ciab. cs_incidents_all_b ciab.group_name group_name. hp.inventory_item_id = msi.NAME Status.category_id(+) AND ciab.incident_type_id = citt.organization_code = 'MLB' OR mp.incident_status_id(+) = audi. cist.LANGUAGE = USERENV ('LANG') OR status1.cust_account_id AND ciab.incident_status_id(+) = audi.resource_name owner.incident_status_id = cisb.party_type customer_type. 'Urgency:' '-------->' NVL (urgency1.creation_date.incident_status_id AND ciab.LANGUAGE IS NULL) AND audi. msi.user_name ')' user_name.inventory_item_id(+) AND msi. hp. 'DD-MON-YYYY HH24:MI: SS') reported.party_id=hca1.incident_owner_id=jrret.incident_id = ciab.NAME type. incident_urgency_id AND (urgency2. mtl_categories mc.user_id AND fu.incident_id = :p_incident_id AND ext_user.incident_type_id AND ciab.incident_status_id = cist. cs_incident_severities_tl cisvt. cs_incident_statuses_b cisb.LANGUAGE IS NULL) AND urgency2.category_id(+) AND ciab. ext_user.incident_id = ciab. msi.Group' source_type.NAME type.party_id . jrgt. jtf_rs_resource_extns jrre. hp.incident_number .incident_status_id AND cisb.inventory_item_id(+) AND msi.old_incident_urgency_id AND (urgency1.party_name customer_name.source_name ' (' fu.incident_id AND ciab.incident_severity_id = cisvb.incident_urgency_id(+) = audi.incident_status_id = cisb.organization_code IS NULL) UNION ALL SELECT ciab. 'Audit.resource_id or jrret. hp.resource_id is null) AND ciab.incident_type_id AND ciab.resource_id(+) AND jrre.incident_severity_id AND ciab.LANGUAGE = USERENV ('LANG') OR urgency2.description item_description .resource_name owner.incident_severity_id AND cisvb.organization_code = 'MLB' OR mp.inventory_item_id = msi.customer_id = hp.user_id = fu. cisvt. hp.incident_severity_id = cisvt.cust_account_id AND ciab.organization_id(+) AND (mp.owner_group_id = jrgb.segment1 CATEGORY. msi.NAME severity. jtf_rs_groups_tl jrgt.user_id = audi.segment1 item. jtf_rs_resource_extns_tl jrret. hz_parties hp.change_incident_urgency_flag = 'Y' AND audi.user_name ')' user_name.incident_severity_id = cisvt.incident_type_id AND citb.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp. jrret. 'DD-MON-YYYY HH24:MI: SS') reported. cs_incident_types_tl citt. jtf_rs_groups_b jrgb.organization_id = mp. hca.incident_owner_id=jrret.account_number .incident_status_id = cist.category_id = mc.incident_type_id = citb. .resource_id(+) AND (ciab.group_name group_name.owner_group_id = jrgt. hz_cust_accounts hca.GROUP_ID = jrgt.party_id=hca1. cs_incident_severities_b cisvb.audi.party_type customer_type.last_updated_by AND lkp.cs_incident_types_b citb.incident_owner_id = jrre.email_address .GROUP_ID AND ciab. mtl_system_items_b msi.account_id = hca. cist. hp.LANGUAGE IS NULL) AND audi.party_type AND ciab.caller_type = hp.NAME Status. citt.GROUP_ID AND ciab. mc.LANGUAGE = USERENV ('LANG') OR urgency1. cs_incident_statuses_tl cist.incident_urgency_id(+) = audi.incident_status_id AND ciab.incident_type_id = citt. hp.incident_status_id AND ciab. mtl_parameters mp WHERE 1=1 -.incident_severity_id AND ciab.lookup_code = 'SR_HEADER' AND urgency1.incident_type_id = citt.party_id --and hp.GROUP_ID AND jrgb. TO_CHAR (ciab.cust_account_id AND ciab.party_number customer_number.incident_date.resource_id = jrret. --cs_incidents_all_b ciab1. jtf_rs_groups_tl grp2.LANGUAGE = USERENV ('LANG') OR team2.team_id(+) = audi. team1.incident_type_id ciab.incident_type_id = citt. cs_incidents_audit_b audi. jtf_rs_resource_extns_tl jrret. cs_incident_types_tl citt. 'RS_TEAM'. jtf_rs_resource_extns jrre.LANGUAGE IS NULL) grp2. team2.user_id = fu. cs_incident_severities_b cisvb.group_type.audi.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' lkp. jtf_rs_groups_tl grp1.LANGUAGE = USERENV ('LANG') OR team1.LANGUAGE = USERENV ('LANG') OR grp2.incident_status_id cisb.team_id(+) = audi. hz_parties hp.incident_type_id = citb.incident_status_id ciab.GROUP_ID (grp2.incident_id ciab.lookup_code = 'SR_HEADER' team1.creation_date. ' ' ) ' --------> ' DECODE (audi.incident_status_id = cist.group_name ) "Logs And Notes" fnd_user fu.incident_id = ciab. mtl_categories mc.old_group_id (team1. 'DD-MON-YYYY HH24:MI:SS') creation_date. 'RS_TEAM'.LANGUAGE IS NULL) audi. cs_incident_severities_tl cisvt. jtf_rs_resource_extns ext_user. mtl_system_items_b msi. grp2. jtf_rs_teams_tl team2. grp1.GROUP_ID (team2.incident_status_id = cisb. 'RS_GROUP'.incident_status_id = cist.old_group_type.group_name ). mtl_parameters mp 1=1 -. cs_incidents_all_b ciab. cs_incident_types_b citb.LANGUAGE IS NULL) team2. 'Group:' '-------->' NVL (DECODE (audi.last_updated_by lkp.change_group_flag = 'Y' audi.incident_id = :p_incident_id ext_user. cs_lookups lkp.incident_status_id . cs_incident_statuses_b cisb. jtf_rs_groups_b jrgb. 'RS_GROUP'.user_id fu.user_id = audi. hz_cust_accounts hca.GROUP_ID(+) = audi.incident_type_id ciab.team_name. jtf_rs_groups_tl jrgt.team_name. cs_incident_statuses_tl cist. jtf_rs_teams_tl team1.FROM WHERE AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND TO_CHAR (audi.old_group_id (grp1.GROUP_ID(+) = audi.LANGUAGE = USERENV ('LANG') OR grp1.incident_type_id citb.LANGUAGE IS NULL) grp1.incident_type_id = citt. hz_parties hp. ext_user.caller_type = hp. ' ') ' --------> ' obj4. jtf_rs_resource_extns jrre.GROUP_ID = jrgt. jtf_objects_tl obj4.party_id --and hp.group_name group_name. mtl_system_items_b msi. jrret. jrgt.account_number .Group Type' source_type.cust_account_id AND ciab. hp. cist.incident_severity_id AND ciab. 'Group Type:' '-------->' NVL (obj3.NAME type.party_id .incident_owner_id=jrret.party_type customer_type. jtf_rs_groups_tl jrgt. TO_CHAR (audi.party_id=hca1.resource_id(+) AND jrre.incident_severity_id = cisvt.NAME Status.AND ciab. hca.user_name ')' user_name. jtf_rs_groups_b jrgb. 'DD-MON-YYYY HH24:MI:SS') creation_date.description item_description .resource_id = jrret. TO_CHAR (ciab.NAME "Logs And Notes" FROM fnd_user fu.inventory_item_id = msi.NAME.segment1 CATEGORY.incident_severity_id = cisvt. cs_incidents_all_b ciab.category_id = mc.GROUP_ID AND jrgb.NAME severity.cust_account_id AND ciab.incident_id = :p_incident_id AND ext_user.owner_group_id = jrgb.last_updated_by .incident_owner_id = jrre.organization_code = 'MLB' OR mp.incident_date. cs_incident_types_b citb. hp.incident_severity_id AND ciab.segment1 item.user_id = audi. 'DD-MON-YYYY HH24:MI: SS') reported. cs_incidents_audit_b audi.source_name ' (' fu. jtf_objects_tl obj3.audi.account_id = hca.incident_severity_id = cisvb.inventory_item_id(+) AND msi. cisvt. hp.party_name customer_name.GROUP_ID AND ciab. cs_incident_statuses_tl cist.incident_number .party_number customer_number.customer_id = hp. jtf_rs_resource_extns ext_user. cs_lookups lkp.category_id(+) AND ciab.resource_id(+) AND (ciab. cs_incident_statuses_b cisb.party_type AND ciab. citt.user_id AND fu.owner_group_id = jrgt.organization_code IS NULL) UNION ALL SELECT ciab. mtl_categories mc.resource_id or jrret.resource_id is null) AND ciab. jtf_rs_resource_extns_tl jrret. hp. cs_incident_severities_tl cisvt.GROUP_ID AND ciab. mtl_parameters mp WHERE 1=1 -. hp. cs_incident_severities_b cisvb. mc.incident_severity_id AND cisvb. --cs_incidents_all_b ciab1.resource_name owner.email_address .creation_date.organization_id = mp. msi. 'Audit.organization_id(+) AND (mp. cs_incident_types_tl citt. msi. hz_cust_accounts hca.user_id = fu. incident_id AND ciab. .incident_type_id = citt.incident_type_id AND citb.party_number customer_number.incident_status_id AND ciab.party_type AND ciab.incident_severity_id = cisvb. ext2.object_code(+) = audi.LANGUAGE = USERENV ('LANG') OR obj3.owner_group_id = jrgb.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp. jtf_rs_resource_extns ext_user.segment1 item.object_code(+) = audi.incident_status_id = cist.resource_id is null) AND ciab.incident_status_id = cisb. jrret. msi. jrgt.group_name group_name.inventory_item_id = msi.incident_owner_id = jrre.description item_description .GROUP_ID AND ciab.incident_severity_id = cisvt.category_id(+) AND ciab.incident_id = ciab. hp. ext_user.AND lkp.group_type AND (obj4.organization_code IS NULL) UNION ALL SELECT ciab.GROUP_ID = jrgt.incident_type_id AND ciab.change_group_type_flag = 'Y' AND audi.incident_status_id = cist.source_last_name ' ' ext2.NAME type.GROUP_ID AND ciab. 'DD-MON-YYYY HH24:MI:SS') creation_date.organization_id(+) AND (mp. mc. TO_CHAR (audi.organization_id = mp. cist.resource_id = jrret.creation_date. hp. msi. hp.old_resource_type.source_name ' (' fu.resource_id(+) AND (ciab.incident_date.incident_status_id AND cisb.email_address .incident_type_id = citt.LANGUAGE IS NULL) AND audi.party_id .category_id = mc.account_id = hca.lookup_code = 'SR_HEADER' AND obj3.user_name ')' user_name.LANGUAGE = USERENV ('LANG') OR obj4.resource_name owner.source_first_name ). hp. ext1.GROUP_ID AND jrgb.cust_account_id AND ciab. 'RS_EMPLOYEE'.LANGUAGE IS NULL) AND obj4. cs_lookups lkp.incident_severity_id AND ciab.incident_status_id AND ciab.incident_type_id = citb.incident_severity_id = cisvt.party_type customer_type. cs_incidents_audit_b audi.party_id --and hp.old_group_type AND (obj3.source_last_name ' ' ext1. hp.resource_id or jrret.party_id=hca1.incident_number .resource_id(+) AND jrre.organization_code = 'MLB' OR mp.incident_type_id AND ciab. 'DD-MON-YYYY HH24:MI: SS') reported.cust_account_id AND ciab.incident_owner_id=jrret.incident_severity_id AND cisvb. TO_CHAR (ciab. cisvt.account_number . ' ' ) ' --------> ' DECODE (audi.source_first_name ) "Logs And Notes" FROM fnd_user fu.caller_type = hp.resource_type. hca. 'Owner:' '-------->' NVL (DECODE (audi.incident_severity_id AND ciab.party_name customer_name.inventory_item_id(+) AND msi.segment1 CATEGORY. 'RS_EMPLOYEE'.customer_id = hp.owner_group_id = jrgt.NAME severity.NAME Status. citt. 'Audit.Owner' source_type. group_name group_name.party_id --and hp. cs_incident_statuses_tl cist. cisvt.incident_date. hp.incident_severity_id AND ciab.email_address . jtf_rs_groups_b jrgb.resource_id(+) AND jrre.jtf_rs_resource_extns ext1.resource_name owner.incident_owner_id=jrret. cs_incident_severities_tl cisvt.incident_id = ciab.incident_severity_id AND ciab.change_incident_owner_flag = 'Y' AND audi.organization_code = 'MLB' OR mp. TO_CHAR (ciab. msi. jrgt.user_id = fu.incident_status_id = cist.category_id = mc. mc.cust_account_id AND ciab.party_id . mtl_parameters mp WHERE 1=1 -. hp.incident_type_id AND ciab.user_id = audi. cs_incident_types_tl citt.party_type customer_type. cs_incident_statuses_b cisb. cist.customer_id = hp.organization_id = mp.incident_severity_id = cisvb.segment1 item. msi.party_number customer_number.cust_account_id AND ciab.category_id(+) AND ciab. 'DD-MON-YYYY HH24:MI: SS') reported. jtf_rs_resource_extns_tl jrret.description item_description .account_number .party_id=hca1.incident_severity_id = cisvt. mtl_system_items_b msi. hz_parties hp. jrret. hp.inventory_item_id(+) AND msi.organization_code IS NULL) UNION ALL SELECT ciab. hp.party_name customer_name.GROUP_ID AND ciab.organization_id(+) AND (mp. hp.incident_type_id = citb.incident_severity_id AND cisvb.GROUP_ID = jrgt.segment1 CATEGORY.incident_status_id AND cisb.owner_group_id = jrgb. hca.incident_id AND ciab.incident_severity_id = cisvt.NAME type.resource_id = jrret. citt.old_incident_owner_id AND ext2.GROUP_ID AND jrgb.incident_type_id = citt.incident_status_id = cist. mtl_categories mc.NAME severity. --cs_incidents_all_b ciab1.incident_number .incident_type_id AND ciab.caller_type = hp. cs_incidents_all_b ciab.incident_type_id AND citb. cs_incident_types_b citb.GROUP_ID AND ciab.lookup_code = 'SR_HEADER' AND ext1. jtf_rs_resource_extns ext2.NAME Status.account_id = hca.incident_status_id = cisb.resource_id(+) AND (ciab. hz_cust_accounts hca.resource_id or jrret.audi.incident_status_id AND ciab.incident_id = :p_incident_id AND ext_user.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp.owner_group_id = jrgt.incident_owner_id AND audi.incident_type_id = citt.resource_id(+) = audi. cs_incident_severities_b cisvb. jtf_rs_groups_tl jrgt.resource_id is null) AND ciab.resource_id(+) = audi.incident_status_id AND ciab.incident_owner_id = jrre.party_type AND ciab.user_id AND fu.last_updated_by AND lkp.inventory_item_id = msi. jtf_rs_resource_extns jrre. incident_status_id = cisb.incident_status_id = cist.incident_status_id AND ciab.caller_type = hp. cs_incidents_audit_b audi. jtf_rs_groups_b jrgb. ext_user.incident_owner_id = jrre.object_code(+) = audi.NAME. jtf_rs_groups_tl jrgt. cs_lookups lkp. cs_incident_statuses_b cisb. hz_cust_accounts hca.user_id = audi.source_name ' (' fu.user_id AND fu.incident_type_id AND ciab. cs_incident_types_tl citt.resource_id or jrret. 'Owner Type:' '-------->' NVL (obj1.incident_type_id = citt.GROUP_ID AND ciab.resource_id(+) AND jrre.Owner Type' source_type.resource_type AND (obj2. jtf_rs_resource_extns_tl jrret.LANGUAGE IS NULL) AND audi. mtl_categories mc.incident_owner_id=jrret.incident_id = ciab.party_id --and hp.LANGUAGE = USERENV ('LANG') OR obj1. 'Audit. TO_CHAR (audi.incident_type_id AND citb.GROUP_ID = jrgt.user_id = fu. mtl_parameters mp WHERE 1=1 -.incident_id AND ciab.incident_type_id = citt.NAME "Logs And Notes" FROM fnd_user fu. jtf_rs_resource_extns ext_user.audi.LANGUAGE = USERENV ('LANG') OR obj2.creation_date.incident_severity_id AND ciab.last_updated_by AND lkp.incident_severity_id AND cisvb.cust_account_id .object_code(+) = audi.GROUP_ID AND ciab.change_resource_type_flag = 'Y' AND audi.incident_status_id = cist.incident_severity_id = cisvb.incident_severity_id = cisvt. 'DD-MON-YYYY HH24:MI:SS') creation_date.old_resource_type AND (obj1. cs_incident_severities_tl cisvt.resource_id(+) AND (ciab. mtl_system_items_b msi.incident_type_id AND ciab.incident_status_id AND cisb.lookup_code = 'SR_HEADER' AND obj1.incident_severity_id AND ciab. cs_incident_severities_b cisvb.incident_id = :p_incident_id AND ext_user.party_id=hca1.party_type AND ciab. jtf_objects_tl obj2.resource_id = jrret. cs_incidents_all_b ciab. jtf_objects_tl obj1. cs_incident_types_b citb.LANGUAGE IS NULL) AND obj2..incident_status_id AND ciab.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp. ' ') ' --------> ' obj2.incident_severity_id = cisvt.customer_id = hp.owner_group_id = jrgb. --cs_incidents_all_b ciab1. hz_parties hp. jtf_rs_resource_extns jrre.GROUP_ID AND jrgb.owner_group_id = jrgt.user_name ')' user_name. cs_incident_statuses_tl cist.resource_id is null) AND ciab.incident_type_id = citb. incident_type_id AND ciab.incident_type_id AND ciab. msi.incident_type_id = citt.AND ciab.user_id = fu.organization_code = 'MLB' OR mp. msi. mtl_parameters mp WHERE 1=1 -.organization_code IS NULL) UNION ALL SELECT ciab. cs_incident_statuses_tl cist. hz_cust_accounts hca. cs_incident_statuses_b cisb. cs_incident_severities_b cisvb.incident_status_id = cist.account_number . ' ') ' --------> ' audi. TO_CHAR (ciab.inventory_item_id = msi.party_name customer_name.group_name group_name.cust_account_id AND ciab. jrret.NAME severity. --cs_incidents_all_b ciab1.creation_date.category_id(+) AND ciab.Resolution Date' source_type. hca.NAME type.incident_id = ciab. citt. hp.incident_severity_id AND ciab.old_expected_resolution_date.source_name ' (' fu. cs_lookups lkp.lookup_type = 'CS_SR_CHILD_ENTITY_CODE' AND lkp.incident_severity_id AND ciab.incident_number .organization_id = mp.user_id = audi.change_resolution_flag = 'Y' AND audi.GROUP_ID . mtl_system_items_b msi. hp. cs_incident_severities_tl cisvt.party_id .incident_type_id = citb.incident_type_id AND citb.incident_status_id AND cisb. cs_incident_types_tl citt. mtl_categories mc.expected_resolution_date "Logs And Notes" FROM fnd_user fu. jrgt. cs_incident_types_b citb.inventory_item_id(+) AND msi.incident_severity_id = cisvb. cs_incidents_all_b ciab. cisvt.description item_description .audi. 'Audit.incident_date.user_id AND fu.incident_id = :p_incident_id AND ext_user. hp. ext_user.email_address .lookup_code = 'SR_HEADER' AND audi. 'DD-MON-YYYY HH24:MI: SS') reported.owner_group_id = jrgb. TO_CHAR (audi. cist.incident_severity_id = cisvt.category_id = mc.incident_severity_id AND cisvb. hp. cs_incidents_audit_b audi.segment1 CATEGORY. mc.party_type customer_type. jtf_rs_resource_extns ext_user. jtf_rs_groups_tl jrgt.segment1 item.account_id = hca. hz_parties hp. jtf_rs_groups_b jrgb.party_number customer_number.incident_status_id = cist. 'DD-MON-YYYY HH24:MI:SS') creation_date.user_name ')' user_name.resource_name owner.NAME Status.incident_status_id AND ciab. jtf_rs_resource_extns_tl jrret.incident_status_id AND ciab. 'Resolution Date:' '-------->' NVL (audi.last_updated_by AND lkp.incident_status_id = cisb.incident_type_id = citt.incident_severity_id = cisvt.organization_id(+) AND (mp. jtf_rs_resource_extns jrre. hp.incident_id AND ciab. organization_id(+) AND (mp.resource_id = jrret. hca.category_id = mc.owner_group_id = jrgt.resource_id(+) AND jrre.source_name ' (' fnd.user_id(+) = fnd.inventory_item_id(+) AND msi. hz_parties hp. hz_cust_accounts hca.cust_account_id AND ciab.resource_id is null) AND ciab. cs_incidents_all_b csi. jrg. jtf_rs_groups_tl jrg. hp.creation_date.party_type customer_type.GROUP_ID = jrgt.segment1 CATEGORY. cs_incident_types_tl csit.note_type_meaning ': ' jtf. TO_CHAR (csi.resource_id(+) AND (ciab.account_id = hca.organization_id = mp.incident_number. msi.incident_type_id = csit.incident_date.incident_type_id AND csi.party_name customer_name.category_id(+) AND csi. cssv. jtf_rs_resource_extns_tl jrre.incident_severity_id = cssv.resource_id(+) AND csi.GROUP_ID AND ciab. mtl_categories mc. 'DD-MON-YYYY HH24:MI:SS') reported. .organization_code = 'MLB' OR mp.GROUP_ID(+) AND csi.user_id AND jtf.incident_owner_id = jrre.incident_status_id AND csi. csit.account_id = hca.cust_account_id AND csi.customer_id = hp.organization_code IS NULL) union all SELECT csi. mtl_system_items_b msi. cs_incident_statuses_tl csis. jrre.organization_id(+) AND (mp.organization_code = 'MLB' OR mp.created_by = fnd.source_object_id = :p_incident_id AND ext_user.incident_date.cust_account_id AND ciab.category_id(+) AND ciab.caller_type = hp.incident_severity_id AND csi. jtf_rs_resource_extns ext_user.inventory_item_id = msi.incident_status_id = csis. hp. mc.incident_owner_id = jrre.note_status != 'P') AND source_object_id = csi. cssv. hp.incident_id AND csi. 'Notes: ' jtf. TO_CHAR (csi.party_number customer_number. ext_user. mtl_parameters mp WHERE source_object_code = 'SR' AND 1=1 -. csit. fnd_user fnd.party_id=hca1. TO_CHAR (jtf. hp.description item_description .organization_id = mp.party_id .NAME status.organization_code IS NULL) UNION ALL SELECT csi.party_id --and hp.resource_name owner.email_address.segment1 item.user_name ')' user_name.inventory_item_id(+) AND msi.category_id = mc.account_number.group_name group_name.NAME status.user_id AND ( jtf. 'Note' source_type.inventory_item_id = msi. 'DD-MON-YYYY HH24:MI:SS') reported.NAME TYPE. csis. cs_incident_severities_tl cssv.resource_id or jrret.incident_number.AND jrgb. 'DD-MON-YYYY HH24:MI:SS') creation_date.party_type AND ciab.party_id AND csi.GROUP_ID AND ciab. msi. csis.owner_group_id = jrg.incident_owner_id=jrret.NAME severity.NAME severity.customer_id = hp.NAME TYPE.notes "Logs And Notes " FROM jtf_notes_vl jtf. hp. party_name customer_name. hz_parties hp. 'DD-MON-YYYY HH24:MI:SS') creation_date. ext_user.party_id AND csi. hp.party_id .organization_code = 'MLB' OR mp.NAME status.creation_date. msi. hp. cs_incident_severities_tl cssv.cskbl. hp. cs_incident_statuses_tl csis. msi.incident_owner_id = jrre.link_type AND csl. mc.set_type_id = csks. TO_CHAR (csi.inventory_item_id(+) AND msi.user_id = fnd.incident_severity_id = cssv.NAME TYPE.group_name group_name.source_name ' (' fnd.source_name ' (' fnd.owner_group_id = jrg.created_by = fnd.party_name customer_name. 'Activity' source_type.group_name group_name. hp. hp. jtf_rs_groups_tl jrg.set_type_id AND cskbl. 'DD-MON-YYYY HH24:MI:SS') reported.incident_id(+) AND csi. hp.email_address.resource_name owner.party_number customer_number. ext_user. hz_cust_accounts hca. cs_lookups csl.incident_status_id = csis. jrg.account_id = hca.user_name ')' user_name.set_id = csks.organization_id = mp.description item_description .user_name ') ' csks.party_type customer_type.short_description "Logs And Notes" .segment1 CATEGORY. cs_incident_types_tl csit.segment1 item.set_number ' ' cskst. msi. mc. jtf_rs_resource_extns_tl jrre.NAME severity.inventory_item_id = msi. cs_kb_set_links cskbl.email_address.organization_id(+) AND (mp. 'DD-MON-YYYY HH24:MI:SS') creation_date.resource_id(+) AND csi. mtl_system_items_b msi. csis. 'Soln' source_type.party_type customer_type.incident_date. TO_CHAR (jtf.incident_status_id(+) AND csi.NAME ': ' csks.lookup_type(+) = 'CS_KB_LINK_TYPE' AND cskbl. hca. act. msi. cs_kb_set_types_tl cskst.incident_type_id = csit.account_number.user_id AND ext_user.GROUP_ID(+) AND csi.category_id(+) AND csi.incident_type_id(+) AND csi. hp.category_id = mc.segment1 item.creation_date.other_id = csi.organization_code IS NULL) AND 1=1 -. csit.user_name ')' user_name. fnd_user fnd.NAME "Logs And Notes" FROM cs_kb_sets_vl csks. TO_CHAR (cskbl.segment1 CATEGORY. jrre.jrg.incident_number. mtl_parameters mp WHERE cskst. cs_incidents_all_b csi.party_id .set_id AND csks. jrre. hca.account_number.lookup_code(+) = cskbl.other_id=:p_incident_id union all SELECT csi.resource_name owner. mtl_categories mc. jtf_rs_resource_extns ext_user.user_id AND cskbl.description item_description . 'Knowlwdge: ' ext_user. hp. cssv. hp.source_name ' (' fnd.viewable_version_flag = 'Y' AND csl.party_number customer_number. hp.customer_id = hp.cust_account_id AND csi.incident_severity_id(+) AND csi. description "Logs And Notes" FROM jtf_tasks_vl jtf. fnd_user fnd. jtf_rs_resource_extns ext_user.incident_status_id = csis. mtl_system_items_b msi.organization_id = mp.creation_date.party_id . cs_incident_severities_tl cssv.LANGUAGE = USERENV ('LANG') AND jtf.NAME TYPE.inventory_item_id = msi. 'DD-MON-YYYY HH24:MI:SS') creation_date.organization_code IS NULL) union all SELECT csi. hp. TO_CHAR (jtf. mtl_categories mc.category_id = mc. 'DD-MON-YYYY HH24:MI:SS') reported. mtl_parameters mp WHERE doc_ref = 'SR' AND ext_user.NAME ': ' sts.segment1 CATEGORY.created_by = fnd.account_number.customer_id = hp. . ext_user. jrre. TO_CHAR (csi.doc_id = :p_incident_id AND jtf. hz_parties hp. cs_incident_statuses_tl csis.segment1 item. jtf_rs_groups_tl jrg. hp.incident_id AND csi. csit. hz_cust_accounts hca.owner_group_id = jrg.organization_code = 'MLB' OR mp.group_name group_name. hp.party_number customer_number. jtf_rs_groups_tl jrg. mc. jtf_task_statuses_vl sts.NAME ': ' jtf.action_id AND act.organization_id(+) AND (mp.NAME severity.email_address. cssv.NAME status.inventory_item_id(+) AND msi.resource_name owner. cs_incident_statuses_tl csis.user_name ')' user_name.account_id = hca. jtf_rs_resource_extns ext_user.incident_severity_id = cssv. cs_incidents_all_b csi. hp. typ. mtl_categories mc.description item_description .incident_number. jtf_rs_resource_extns_tl jrre.incident_owner_id = jrre. hz_parties hp.incident_type_id AND csi. cs_incident_types_tl csit.action_id = act.resource_id(+) AND csi. jtf_ih_actions_tl act.GROUP_ID(+) AND csi. jtf_rs_resource_extns_tl jrre.incident_date.incident_status_id AND csi.party_name customer_name.user_id AND doc_id = csi. jtf_task_types_vl typ. msi.cust_account_id AND csi.category_id(+) AND csi. cs_incident_severities_tl cssv. 'Task' source_type. csis. msi.user_id AND 1=1 -. cs_incidents_all_b csi.source_name ' (' fnd.party_type customer_type. hp.user_id = fnd.FROM jtf_ih_activities jtf. jrg. hz_cust_accounts hca. hca.incident_type_id = csit. cs_incident_types_tl csit.incident_severity_id AND csi. fnd_user fnd.party_id AND csi. task_status_id source_object_id = csi.resource_id(+) csi.incident_id csi.inventory_item_id(+) msi.task_status_id = jtf.customer_id = hp.category_id = mc.organization_id = mp.user_id jtf.owner_group_id = jrg.cust_account_id csi.inventory_item_id = msi.organization_code = 'MLB' OR mp.GROUP_ID(+) csi.incident_status_id = csis.created_by = fnd.task_type_id = jtf.source_object_id = :p_incident_id ext_user.category_id(+) csi.incident_owner_id = jrre.task_type_id sts.incident_type_id csi.incident_severity_id csi.user_id = fnd.WHERE AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND AND mtl_system_items_b msi.organization_id(+) (mp.organization_code IS NULL) .incident_status_id csi.account_id = hca.party_id csi.incident_type_id = csit.incident_severity_id = cssv.user_id typ. mtl_parameters mp source_object_type_code = 'SR' 1=1 -.
Copyright © 2024 DOKUMEN.SITE Inc.