<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: CAC OPM Costed Formula -->
 <REPORTS_ROW>
  <GUID>21C67ECE56D62CC4E0630100007F31B8</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>with lc as (
select /*+ materialize*/
x.organization_id,
x.inventory_item_id,
max(x.cost_type) cost_type,
max(x.cost_type_desc) cost_type_desc,
sum(decode(x.cost_component_code,:p_cost_component1,x.component_cost)) c1,
sum(decode(x.cost_component_code,:p_cost_component2,x.component_cost)) c2,
sum(decode(x.cost_component_code,:p_cost_component3,x.component_cost)) c3,
sum(decode(x.cost_component_code,:p_cost_component4,x.component_cost)) c4,
sum(decode(x.cost_component_code,:p_cost_component5,x.component_cost)) c5,
sum(decode(x.cost_component_code,:p_cost_component6,x.component_cost)) c6,
sum(decode(x.cost_component_code,:p_cost_component7,x.component_cost)) c7,
sum(decode(x.cost_component_code,:p_cost_component8,x.component_cost)) c8,
sum(decode(x.cost_component_code,:p_cost_component9,x.component_cost)) c9,
sum(decode(x.cost_component_code,:p_cost_component10,x.component_cost)) c10,
sum(decode(x.cost_component_code,:p_cost_component11,x.component_cost)) c11,
sum(decode(x.cost_component_code,:p_cost_component12,x.component_cost)) c12,
sum(decode(x.cost_component_code,:p_cost_component13,x.component_cost)) c13,
sum(decode(x.cost_component_code,:p_cost_component14,x.component_cost)) c14,
sum(decode(x.cost_component_code,:p_cost_component15,x.component_cost)) c15,
sum(decode(x.cost_component_code,:p_cost_component16,x.component_cost)) c16,
sum(decode(x.cost_component_code,:p_cost_component17,x.component_cost)) c17,
sum(decode(x.cost_component_code,:p_cost_component18,x.component_cost)) c18,
sum(decode(x.cost_component_code,:p_cost_component19,x.component_cost)) c19,
sum(decode(x.cost_component_code,:p_cost_component20,x.component_cost)) c20,
sum(decode(x.cost_component_code,:p_cost_component21,x.component_cost)) c21,
sum(decode(x.cost_component_code,:p_cost_component22,x.component_cost)) c22,
sum(decode(x.cost_component_code,:p_cost_component23,x.component_cost)) c23,
sum(decode(x.cost_component_code,:p_cost_component24,x.component_cost)) c24,
sum(decode(x.cost_component_code,:p_cost_component25,x.component_cost)) c25,
sum(decode(x.cost_component_code,:p_cost_component26,x.component_cost)) c26,
sum(decode(x.cost_component_code,:p_cost_component27,x.component_cost)) c27,
sum(decode(x.cost_component_code,:p_cost_component28,x.component_cost)) c28,
sum(decode(x.cost_component_code,:p_cost_component29,x.component_cost)) c29,
sum(decode(x.cost_component_code,:p_cost_component30,x.component_cost)) c30,
sum(case when x.cost_component_code in (:p_cost_component1,:p_cost_component2,:p_cost_component3,:p_cost_component4,:p_cost_component5,:p_cost_component6,:p_cost_component7,:p_cost_component8,:p_cost_component9,:p_cost_component10,:p_cost_component11,:p_cost_component12,:p_cost_component13,:p_cost_component14,:p_cost_component15,:p_cost_component16,:p_cost_component17,:p_cost_component18,:p_cost_component19,:p_cost_component20,:p_cost_component21,:p_cost_component22,:p_cost_component23,:p_cost_component24,:p_cost_component25,:p_cost_component26,:p_cost_component27,:p_cost_component28,:p_cost_component29,:p_cost_component30) then null else x.component_cost end) other_costs,
sum(x.component_cost) total_item_cost
from
(
select
x.organization_id,
x.inventory_item_id,
x.cost_type,
x.cost_type_desc,
x.cost_component_code,
round(sum(x.component_cost),9) component_cost
from
(
select
mp.organization_id,
gic.inventory_item_id,
cmm.cost_mthd_code cost_type,
cmm.cost_mthd_desc cost_type_desc,
ccmb.cost_cmpntcls_code cost_component_code,
gid.cmptcost_amt component_cost
from
mtl_parameters mp,
hr_organization_information hoi,
cm_whse_asc cwa,
gmf_fiscal_policies gfp,
gmf_period_statuses gps,
cm_mthd_mst cmm,
gl_item_cst gic,
gl_item_dtl gid,
cm_cmpt_mst_b ccmb
where
:p_cost_type is null and
32=32 and
35=35 and
36=36 and
mp.organization_id=hoi.organization_id and
hoi.org_information_context=&apos;Accounting Information&apos; and
mp.organization_id=cwa.organization_id(+) and
to_number(hoi.org_information2)=gfp.legal_entity_id and
gfp.legal_entity_id=gps.legal_entity_id and
gfp.cost_type_id=gps.cost_type_id and
gps.cost_type_id=cmm.cost_type_id and
gps.period_id=gic.period_id and
gps.cost_type_id=gic.cost_type_id and
nvl(cwa.cost_organization_id,mp.organization_id)=gic.organization_id and
gic.delete_mark=0 and
gic.itemcost_id=gid.itemcost_id and
gid.cost_cmpntcls_id=ccmb.cost_cmpntcls_id
union all
select
mp.organization_id,
ccd.inventory_item_id,
cmm.cost_mthd_code cost_type,
cmm.cost_mthd_desc cost_type_desc,
ccmb.cost_cmpntcls_code cost_component_code,
ccd.cmpnt_cost component_cost
from
mtl_parameters mp,
hr_organization_information hoi,
cm_whse_asc cwa,
gmf_period_statuses gps,
cm_mthd_mst cmm,
cm_cmpt_dtl ccd,
cm_cmpt_mst_b ccmb
where
:p_cost_type is not null and
32=32 and
33=33 and
35=35 and
36=36 and
mp.organization_id=hoi.organization_id and
hoi.org_information_context=&apos;Accounting Information&apos; and
mp.organization_id=cwa.organization_id(+) and
to_number(hoi.org_information2)=gps.legal_entity_id and
gps.cost_type_id=cmm.cost_type_id and
gps.period_id=ccd.period_id and
gps.cost_type_id=ccd.cost_type_id and
nvl(cwa.cost_organization_id,mp.organization_id)=ccd.organization_id and
ccd.delete_mark=0 and
ccd.cost_cmpntcls_id=ccmb.cost_cmpntcls_id and
ccmb.product_cost_ind=1
) x
group by
x.organization_id,
x.inventory_item_id,
x.cost_type,
x.cost_type_desc,
x.cost_component_code
) x
group by
x.organization_id,
x.inventory_item_id
),
last_formula as (
select
max(ffmv.formula_id) keep (dense_rank last order by ffmv.formula_vers) formula_id
from
mtl_parameters mp,
fm_form_mst_vl ffmv,
gmd_status_vl gsv
where
32=32 and
37=37 and
mp.organization_id=ffmv.owner_organization_id and
ffmv.delete_mark=0 and
ffmv.formula_status=gsv.status_code
group by
ffmv.owner_organization_id,
ffmv.formula_no
)
select
nvl(gl.short_name,gl.name) ledger,
haouv_ou.name operating_unit,
mp.organization_code org_code,
:p_calendar_code calendar_code,
:p_period_code period_code,
&amp;category_segments1
ffmv.formula_no formula_number,
ffmv.formula_vers formula_version,
gsv.status_code,
gsv.meaning status_description,
ffmv.formula_desc1 formula_description1,
ffmv.formula_class,
gfcv.formula_class_desc formula_class_description,
msiv.concatenated_segments product_item_number,
&amp;category_segments2
&amp;category_segments3
nvl(ffmv.attribute4,msiv.attribute4) label_approval,
fmd.line_no,
msiv2.concatenated_segments line_item_number,
msiv2.description line_item_description,
xxen_util.meaning(msiv2.item_type,&apos;ITEM_TYPE&apos;,3) item_type,
xxen_util.meaning(fmd.line_type,&apos;GMD_FORMULA_ITEM_TYPE&apos;,552) formula_item_type,
(select misv.inventory_item_status_code_tl from mtl_item_status_vl misv where msiv2.inventory_item_status_code=misv.inventory_item_status_code) item_status,
xxen_util.meaning(msiv2.planning_make_buy_code,&apos;MTL_PLANNING_MAKE_BUY&apos;,700) make_buy_code,
&amp;p_show_more_details
fmd.detail_uom detailed_uom,
msiv2.primary_uom_code primary_uom,
fmd.qty quantity,
fmd.qty*mucv.conversion_rate primary_quantity,
fmd.cost_alloc cost_allocation,
lc.cost_type,
lc.cost_type_desc cost_type_description,
nvl(lc.c1,0) &quot;&amp;p_cost_component1&quot;,
nvl(lc.c2,0) &quot;&amp;p_cost_component2&quot;,
nvl(lc.c3,0) &quot;&amp;p_cost_component3&quot;,
nvl(lc.c4,0) &quot;&amp;p_cost_component4&quot;,
nvl(lc.c5,0) &quot;&amp;p_cost_component5&quot;,
nvl(lc.c6,0) &quot;&amp;p_cost_component6&quot;,
nvl(lc.c7,0) &quot;&amp;p_cost_component7&quot;,
nvl(lc.c8,0) &quot;&amp;p_cost_component8&quot;,
nvl(lc.c9,0) &quot;&amp;p_cost_component9&quot;,
nvl(lc.c10,0) &quot;&amp;p_cost_component10&quot;,
nvl(lc.c11,0) &quot;&amp;p_cost_component11&quot;,
nvl(lc.c12,0) &quot;&amp;p_cost_component12&quot;,
nvl(lc.c13,0) &quot;&amp;p_cost_component13&quot;,
nvl(lc.c14,0) &quot;&amp;p_cost_component14&quot;,
nvl(lc.c15,0) &quot;&amp;p_cost_component15&quot;,
nvl(lc.c16,0) &quot;&amp;p_cost_component16&quot;,
nvl(lc.c17,0) &quot;&amp;p_cost_component17&quot;,
nvl(lc.c18,0) &quot;&amp;p_cost_component18&quot;,
nvl(lc.c19,0) &quot;&amp;p_cost_component19&quot;,
nvl(lc.c20,0) &quot;&amp;p_cost_component20&quot;,
nvl(lc.c21,0) &quot;&amp;p_cost_component21&quot;,
nvl(lc.c22,0) &quot;&amp;p_cost_component22&quot;,
nvl(lc.c23,0) &quot;&amp;p_cost_component23&quot;,
nvl(lc.c24,0) &quot;&amp;p_cost_component24&quot;,
nvl(lc.c25,0) &quot;&amp;p_cost_component25&quot;,
nvl(lc.c26,0) &quot;&amp;p_cost_component26&quot;,
nvl(lc.c27,0) &quot;&amp;p_cost_component27&quot;,
nvl(lc.c28,0) &quot;&amp;p_cost_component28&quot;,
nvl(lc.c29,0) &quot;&amp;p_cost_component29&quot;,
nvl(lc.c30,0) &quot;&amp;p_cost_component30&quot;,
nvl(lc.other_costs,0) other_costs,
nvl(lc.total_item_cost,0) total_item_cost
from
mtl_parameters mp,
hr_organization_information hoi,
hr_all_organization_units_vl haouv,
hr_all_organization_units_vl haouv_ou,
gl_ledgers gl,
fm_form_mst_vl ffmv,
&amp;p_latest_formula_table
gmd_status_vl gsv,
gmd_formula_class_vl gfcv,
fm_matl_dtl fmd,
mtl_system_items_vl msiv,
mtl_system_items_vl msiv2,
mtl_uom_conversions_view mucv,
&amp;p_show_more_dtl_tables
lc
where
31=31 and
32=32 and
34=34 and
37=37 and
38=38 and
mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
mp.process_enabled_flag=&apos;Y&apos; and
mp.organization_id&lt;&gt;mp.master_organization_id and
mp.organization_id=hoi.organization_id and
hoi.org_information_context=&apos;Accounting Information&apos; and
hoi.organization_id=haouv.organization_id and
sysdate&lt;nvl(haouv.date_to,sysdate+1) and
to_number(hoi.org_information3)=haouv_ou.organization_id and
to_number(hoi.org_information1)=gl.ledger_id and
mp.organization_id=ffmv.owner_organization_id and
ffmv.delete_mark=0 and
ffmv.formula_status=gsv.status_code and
ffmv.formula_class=gfcv.formula_class(+) and
ffmv.formula_id=fmd.formula_id and
mp.organization_id=msiv.organization_id and
msiv.inventory_item_id=(select max(fmd2.inventory_item_id) from fm_matl_dtl fmd2 where ffmv.formula_id=fmd2.formula_id and fmd2.line_type=1) and
fmd.organization_id=msiv2.organization_id and
fmd.inventory_item_id=msiv2.inventory_item_id and
fmd.organization_id=mucv.organization_id and
fmd.inventory_item_id=mucv.inventory_item_id and
fmd.detail_uom=mucv.uom_code and
fmd.organization_id=lc.organization_id(+) and
fmd.inventory_item_id=lc.inventory_item_id(+)
&amp;p_latest_formula_joins
&amp;p_show_more_dtl_joins
order by
ledger,
operating_unit,
org_code,
formula_number,
formula_version,
formula_item_type desc,
product_item_number,
fmd.line_no,
line_item_number</SQL_TEXT>
  <VERSION_COMMENTS>Rebuilt to the Blitz Report SQL standards: the component costs of all formula lines are read in one pass instead of 32 subqueries per line, Other Costs no longer stays zero unless all 30 cost component parameters are entered (the not in list compared with empty parameters), the cost type columns belong to the line item instead of the product, Show More Details takes the lot size of the latest validity rule of the latest recipe instead of listing a line once per validity rule, Contribute to Yield shows Yes or blank, item status translated. Organization security from the Blitz Report organization access, with operating unit and ledger security through profiles Blitz Report Use Operating Unit Security and Blitz Report Use Ledger Security.</VERSION_COMMENTS>
  <NUMBER_FORMAT>#,##0.00000;[Red](#,##0.00000)</NUMBER_FORMAT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>CAC OPM Costed Formula</REPORT_NAME>
    <DESCRIPTION>Report showing OPM formulas and item costs, by OPM Cost Component Class.   The report automatically displays the first thirty Cost Components, sorted by Usage Indicator (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc), then by the Cost Component Class.  With the &quot;Other Costs&quot; column summing up any other non-displayed Cost Component Classes.  For a different selection of Cost Component Classes, you may override any of the defaulted Cost Component Classes.  If you have fewer than thirty Cost Components the report automatically displays &quot;Not Available&quot;, for the succeeding Cost Component columns.  And if you enter a cost type this report uses the item costs from the cost type; if you leave the cost type blank it uses the item costs from the month-end item costs.

Note:  The Label Approval column is from a user-defined Formula field, attribute4.  Your use of these descriptive flexfields, may be different and may require you to customize this report.

-- | Version Modified on Modified by Description
-- | ======= =========== ==============
-- | 1.0     02 Jun 2024 Douglas Volz Initial Coding based on client&apos;s sample report.
-- | 1.1     03 Jun 2024 Douglas Volz UOM conversions for formula line quantities
-- | 1.2     08 Jun 2024 Douglas Volz Replaced Cost Component rownum sort logic.
-- | 1.3     12 Jun 2024 Douglas Volz Cleaned-up naming for Cost Component parameters, fixed item number parameter.
-- | 1.4     03 Aug 2024 Douglas Volz Add OPM Cost Organizations to get correct item costs.
-- | 1.5     05 Aug 2024 Douglas Volz Add inventory organization access control security.
-- | 1.6     07 Aug 2024 Douglas Volz Not all formulas are assigned to classes, needs outer join.
-- | 1.7     08 Aug 2024 Douglas Volz Add item status and Make/Buy columns.
-- | 1.8     09 Aug 2024 Douglas Volz Add parameter &quot;Show More Details&quot; for Scale Type, Contribute to Yield, Std Lot Size and End Date.
-- | 1.9     17 Aug 2024 Douglas Volz Add parameters &quot;Only Show Latest Version&quot; and &quot;Effective Date&quot;.
-- | 1.10    18 Aug 2024 Douglas Volz Restructured code.
-- | 1.11    07 Sep 2024 Douglas Volz Fixed Cost Component parameters, from lexicals to bind variables.
-- | 1.12    10 Sep 2024 Douglas Volz Add Std Lot Size UOM column.
-- |  1.13    24 Oct 2026 Andy Haack    Rebuilt to the Blitz Report SQL standards.
</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>R12 only</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>&amp;category_segments1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;category_segments2</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;category_segments3</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component10</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component11</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component12</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component13</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component14</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component15</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component16</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component17</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component18</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component19</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component2</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component20</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component21</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component22</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component23</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component24</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component25</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component26</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component27</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component28</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component29</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component3</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component30</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component4</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component5</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component6</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component7</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component8</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_cost_component9</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_latest_formula_joins</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_latest_formula_table</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_show_more_details</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_show_more_dtl_joins</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;p_show_more_dtl_tables</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>31=31</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>32=32</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>33=33</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>34=34</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>35=35</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>36=36</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>37=37</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>38=38</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_calendar_code</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component10</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component11</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component12</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component13</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component14</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component15</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component16</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component17</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component18</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component19</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component2</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component20</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component21</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component22</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component23</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component24</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component25</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component26</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component27</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component28</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component29</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component3</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component30</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component4</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component5</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component6</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component7</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component8</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_component9</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_cost_type</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_period_code</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>33=33</ANCHOR>
    <SQL_TEXT>cmm.cost_mthd_code=:p_cost_type</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Cost Type (OPM Orgs Only)</LOV_NAME>
    <LOV_GUID>184A903C40A16B3FE0630100007F2880</LOV_GUID>
    <LOV_QUERY_DSP>select
x.value, 
x.description
from
(
 select cmm.cost_mthd_code value, cmm.cost_mthd_desc description
 from   cm_mthd_mst cmm
 where exists 
 (select &apos;x&apos;
  from  gmf_calendar_assignments gca,
        org_organization_definitions ood,
        mtl_parameters mp
  where gca.legal_entity_id = ood.legal_entity
  and   gca.cost_type_id    = cmm.cost_type_id 
  and   (ood.organization_id = fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) or mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;))
  and   (:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;))
  and   (:$flex$.ledger is null or ood.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) 
  and   mp.organization_id = ood.organization_id
  and   nvl(ood.disable_date,sysdate) &gt;= sysdate
  and   mp.organization_id &lt;&gt; mp.master_organization_id
  and   mp.process_enabled_flag = &apos;Y&apos;
 )
) x
group by
       x.value,
       x.description
order by value
</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Type</PARAMETER_NAME>
      <DESCRIPTION>Cost type whose component costs value the formula lines. Leave blank to use the period-end item costs of the fiscal policy cost type.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>35=35</ANCHOR>
    <SQL_TEXT>gps.calendar_code=:p_calendar_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>OPM Calendar Code</LOV_NAME>
    <LOV_GUID>19508EAA42357240E0630100007FD049</LOV_GUID>
    <LOV_QUERY_DSP>select  ccht.calendar_code value, ccht.calendar_desc description
from    cm_cldr_hdr_tl ccht
where   ccht.language = userenv(&apos;lang&apos;)
and exists
(select &apos;x&apos;
 from   gmf_calendar_assignments gca,
        gmf_period_statuses gps,
        org_organization_definitions ood,
        mtl_parameters mp 
 where  gca.calendar_code = gps.calendar_code
 and    gca.legal_entity_id = gps.legal_entity_id
 and    gca.legal_entity_id = ood.legal_entity
 and    gca.calendar_code = ccht.calendar_code
 and    (ood.organization_id = fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) or mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;))
 and    (:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;))
 and    (:$flex$.ledger is null or ood.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) 
 and    mp.organization_id = ood.organization_id
 and    nvl(ood.disable_date,sysdate) &gt;= sysdate
 and    mp.organization_id &lt;&gt; mp.master_organization_id
)
order by value desc</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>OPM Calendar Code</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>36=36</ANCHOR>
    <SQL_TEXT>gps.period_code=:p_period_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>OPM Period Code</LOV_NAME>
    <LOV_GUID>19508EAA42367240E0630100007FD049</LOV_GUID>
    <LOV_QUERY_DSP>select  ccd.period_code value, ccd.period_desc description
from    cm_cldr_dtl ccd
where exists
        (select 1 
         from   gmf_period_statuses gps
         where  gps.calendar_code   = :$flex$.opm_calendar_code
         and    gps.legal_entity_id in (select ood.legal_entity from org_organization_definitions ood 
                                        where  (ood.organization_id = fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)
                                        or      ood.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;)))
        and    gps.period_code      = ccd.period_code
        and    gps.calendar_code    = ccd.calendar_code
       )
order by ccd.end_date desc</LOV_QUERY_DSP>
    <DEFAULT_VALUE>
</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>OPM Period Code</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;p_latest_formula_table</ANCHOR>
    <SQL_TEXT>last_formula,</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes_No</LOV_NAME>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <DEFAULT_VALUE>N</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Only Show Latest Version</PARAMETER_NAME>
      <DESCRIPTION>Yes reports only the latest version of each formula; No reports all versions.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <ANCHOR>&amp;p_latest_formula_joins</ANCHOR>
    <SQL_TEXT>and ffmv.formula_id=last_formula.formula_id</SQL_TEXT>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Only Show Latest Version</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;p_show_more_details</ANCHOR>
    <SQL_TEXT>xxen_util.meaning(fmd.scale_type,&apos;SCALE_TYPE&apos;,552) scale_type,
xxen_util.yes(fmd.contribute_yield_ind) contribute_to_yield,
last_grvr.detail_uom lot_size_uom,
last_grvr.std_qty standard_lot_size,
fmd.ingredient_end_date,</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes_No</LOV_NAME>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <DEFAULT_VALUE>N</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Show More Details</PARAMETER_NAME>
      <DESCRIPTION>Yes adds the ingredient scale type, contribute to yield, end date and the lot size of the latest validity rule of the latest recipe.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <ANCHOR>&amp;p_show_more_dtl_joins</ANCHOR>
    <SQL_TEXT>and fmd.formula_id=last_grvr.formula_id(+)
and fmd.inventory_item_id=last_grvr.inventory_item_id(+)</SQL_TEXT>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Show More Details</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>8</SORT_ORDER>
    <ANCHOR>&amp;p_show_more_dtl_tables</ANCHOR>
    <SQL_TEXT>(
select
lr.formula_id,
grvr.inventory_item_id,
max(grvr.detail_uom) keep (dense_rank last order by grvr.recipe_validity_rule_id) detail_uom,
max(grvr.std_qty) keep (dense_rank last order by grvr.recipe_validity_rule_id) std_qty
from
(
select
grv.formula_id,
max(grv.recipe_id) keep (dense_rank last order by grv.recipe_version) recipe_id
from
mtl_parameters mp,
gmd_recipes_vl grv,
gmd_status_vl gsv
where
32=32 and
37=37 and
mp.organization_id=grv.owner_organization_id and
grv.recipe_status=gsv.status_code
group by
grv.owner_organization_id,
grv.formula_id
) lr,
gmd_recipe_validity_rules grvr,
gmd_status_vl gsv
where
37=37 and
lr.recipe_id=grvr.recipe_id and
grvr.start_date&lt;=:p_effective_date and
(grvr.end_date is null or grvr.end_date&gt;=:p_effective_date) and
grvr.validity_rule_status=gsv.status_code
group by
lr.formula_id,
grvr.inventory_item_id
) last_grvr,</SQL_TEXT>
    <MATCHING_VALUE>Y</MATCHING_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Show More Details</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>9</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>38=38</ANCHOR>
    <SQL_TEXT>(fmd.ingredient_end_date is null or fmd.ingredient_end_date &gt;= :p_effective_date)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>sysdate</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Effective Date</PARAMETER_NAME>
      <DESCRIPTION>Formula lines ending before this date and validity rules not effective on it are excluded.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>10</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>37=37</ANCHOR>
    <SQL_TEXT>gsv.status_code=:p_formula_status</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>OPM Status Code</LOV_NAME>
    <LOV_GUID>1A5739C5DE270375E0630100007F5142</LOV_GUID>
    <LOV_QUERY_DSP>select
gsv.status_code value,
gsv.description description
from
gmd_status_vl gsv
order by
to_number(gsv.status_code)</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
gsv.status_code value,
gsv.description description
from
gmd_status_vl gsv
where
gsv.status_code = 700
order by
gsv.status_code</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Status to Include</PARAMETER_NAME>
      <DESCRIPTION>Formula, recipe and validity rule status to report.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>11</SORT_ORDER>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;category_segments1</ANCHOR>
    <SQL_TEXT>select xxen_util.item_category_columns(p_category_set_name=&gt;&apos;&lt;parameter_value&gt;&apos;) sql_text from dual</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Category Set</LOV_NAME>
    <LOV_GUID>8E2FF36EDECA79D2E0530100007F1FF2</LOV_GUID>
    <LOV_QUERY_DSP>select distinct
mcsv.category_set_name value,
mcsv.description
from
mtl_category_sets_vl mcsv
where
:$flex$.organization_code is null or
mcsv.category_set_id in (select mic.category_set_id from mtl_parameters mp, mtl_item_categories mic where xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos; and mp.organization_id=mic.organization_id)
order by
mcsv.category_set_name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
mcsv.category_set_name
from
mtl_default_category_sets mdcs,
mtl_category_sets_v mcsv
where
mdcs.functional_area_id=19 and
mdcs.category_set_id=mcsv.category_set_id</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Product Category Set</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>12</SORT_ORDER>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;category_segments2</ANCHOR>
    <SQL_TEXT>select x.* from (
select
&apos;(select min(mcb.&apos;||lower(fifsv.application_column_name)||&apos;) keep (dense_rank first order by mic.category_id) from mtl_item_categories mic, mtl_categories_b mcb where mic.category_set_id=&apos;||mcsv.category_set_id||&apos; and msiv2.organization_id=mic.organization_id and msiv2.inventory_item_id=mic.inventory_item_id and mic.category_id=mcb.category_id) &quot;&apos;||substr(fifsv.form_left_prompt,1,30)||&apos;&quot;,&apos; sql_text
from
mtl_category_sets_vl mcsv,
fnd_id_flex_segments_vl fifsv
where
mcsv.category_set_name=:category_set_name2 and
mcsv.structure_id=fifsv.id_flex_num and
fifsv.application_id=401 and
fifsv.id_flex_code=&apos;MCAT&apos; and
fifsv.enabled_flag=&apos;Y&apos;
order by
fifsv.id_flex_num,
fifsv.segment_num
) x
union all
select
&apos;(select min(mct.description) keep (dense_rank first order by mic.category_id) from mtl_item_categories mic, mtl_categories_tl mct where mic.category_set_id=&apos;||mcsv.category_set_id||&apos; and msiv2.organization_id=mic.organization_id and msiv2.inventory_item_id=mic.inventory_item_id and mic.category_id=mct.category_id and mct.language=userenv(&apos;&apos;lang&apos;&apos;)) &quot;&apos;||substr(mcsv.category_set_name||&apos; Description&apos;,1,30)||&apos;&quot;,&apos; sql_text
from
mtl_category_sets_vl mcsv
where
mcsv.category_set_name=:category_set_name2</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Category Set</LOV_NAME>
    <LOV_GUID>8E2FF36EDECA79D2E0530100007F1FF2</LOV_GUID>
    <LOV_QUERY_DSP>select distinct
mcsv.category_set_name value,
mcsv.description
from
mtl_category_sets_vl mcsv
where
:$flex$.organization_code is null or
mcsv.category_set_id in (select mic.category_set_id from mtl_parameters mp, mtl_item_categories mic where xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos; and mp.organization_id=mic.organization_id)
order by
mcsv.category_set_name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
mcsv.category_set_name
from
mtl_default_category_sets mdcs,
mtl_category_sets_v mcsv
where
mdcs.functional_area_id=14 and
mdcs.category_set_id=mcsv.category_set_id</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Line Category Set 1</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>13</SORT_ORDER>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;category_segments3</ANCHOR>
    <SQL_TEXT>select x.* from (
select
&apos;(select min(mcb.&apos;||lower(fifsv.application_column_name)||&apos;) keep (dense_rank first order by mic.category_id) from mtl_item_categories mic, mtl_categories_b mcb where mic.category_set_id=&apos;||mcsv.category_set_id||&apos; and msiv2.organization_id=mic.organization_id and msiv2.inventory_item_id=mic.inventory_item_id and mic.category_id=mcb.category_id) &quot;&apos;||substr(fifsv.form_left_prompt,1,30)||&apos;&quot;,&apos; sql_text
from
mtl_category_sets_vl mcsv,
fnd_id_flex_segments_vl fifsv
where
mcsv.category_set_name=:category_set_name3 and
mcsv.structure_id=fifsv.id_flex_num and
fifsv.application_id=401 and
fifsv.id_flex_code=&apos;MCAT&apos; and
fifsv.enabled_flag=&apos;Y&apos;
order by
fifsv.id_flex_num,
fifsv.segment_num
) x
union all
select
&apos;(select min(mct.description) keep (dense_rank first order by mic.category_id) from mtl_item_categories mic, mtl_categories_tl mct where mic.category_set_id=&apos;||mcsv.category_set_id||&apos; and msiv2.organization_id=mic.organization_id and msiv2.inventory_item_id=mic.inventory_item_id and mic.category_id=mct.category_id and mct.language=userenv(&apos;&apos;lang&apos;&apos;)) &quot;&apos;||substr(mcsv.category_set_name||&apos; Description&apos;,1,30)||&apos;&quot;,&apos; sql_text
from
mtl_category_sets_vl mcsv
where
mcsv.category_set_name=:category_set_name3</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Category Set</LOV_NAME>
    <LOV_GUID>8E2FF36EDECA79D2E0530100007F1FF2</LOV_GUID>
    <LOV_QUERY_DSP>select distinct
mcsv.category_set_name value,
mcsv.description
from
mtl_category_sets_vl mcsv
where
:$flex$.organization_code is null or
mcsv.category_set_id in (select mic.category_set_id from mtl_parameters mp, mtl_item_categories mic where xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos; and mp.organization_id=mic.organization_id)
order by
mcsv.category_set_name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>coalesce(xxen_util.previous_parameter_value(:parameter_id),(select mdsv.category_set_name from mtl_default_sets_view mdsv where mdsv.functional_area_id=5))</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Line Category Set 2</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>14</SORT_ORDER>
    <DISPLAY_SEQUENCE>110</DISPLAY_SEQUENCE>
    <ANCHOR>34=34</ANCHOR>
    <SQL_TEXT>msiv2.concatenated_segments=:p_item_number</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Item Number (costing enabled only items)</LOV_NAME>
    <LOV_GUID>EC5CECA520510FC8E0530100007F5EB3</LOV_GUID>
    <LOV_QUERY_DSP>select distinct
msiv.concatenated_segments value,
msiv.description
from
mtl_system_items_vl msiv,
mtl_parameters mp
where
msiv.organization_id = mp.organization_id and
(xxen_util.contains(:$flex$.organization_code,mp.organization_code) = &apos;Y&apos; or
 (:$flex$.organization_code is null and
  mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;)
 )
) and
(msiv.costing_enabled_flag=&apos;Y&apos; or mp.process_enabled_flag=&apos;Y&apos;)
order by
msiv.concatenated_segments</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Item Number</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>15</SORT_ORDER>
    <DISPLAY_SEQUENCE>120</DISPLAY_SEQUENCE>
    <ANCHOR>32=32</ANCHOR>
    <SQL_TEXT>mp.organization_code=:p_org_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Organization Code (excluding master)</LOV_NAME>
    <LOV_GUID>91D3167A33531204E053BB6B63585EE3</LOV_GUID>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name description
from
org_organization_definitions ood
where
ood.organization_id not in (select mp.organization_id from mtl_parameters mp where mp.organization_id=mp.master_organization_id) and
(:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;)) and
(:$flex$.ledger is null or ood.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
ood.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
nvl(ood.disable_date,sysdate)&gt;=sysdate
order by
ood.organization_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select mp.organization_code from mtl_parameters mp where mp.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization Code</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>16</SORT_ORDER>
    <DISPLAY_SEQUENCE>130</DISPLAY_SEQUENCE>
    <ANCHOR>31=31</ANCHOR>
    <SQL_TEXT>haouv_ou.name=:p_operating_unit</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Operating Unit</LOV_NAME>
    <LOV_GUID>9B9627743E84607DE053BB6B635805FB</LOV_GUID>
    <LOV_QUERY_DSP>select
haouv.name value,
&apos;Operating Unit&apos; description
from
hr_all_organization_units_vl haouv
where
haouv.organization_id in
(
select
to_number(hoi.org_information3)
from
mtl_parameters mp,
hr_organization_information hoi,
hr_all_organization_units haou
where
mp.organization_id&lt;&gt;mp.master_organization_id and
mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
mp.organization_id=hoi.organization_id and
hoi.org_information_context=&apos;Accounting Information&apos; and
(:$flex$.ledger is null or to_number(hoi.org_information1) in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
hoi.organization_id=haou.organization_id and
nvl(haou.date_to,sysdate)&gt;=sysdate
)
order by 1</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>17</SORT_ORDER>
    <DISPLAY_SEQUENCE>140</DISPLAY_SEQUENCE>
    <ANCHOR>31=31</ANCHOR>
    <SQL_TEXT>gl.name=:p_ledger</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Ledger (inv org related)</LOV_NAME>
    <LOV_GUID>8E2FF36EDF3A79D2E0530100007F1FF2</LOV_GUID>
    <LOV_QUERY_DSP>select
gl.name value,
fifsv.id_flex_structure_name||&apos;: &apos;||gl.description description
from
gl_ledgers gl,
fnd_id_flex_structures_vl fifsv
where
gl.ledger_id in (select ood.set_of_books_id from org_organization_definitions ood where nvl(ood.disable_date,sysdate)&gt;=sysdate and ood.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;)) and
(:$flex$.chart_of_accounts is null or xxen_util.contains(:$flex$.chart_of_accounts,fifsv.id_flex_structure_name)=&apos;Y&apos;) and
gl.chart_of_accounts_id=fifsv.id_flex_num and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.application_id=101
order by
fifsv.id_flex_structure_name,
gl.name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Ledger</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>18</SORT_ORDER>
    <DISPLAY_SEQUENCE>150</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component1</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 1
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 1
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 1
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 1</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>19</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component1</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 1</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>20</SORT_ORDER>
    <DISPLAY_SEQUENCE>160</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component2</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 2
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 2
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 2
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 2</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>21</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component2</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 2</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>22</SORT_ORDER>
    <DISPLAY_SEQUENCE>170</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component3</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 3
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 3
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 3
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 3</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>23</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component3</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 3</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>24</SORT_ORDER>
    <DISPLAY_SEQUENCE>180</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component4</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 4
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 4
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 4
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 4</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>25</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component4</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 4</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>26</SORT_ORDER>
    <DISPLAY_SEQUENCE>190</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component5</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 5
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 5
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 5
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 5</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>27</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component5</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 5</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>28</SORT_ORDER>
    <DISPLAY_SEQUENCE>200</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component6</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 6
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 6
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 6
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 6</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>29</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component6</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 6</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>30</SORT_ORDER>
    <DISPLAY_SEQUENCE>210</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component7</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 7
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 7
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 7
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 7</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>31</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component7</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 7</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>32</SORT_ORDER>
    <DISPLAY_SEQUENCE>220</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component8</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 8
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 8
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 8
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 8</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>33</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component8</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 8</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>34</SORT_ORDER>
    <DISPLAY_SEQUENCE>230</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component9</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 9
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 9
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 9
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 9</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>35</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component9</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 9</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>36</SORT_ORDER>
    <DISPLAY_SEQUENCE>240</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component10</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 10
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 10
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 10
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 10</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>37</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component10</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 10</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>38</SORT_ORDER>
    <DISPLAY_SEQUENCE>250</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component11</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 11
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 11
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 11
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 11</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>39</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component11</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 11</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>40</SORT_ORDER>
    <DISPLAY_SEQUENCE>260</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component12</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 12
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 12
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 12
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 12</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>41</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component12</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 12</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>42</SORT_ORDER>
    <DISPLAY_SEQUENCE>270</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component13</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 13
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 13
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 13
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 13</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>43</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component13</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 13</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>44</SORT_ORDER>
    <DISPLAY_SEQUENCE>280</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component14</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 14
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 14
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 14
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 14</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>45</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component14</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 14</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>46</SORT_ORDER>
    <DISPLAY_SEQUENCE>290</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component15</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 15
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 15
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 15
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 15</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>47</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component15</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 15</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>48</SORT_ORDER>
    <DISPLAY_SEQUENCE>300</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component16</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 16
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 16
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 16
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 16</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>49</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component16</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 16</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>50</SORT_ORDER>
    <DISPLAY_SEQUENCE>310</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component17</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 17
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 17
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 17
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 17</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>51</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component17</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 17</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>52</SORT_ORDER>
    <DISPLAY_SEQUENCE>320</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component18</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 18
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 18
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 18
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 18</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>53</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component18</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 18</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>54</SORT_ORDER>
    <DISPLAY_SEQUENCE>330</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component19</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 19
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 19
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 19
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 19</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>55</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component19</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 19</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>56</SORT_ORDER>
    <DISPLAY_SEQUENCE>340</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component20</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 20
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 20
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 20
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 20</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>57</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component20</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 20</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>58</SORT_ORDER>
    <DISPLAY_SEQUENCE>350</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component21</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 21
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 21
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 21
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 21</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>59</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component21</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 21</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>60</SORT_ORDER>
    <DISPLAY_SEQUENCE>360</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component22</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 22
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 22
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 22
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 22</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>61</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component22</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 22</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>62</SORT_ORDER>
    <DISPLAY_SEQUENCE>370</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component23</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 23
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 23
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 23
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 23</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>63</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component23</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 23</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>64</SORT_ORDER>
    <DISPLAY_SEQUENCE>380</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component24</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 24
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 24
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 24
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 24</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>65</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component24</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 24</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>66</SORT_ORDER>
    <DISPLAY_SEQUENCE>390</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component25</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 25
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 25
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 25
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 25</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>67</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component25</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 25</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>68</SORT_ORDER>
    <DISPLAY_SEQUENCE>400</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component26</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 26
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 26
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 26
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 26</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>69</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component26</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 26</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>70</SORT_ORDER>
    <DISPLAY_SEQUENCE>410</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component27</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 27
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 27
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 27
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 27</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>71</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component27</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 27</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>72</SORT_ORDER>
    <DISPLAY_SEQUENCE>420</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component28</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 28
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 28
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 28
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 28</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>73</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component28</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 28</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>74</SORT_ORDER>
    <DISPLAY_SEQUENCE>430</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component29</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 29
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 29
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 29
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 29</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>75</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component29</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 29</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>76</SORT_ORDER>
    <DISPLAY_SEQUENCE>440</DISPLAY_SEQUENCE>
    <ANCHOR>:p_cost_component30</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <LOV_QUERY_DSP>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 30
        )</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select  ccmv.cost_component_code value,
        ccmv.cost_cmpntcls_desc description
from    -- Order the Cost Components by usage_ind (1-Material, 2-Overhead, 3-Resource, 4-Expense Alloc) then by Cost Component Code
        (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                 usage_ind,
                 gl.meaning cost_component_type,
                 ccmv.cost_cmpntcls_code cost_component_code,
                 ccmv.cost_cmpntcls_desc,
                 ccmv.cost_cmpntcls_id cost_component_id
         from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                 gem_lookups gl
         where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
         and     gl.lookup_code   = ccmv.usage_ind
         and     ccmv.delete_mark = 0 -- Active
         order by 
                 usage_ind,
                 gl.meaning,
                 ccmv.cost_cmpntcls_code
        ) ccmv
        where   ccmv.row_number  = 30
union all
select  fl.meaning value,
        fl.meaning description
from    fnd_lookups fl
where   fl.lookup_type                    = &apos;XDP_ADAPTER_STATUS&apos;
and     fl.lookup_code                    = &apos;NOT_AVAILABLE&apos;
and     not exists
        (select &apos;x&apos;
         from   (select  row_number() over (order by ccmv.usage_ind, gl.meaning, ccmv.cost_cmpntcls_code) row_number,
                          usage_ind,
                          gl.meaning cost_component_type,
                          ccmv.cost_cmpntcls_code cost_component_code,
                          ccmv.cost_cmpntcls_desc,
                          ccmv.cost_cmpntcls_id cost_component_id
                  from    cm_cmpt_mst_vl ccmv,  -- Cost Component Master
                          gem_lookups gl
                  where   gl.lookup_type   = &apos;COST_COMPONENT_TYPE&apos;
                  and     gl.lookup_code   = ccmv.usage_ind
                  and     ccmv.delete_mark = 0 -- Active
                  order by 
                          usage_ind,
                          gl.meaning,
                          ccmv.cost_cmpntcls_code
                ) ccmv
                where   ccmv.row_number    = 30
        )</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 30</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>77</SORT_ORDER>
    <ANCHOR>&amp;p_cost_component30</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Cost Component 30</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
