You are on page 1of 51

Performance of MCS Custom Object Results

Name XXMCS Pick List Report Short Name XXMCS_PICK_LIST_REPORT


Query 1: Query 1: BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END; curre nt 0 0 0 0

Category Logical Read Rate


(278 + 0) / 0.02 = 13900

call Parse Execute Fetch total

count 1 1 0 2

cpu 0 0.03 0 0.03

elapsed 0 0.02 0 0.02

disk 0 0 0 0

query 0 278 0 278

rows 0 1 0 1

Name XXMCS PO Re uisitio! "aria!ce Report # $o%e O&&ice

Short Name Category XXMCS_PO_RE'_"(RI Logical Read Rate Query 1: (303 + 0)/ 0.02 = 15150 ()CE_RPT_$O
Query 2: (485 + 0)/ 0.01 = 48500

Query 1: BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END; call Parse Execute Fetch total count 1 1 0 2 cpu 0 0.02 0 0.02 elapsed 0 0.02 0 0.02 disk 0 2 0 2 query 0 303 0 303 curre nt 0 0 0 0 rows 0 1 0 1

Query 2: SELECT /*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG') call Parse Execute Fetch total count 1 1 2 4 cpu 0 0 0.01 0.01 elapsed 0 0 0.01 0.01 disk 0 0 0 0 query 0 0 485 485 curre nt 0 0 0 0 rows 0 0 255 255

Name

Short Name

Category

XXMCS PO *ithout Re uisitio! Report # XXMCS_PO_*IT$O-T_R Logical Read Rate Query 1: (303 + 0)/ 0.02 = 15150 +i,isio! E'_RPT
Query 2: (485 + 0)/ 0.01 = 48500 Query 1: BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END; curre nt 0 0 0 0

call Parse Execute Fetch total

count 1 1 0 2

cpu 0 0.02 0 0.02

elapsed 0 0.02 0 0.02

disk 0 2 0 2

query 0 303 0 303

rows 0 1 0 1

Query 2: SELECT /*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG') curre nt 0 0

call Parse Execute

count 1 1

cpu 0 0

elapsed 0 0

disk 0 0

query 0 0

rows 0 0

Fetch total

2 4

0 0

0.01 0.01

0 0

485 485

0 0

255 255

Name Short Name Category XXMCS POs *ithout Re uisitio!s Report XXMCS_PO_*IT$O-T_RE' Logical Read Rate Query 1: (303 + 0)/ 0.02 = 15150 # $o%e O&&ice _RPT_$O
Query 2: (485 + 0)/ 0.01 = 48500 Query 1: BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END; curre call count cpu elapsed disk query nt rows Parse 1 0 0 0 0 0 0 Execute 1 0.03 0.02 0 303 0 1 Fetch 0 0 0 0 0 0 0 total 2 0.03 0.02 0 303 0 1 Query 2: SELECT /*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG') call count cpu elapsed disk query curre rows

nt Parse Execute Fetch total 1 1 2 4 0 0 0 0 0 0 0.01 0.01 0 0 0 0 0 0 485 485 0 0 0 0 0 0 255 255

Name XXMCS (R Materiali.ed "ie/s Re&resh Progra%

Short Name XXMCS_(R_M"IE*_REFRES$

Category Logical Read Query 1: 556726312 + 21732 = 556748044

Query 1: INSERT /*+ BYPASS_RECURSIVE_CHECK APPEND */ INTO "APPS"."XXMCS_SALES_REGISTER_MV" ( SELECT xaid.trx_number, xaid.trx_date, xaid.ship_to_site_use_id, TO_CHAR(xaid.line_number) line_number, xaid.line_type, xaid.revenue_amount, xaid.acctd_amount accounted_amount, xaid.amount, xaid.gl_date, xaid.company, xaid.division, xffh.last_child_desc division_description, xaid.ACCOUNT, xaid.department, xaid.line_of_business, xaid.product_line, xffh1.last_child_desc pl_description, xaid.inter_company, xaid.future1, xaid.future2, xaid.start_date period_start_date, xaid.end_date period_end_date, xaid.period_name, xaid.year_start_date, xaid.salesrep_number, xaid.salesrep_name, xaid.sales_order_date, xaid.customer_name, xaid.customer_name_phonetic, xaid.cust_account_number, xaid.transaction_type, xaid.interface_header_attribute1 sales_order_number, xmd.order_line_id line_id, xmd.trip trip_name, xmd.ship_from, xmd.shipped_quantity, xmd.material_cost, TO_CHAR(xmd.source_order_number) source_order_number, xld.labor_amount labor_amount, (xlb.operand / 100) labor_burden, (xmb.operand / 100) material_burden, xffh.parent_flex_value parent_division, xffh.parent_description parent_division_description, xffh1.parent_flex_value parent_product_line, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, apps.xxmcs_material_detail_mv xmd, apps.xxmcs_labor_detail_v xld, apps.xxmcs_labor_burden_mv xlb, xxmcs.xxmcs_flat_flex_hierarchy xffh, xxmcs.xxmcs_flat_flex_hierarchy xffh1, apps.xxmcs_material_burden_mv xmb WHERE 1 = 1 apps.xxmcs_material_burden_mv xmb WHERE 1 = 1 AND xaid.interface_line_attribute6 = xmd.order_line_id(+) AND xaid.interface_line_attribute6 is not null AND xmd.sales_order_number = xld.order_number(+) AND xmd.trip = xld.trip_name (+) AND xmd.ship_from = xlb.product_attr_value(+) AND xmd.ship_from = xmb.organization_id(+) AND xmd.inventory_item_id = xmb.inventory_item_id(+)

AND xffh1.last_child = xaid.product_line AND xffh.last_child = xaid.division AND xffh.parent_flex_value <> 'T' AND xffh1.set_name = 'MCS_GL_PRODUCT_LINE' AND xffh.set_name = 'MCS_GL_DIVISION' /* AND UPPER (xaid.transaction_type) LIKE '%REV%' ***This might change, To be included at the workbook level*/ UNION ALL/* Revenue credited because of RMA's from OM*/ SELECT xaid.trx_number, xaid.trx_date, xaid.ship_to_site_use_id, TO_CHAR(xaid.line_number) line_number, xaid.line_type, xaid.revenue_amount, xaid.acctd_amount accounted_amount, xaid.amount, xaid.gl_date, xaid.company, xaid.division, xffh.last_child_desc division_description, xaid.ACCOUNT, xaid.department, xaid.line_of_business, xaid.product_line, xffh1.last_child_desc pl_description, xaid.inter_company, xaid.future1, xaid.future2, xaid.start_date period_start_date, xaid.end_date period_end_date, xaid.period_name, xaid.year_start_date, xaid.salesrep_number, xaid.salesrep_name, xaid.sales_order_date, xaid.customer_name, xaid.customer_name_phonetic, xaid.cust_account_number, xaid.transaction_type, xaid.interface_header_attribute1 sales_order_number, xmd.order_line_id line_id, xmd.trip trip_name, xmd.ship_from, xmd.shipped_quantity, xmd.material_cost, TO_CHAR(xmd.source_order_number) source_order_number, null/*-1*xld.labor_amount*/ labor_amount, null/*-1*(xlb.operand / 100)*/ labor_burden, (xmb.operand / 100) material_burden, xffh.parent_flex_value parent_division, xffh.parent_description parent_division_description, xffh1.parent_flex_value parent_product_line, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, apps.xxmcs_material_detail_mv xmd, xxmcs.xxmcs_flat_flex_hierarchy xffh, apps.xxmcs_material_detail_mv xmd, xxmcs.xxmcs_flat_flex_hierarchy xffh, xxmcs.xxmcs_flat_flex_hierarchy xffh1, apps.xxmcs_material_burden_mv xmb WHERE 1 = 1 AND xaid.previous_customer_trx_line_id = xmd.credit_invoice_line_id AND xaid.interface_line_attribute6 is null AND xmd.ship_from = xmb.organization_id(+) AND xmd.inventory_item_id = xmb.inventory_item_id(+) AND xffh1.last_child = xaid.product_line AND xffh.last_child = xaid.division AND xffh.parent_flex_value <> 'T' AND xffh1.set_name = 'MCS_GL_PRODUCT_LINE' AND xffh.set_name = 'MCS_GL_DIVISION' /* AND UPPER (xaid.transaction_type) LIKE '%REV%' ***This might change, To be included at the workbook level*/ UNION ALL /* For Credit Memo-Revs Created at the AR level and not being communicated to OM*/ SELECT xaid.trx_number, xaid.trx_date, xaid.ship_to_site_use_id, TO_CHAR(xaid.line_number) line_number, xaid.line_type, xaid.revenue_amount, xaid.acctd_amount accounted_amount, xaid.amount, xaid.gl_date,

xaid.company, xaid.division, xffh.last_child_desc division_description, xaid.ACCOUNT, xaid.department, xaid.line_of_business, xaid.product_line, xffh1.last_child_desc pl_description, xaid.inter_company, xaid.future1, xaid.future2, xaid.start_date period_start_date, xaid.end_date period_end_date, xaid.period_name, xaid.year_start_date, xaid.salesrep_number, xaid.salesrep_name, xaid.sales_order_date, xaid.customer_name, xaid.customer_name_phonetic, xaid.cust_account_number, xaid.transaction_type, xaid.interface_header_attribute1 sales_order_number, null line_id, null/*xmd.trip*/ trip_name, null/*xmd.ship_from*/ ship_from, null/*-1*xmd.shipped_quantity*/ shipped_quantity, null/*-1*xmd.material_cost*/ material_cost, null/*TO_CHAR(xmd.source_order_number)*/ source_order_number, null/*-1*xld.labor_amount*/ labor_amount, null/*-1*(xlb.operand / 100)*/ labor_burden, null/*(xmb.operand / 100)*/ material_burden, xffh.parent_flex_value parent_division, xffh.parent_description parent_division_description, xffh1.parent_flex_value parent_product_line, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, -apps.xxmcs_ar_rev_inv_detail_mv xaid1, xxmcs.xxmcs_flat_flex_hierarchy xffh, xxmcs.xxmcs_flat_flex_hierarchy xffh1 WHERE 1 = 1 -AND xaid.previous_customer_trx_line_id = xaid1.customer_trx_line_id AND xaid.interface_line_attribute6 is null AND not exists (select 1 from oe_order_lines_all where credit_invoice_line_id = xaid.previous_customer_trx_line_id) AND xffh1.last_child = xaid.product_line AND xffh.last_child = xaid.division AND xffh.parent_flex_value <> 'T' AND xffh1.set_name = 'MCS_GL_PRODUCT_LINE' AND xffh.set_name = 'MCS_GL_DIVISION' /* AND UPPER (xaid.transaction_type) LIKE '%REV%' ***This might change, To be included at the workbook level*/ UNION ALL SELECT NULL trx_number, xmd.trx_date trx_date, NULL ship_to_site_use_id, to_char(xmd.sales_order_line_number) line_number, null line_type, null revenue_amount, null accounted_amount, null amount, xmd.trx_date gl_date, NULL company, to_char(xmd.ship_from) division, orgs.name division_description, NULL ACCOUNT, NULL department, NULL line_of_business, xmd.product_line product_line, xmd.product_line pl_description , NULL inter_company, NULL future1, NULL future2, gp.start_date period_start_date, gp.end_date period_end_date, gp.period_name, gp.year_start_date, xmd.salesrep_number, xmd.salesrep_name salesrep_name, xmd.sales_order_date sales_order_date, xmd.customer_name customer_name, xmd.customer_name_phonetic customer_name_phonetic, xmd.cust_account_number cust_account_number, 'WAR-Rev' transaction_type, to_char(xmd.SALES_ORDER_NUMBER) sales_order_number,

xmd.order_line_id line_id, xmd.trip trip_name, xmd.ship_from ship_from, xmd.shipped_quantity shipped_quantity, xmd.material_cost material_cost, to_char(xmd.source_order_number) source_order_number, xld.labor_amount labor_amount, (xlb.operand / 100) labor_burden, (xmb.operand / 100) material_burden, to_char(xmd.ship_from) parent_division, orgs.name parent_division_description, NULL parent_product_line, xmd.product_line parent_pl_description NULL parent_product_line, xmd.product_line parent_pl_description FROM apps.xxmcs_material_detail_mv xmd, apps.xxmcs_labor_detail_v xld, apps.xxmcs_labor_burden_mv xlb, apps.xxmcs_material_burden_mv xmb, apps.gl_periods gp, apps.hr_all_organization_units_tl orgs WHERE 1 = 1 AND NOT EXISTS (SELECT 1 from xxmcs_ar_rev_inv_detail_mv xaid WHERE ( xaid.interface_line_attribute6 = xmd.order_line_id OR xaid.previous_customer_trx_line_id = xmd.credit_invoice_line_id ) ) AND orgs.organization_id = xmd.ship_from AND orgs.language = 'US' AND xmd.trx_date BETWEEN gp.start_date --* changed from TRX_DATE to GL_DATE AND gp.end_date --* Will not include 'Adj' should filter from the front-end AND upper(gp.period_name) not like 'ADJ%' AND gp.period_set_name = 'MCS ACCOUNTING' AND xmd.sales_order_number = xld.order_number(+) AND xmd.trip = xld.trip_name (+) AND xmd.ship_from = xlb.product_attr_value(+) AND xmd.ship_from = xmb.organization_id(+) AND xmd.inventory_item_id = xmb.inventory_item_id(+) ) call Parse Execute Fetch total count 1 1 0 2 cpu 600 37772454 0 37773054 elapsed 1857.24 8953727.97 0 8955585.21 disk 12 61549487 0 61549499 query 348 556725964 0 556726312 current 0 21732 0 21732 rows 0 169796 0 169796

period also

Name XXMCS (R Materiali.ed "ie/s Re&resh Progra%

Short Name

Category

XXMCS_(R_M"IE*_REFRES$Ph0sical Read Query 1: 61549499

Query 1: INSERT /*+ BYPASS_RECURSIVE_CHECK APPEND */ INTO "APPS"."XXMCS_SALES_REGISTER_MV" ( SELECT xaid.trx_number, xaid.trx_date, xaid.ship_to_site_use_id, TO_CHAR(xaid.line_number) line_number, xaid.line_type, xaid.revenue_amount, xaid.acctd_amount accounted_amount, xaid.amount, xaid.gl_date, xaid.company, xaid.division, xffh.last_child_desc division_description, xaid.ACCOUNT, xaid.department, xaid.line_of_business, xaid.product_line, xffh1.last_child_desc pl_description, xaid.inter_company, xaid.future1, xaid.future2, xaid.start_date period_start_date, xaid.end_date period_end_date, xaid.period_name, xaid.year_start_date, xaid.salesrep_number, xaid.salesrep_name, xaid.sales_order_date, xaid.customer_name, xaid.customer_name_phonetic, xaid.cust_account_number, xaid.transaction_type, xaid.interface_header_attribute1 sales_order_number, xmd.order_line_id line_id, xmd.trip trip_name, xmd.ship_from, xmd.shipped_quantity, xmd.material_cost, TO_CHAR(xmd.source_order_number) source_order_number, xld.labor_amount labor_amount, (xlb.operand / 100) labor_burden, (xmb.operand / 100) material_burden, xffh.parent_flex_value parent_division, xffh.parent_description parent_division_description, xffh1.parent_flex_value parent_product_line, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, apps.xxmcs_material_detail_mv xmd, apps.xxmcs_labor_detail_v xld, apps.xxmcs_labor_burden_mv xlb, xxmcs.xxmcs_flat_flex_hierarchy xffh, xxmcs.xxmcs_flat_flex_hierarchy xffh1, apps.xxmcs_material_burden_mv xmb WHERE 1 = 1 apps.xxmcs_material_burden_mv xmb WHERE 1 = 1 AND xaid.interface_line_attribute6 = xmd.order_line_id(+) AND xaid.interface_line_attribute6 is not null AND xmd.sales_order_number = xld.order_number(+) AND xmd.trip = xld.trip_name (+) AND xmd.ship_from = xlb.product_attr_value(+) AND xmd.ship_from = xmb.organization_id(+) AND xmd.inventory_item_id = xmb.inventory_item_id(+) AND xffh1.last_child = xaid.product_line AND xffh.last_child = xaid.division AND xffh.parent_flex_value <> 'T' AND xffh1.set_name = 'MCS_GL_PRODUCT_LINE' AND xffh.set_name = 'MCS_GL_DIVISION' /* AND UPPER (xaid.transaction_type) LIKE '%REV%' ***This might change, To be included at the workbook level*/ UNION ALL/* Revenue credited because of RMA's from OM*/ SELECT xaid.trx_number, xaid.trx_date, xaid.ship_to_site_use_id, TO_CHAR(xaid.line_number) line_number, xaid.line_type, xaid.revenue_amount, xaid.acctd_amount accounted_amount, xaid.amount, xaid.gl_date, xaid.company, xaid.division, xffh.last_child_desc division_description, xaid.ACCOUNT, xaid.department, xaid.line_of_business, xaid.product_line, xffh1.last_child_desc pl_description,

xaid.inter_company, xaid.future1, xaid.future2, xaid.start_date period_start_date, xaid.end_date period_end_date, xaid.period_name, xaid.year_start_date, xaid.salesrep_number, xaid.salesrep_name, xaid.sales_order_date, xaid.customer_name, xaid.customer_name_phonetic, xaid.cust_account_number, xaid.transaction_type, xaid.interface_header_attribute1 sales_order_number, xmd.order_line_id line_id, xmd.trip trip_name, xmd.ship_from, xmd.shipped_quantity, xmd.material_cost, TO_CHAR(xmd.source_order_number) source_order_number, null/*-1*xld.labor_amount*/ labor_amount, null/*-1*(xlb.operand / 100)*/ labor_burden, (xmb.operand / 100) material_burden, xffh.parent_flex_value parent_division, xffh.parent_description parent_division_description, xffh1.parent_flex_value parent_product_line, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, apps.xxmcs_material_detail_mv xmd, xxmcs.xxmcs_flat_flex_hierarchy xffh, apps.xxmcs_material_detail_mv xmd, xxmcs.xxmcs_flat_flex_hierarchy xffh, xxmcs.xxmcs_flat_flex_hierarchy xffh1, apps.xxmcs_material_burden_mv xmb WHERE 1 = 1 AND xaid.previous_customer_trx_line_id = xmd.credit_invoice_line_id AND xaid.interface_line_attribute6 is null AND xmd.ship_from = xmb.organization_id(+) AND xmd.inventory_item_id = xmb.inventory_item_id(+) AND xffh1.last_child = xaid.product_line AND xffh.last_child = xaid.division AND xffh.parent_flex_value <> 'T' AND xffh1.set_name = 'MCS_GL_PRODUCT_LINE' AND xffh.set_name = 'MCS_GL_DIVISION' /* AND UPPER (xaid.transaction_type) LIKE '%REV%' ***This might change, To be included at the workbook level*/ UNION ALL /* For Credit Memo-Revs Created at the AR level and not being communicated to OM*/ SELECT xaid.trx_number, xaid.trx_date, xaid.ship_to_site_use_id, TO_CHAR(xaid.line_number) line_number, xaid.line_type, xaid.revenue_amount, xaid.acctd_amount accounted_amount, xaid.amount, xaid.gl_date, xaid.company, xaid.division, xffh.last_child_desc division_description, xaid.ACCOUNT, xaid.department, xaid.line_of_business, xaid.product_line, xffh1.last_child_desc pl_description, xaid.inter_company, xaid.future1, xaid.future2, xaid.start_date period_start_date, xaid.end_date period_end_date, xaid.period_name, xaid.year_start_date, xaid.salesrep_number, xaid.salesrep_name, xaid.sales_order_date, xaid.customer_name, xaid.customer_name_phonetic, xaid.cust_account_number, xaid.transaction_type, xaid.interface_header_attribute1 sales_order_number, null line_id, null/*xmd.trip*/ trip_name, null/*xmd.ship_from*/ ship_from, null/*-1*xmd.shipped_quantity*/ shipped_quantity, null/*-1*xmd.material_cost*/ material_cost,

null/*TO_CHAR(xmd.source_order_number)*/ source_order_number, null/*-1*xld.labor_amount*/ labor_amount, null/*-1*(xlb.operand / 100)*/ labor_burden, null/*(xmb.operand / 100)*/ material_burden, xffh.parent_flex_value parent_division, xffh.parent_description parent_division_description, xffh1.parent_flex_value parent_product_line, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, xffh1.parent_description parent_pl_description FROM apps.xxmcs_ar_rev_inv_detail_mv xaid, -apps.xxmcs_ar_rev_inv_detail_mv xaid1, xxmcs.xxmcs_flat_flex_hierarchy xffh, xxmcs.xxmcs_flat_flex_hierarchy xffh1 WHERE 1 = 1 -AND xaid.previous_customer_trx_line_id = xaid1.customer_trx_line_id AND xaid.interface_line_attribute6 is null AND not exists (select 1 from oe_order_lines_all where credit_invoice_line_id = xaid.previous_customer_trx_line_id) AND xffh1.last_child = xaid.product_line AND xffh.last_child = xaid.division AND xffh.parent_flex_value <> 'T' AND xffh1.set_name = 'MCS_GL_PRODUCT_LINE' AND xffh.set_name = 'MCS_GL_DIVISION' /* AND UPPER (xaid.transaction_type) LIKE '%REV%' ***This might change, To be included at the workbook level*/ UNION ALL SELECT NULL trx_number, xmd.trx_date trx_date, NULL ship_to_site_use_id, to_char(xmd.sales_order_line_number) line_number, null line_type, null revenue_amount, null accounted_amount, null amount, xmd.trx_date gl_date, NULL company, to_char(xmd.ship_from) division, orgs.name division_description, NULL ACCOUNT, NULL department, NULL line_of_business, xmd.product_line product_line, xmd.product_line pl_description , NULL inter_company, NULL future1, NULL future2, gp.start_date period_start_date, gp.end_date period_end_date, gp.period_name, gp.year_start_date, xmd.salesrep_number, xmd.salesrep_name salesrep_name, xmd.sales_order_date sales_order_date, xmd.customer_name customer_name, xmd.customer_name_phonetic customer_name_phonetic, xmd.cust_account_number cust_account_number, 'WAR-Rev' transaction_type, to_char(xmd.SALES_ORDER_NUMBER) sales_order_number, xmd.order_line_id line_id, xmd.trip trip_name, xmd.ship_from ship_from, xmd.shipped_quantity shipped_quantity, xmd.material_cost material_cost, to_char(xmd.source_order_number) source_order_number, xld.labor_amount labor_amount, (xlb.operand / 100) labor_burden, (xmb.operand / 100) material_burden, to_char(xmd.ship_from) parent_division, orgs.name parent_division_description, NULL parent_product_line, xmd.product_line parent_pl_description NULL parent_product_line, xmd.product_line parent_pl_description

FROM apps.xxmcs_material_detail_mv xmd, apps.xxmcs_labor_detail_v xld, apps.xxmcs_labor_burden_mv xlb, apps.xxmcs_material_burden_mv xmb, apps.gl_periods gp, apps.hr_all_organization_units_tl orgs WHERE 1 = 1 AND NOT EXISTS (SELECT 1 from xxmcs_ar_rev_inv_detail_mv xaid WHERE ( xaid.interface_line_attribute6 = xmd.order_line_id OR xaid.previous_customer_trx_line_id = xmd.credit_invoice_line_id ) ) AND orgs.organization_id = xmd.ship_from AND orgs.language = 'US' AND xmd.trx_date BETWEEN gp.start_date --* changed from TRX_DATE to GL_DATE AND gp.end_date --* Will not include 'Adj' should filter from the front-end AND upper(gp.period_name) not like 'ADJ%' AND gp.period_set_name = 'MCS ACCOUNTING' AND xmd.sales_order_number = xld.order_number(+) AND xmd.trip = xld.trip_name (+) AND xmd.ship_from = xlb.product_attr_value(+) AND xmd.ship_from = xmb.organization_id(+) AND xmd.inventory_item_id = xmb.inventory_item_id(+) ) call Parse Execute Fetch total Name XXMCS 1(RCO+E ITEM +O*)LO(+ count 1 1 0 2 cpu 600 37772454 0 37773054 elapsed 1857.24 8953727.97 0 8955585.21 disk 12 61549487 0 61549499 query 348 556725964 0 556726312 Category current 0 21732 0 21732 rows 0 169796 0 169796

period also

Short Name

XXMCS_1(RCO+E_ITEM_+O*)LO(+ Logical Read Query 1: 11344351 + 0 =11344351

Query 1: SELECT /*+ sql_profile=barcode_download_query1 */ msi.segment1 itemnumber, msi.inventory_item_id itemid, SUBSTR (msi.description, 1, 40) itemdescription, msi.organization_id divisionid, mp.organization_code divisionnumber, msi.primary_unit_of_measure invuom, msi.primary_uom_code itemuom, msi.primary_uom_code wmsuom, DECODE (msi.serial_number_control_code, '1', 0, 1) itemisserial, DECODE (msi.lot_status_enabled, 'N', '0', '1') lot_status_enabled, msi.last_update_date, NULL last_refresh_date, NULL attribute15, msi.inventory_item_status_code, DECODE (msi.inventory_item_status_code, 'Inactive', 'Y', 'N' ) delete_flag FROM mtl_system_items_b msi, mtl_parameters mp,

WHERE AND AND AND AND AND AND AND

hr_all_organization_units haou, (SELECT md.organization_id, md.inventory_item_id FROM mtl_demand_om_view md UNION SELECT ms.to_organization_id, ms.item_id FROM mtl_supply ms UNION SELECT moqd.organization_id, moqd.inventory_item_id FROM mtl_onhand_quantities_detail moqd) dem purchasing_item_flag = 'Y' purchasing_enabled_flag = 'Y' mp.organization_id = msi.organization_id SYSDATE BETWEEN NVL (start_date_active, SYSDATE) AND NVL (end_date_active, SYSDATE) haou.organization_id = msi.organization_id SYSDATE BETWEEN NVL (haou.date_from, SYSDATE) AND NVL (haou.date_to, SYSDATE) dem.organization_id = msi.organization_id dem.inventory_item_id = msi.inventory_item_id count 1 1 1321345 1341345 cpu 500 0 200 700 elapsed 1224.7 0.7 3198274 3199499 disk 0 0 1001068 1001068 query 1 0 11344350 11344351 current 0 0 0 0 rows 0 0 13128 13128

call Parse Execute Fetch total

Name XXMCS 1(RCO+E ITEM +O*)LO(+

Short Name

Category

XXMCS_1(RCO+E_ITEM_+O*)LO(+ Ph0sical Read Query 1: 1001068

Query 1: SELECT /*+ sql_profile=barcode_download_query1 */ msi.segment1 itemnumber, msi.inventory_item_id itemid, SUBSTR (msi.description, 1, 40) itemdescription, msi.organization_id divisionid, mp.organization_code divisionnumber, msi.primary_unit_of_measure invuom, msi.primary_uom_code itemuom, msi.primary_uom_code wmsuom, DECODE (msi.serial_number_control_code, '1', 0, 1) itemisserial, DECODE (msi.lot_status_enabled, 'N', '0', '1') lot_status_enabled, msi.last_update_date, NULL last_refresh_date, NULL attribute15, msi.inventory_item_status_code, DECODE (msi.inventory_item_status_code, 'Inactive', 'Y', 'N' ) delete_flag FROM mtl_system_items_b msi, mtl_parameters mp, hr_all_organization_units haou, (SELECT md.organization_id, md.inventory_item_id FROM mtl_demand_om_view md UNION SELECT ms.to_organization_id, ms.item_id FROM mtl_supply ms

WHERE AND AND AND AND AND AND AND

UNION SELECT moqd.organization_id, moqd.inventory_item_id FROM mtl_onhand_quantities_detail moqd) dem purchasing_item_flag = 'Y' purchasing_enabled_flag = 'Y' mp.organization_id = msi.organization_id SYSDATE BETWEEN NVL (start_date_active, SYSDATE) AND NVL (end_date_active, SYSDATE) haou.organization_id = msi.organization_id SYSDATE BETWEEN NVL (haou.date_from, SYSDATE) AND NVL (haou.date_to, SYSDATE) dem.organization_id = msi.organization_id dem.inventory_item_id = msi.inventory_item_id count 1 1 1321345 1341345 cpu 500 0 200 700 elapsed 1224.7 0.7 3198274 3199499 disk 0 0 1001068 1001068 query 1 0 11344350 11344351 current 0 0 0 0 rows 0 0 13128 13128

call Parse Execute Fetch total

Name XXMCS +o!e 1utto! Fu!ctio!alit0

Short Name

Category

XXMCS_EXT_+O)E1-TTO) Logical Read Query 1: 10737929 + 0 = 10737929

Query 1: UPDATE xxmcs_work_day_trucks xwdt SET xwdt.delete_flag = 'Y' WHERE EXISTS ( SELECT 1 FROM xxmcs_work_days xwd WHERE xwd.wo_number = :b2 AND TRUNC (xwd.schedule_date) > TRUNC (:b1) AND xwd.wd_number = xwdt.wd_number AND xwdt.tmd_status <> 'N' AND UPPER (xwdt.status) <> 'UNDISPATCHED') call Parse Execute Fetch total count 1 90 0 91 cpu 0 614400 0 614400 elapsed 8.75 1262024 0 1262032 disk 0 286 0 286 query 0 10737929 0 10737929 current 0 1 0 1 rows 0 1 0 1

Name XXMCS +o!e 1utto! Fu!ctio!alit0 2 30 Sales Order 4

Short Name XXMCS_EXT_+O)E1-TTO)_O)O

Category Logical Read Query 1 : 10737934 + 0 = 10737934

UPDATE xxmcs_work_day_trucks xwdt SET xwdt.delete_flag = 'Y' WHERE EXISTS ( SELECT 1 FROM xxmcs_work_days xwd WHERE xwd.wo_number = :b2 AND TRUNC (xwd.schedule_date) > TRUNC (:b1) AND xwd.wd_number = xwdt.wd_number AND xwdt.tmd_status <> 'N' AND UPPER (xwdt.status) <> 'UNDISPATCHED') call Parse Execute Fetch total Name XXMCS I!,oice 5e!eratio! Progra% # Process Li!e count 1 90 0 91 cpu 0 609000 0 609000 elapsed 1.46 1326680.21 0 1326681.67 Short Name XXMCS_I5P_PROCESS_LI)E disk 0 126 0 126 query 0 10737934 0 10737934 current 0 0 0 0 rows 0 0 0 0 Category Logical Read Query 1 : 51173 7! " # $ 51173 7! Query ! : 48964674 + 0 =48964674 Query 3 : 16254273 + 0 = 16254273

Query1 SELECT 1 FROM xxmcs_billing_order_lines WHERE order_line_id = :b1 call count cpu elapsed Parse 6786 1 0 Execute 9:;;; 6<== >6=9?7<; Fetch 9:;;; 6:6?:== >89>=;>?76

disk 0 0 8;<9

query 0 0 ?>><86< 9 ?>><86< 9

current 0 0 0

rows 0 0 0

total 8;<9 58889 6972600 13226447.7 0 0 Query 2 SELECT COUNT (*) FROM xxmcs_billing_order_lines xbl, xxmcs_billing_order_hdrs xbh WHERE xbl.order_line_id = :b2 AND xbl.billing_header_id = xbh.billing_header_id AND xbh.order_header_id = :b1 call Parse Execute Fetch total Query 3: SELECT FROM WHERE AND AND count 1 28173 28173 56347 cpu 0 11000 7080100 7091100 elapsed 6.07 21975 13255563.5 13277544.6 disk 0 0 176 176 query 0 0 48964674 48964674 current 0 0 0 0 rows 0 0 28173 28173

COUNT (1) xxmcs_billing_lines xbl, xxmcs_billing_order_hdrs xboh xboh.order_header_id = :b2 xbl.billing_param_header_id = xboh.billing_header_id xbl.natural_billing_cycle = :b1

AND NVL (xbl.processed_flag, 'N') <> 'Y' call Parse Execute Fetch total count 1 27503 27503 55007 cpu 0 8300 1744700 1753000 elapsed 26.23 17803.79 3419109.57 3436939.59 disk 0 0 496 496 query 0 0 16254273 16254273 current 0 0 0 0 rows 0 0 27503 27503

Name

Short Name

Category

XXMCS PO Export Status # Shared XXMCS_PO_EXPORT_ST(T-S_SSS Logical Read rate Ser,ices Ph0sical rate NO S%&%'S%'CS ()R) O*S)R+), &-&'NS% P./S'C&0 R)&, R&%)

Name XXMCS Populate 5L I!ter&ace

Short Name

Category

XXMCS_LO(+_5L_I)TERF(CE Logical rate

NO S%&%'S%'CS ()R) O*S)R+), &-&'NS% P./S'C&0 R)&, R&%)

Name XXMCS Re&resh I!,e!tor0 Materiali.ed "ie/s INSERT

Short Name XXMCS_I)"_REFRES$_M"IE*

Category Ph0sical Read # Query 1 : 11837048

/*+ BYPASS_RECURSIVE_CHECK APPEND */INTO "APPS"."XXMCS_INV_MATERIAL_TRANS_V" ("ITEM_ID", "ITEM_NUMBER", "ORGANIZATION_ID", "PRIMARY_UOM", "UOM", "ITEM_STATUS_CODE", "CATALOG_STATUS_FLAG", "ITEM_FLAG", "STOCK_ENABLED_FLAG", "TXN_ENABLED_FLAG", "ITEM_ENABLED_FLAG", "ITEM_WEB_STATUS", "ITEM_DESCRIPTION", "LOT_CONTROL_CODE", "TXN_TYPE_ID", "TXN_TYPE_NAME", "TXN_DESCRIPTION", "REASON_NAME", "REASON_DESCRIPTION", "CATEGORY_SET_ID", "ITEM_CATEGORY_ID", "INVENTORY_LOCATION_ID", "LOCATION_DESCRIPTION", "LOC_ENABLE_FLAG", "LOCATION_SEGMENT1", "LOCATION_SEGMENT2", "LOCATION_SEGMENT3", "LOCATION_SEGMENT4", "LOCATION_SEGMENT5", "LOCATION_SEGMENT6", "LOCATION_SEGMENT7", "LOCATION_SEGMENT8", "LOCATION_SEGMENT9", "LOCATION_SEGMENT10", "LOCATION_SEGMENT11", "LOCATION_SEGMENT12", "LOCATION_SEGMENT13", "LOCATION_SEGMENT14", "LOCATION_SEGMENT15", "LOCATION_SEGMENT16", "LOCATION_SEGMENT17", "LOCATION_SEGMENT18", "LOCATION_SEGMENT19", "LOCATION_SEGMENT20",

"CATEGORY_SEGMENT1", "CATEGORY_SEGMENT2", "CATEGORY_SEGMENT3", "CATEGORY_SEGMENT4", "CATEGORY_SEGMENT5", "CATEGORY_SEGMENT6", "CATEGORY_SEGMENT7", "CATEGORY_SEGMENT8", "CATEGORY_SEGMENT9", "CATEGORY_SEGMENT10", "CATEGORY_SEGMENT11", "CATEGORY_SEGMENT12", "CATEGORY_SEGMENT13", "CATEGORY_SEGMENT14", "CATEGORY_SEGMENT15", "CATEGORY_SEGMENT16", "CATEGORY_SEGMENT17", "CATEGORY_SEGMENT18", "CATEGORY_SEGMENT19", "CATEGORY_SEGMENT20", "MKTS_SEGMENT1", "MKTS_SEGMENT2", "MKTS_SEGMENT3", "MKTS_SEGMENT4", "MKTS_SEGMENT5", "MKTS_SEGMENT6", "MKTS_SEGMENT7", "MKTS_SEGMENT8", "MKTS_SEGMENT9", "MKTS_SEGMENT10", "MKTS_SEGMENT11", "MKTS_SEGMENT12", "MKTS_SEGMENT13", "MKTS_SEGMENT14", "MKTS_SEGMENT15", "MKTS_SEGMENT16", "MKTS_SEGMENT17", "MKTS_SEGMENT18", "MKTS_SEGMENT19", "MKTS_SEGMENT20", "CATEGORY_ENABLED_FLAG", "CATEGORY_DESCRIPTION", "TRANSACTION_ID", "TRANSACTION_SET_ID", "TRANSACTION_CREATED_BY", "TRANSACTION_QUANTITY", "TRANSACTION_UOM", "PRIMARY_QUANTITY", "TRANSACTION_DATE", "VARIANCE_AMOUNT", "ACTUAL_COST_PER_TRANSACTION", "REVISION", "TRANSACATION_SOURCE_ID", "CREATION_DATE", "TRANSACTION_REFERENCE", "LOCATOR_ID", "TRANSACTION_SOURCE_TYPE_ID", "TRANSACTION_SOURCE_NAME", "SUBINVENTORY_CODE", "USER_NAME", "USER_DESCRIPTION", "PO_HEADER_ID", "POH_SEGMENT1", "POH_ENABLED_FLAG", "SHIP_VIA_LOOKUP_CODE", "FOB_LOOKUP_CODE", "FREIGHT_TERMS_LOOKUP_CODE", "CURRENCY_CODE", "POH_APPROVED_FLAG", "POH_APPROVED_DATE", "POH_COMMENTS", "POH_CLOSED_DATE", "SALES_ORDER_ID", "GL_CODE_COMBINATION_ID", "GL_ENABLED_FLAG", "GL_SEGMENT1", "GL_SEGMENT2", "GL_SEGMENT3", "GL_SEGMENT4", "GL_SEGMENT5", "GL_SEGMENT6", "GL_SEGMENT7", "GL_SEGMENT8", "GL_SEGMENT9", "GL_SEGMENT10", "GL_SEGMENT11", "GL_SEGMENT12", "GL_SEGMENT13", "GL_SEGMENT14", "GL_SEGMENT15", "GL_SEGMENT16", "GL_SEGMENT17", "GL_SEGMENT18", "GL_SEGMENT19", "GL_SEGMENT20", "WIP_ENTITY_NAME", "DISPOSITION_ID", "GEN_DESPOSITION_DESC", "DISPOSITION_SEGMENT1", "CST_UPDATE_DESC", "CYCLE_COUNT_HEADER_ID", "CYCLE_COUNT_HEADER_NAME", "CYCLE_COUNT_DESC", "PHYSICAL_INVENTORY_ID", "PHYSICAL_INVENTORY_NAME", "REQUISITION_HEADER_ID", "PORH_SEGMENT1", "LOT_NUMBER", "SERIAL_TRANSACTION_ID", "SERIAL_NUMBER", "REQUEST_NUMBER", "TRANSACTION_SOURCE_TYPE_NAME", "ORGANIZATION_NAME", "CATEGORY_SET_NAME", "TRANSACTION_SOURCE", "INVENTORY_LAYER_ID", "ACTUAL_COST_PER_LAYER", "QUANTITY_PER_LAYER", "HROW", "YROW", "AROW", "BROW", "CROW", "DROW", "EROW", "FROW", "GROW", "IROW", "JROW", "KROW", "LROW", "MROW", "NROW", "OROW", "PROW", "QROW", "RROW", "SROW", "TROW", "UROW", "VROW", "WROW") SELECT "MSI"."INVENTORY_ITEM_ID", "MSI"."SEGMENT1", "MSI"."ORGANIZATION_ID", "MSI"."PRIMARY_UNIT_OF_MEASURE", "MSI"."PRIMARY_UOM_CODE", "MSI"."INVENTORY_ITEM_STATUS_CODE", "MSI"."CATALOG_STATUS_FLAG", "MSI"."INVENTORY_ITEM_FLAG", "MSI"."STOCK_ENABLED_FLAG", "MSI"."MTL_TRANSACTIONS_ENABLED_FLAG", "MSI"."ENABLED_FLAG", "MSI"."WEB_STATUS", "MSI"."DESCRIPTION", "MSI"."LOT_CONTROL_CODE", "MTXT"."TRANSACTION_TYPE_ID", "MTXT"."TRANSACTION_TYPE_NAME", "MTXT"."DESCRIPTION", "MTR"."REASON_NAME", "MTR"."DESCRIPTION", "MICAT"."CATEGORY_SET_ID", "MICAT"."CATEGORY_ID", "MIL"."INVENTORY_LOCATION_ID", "MIL"."DESCRIPTION", "MIL"."ENABLED_FLAG", "MIL"."SEGMENT1", "MIL"."SEGMENT2", "MIL"."SEGMENT3", "MIL"."SEGMENT4", "MIL"."SEGMENT5", "MIL"."SEGMENT6", "MIL"."SEGMENT7",

"MIL"."SEGMENT8", "MIL"."SEGMENT9", "MIL"."SEGMENT10", "MIL"."SEGMENT11", "MIL"."SEGMENT12", "MIL"."SEGMENT13", "MIL"."SEGMENT14", "MIL"."SEGMENT15", "MIL"."SEGMENT16", "MIL"."SEGMENT17", "MIL"."SEGMENT18", "MIL"."SEGMENT19", "MIL"."SEGMENT20", "MCAT"."SEGMENT1", "MCAT"."SEGMENT2", "MCAT"."SEGMENT3", "MCAT"."SEGMENT4", "MCAT"."SEGMENT5", "MCAT"."SEGMENT6", "MCAT"."SEGMENT7", "MCAT"."SEGMENT8", "MCAT"."SEGMENT9", "MCAT"."SEGMENT10", "MCAT"."SEGMENT11", "MCAT"."SEGMENT12", "MCAT"."SEGMENT13", "MCAT"."SEGMENT14", "MCAT"."SEGMENT15", "MCAT"."SEGMENT16", "MCAT"."SEGMENT17", "MCAT"."SEGMENT18", "MCAT"."SEGMENT19", "MCAT"."SEGMENT20", "MKTS"."SEGMENT1", "MKTS"."SEGMENT2", "MKTS"."SEGMENT3", "MKTS"."SEGMENT4", "MKTS"."SEGMENT5", "MKTS"."SEGMENT6", "MKTS"."SEGMENT7", "MKTS"."SEGMENT8", "MKTS"."SEGMENT9", "MKTS"."SEGMENT10", "MKTS"."SEGMENT11", "MKTS"."SEGMENT12", "MKTS"."SEGMENT13", "MKTS"."SEGMENT14", "MKTS"."SEGMENT15", "MKTS"."SEGMENT16", "MKTS"."SEGMENT17", "MKTS"."SEGMENT18", "MKTS"."SEGMENT19", "MKTS"."SEGMENT20", "MCAT"."ENABLED_FLAG", "MCAT"."DESCRIPTION", "MMT"."TRANSACTION_ID", "MMT"."TRANSACTION_SET_ID", "MMT"."CREATED_BY", "MMT"."TRANSACTION_QUANTITY", "MMT"."TRANSACTION_UOM", "MMT"."PRIMARY_QUANTITY", "MMT"."TRANSACTION_DATE", "MMT"."VARIANCE_AMOUNT", "MMT"."ACTUAL_COST", "MMT"."REVISION", "MMT"."TRANSACTION_SOURCE_ID", "MMT"."CREATION_DATE", "MMT"."TRANSACTION_REFERENCE", "MMT"."LOCATOR_ID", "MMT"."TRANSACTION_SOURCE_TYPE_ID", "MMT"."TRANSACTION_SOURCE_NAME", "MMT"."SUBINVENTORY_CODE", "FNDU"."USER_NAME", "FNDU"."DESCRIPTION", "POH"."PO_HEADER_ID", "POH"."SEGMENT1", "POH"."ENABLED_FLAG", "POH"."SHIP_VIA_LOOKUP_CODE", "POH"."FOB_LOOKUP_CODE", "POH"."FREIGHT_TERMS_LOOKUP_CODE", "POH"."CURRENCY_CODE", "POH"."APPROVED_FLAG", "POH"."APPROVED_DATE", "POH"."COMMENTS", "POH"."CLOSED_DATE", "MKTS"."SALES_ORDER_ID", "GL"."CODE_COMBINATION_ID", "GL"."ENABLED_FLAG", "GL"."SEGMENT1", "GL"."SEGMENT2", "GL"."SEGMENT3", "GL"."SEGMENT4", "GL"."SEGMENT5", "GL"."SEGMENT6", "GL"."SEGMENT7", "GL"."SEGMENT8", "GL"."SEGMENT9", "GL"."SEGMENT10", "GL"."SEGMENT11", "GL"."SEGMENT12", "GL"."SEGMENT13", "GL"."SEGMENT14", "GL"."SEGMENT15", "GL"."SEGMENT16", "GL"."SEGMENT17", "GL"."SEGMENT18", "GL"."SEGMENT19", "GL"."SEGMENT20", "WIP"."WIP_ENTITY_NAME", "MDSP"."DISPOSITION_ID", "MDSP"."DESCRIPTION", "MDSP"."SEGMENT1", "CUPD"."DESCRIPTION", "CCH"."CYCLE_COUNT_HEADER_ID", "CCH"."CYCLE_COUNT_HEADER_NAME", "CCH"."DESCRIPTION", "MPI"."PHYSICAL_INVENTORY_ID", "MPI"."PHYSICAL_INVENTORY_NAME", "PORH"."REQUISITION_HEADER_ID", "PORH"."SEGMENT1", "MTLN"."LOT_NUMBER", "MTLN"."SERIAL_TRANSACTION_ID", "MUT"."SERIAL_NUMBER", "MTRH"."REQUEST_NUMBER", "MTST"."TRANSACTION_SOURCE_TYPE_NAME", "HAOTL"."NAME", "MCS"."CATEGORY_SET_NAME", DECODE ("MMT"."TRANSACTION_SOURCE_TYPE_ID", 1, "POH"."SEGMENT1", 2, "MKTS"."SEGMENT1" || '.' || "MKTS"."SEGMENT2" || '.' || "MKTS"." SEGMENT3", 3, "GL"."SEGMENT1" || '.'

|| "GL"."SEGMENT2" || '.' || "GL"."SEGMENT3", 4, "MTRH"."REQUEST_NUMBER", 5, "WIP"."WIP_ENTITY_NAME", 6, "MDSP"."SEGMENT1" || '.' || "MDSP"."SEGMENT2" || '.' || "MDSP"."SEGMENT3", 7, "PORH"."SEGMENT1", 8, "MKTS"."SEGMENT1" || '.' || "MKTS"."SEGMENT2" || '.' || "MKTS"."SEGMENT3", 9, "CCH"."CYCLE_COUNT_HEADER_NAME", 10, "MPI"."PHYSICAL_INVENTORY_NAME", 11, "CUPD"."DESCRIPTION", 12, "MKTS"."SEGMENT1" || '.' || "MKTS"."SEGMENT2" || '.' || "MKTS"."SEGMENT3", "MMT"."TRANSACTION_SOURCE_NAME" ), "MCLASD"."INV_LAYER_ID", NVL ("MCLASD"."ACTUAL_COST", "MMT"."ACTUAL_COST"), NVL ("MCLASD"."LAYER_QUANTITY", "MMT"."PRIMARY_QUANTITY"), "HAOTL".ROWID, "MPI".ROWID, "MCLASD".ROWID, "MTST".ROWID, "MTRH".ROWID, "MUT".ROWID, "MTLN".ROWID, "PORH".ROWID, "CCH".ROWID, "CUPD".ROWID, "MDSP".ROWID, "WIP".ROWID, "GL".ROWID, "MKTS".ROWID, "POH".ROWID, "FNDU".ROWID, "MMT".ROWID, "MCS".ROWID, "MCAT".ROWID, "MIL".ROWID, "MICAT".ROWID, "MTR".ROWID, "MTXT".ROWID, "MSI".ROWID FROM "INV"."MTL_SYSTEM_ITEMS_B" "MSI", "INV"."MTL_TRANSACTION_TYPES" "MTXT", "INV"."MTL_TRANSACTION_REASONS" "MTR", "INV"."MTL_ITEM_CATEGORIES" "MICAT", "INV"."MTL_ITEM_LOCATIONS" "MIL", "INV"."MTL_CATEGORIES_B" "MCAT", "INV"."MTL_CATEGORY_SETS_TL" "MCS", "INV"."MTL_MATERIAL_TRANSACTIONS" "MMT", "APPLSYS"."FND_USER" "FNDU", "PO"."PO_HEADERS_ALL" "POH", "INV"."MTL_SALES_ORDERS" "MKTS", "GL"."GL_CODE_COMBINATIONS" "GL", "WIP"."WIP_ENTITIES" "WIP", "INV"."MTL_GENERIC_DISPOSITIONS" "MDSP", "BOM"."CST_COST_UPDATES" "CUPD", "INV"."MTL_CYCLE_COUNT_HEADERS" "CCH", "INV"."MTL_PHYSICAL_INVENTORIES" "MPI", "PO"."PO_REQUISITION_HEADERS_ALL" "PORH", "INV"."MTL_TRANSACTION_LOT_NUMBERS" "MTLN", "INV"."MTL_UNIT_TRANSACTIONS" "MUT", "INV"."MTL_TXN_REQUEST_HEADERS" "MTRH", "INV"."MTL_TXN_SOURCE_TYPES" "MTST", "INV"."MTL_CST_LAYER_ACT_COST_DETAILS" "MCLASD", "HR"."HR_ALL_ORGANIZATION_UNITS_TL" "HAOTL"

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 AND AND AND

AND AND AND AND AND AND

1 = 1 "MMT"."REASON_ID" = "MTR"."REASON_ID"(+) "MMT"."CREATED_BY" = "FNDU"."USER_ID"(+) "MMT"."TRANSACTION_TYPE_ID" = "MTXT"."TRANSACTION_TYPE_ID"(+) "MMT"."LOCATOR_ID" = "MIL"."INVENTORY_LOCATION_ID"(+) "MMT"."ORGANIZATION_ID" = "MIL"."ORGANIZATION_ID"(+) "MMT"."TRANSACTION_ID" = "MTLN"."TRANSACTION_ID"(+) "MMT"."TRANSACTION_ID" = "MUT"."TRANSACTION_ID"(+) "MMT"."TRANSACTION_SOURCE_TYPE_ID" = "MTST"."TRANSACTION_SOURCE_TYPE_ID" "MMT"."TRANSACTION_SOURCE_ID" = "POH"."PO_HEADER_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "MKTS"."SALES_ORDER_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "GL"."CODE_COMBINATION_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "WIP"."WIP_ENTITY_ID"(+) "MMT"."ORGANIZATION_ID" = "WIP"."ORGANIZATION_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "MDSP"."DISPOSITION_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "PORH"."REQUISITION_HEADER_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "CCH"."CYCLE_COUNT_HEADER_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "MTRH"."HEADER_ID"(+) "MMT"."ORGANIZATION_ID" = "CCH"."ORGANIZATION_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "MPI"."PHYSICAL_INVENTORY_ID"(+) "MMT"."ORGANIZATION_ID" = "MPI"."ORGANIZATION_ID"(+) "MMT"."TRANSACTION_SOURCE_ID" = "CUPD"."COST_UPDATE_ID"(+) "MMT"."ORGANIZATION_ID" = "CUPD"."ORGANIZATION_ID"(+) "MMT"."INVENTORY_ITEM_ID" = "MSI"."INVENTORY_ITEM_ID" "MMT"."ORGANIZATION_ID" = "MSI"."ORGANIZATION_ID" "MICAT"."CATEGORY_ID" = "MCAT"."CATEGORY_ID" "MMT"."INVENTORY_ITEM_ID" = "MICAT"."INVENTORY_ITEM_ID" "MMT"."ORGANIZATION_ID" = "MICAT"."ORGANIZATION_ID" "MMT"."TRANSACTION_SOURCE_TYPE_ID" <> 11 ( "MMT"."TRANSACTION_SOURCE_TYPE_ID" <> 13 OR "MMT"."TRANSACTION_TYPE_ID" <> 80 ) "MSI"."ORGANIZATION_ID" = "HAOTL"."ORGANIZATION_ID" "MCS"."CATEGORY_SET_ID" = "MICAT"."CATEGORY_SET_ID" "MCS"."LANGUAGE" = 'US' "HAOTL"."LANGUAGE" = 'US' "MMT"."TRANSACTION_ID" = "MCLASD"."TRANSACTION_ID"(+) "MMT"."ORGANIZATION_ID" = "MCLASD"."ORGANIZATION_ID"(+)

call Parse Execute Fetch total Name

count 1 12268700 0 22274300

cpu 5600 6426105 0 6435010

elapsed 8905.07 762493 0 762493

disk 0 11837048 0 11837048

query 0 230071 0 230071

current 0 838786 0 838786

rows 0 0

Short Name XXMCS 1lo/ I!sulatio! -OM Co!

Category Ph0sical Read Rate

XXMCS_1LO*_I)S_-OM_CO)"

)(# !o logical read rate /as &ou!d

Name XXMCS Re&resh I!,e!tor0 Materiali.ed "ie/s )(# !o logical read rate /as &ou!d

Short Name

Category

XXMCS_I)"_REFRES$_M"IE* Logical Read Rate

Name XXMCS Re&resh I!,e!tor0 Materiali.ed "ie/s )( @ !o Ph0sical read rate /as &ou!d

Short Name

Category

XXMCS_I)"_REFRES$_M"IE* Ph0sical Read Rate

Name

Short Name

Category

XXMCS -pdate Ite% CO5S Multi XXMCS_ITEM_CO5S_M-LTI_M(I) Ph0sical Reads Thread Mai! Query1 : 1!17##7 BEGIN xxmcs_items_cogs_upd_new_pkg.xxmcs_main (:errbuf, :rc, :a0, :a1); END; call Parse Execute Fetch total count 1 1 0 2 cpu 0 569900 0 569900 elapsed 13.6 2932186 0 2932199 disk 0 1297007 0 1297007 query 0 2731020 0 2731020 current 0 4 0 4 rows 0 1 0 1

Name XXMCS_C-STXREF_*ORK1E)C$

Short Name XXMCS_C-STXREF_*ORK1E)C

Category logical Read Rate Query 1 : 12!57 " # 3 #47# $ !#3 741
Query 2 : 13548 + 0 / 0.97 = 13967.01 Query 3 : 40 + 0 / 0.01 = 4000

Query1 SELECT hcasa.attribute9 ' - ' hp.party_name DECODE (hl.address1, NULL, NULL, ', ' || hl.address1) DECODE (hl.address2, NULL, NULL, ', ' || hl.address2) DECODE (hl.city, NULL, NULL, ', ' || hl.city) DECODE (hl.state, NULL, NULL, ', ' || hl.state) DECODE (hl.postal_code, NULL, NULL, ', ' || hl.postal_code) DECODE (hl.county, NULL, NULL, ', ' || hl.county) DECODE (hps.party_site_number, NULL, NULL, ', (' || hps.party_site_number || ')' ) description, hcasa.cust_acct_site_id hz_cust_accounts hca, hz_parties hp, hz_cust_acct_sites_all hcasa, hz_party_sites hps, hz_locations hl, hz_cust_site_uses_all hcsua hca.party_id = hp.party_id hca.cust_account_id = hcasa.cust_account_id hcasa.party_site_id = hps.party_site_id hps.location_id = hl.location_id hcasa.cust_acct_site_id = hcsua.cust_acct_site_id hcasa.attribute9 IS NOT NULL hcasa.attribute9 <> '00000' hcsua.site_use_code = 'BILL_TO' --AND hcasa.attribute7 = 'Y' AND hcasa.attribute10 = 'Y' hcasa.org_id = fnd_profile.VALUE ('ORG_ID') hcasa.attribute9 || || || || || || || || || count 1 1 115 117 cpu 0.06 0 0.58 0.64 elapsed 0.05 0 0.64 0.7 disk 0 0 0 0 query 0 0 14257 14257 current 0 0 0 0 rows 0 0 2295 2295

FROM

WHERE AND AND AND AND AND AND AND AND AND ORDER BY
call Parse Execute Fetch total

Query2 :

SELECT

hca.account_number || ' - ' || hp.party_name || DECODE (hca.status, 'A', ' (Active)', 'I', ' (Inactive)', NULL) NAME, hca.cust_account_id FROM hz_cust_accounts hca, hz_parties hp WHERE hca.party_id = hp.party_id ORDER BY hca.account_number
call Parse

count 2

cpu 0

elapsed 0

disk 0

query 0

current 0

rows 0

Execute Fetch total Query3

2 6034 6038

0 0.72 0.72

0 0.97 0.97

0 0 0

0 13548 13548

0 0 0

0 120676 120676

SELECT /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#, sample_size, MINIMUM, maximum, distcnt, lowval, hival, density, col#, spare1, spare2, avgcln FROM hist_head$ WHERE obj# = :1 AND intcol# = :2
call Parse Execute Fetch total

count 1 10 10 21

cpu 0 0 0.01 0.01

elapsed 0 0 0.01 0.02

disk 0 0 2 2

query 0 0 40 40

current 0 0 0 0

rows 0 0 10 10

Name XXMCS Purchase Price -pdate

Short Name XXMCS_EXT_P-RPRICE

Category logical Read Rate Query 1 : 1553 " # 3 #4#1$ 1553##


Query2 : 278 + 0 / 0.02 = 13900 Query 3: 284 + 0 / 0.02 = 14200

SELECT DISTINCT FROM WHERE AND AND ORDER BY


call Parse Execute Fetch total Query2

pv.vendor_name, pv.vendor_id po_vendors pv, xxmcs_ext_purzones xx pv.enabled_flag = 'Y' pv.vendor_id = xx.vendor_id NVL (xx.active_flag, 'Y') = 'Y' 1 cpu elapsed 0 0 0.01 0.01 disk 0 0 0 0 query 0 0 1583 1583 current 0 0 0 0 rows 0 0 112 112

count 1 1 6 8

0 0 0.01 0.01

SELECT obj#, type#, ctime, mtime, stime, status, dataobj#, flags, oid$, spare1, spare2 FROM obj$ WHERE owner# = :1 AND NAME = :2 AND namespace = :3 AND remoteowner IS NULL AND linkname IS NULL AND subname IS NULL
call Parse Execute Fetch total

count 3 70 70 143

cpu 0 0 0 0

elapsed 0 0.01 0.01 0.02

disk 0 0 2 2

query 0 0 278 278

current 0 0 0 0

rows 0 0 68 68

Query 3

SELECT intcol#, NVL (pos#, 0), col#, NVL (spare1, 0) FROM ccol$ WHERE con# = :1
call Parse Execute Fetch total

count 2 68 136 206

cpu 0 0 0.01 0.01

elapsed 0 0 0.01 0.02

disk 0 0 3 3

query 0 0 284 284

current 0 0 0 0

rows 0 0 68 68

Name

Short Name

Category

XXMCS Ca!celled Sales Orders Report XXMCS_C()CELLE+_OR+ERS Logical Read Rate Query1 : 255 " # 3 #4#1 $ 255##
SELECT /*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG')

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 2 0.01 0.01 0 485 0 255 total 4 0.01 0.01 0 485 0 255 Name XXMCS Cha!ge Order (udit Report Short Name Category

XXMCS_OR+ER_C$5_(-+IT_ Logical Read Rate RPT Query 1 : 3#3 " # 3 #4#! $ 1515# Query! : 255 " # 3 #4#1 $ 255##

BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id,

fnd_profile.put fnd_profile.put fnd_profile.put fnd_profile.put END;

:form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); ('ORG_ID', :org_id); ('MFG_ORGANIZATION_ID', :mfg_org_id); ('MFG_CHART_OF_ACCOUNTS_ID', :coa); ('APPS_MAINTENANCE_MODE', :amm); elapse d 0 0.02 0 0.02 0 0.02 0 0.02 disk 0 0 0 0 query 0 303 0 303 current 0 0 0 0 rows 0 1 0 1

call Parse Execut e Fetch total Query!


SELECT

count 1 1 0 2

cpu

/*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG') count 1 1 2 4 cpu 0 0 0 0 elapse d 0 0 0.01 0.01 disk 0 0 0 0 query 0 0 485 485 current 0 0 0 0 rows 0 0 255 255

call Parse Execut e Fetch total

Name

Short Name

Category

XXMCS Co!solidated 1illi!g State%e!t XXMCS_(R_CO)S1ILLSTMT Logical Read Rate Query1 : 1#31#3 " # 3 14!! $ 5251#4 5 Query ! : 3#3 " # 3 #4#! $ 1515# Query 3 : 255 " # 3 #4#1 $ 255##

SELECT DISTINCT hca.account_number customer_number, hca.cust_account_id, NVL (rcta.interface_header_attribute2, ' ') customer_contract, hca.attribute1, hca.attribute2, hca.attribute3, hca.attribute4, hca.attribute5, hca.attribute6, hca.attribute7, hca.attribute8, hca.attribute9 FROM hz_cust_accounts hca, ra_customer_trx_all rcta WHERE rcta.sold_to_customer_id = hca.cust_account_id AND hca.cust_account_id = NVL (:p_cust_name, hca.cust_account_id) AND EXISTS ( SELECT DISTINCT rcta.customer_trx_id FROM ra_cust_trx_types_all rctt, ra_cust_trx_line_gl_dist_all rctlgda, gl_code_combinations gcc WHERE rcta.cust_trx_type_id = rctt.cust_trx_type_id AND rcta.org_id = rctt.org_id AND rctt.TYPE IN ('INV', 'CM', 'DM') AND TRUNC (rcta.trx_date) <= TRUNC (:p_cut_off_date) AND rctlgda.customer_trx_id = rcta.customer_trx_id AND rctlgda.account_class = 'REC' AND rctlgda.code_combination_id = gcc.code_combination_id AND rcta.interface_header_attribute9 = :p_division_code AND rctt.accounting_affect_flag = 'Y' AND rcta.attribute2 IS NULL AND rcta.term_id = 1032)

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 1 1.21 1.22 0 103103 0 0 total 3 1.21 1.22 0 103103 0 0 Query!
BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id

fnd_profile.put fnd_profile.put fnd_profile.put fnd_profile.put END;

); ('ORG_ID', :org_id); ('MFG_ORGANIZATION_ID', :mfg_org_id); ('MFG_CHART_OF_ACCOUNTS_ID', :coa); ('APPS_MAINTENANCE_MODE', :amm);

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0.01 0.02 0 303 0 1 Fetch 0 0 0 0 0 0 0 total 2 0.01 0.02 0 303 0 1 Query3
SELECT /*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG')

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 2 0.01 0.01 0 485 0 255 total 4 0.01 0.01 0 485 0 255 Name XXMCS Custo%er Listi!g # Su%%ar0 Short Name Category

XXMCS_R(XC-S Logical Read Rate Query1 : 5! 17! " # 3 !1411 $ !533#4 Query ! : #5!7! " # 3 124!7 $ 2!2154 Query3: 1172 " # 3 1412 $ !3254 Query2 : 313 #! " # 3 7417 $ 3132745 Query5 : !31 31 " # 3 743! $ 3!73 42 Query : 312#33 " # 3 415 $ 2211#42

SELECT

FROM

WHERE AND AND AND AND AND AND AND AND AND AND AND AND AND ORDER BY

SUBSTRB (party.party_name, 1, 50) customer_name, cust.account_number customer_number, cust.cust_account_id customer_id, SUBSTRB (look.meaning, 1, 8) site_use, acct_site.cust_acct_site_id address_id, SUBSTRB (loc.address1, 1, 30) address_line_1, SUBSTRB (loc.city, 1, 15) city, SUBSTRB (loc.state, 1, 2) state, SUBSTRB (loc.postal_code, 1, 10) zip_code, loc.address1 || DECODE (loc.address2, '', '', ', ' || loc.address2) || DECODE (loc.address3, '', '', ',' || loc.address2) || DECODE (loc.city, '', '', ', ' || loc.city) || DECODE (loc.state, '', '', ', ' || loc.state) || DECODE (loc.postal_code, '', '', ', ' || loc.postal_code) cust_address, cust.status cust_status ar_lookups look, ar_lookups look_status, hz_cust_accounts cust, hz_parties party, hz_cust_site_uses site_uses, hz_cust_acct_sites acct_site, hz_party_sites party_site, hz_locations loc cust.cust_account_id = acct_site.cust_account_id(+) cust.party_id = party.party_id acct_site.party_site_id = party_site.party_site_id(+) loc.location_id(+) = party_site.location_id acct_site.cust_acct_site_id = site_uses.cust_acct_site_id(+) look.lookup_type(+) = 'SITE_USE_CODE' look.lookup_code(+) = site_uses.site_use_code look_status.lookup_type(+) = 'CODE_STATUS' look_status.lookup_code(+) = NVL (cust.status, 'A') SUBSTRB (party.party_name, 1, 50) BETWEEN :pr_customer_name_low AND :pr_customer_name_high cust.account_number BETWEEN :pr_customer_number_low AND :pr_customer_number_high look.lookup_code >= :p_site_low look.lookup_code <= :p_site_high NVL (look_status.lookup_code, :p_status_low) BETWEEN :pr_status_low AND :pr_status_high DECODE (UPPER (:p_order_by), 'CUSTOMER', party.party_name, 'PHONETIC', party.organization_name_phonetic, 'CUSTOMER NUMBER', cust.account_number, 'SITE USE', look.meaning, 'CITY', loc.city, 'STATE', loc.state, 'ZIP CODE', loc.postal_code, 'STATUS', cust.status ), party.party_name, loc.state, look.meaning, cust.account_number, loc.address1, loc.city, loc.postal_code,

cust.status

call count cpu elapsed disk query current rows Parse 2 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 8585 7.06 29.19 15942 826972 0 60092 total 8588 7.06 29.19 15942 826972 0 60092 Query! :
SELECT acv.rel_party_id FROM ar_contacts_v acv WHERE acv.customer_id = :b1

call count cpu elapsed disk query current rows Parse 1 0 0 0 8 0 0 Execute 59252 0.04 3.03 0 8 0 0 Fetch 59252 0.87 11.23 2300 605256 0 14002 total 118505 0.91 14.27 2300 605272 0 14002 Query3:
SELECT acv.first_name || ' ' || acv.last_name FROM ar_contacts_v acv WHERE acv.customer_id = :b1

call count cpu elapsed disk query current rows Parse 1 0 0 0 8 0 0 Execute 59252 0.05 3.49 0 8 0 0 Fetch 59252 0.5 6.43 745 619730 0 14002 total 118505 0.55 9.94 745 619746 0 14002 Query2:
SELECT acv.rel_party_id FROM ar_contacts_v acv WHERE acv.customer_id = :b1 AND acv.address_id = :b2 AND acv.status = 'A'

call count cpu elapsed disk query current rows Parse 1 0.06 0.17 56 438 0 0 Execute 60092 0.04 3.46 0 0 0 0 Fetch 60092 0.1 4.32 1155 313164 0 840 total 120185 0.2 7.97 1211 313602 0 840 Query5
SELECT DECODE (ap.area_code, '', '', ap.area_code || '-') || ap.phone_number || DECODE (ap.extension, '', '', ' ' || 'Ext:' || ap.extension) phone FROM ar_phones_v ap

WHERE AND AND AND

ap.owner_table_name = 'HZ_PARTIES' ap.owner_table_id = :b1 ap.phone_type = 'GEN' ap.status = 'A

call count cpu elapsed disk query current rows Parse 1 0 0.02 5 18 0 0 Execute 14837 0.03 1.28 4 189 0 0 Fetch 14837 0.3 6.01 1114 239424 0 14684 total 29675 0.33 7.32 1123 239631 0 14684 Query :
SELECT acv.first_name || ' ' || acv.last_name FROM ar_contacts_v acv WHERE acv.customer_id = :b1 AND acv.address_id = :b2

call count cpu elapsed disk query current rows Parse 1 0 0.01 0 8 0 0 Execute 60092 0.06 3.69 0 16 0 0 Fetch 60092 0.04 3.28 95 314009 0 840 total 120185 0.1 6.98 95 314033 0 840

Name

Short Name

Category Ph0sical Read Rate

XXMCS +etail Le,el "alidatio! XXMCS_I)"+ET"(L Report


SELECT

FROM

WHERE AND AND AND AND AND AND GROUP BY

ORDER BY

SUM (ximts.transaction_quantity) loadout_qty, TRUNC (ximts.transaction_date) transaction_date, ximts.inventory_item_code, ximts.truck_number, ximts.transaction_uom, mp.organization_id, msib.inventory_item_id xxmcs_inv_mtl_txns_stg ximts, mtl_parameters mp, mtl_system_items_b msib UPPER (ximts.transaction_type) = 'LOAD OUT' TRUNC (ximts.transaction_date) BETWEEN TRUNC (:b1) AND TRUNC (:b2) ximts.truck_number = NVL (:b3, ximts.truck_number) ximts.division_code = mp.organization_code mp.organization_id = :b4 msib.segment1 = ximts.inventory_item_code msib.organization_id = :b4 ximts.truck_number, TRUNC (ximts.transaction_date), inventory_item_code, msib.inventory_item_id, mp.organization_id, ximts.transaction_uom ximts.truck_number, TRUNC (ximts.transaction_date)

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 1 0.07 0.19 1532 1550 0 0 total 3 0.07 0.19 1532 1550 0 0 'uer0 A >?89 B =7>: C

Name

Short Name

Category Logical Read Rate

XXMCS +etail Le,el "alidatio! Report XXMCS_I)"+ET"(L

SELECT

FROM WHERE AND AND AND AND AND AND GROUP BY

ORDER BY

SUM (ximts.transaction_quantity) loadout_qty, TRUNC (ximts.transaction_date) transaction_date, ximts.inventory_item_code, ximts.truck_number, ximts.transaction_uom, mp.organization_id, msib.inventory_item_id xxmcs_inv_mtl_txns_stg ximts, mtl_parameters mp, mtl_system_items_b msib UPPER (ximts.transaction_type) = 'LOAD OUT' TRUNC (ximts.transaction_date) BETWEEN TRUNC (:b1) AND TRUNC (:b2) ximts.truck_number = NVL (:b3, ximts.truck_number) ximts.division_code = mp.organization_code mp.organization_id = :b4 msib.segment1 = ximts.inventory_item_code msib.organization_id = :b4 ximts.truck_number, TRUNC (ximts.transaction_date), inventory_item_code, msib.inventory_item_id, mp.organization_id, ximts.transaction_uom ximts.truck_number, TRUNC (ximts.transaction_date)

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 1 0.07 0.19 1532 1550 0 0 total 3 0.07 0.19 1532 1550 0 0 'uer0 > A >??= D = B 7>: C

Name XXMCS +etail "aria!ce Progra%

Short Name XXMCS_I)"+ET"(R_)E*

Category Ph0sical Read Rate Query 1: 153! 3 #411 $ 5# 341

SELECT

FROM

WHERE AND AND AND AND AND AND GROUP BY

ORDER BY

SUM (ximts.transaction_quantity) loadout_qty, TRUNC (ximts.transaction_date) transaction_date, ximts.inventory_item_code, ximts.truck_number, ximts.transaction_uom, mp.organization_id, msib.inventory_item_id xxmcs_inv_mtl_txns_stg ximts, mtl_parameters mp, mtl_system_items_b msib UPPER (ximts.transaction_type) = 'LOAD OUT' TRUNC (ximts.transaction_date) BETWEEN TRUNC (:b1) AND TRUNC (:b2) ximts.truck_number = NVL (:b3, ximts.truck_number) ximts.division_code = mp.organization_code mp.organization_id = :b4 msib.segment1 = ximts.inventory_item_code msib.organization_id = :b4 ximts.truck_number, TRUNC (ximts.transaction_date), inventory_item_code, msib.inventory_item_id, mp.organization_id, ximts.transaction_uom ximts.truck_number, TRUNC (ximts.transaction_date)

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 1 0.07 0.19 1532 1550 0 0 total 3 0.07 0.19 1532 1550 0 0 Name Short Name Category Logical Read Rate Query1 : 155# " # 3 #4#5 $ 11375 Query! : !5! " # 3 #4#! $ 121##

XXMCS +etail "aria!ce XXMCS_I)"+ET"(R_+I"M5R Progra% # +i,isio! Ma!ager


SELECT

FROM WHERE AND AND AND AND AND AND GROUP BY

ORDER BY

SUM (ximts.transaction_quantity) loadout_qty, TRUNC (ximts.transaction_date) transaction_date, ximts.inventory_item_code, ximts.truck_number, ximts.transaction_uom, mp.organization_id, msib.inventory_item_id xxmcs_inv_mtl_txns_stg ximts, mtl_parameters mp, mtl_system_items_b msib UPPER (ximts.transaction_type) = 'LOAD OUT' TRUNC (ximts.transaction_date) BETWEEN TRUNC (:b1) AND TRUNC (:b2) ximts.truck_number = NVL (:b3, ximts.truck_number) ximts.division_code = mp.organization_code mp.organization_id = :b4 msib.segment1 = ximts.inventory_item_code msib.organization_id = :b4 ximts.truck_number, TRUNC (ximts.transaction_date), inventory_item_code, msib.inventory_item_id, mp.organization_id, ximts.transaction_uom 1

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 1 0.04 0.08 385 1550 0 0 total 3 0.04 0.08 385 1550 0 0
BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END;

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0.03 0.02 2 282 0 1 Fetch 0 0 0 0 0 0 0 total 2 0.03 0.02 2 282 0 1

Name XXMCS +etail "aria!ce Progra% # +i,isio! Ma!ager

Short Name

Category

XXMCS_I)"+ET"(R_+I"M5R Ph0sical Read Rate Query1: 355 3 #4#5 $ 251!

SELECT

FROM

WHERE AND AND AND AND AND AND GROUP BY

ORDER BY

SUM (ximts.transaction_quantity) loadout_qty, TRUNC (ximts.transaction_date) transaction_date, ximts.inventory_item_code, ximts.truck_number, ximts.transaction_uom, mp.organization_id, msib.inventory_item_id xxmcs_inv_mtl_txns_stg ximts, Mtl_parameters mp, mtl_system_items_b msib UPPER (ximts.transaction_type) = 'LOAD OUT' TRUNC (ximts.transaction_date) BETWEEN TRUNC (:b1) AND TRUNC (:b2) ximts.truck_number = NVL (:b3, ximts.truck_number) ximts.division_code = mp.organization_code mp.organization_id = :b4 msib.segment1 = ximts.inventory_item_code msib.organization_id = :b4 ximts.truck_number, TRUNC (ximts.transaction_date), inventory_item_code, msib.inventory_item_id, mp.organization_id, ximts.transaction_uom 1 count 1 1 1 3 cpu 0 0 0.04 0.04 elapsed 0 0 0.08 0.08 disk 0 0 385 385 query 0 0 1550 1550 current 0 0 0 0 rows 0 0 0 0

call Parse Execute Fetch total

Name XXMCS +iscou!t Lost Report

Short Name XXMCS_(PXI)+TL

Category Logical Read Rate Query1 : 51!57! " # 3 !543# $ !#13541 Query! : 3#3 " # 3 #4#3 $ 1#1##

SELECT

i.vendor_id c_vendor_id, v1.vendor_name c_vendor_name, UPPER (v1.vendor_name) c_upper_vendor_name, v2.vendor_site_code c_vendor_site_code, segment1 c_vendor_num, invoice_num c_invoice_num, t.NAME c_name, ap.discount_date c_discount_date, invoice_date c_invoice_date, MAX (check_date) c_last_payment_date, invoice_amount c_invoice_amount, SUM (DECODE (f.minimum_accountable_unit, NULL, ROUND (( NVL (p.discount_taken, 0) / NVL (i.payment_cross_rate, 1) ), f.PRECISION ), ROUND ( ( NVL (p.discount_taken, 0) / NVL (i.payment_cross_rate, 1) )

/ f.minimum_accountable_unit ) * f.minimum_accountable_unit ) ) c_discount_amount_taken, DECODE (( SIGN (SUM (DECODE (f.minimum_accountable_unit, NULL, ROUND (( NVL (p.discount_lost, 0) / NVL (i.payment_cross_rate, 1 ) ), f.PRECISION ), ROUND ( ( NVL (p.discount_lost, 0) / NVL (i.payment_cross_rate, 1) ) / f.minimum_accountable_unit ) * f.minimum_accountable_unit ) ) ) * SIGN (invoice_amount) ), -1, 0, SUM (DECODE (f.minimum_accountable_unit, NULL, ROUND (( NVL (p.discount_lost, 0) / NVL (i.payment_cross_rate, 1) ), f.PRECISION ), ROUND ( ( NVL (p.discount_lost, 0) / NVL (i.payment_cross_rate, 1) ) / f.minimum_accountable_unit ) * f.minimum_accountable_unit ) ) ) c_discount_amount_lost, i.description c_description, i.invoice_currency_code c_currency, SUM (DECODE (p.exchange_rate, NULL, 1, 0)) c_no_rate_count, i.base_amount c_base_currency_amount, DECODE (f2.minimum_accountable_unit, NULL, ROUND (SUM (( NVL (i.exchange_rate, 1) * ( NVL (p.discount_taken, 0) / NVL (i.payment_cross_rate, 1) ) ) ), f2.PRECISION ), ROUND ( SUM (( NVL (i.exchange_rate, 1) * ( NVL (p.discount_taken, 0) / NVL (i.payment_cross_rate, 1) )

) ) / f2.minimum_accountable_unit ) * f2.minimum_accountable_unit ) c_base_curr_discnt_taken, DECODE (( SIGN (SUM (DECODE (f2.minimum_accountable_unit, NULL, ROUND (( NVL (p.discount_lost, 0) * NVL (i.exchange_rate, 1) / NVL (i.payment_cross_rate, 1 ) ), f2.PRECISION ), ROUND ( ( NVL (p.discount_lost, 0) * NVL (i.exchange_rate, 1) / NVL (i.payment_cross_rate, 1) ) / f2.minimum_accountable_unit ) * f2.minimum_accountable_unit ) ) ) * SIGN (invoice_amount) ), -1, 0, SUM (DECODE (f2.minimum_accountable_unit, NULL, ROUND (( NVL (p.discount_lost, 0) * NVL (i.exchange_rate, 1) / NVL (i.payment_cross_rate, 1) ), f2.PRECISION ), ROUND ( ( NVL (p.discount_lost, 0) * NVL (i.exchange_rate, 1) / NVL (i.payment_cross_rate, 1) ) / f2.minimum_accountable_unit ) * f2.minimum_accountable_unit ) ) ) c_base_curr_discnt_lost po_vendors v1, po_vendor_sites v2, ap_invoices i, ap_invoice_payments p, ap_payment_schedules_all ap, ap_checks c, ap_terms_tl t, fnd_currencies_vl f, fnd_currencies_vl f2 v1.vendor_id = i.vendor_id v2.vendor_site_id = i.vendor_site_id c.check_id = p.check_id

FROM

WHERE AND AND

AND AND AND AND AND AND AND AND AND AND

AND GROUP BY

HAVING ORDER BY

i.invoice_id = p.invoice_id i.invoice_id = ap.invoice_id i.terms_id = t.term_id i.invoice_currency_code = f.currency_code (c.check_date BETWEEN :p_start_date AND :p_end_date) c.void_date IS NULL i.payment_status_flag != 'N' i.invoice_amount != 0 i.amount_paid != 0 NVL (v1.vendor_type_lookup_code, '-1') = DECODE (:p_vendor_type_lookup_code, NULL, NVL (v1.vendor_type_lookup_code, '-1'), 'All', NVL (v1.vendor_type_lookup_code, '-1'), :p_vendor_type_lookup_code ) f2.currency_code = :c_base_currency_code i.invoice_id, i.vendor_id, v1.vendor_name, v2.vendor_site_code, segment1, invoice_num, t.NAME, discount_date, invoice_date, invoice_amount, i.description, i.invoice_currency_code, i.exchange_rate, i.base_amount, f2.minimum_accountable_unit, f2.PRECISION SUM (p.discount_lost) != 0 15 ASC, 3 ASC, 5 ASC, 1 ASC, i.invoice_currency_code, UPPER (v1.vendor_name), v2.vendor_site_code, invoice_date, invoice_num

call count cpu elapsed disk query current rows Parse 1 0.01 0 0 0 0 0 Execute 1 0.34 0.34 0 16 0 0 Fetch 17 6.33 27.96 14602 592556 0 133 total 19 6.68 28.3 14602 592572 0 133 Query!:
BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000');

fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END;

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0.02 0.03 0 303 0 1 Fetch 0 0 0 0 0 0 0 total 2 0.02 0.03 0 303 0 1

Name XXMCS +ispatch Report


SELECT

Short Name XXMCS_+ISP(TC$

Category Logical Read Rate Query1 : 255 " # 3#4#1 $ 255##

/*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG')

call Parse Execut e Fetch total

count 1 1 2 4

cpu 0 0 0 0

elapse d 0 0 0.01 0.01

disk 0 0 0 0

query 0 0 485 485

current 0 0 0 0

rows 0 0 255 255

Name XXMCS Expected Receipts Report

Short Name XXMCS_POXR"XR"

Category Logical Read Rate Query1 : 573 21 " # 3 7141 $1!!57421 Query! : !75 " # 3#4#! $ 131## Query3: 255 " # 3#4#1 $ 255##

SELECT

TO_CHAR (NVL (pll.promised_date, need_by_date), 'DD-MON-YYYY') p_date, pov.vendor_name SOURCE, msi.segment1 c_flex_item, mca.segment1 || ' || mca.segment2 || '

' ' || mca.segment3 || ' ' || mca.segment4 c_flex_cat, poh.segment1 po_num, DECODE (por.release_num, NULL, NULL, por.release_num) po_rel_num, pol.line_num po_line_num, poh.segment1 || DECODE (por.release_num, NULL, NULL, '-' || por.release_num) || ',' || pol.line_num number_release_line, pdt.type_name doc_type, pll.shipment_type shipment_type, 'ABC' LOCATION, pll.ship_to_location_id location_id, pol.item_revision rev, pol.unit_meas_lookup_code unit, pol.vendor_product_num product_number, plt.line_type line_type, pol.item_description item_description, pll.quantity_received quantity_received, DECODE (NVL (rp.blind_receiving_flag, 'N'), 'N', ROUND (pll.quantity, :p_qty_precision), ROUND (pll.quantity, :p_qty_precision) ) ordered,

FROM

WHERE AND

AND

DECODE (NVL (rp.blind_receiving_flag, 'N'), 'N', ROUND (DECODE (SIGN ( NVL (pll.quantity, 0) - NVL (pll.quantity_received, 0) ), -1, 0, 0, 0, +1, NVL (pll.quantity, 0) - NVL (pll.quantity_received, 0) ), :p_qty_precision ), ROUND (DECODE (SIGN ( NVL (pll.quantity, 0) - NVL (pll.quantity_received, 0) ), -1, 0, 0, 0, +1, NVL (pll.quantity, 0) - NVL (pll.quantity_received, 0) ), :p_qty_precision ) ) due, poh.note_to_receiver note_receiver, phc.hazard_class hazard, pun.un_number un_number, pun.description un_description, plc2.displayed_field source_type, DECODE (psp.manual_po_num_type, 'NUMERIC', NULL, poh.segment1 ) document_numbering1, DECODE (psp.manual_po_num_type, 'NUMERIC', TO_NUMBER (poh.segment1), NULL ) document_numbering2, poh.po_header_id head_id, pll.line_location_id loc_id po_vendors pov, po_system_parameters psp, po_releases por, po_line_types plt, mtl_categories mca, po_line_locations pll, po_lines pol, po_headers poh, mtl_system_items msi, po_hazard_classes phc, po_un_numbers pun, po_document_types pdt, po_lookup_codes plc2, rcv_parameters rp poh.po_header_id = pol.po_header_id DECODE (poh.type_lookup_code, 'STANDARD', NVL (poh.closed_code, 'OPEN'), 'PLANNED', NVL (poh.closed_code, 'OPEN'), 'BLANKET', NVL (por.closed_code, 'OPEN') ) = 'OPEN' DECODE (poh.type_lookup_code, 'STANDARD', NVL (pol.closed_code, 'OPEN'), 'PLANNED', NVL (pol.closed_code, 'OPEN'), 'BLANKET', 'OPEN'

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 AND

AND AND AND AND AND UNION SELECT

) = 'OPEN' NVL (poh.cancel_flag, 'N') = 'N' NVL (pol.cancel_flag, 'N') = 'N' NVL (por.cancel_flag, 'N') = 'N' poh.vendor_id = pov.vendor_id pol.po_line_id = pll.po_line_id pol.line_type_id = plt.line_type_id pol.item_id = msi.inventory_item_id(+) pol.category_id = mca.category_id pll.po_release_id = por.po_release_id(+) pll.shipment_type IN ('STANDARD', 'SCHEDULED', 'BLANKET') NVL (pll.approved_flag, 'N') = 'Y' NVL (pll.cancel_flag, 'N') = 'N' poh.type_lookup_code IN ('BLANKET', 'STANDARD', 'PLANNED') NVL (pll.closed_code, 'OPEN') IN ('OPEN', 'CLOSED FOR INVOICE') pol.un_number_id = pun.un_number_id(+) pol.hazard_class_id = phc.hazard_class_id(+) pdt.document_type_code IN ('PO', 'PA') pdt.document_subtype = poh.type_lookup_code plc2.lookup_type = 'REQUISITION SOURCE TYPE' plc2.lookup_code = 'VENDOR' NVL (pll.quantity, 0) - NVL (pll.quantity_cancelled, 0) > NVL (pll.quantity_received, 0) 1 = 1 1 = 1 1 = 1 1 = 1 pll.ship_to_organization_id = :p_org_id NVL (NVL (pll.promised_date, pll.need_by_date), SYSDATE) BETWEEN NVL (:p_promise_date_from, NVL (NVL (pll.promised_date, pll.need_by_date), SYSDATE ) - 1 ) AND NVL (:p_promise_date_to, NVL (NVL (pll.promised_date, pll.need_by_date), SYSDATE ) + 1 ) 1 = 1 1 = 1 :p_customer IS NULL rp.organization_id = pll.ship_to_organization_id plt.matching_basis <> 'AMOUNT' TO_CHAR (prl.need_by_date, 'DD-MON-YYYY') p_date, hou.NAME SOURCE, msi.segment1 c_flex_item, mca.segment1 || ' || mca.segment2 || '

' ' || mca.segment3 || ' '

|| mca.segment4 c_flex_cat, prh.segment1 po_num, NULL po_rel_num, prl.line_num po_line_num, prh.segment1 || ',' || prl.line_num number_release_line, pdt.type_name doc_type, NULL shipment_type, hrtl.location_code LOCATION, hrl.location_id location_id, prl.item_revision rev, prl.unit_meas_lookup_code unit, prl.suggested_vendor_product_code product_number, plt.line_type line_type, prl.item_description item_description, NULL quantity_received, DECODE (NVL (rp.blind_receiving_flag, 'N'), 'N', ROUND (prl.quantity, :p_qty_precision), ROUND (prl.quantity, :p_qty_precision) ) ordered, DECODE (NVL (rp.blind_receiving_flag, 'N'), 'N', ROUND (DECODE (SIGN ( prl.quantity - NVL (prl.quantity_delivered, 0) ), -1, 0, 0, 0, +1, prl.quantity - NVL (prl.quantity_delivered, 0) ), :p_qty_precision ), ROUND (DECODE (SIGN ( prl.quantity - NVL (prl.quantity_delivered, 0) ), -1, 0, 0, 0, +1, prl.quantity - NVL (prl.quantity_delivered, 0) ), :p_qty_precision ) ) due, prl.note_to_receiver note_receiver, phc.hazard_class hazard, pun.un_number un_number, pun.description un_description, plc2.displayed_field source_type, DECODE (psp.manual_req_num_type, 'NUMERIC', NULL, prh.segment1 ) document_numbering1, DECODE (psp.manual_req_num_type, 'NUMERIC', TO_NUMBER (prh.segment1), NULL ) document_numbering2, prh.requisition_header_id head_id, -1 loc_id FROM hr_locations_all hrl, hr_locations_all_tl hrtl, po_system_parameters psp, po_line_types plt, mtl_categories mca, po_requisition_headers prh, po_requisition_lines prl, mtl_system_items msi, hr_organization_units hou, po_hazard_classes phc, po_un_numbers pun,

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 AND AND AND UNION SELECT

po_document_types pdt, po_lookup_codes plc2, rcv_parameters rp prh.requisition_header_id = prl.requisition_header_id prl.line_type_id = plt.line_type_id prl.item_id = msi.inventory_item_id(+) hou.organization_id = prl.source_organization_id prl.category_id = mca.category_id(+) prl.deliver_to_location_id = hrl.location_id hrl.location_id = hrtl.location_id hrtl.LANGUAGE = USERENV ('LANG') NVL (prh.authorization_status, 'INCOMPLETE') = 'APPROVED' NVL (prl.cancel_flag, 'N') = 'N' prl.source_type_code = 'INVENTORY' NVL (prl.closed_code, 'OPEN') != 'FINALLY CLOSED' prl.un_number_id = pun.un_number_id(+) prl.hazard_class_id = phc.hazard_class_id(+) pdt.document_type_code = 'REQUISITION' pdt.document_subtype = prh.type_lookup_code plc2.lookup_type = 'REQUISITION SOURCE TYPE' plc2.lookup_code = 'INVENTORY' prl.quantity - NVL (prl.quantity_cancelled, 0) > NVL (prl.quantity_delivered, 0) 1 = 1 1 = 1 1 = 1 prl.destination_organization_id = :p_org_id NVL (prl.need_by_date, SYSDATE) BETWEEN NVL (:p_promise_date_from, NVL (prl.need_by_date, SYSDATE ) - 1 ) AND NVL (:p_promise_date_to, NVL (prl.need_by_date, SYSDATE ) + 1 ) 1 = 1 1 = 1 :p_vendor IS NULL :p_customer IS NULL rp.organization_id = prl.destination_organization_id plt.matching_basis <> 'AMOUNT' TO_CHAR (rcv.need_by_date, 'DD-MON-YYYY') p_date, SOURCE SOURCE, msi.segment1 c_flex_item, mca.segment1 || ' || mca.segment2 || '

'

' || mca.segment3 || ' ' || mca.segment4 c_flex_cat,

FROM

WHERE AND AND AND AND AND AND AND AND

AND AND AND AND AND ORDER BY

TO_CHAR (oe_order_num) po_num, DECODE (po_release_number, NULL, NULL, po_release_number ) po_rel_num, oe_order_line_num po_line_num, rcv.oe_order_num || DECODE (po_release_number, NULL, NULL, '-' || po_release_number) || ',' || rcv.oe_order_line_num number_release_line, order_type doc_type, NULL shipment_type, ship_to_location LOCATION, ship_to_location_id location_id, rcv.item_revision rev, primary_uom unit, vendor_item_number product_number, '' line_type, item_description item_description, NULL quantity_received, ordered_qty ordered, NVL (oel.ordered_quantity, 0) - NVL (oel.shipped_quantity, 0) - NVL (oel.fulfilled_quantity, 0) due, note_to_receiver note_receiver, rcv.hazard_class hazard, rcv.un_number un_number, NULL un_description, plc.displayed_field source_type, NULL document_numbering1, TO_NUMBER (NULL) document_numbering2, oe_order_header_id head_id, oe_order_line_id loc_id oe_po_enter_receipts_v rcv, mtl_categories mca, mtl_system_items msi, po_lookup_codes plc, oe_order_lines oel 1 = 1 1 = 1 1 = 1 1 = 1 rcv.to_organization_id = :p_org_id rcv.item_id = msi.inventory_item_id(+) rcv.item_category_id = mca.category_id(+) msi.organization_id = rcv.to_organization_id NVL (rcv.need_by_date, SYSDATE) BETWEEN NVL (:p_promise_date_from, NVL (rcv.need_by_date, SYSDATE ) - 1 ) AND NVL (:p_promise_date_to, NVL (rcv.need_by_date, SYSDATE ) + 1 ) 1 = 1 1 = 1 rcv.source_type_code = plc.lookup_code :p_vendor IS NULL rcv.oe_order_line_id = oel.line_id 2 ASC, 5 ASC, 6 ASC, 7 ASC, 8 ASC, 9 ASC,

25 ASC, 28 ASC, 13 ASC, 14 ASC, 15 ASC, 16 ASC, 17 ASC, 22 ASC, 23 ASC, 24 ASC, 3 ASC, 4 ASC, 21 ASC, 1 ASC, 1, 23, 9, 24, 25

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 14 9.99 71.1 50456 873641 0 26 total 16 9.99 71.1 50456 873641 0 26 Query! :
BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END;

call count cpu Parse 1 Execute 1 Fetch 0 total 2 Query3 :


SELECT

elapsed 0 0 0 0 0 0.02 0 0.02

disk 0 0 0 0

query 0 278 0 278

current 0 0 0 0

rows 0 1 0 1

/*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG') elapsed 0 0 0 0 0 0 0.01 0.01 disk 0 0 0 0 query 0 0 485 485 current 0 0 0 0 rows 0 0 255 255

call count cpu Parse 1 Execute 1 Fetch 2 total 4

Name XXMCS 5e!eral Ledger # 2>89 Char4

Short Name XXMCS_5LR5)L

Category Logical Read Rate Query1: 40124564 + 0 926.19 = 43322.17 Query! : 23857221 + 3 260.99 = 91410.490 Query3: 72!3 " # 3 1 471 $ 2#15 411

Query1:
SELECT /*+ ORDERED USE_NL( jeh cat src seq) INDEX(jel gl_je_lines_n1) INDEX(jeh gl_je_headers_u1) INDEX(cat gl_je_categories_u1) INDEX(src gl_je_sources_u1) INDEX(seq fnd_document_sequences_u1) */ NVL (src.user_je_source_name, '**************') SOURCE, NVL (cat.user_je_category_name, '**************') CATEGORY, jeh.NAME NAME, jel.code_combination_id ccid, jel.period_name period_name, jel.effective_date effective_date, jel.description description, seq.NAME sequence_name, jeh.doc_sequence_value document_number, jeh.external_reference REFERENCE, NVL (jel.accounted_dr, 0) accounted_dr, NVL (jel.accounted_cr, 0) accounted_cr FROM gl_je_lines jel, gl_je_headers jeh, gl_je_batches jeb, gl_je_categories cat, gl_je_sources src, fnd_document_sequences seq WHERE ( '' || jel.status = 'P' AND ( (NVL (accounted_dr, 0) != 0 OR NVL (accounted_cr, 0) != 0) OR ( NVL (accounted_dr, 0) = 0 AND NVL (accounted_cr, 0) = 0 AND stat_amount IS NOT NULL ) ) AND jeh.je_header_id = jel.je_header_id AND jeh.set_of_books_id = :p_set_of_books_id AND jeh.actual_flag = :p_actual_flag AND jeb.je_batch_id = jeh.je_batch_id + 0 AND jeb.average_journal_flag = 'N' AND 1 = 1 AND jeh.currency_code != 'STAT' AND src.je_source_name = jeh.je_source AND cat.je_category_name = jeh.je_category AND seq.doc_sequence_id(+) = jeh.doc_sequence_id ) AND (:period_name = jel.period_name) AND (:ccid = jel.code_combination_id) ORDER BY jeh.NAME, jel.je_line_num

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 765389 0.75 43.16 0 0 0 0 Fetch 962998 177.82 883.03 275256 40124564 0 5149522 total 1728388 178.57 926.19 275256 40124564 0 5149522 Query!:

SELECT /*+ ORDERED USE_NL(ps bal) INDEX(ps gl_period_statuses_u1) INDEX(bal gl_balances_n1) */ NVL (bal.begin_balance_dr, 0) begin_dr, NVL (bal.begin_balance_cr, 0) begin_cr, NVL (bal.period_net_dr, 0) period_dr, NVL (bal.period_net_cr, 0) period_cr, bal.period_name period_name, cc.segment1 bal_data, cc.segment1 || ' ' || cc.segment2 || ' ' || cc.segment3 || ' ' || cc.segment4 || ' ' || cc.segment5 || ' ' || cc.segment6 || ' ' || cc.segment7 flexdata, cc.code_combination_id ccid, bal.period_num period_num, bal.period_year period_year, cc.template_id template_id FROM gl_code_combinations cc, gl_period_statuses ps, gl_balances bal WHERE ps.application_id = 101 AND ps.set_of_books_id = :p_set_of_books_id AND ps.effective_period_num >= :start_eff_period_num AND ps.effective_period_num <= :end_eff_period_num AND cc.chart_of_accounts_id = :struct_num AND cc.code_combination_id = bal.code_combination_id AND cc.segment1 BETWEEN '00' AND '99' AND cc.segment2 BETWEEN '00000' AND '99999' AND cc.segment3 BETWEEN '000000' AND '999999' AND cc.segment4 BETWEEN '000' AND '999' AND cc.segment5 BETWEEN '00' AND '99' AND cc.segment6 BETWEEN '000' AND '999' AND cc.segment7 BETWEEN '00' AND '99' AND bal.set_of_books_id = :p_set_of_books_id AND bal.period_name = ps.period_name AND bal.currency_code = :p_currency_code AND bal.actual_flag = :p_actual_flag AND 1 = 1 AND 1 = 1 AND ( ( NVL (bal.begin_balance_dr, 0) - NVL (bal.begin_balance_cr, 0) != 0 OR NVL (bal.period_net_dr, 0) != 0 OR NVL (bal.period_net_cr, 0) != 0 ) OR (EXISTS ( SELECT /*+ ORDERED USE_NL(jeh jeb) INDEX(jel gl_je_lines_n1)

INDEX(jeh gl_je_headers_u1) INDEX(jeb gl_je_batches_u1) */ 'has data' FROM gl_je_lines jel, gl_je_headers jeh, gl_je_batches jeb WHERE jel.code_combination_id = bal.code_combination_id AND jel.period_name = bal.period_name AND jel.set_of_books_id = bal.set_of_books_id AND jel.status || '' = 'P' AND ( ( NVL (jel.accounted_dr, 0) != 0 OR NVL (jel.accounted_cr, 0) != 0 ) OR ( NVL (jel.accounted_dr, 0) = 0 AND NVL (jel.accounted_cr, 0) = 0 AND jel.stat_amount IS NOT NULL ) ) AND jeh.je_header_id = jel.je_header_id + 0 AND jeh.currency_code = bal.currency_code AND jeh.actual_flag = bal.actual_flag AND NVL (jeh.budget_version_id, -1) = NVL (bal.budget_version_id, -1) AND NVL (jeh.encumbrance_type_id, -1) = NVL (bal.encumbrance_type_id, -1) AND jeh.status || '' = 'P' AND jeb.je_batch_id = jeh.je_batch_id + 0 AND jeb.status || '' = 'P') ) ) ORDER BY 6 ASC, 7 ASC, cc.segment1, cc.segment3, cc.segment1, cc.segment2, cc.segment3, cc.segment4, cc.segment5, cc.segment6, cc.segment7, ps.period_year, ps.period_num

call count cpu elapsed disk query current rows Parse 1 0 0 0 0 0 0 Execute 1 0 0 0 0 0 0 Fetch 382695 141.63 260.99 80536 23857221 3 765389 total 382697 141.63 260.99 80536 23857221 3 765389

Query3 :
SELECT fnd_flex_values_vl.flex_value, fnd_flex_values_vl.flex_value VALUE, fnd_flex_values_vl.description description, NVL (fnd_flex_values_vl.summary_flag, 'N'), NVL (TO_NUMBER (fnd_flex_values_vl.structured_hierarchy_level), -1), fnd_flex_values_vl.compiled_value_attributes, NVL (fnd_flex_values_vl.enabled_flag, 'Y'), NVL (TO_CHAR (fnd_flex_values_vl.start_date_active, 'J'), 0), NVL (TO_CHAR (fnd_flex_values_vl.end_date_active, 'J'), 0) FROM fnd_flex_values_vl fnd_flex_values_vl WHERE (fnd_flex_values_vl.flex_value_set_id = :b1) AND fnd_flex_values_vl.flex_value = :x

call count cpu elapsed disk query current rows Parse 7 0 0 0 0 0 0 Execute 112164 0.05 5.42 0 0 0 0 Fetch 112164 0.49 11.37 673 674236 0 112164 total 224335 0.54 16.79 673 674236 0 112164

Query1:
SELECT /*+ USE_NL (A B I) */ DISTINCT a.application_id, a.application_name, b.application_short_name, b.basepath, i.product_version FROM fnd_application_tl a, fnd_application b, fnd_product_installations i WHERE a.application_id = i.application_id(+) AND a.application_id = b.application_id AND a.LANGUAGE = USERENV ('LANG') elapsed 0 0 0 0 0 0 0.01 0.01 disk 0 0 0 0 query 0 0 485 485 current 0 0 0 0 rows 0 0 255 255

call count cpu Parse 1 Execute 1 Fetch 2 total 4 ;E? D = B =7=>

Name XXMCS I!co%plete I!,oices Report

Short Name XXMCS_R(XIIR

Category Logical Read Rate Query1 : 303 + 0 0.03 = 10100 ! 10000

Query1: BEGIN fnd_global.bless_next_init ('FND_PERMIT_0000'); fnd_global.initialize (:session_id, :user_id, :resp_id, :resp_appl_id, :security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id, :conc_program_id, :conc_request_id, :conc_priority_request, :form_id, :form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id, :server_id ); fnd_profile.put ('ORG_ID', :org_id); fnd_profile.put ('MFG_ORGANIZATION_ID', :mfg_org_id); fnd_profile.put ('MFG_CHART_OF_ACCOUNTS_ID', :coa); fnd_profile.put ('APPS_MAINTENANCE_MODE', :amm); END;

call count cpu elapsed disk Parse 1 0 0 Execute 1 0.02 0.03 Fetch 0 0 0 total 2 0.02 0.03

query 0 7 0 7 0 303 0 303

current 0 0 0 0

rows 0 1 0 1

You might also like