<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>
<LOVS>
<!-- loader xml for Enginatics Blitz Report lov: Blitz Upload Mode -->
 <LOVS_ROW>
  <GUID>E811F942597A2075E0530100007FF4F2</GUID>
  <LOV_NAME>Blitz Upload Mode</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select xxen_upload.action_create id, xxen_upload.action_meaning(xxen_upload.action_create) value, null description from dual union all
select xxen_upload.action_create || &apos;,&apos; || xxen_upload.action_update id, xxen_upload.action_meaning(xxen_upload.action_create)||&apos;, &apos;||xxen_upload.action_meaning(xxen_upload.action_update) value, null description from dual
</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: OPM Formula Upload -->
 <REPORTS_ROW>
  <GUID>B1A7F0C2D3E4F506172839AA5B6C7D01</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
null action_,
null status_,
null message_,
null modified_columns_,
row_number() over (order by x.formula, x.formula_version, x.line_type_sort, x.line_no) upload_row,
x.organization_code,
x.formula,
x.formula_version,
x.formula_description,
x.formula_description_2,
x.formula_class,
x.owner,
x.header_scale_type,
x.calculate_product_quantity,
x.formula_status,
x.line_type,
x.line_no,
x.item,
x.item_description,
x.revision,
x.quantity,
x.detail_uom,
x.line_scale_type,
x.release_type,
x.scrap_factor,
x.phantom_type,
x.rework_type,
x.contribute_to_yield,
x.contribute_to_step_quantity,
x.cost_allocation,
x.product_percent,
x.by_product_type,
x.scale_multiple,
x.scale_rounding_variance,
x.rounding_direction,
x.ingredient_end_date,
x.delete_line,
x.fa_attribute_category,
x.fa_attribute1,
x.fa_attribute2,
x.fa_attribute3,
x.fa_attribute4,
x.fa_attribute5,
x.fa_attribute6,
x.fa_attribute7,
x.fa_attribute8,
x.fa_attribute9,
x.fa_attribute10,
x.fa_attribute11,
x.fa_attribute12,
x.fa_attribute13,
x.fa_attribute14,
x.fa_attribute15,
x.fa_attribute16,
x.fa_attribute17,
x.fa_attribute18,
x.fa_attribute19,
x.fa_attribute20,
x.fa_attribute21,
x.fa_attribute22,
x.fa_attribute23,
x.fa_attribute24,
x.fa_attribute25,
x.fa_attribute26,
x.fa_attribute27,
x.fa_attribute28,
x.fa_attribute29,
x.fa_attribute30,
x.ld_attribute_category,
x.ld_attribute1,
x.ld_attribute2,
x.ld_attribute3,
x.ld_attribute4,
x.ld_attribute5,
x.ld_attribute6,
x.ld_attribute7,
x.ld_attribute8,
x.ld_attribute9,
x.ld_attribute10,
x.ld_attribute11,
x.ld_attribute12,
x.ld_attribute13,
x.ld_attribute14,
x.ld_attribute15,
x.ld_attribute16,
x.ld_attribute17,
x.ld_attribute18,
x.ld_attribute19,
x.ld_attribute20,
x.ld_attribute21,
x.ld_attribute22,
x.ld_attribute23,
x.ld_attribute24,
x.ld_attribute25,
x.ld_attribute26,
x.ld_attribute27,
x.ld_attribute28,
x.ld_attribute29,
x.ld_attribute30,
x.formula_id,
x.formula_line_id
from (
select
mp.organization_code,
ffmv.formula_no formula,
ffmv.formula_vers formula_version,
ffmv.formula_desc1 formula_description,
ffmv.formula_desc2 formula_description_2,
ffmv.formula_class,
(select fu.user_name from fnd_user fu where fu.user_id=ffmv.owner_id) owner,
xxen_util.meaning(to_char(ffmv.scale_type),&apos;SCALE_TYPE&apos;,552) header_scale_type,
xxen_util.meaning(ffmv.auto_product_calc,&apos;YES_NO&apos;,552) calculate_product_quantity,
(select gsv.meaning from gmd_status_vl gsv where gsv.status_code=ffmv.formula_status) formula_status,
xxen_util.meaning(to_char(fmd.line_type),&apos;GMD_FORMULA_ITEM_TYPE&apos;,552) line_type,
fmd.line_no,
msiv.concatenated_segments item,
msiv.description item_description,
fmd.revision,
fmd.qty quantity,
fmd.detail_uom,
xxen_util.meaning(to_char(fmd.scale_type),&apos;SCALE_TYPE&apos;,552) line_scale_type,
xxen_util.meaning(to_char(fmd.release_type),&apos;GMD_MATERIAL_RELEASE_TYPE&apos;,552) release_type,
fmd.scrap_factor,
decode(fmd.phantom_type,0,&apos;Not Phantom&apos;,1,&apos;Automatic Phantom&apos;,2,&apos;Manual Phantom&apos;) phantom_type,
xxen_util.meaning(to_char(fmd.rework_type),&apos;GMD_REWORK_TYPE&apos;,552) rework_type,
xxen_util.meaning(fmd.contribute_yield_ind,&apos;YES_NO&apos;,552) contribute_to_yield,
xxen_util.meaning(fmd.contribute_step_qty_ind,&apos;YES_NO&apos;,552) contribute_to_step_quantity,
fmd.cost_alloc cost_allocation,
fmd.prod_percent product_percent,
xxen_util.meaning(fmd.by_product_type,&apos;GMD_BY_PRODUCT_TYPE&apos;,552) by_product_type,
fmd.scale_multiple,
fmd.scale_rounding_variance,
xxen_util.meaning(to_char(fmd.rounding_direction),&apos;GMD_ROUNDING_DIRECTION&apos;,552) rounding_direction,
fmd.ingredient_end_date,
to_char(null) delete_line,
xxen_util.display_flexfield_context(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category) fa_attribute_category,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE1&apos;,ffmv.rowid,ffmv.attribute1) fa_attribute1,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE2&apos;,ffmv.rowid,ffmv.attribute2) fa_attribute2,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE3&apos;,ffmv.rowid,ffmv.attribute3) fa_attribute3,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE4&apos;,ffmv.rowid,ffmv.attribute4) fa_attribute4,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE5&apos;,ffmv.rowid,ffmv.attribute5) fa_attribute5,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE6&apos;,ffmv.rowid,ffmv.attribute6) fa_attribute6,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE7&apos;,ffmv.rowid,ffmv.attribute7) fa_attribute7,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE8&apos;,ffmv.rowid,ffmv.attribute8) fa_attribute8,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE9&apos;,ffmv.rowid,ffmv.attribute9) fa_attribute9,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE10&apos;,ffmv.rowid,ffmv.attribute10) fa_attribute10,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE11&apos;,ffmv.rowid,ffmv.attribute11) fa_attribute11,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE12&apos;,ffmv.rowid,ffmv.attribute12) fa_attribute12,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE13&apos;,ffmv.rowid,ffmv.attribute13) fa_attribute13,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE14&apos;,ffmv.rowid,ffmv.attribute14) fa_attribute14,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE15&apos;,ffmv.rowid,ffmv.attribute15) fa_attribute15,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE16&apos;,ffmv.rowid,ffmv.attribute16) fa_attribute16,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE17&apos;,ffmv.rowid,ffmv.attribute17) fa_attribute17,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE18&apos;,ffmv.rowid,ffmv.attribute18) fa_attribute18,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE19&apos;,ffmv.rowid,ffmv.attribute19) fa_attribute19,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE20&apos;,ffmv.rowid,ffmv.attribute20) fa_attribute20,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE21&apos;,ffmv.rowid,ffmv.attribute21) fa_attribute21,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE22&apos;,ffmv.rowid,ffmv.attribute22) fa_attribute22,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE23&apos;,ffmv.rowid,ffmv.attribute23) fa_attribute23,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE24&apos;,ffmv.rowid,ffmv.attribute24) fa_attribute24,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE25&apos;,ffmv.rowid,ffmv.attribute25) fa_attribute25,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE26&apos;,ffmv.rowid,ffmv.attribute26) fa_attribute26,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE27&apos;,ffmv.rowid,ffmv.attribute27) fa_attribute27,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE28&apos;,ffmv.rowid,ffmv.attribute28) fa_attribute28,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE29&apos;,ffmv.rowid,ffmv.attribute29) fa_attribute29,
xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,ffmv.attribute_category,&apos;ATTRIBUTE30&apos;,ffmv.rowid,ffmv.attribute30) fa_attribute30,
xxen_util.display_flexfield_context(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category) ld_attribute_category,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE1&apos;,fmd.rowid,fmd.attribute1) ld_attribute1,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE2&apos;,fmd.rowid,fmd.attribute2) ld_attribute2,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE3&apos;,fmd.rowid,fmd.attribute3) ld_attribute3,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE4&apos;,fmd.rowid,fmd.attribute4) ld_attribute4,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE5&apos;,fmd.rowid,fmd.attribute5) ld_attribute5,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE6&apos;,fmd.rowid,fmd.attribute6) ld_attribute6,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE7&apos;,fmd.rowid,fmd.attribute7) ld_attribute7,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE8&apos;,fmd.rowid,fmd.attribute8) ld_attribute8,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE9&apos;,fmd.rowid,fmd.attribute9) ld_attribute9,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE10&apos;,fmd.rowid,fmd.attribute10) ld_attribute10,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE11&apos;,fmd.rowid,fmd.attribute11) ld_attribute11,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE12&apos;,fmd.rowid,fmd.attribute12) ld_attribute12,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE13&apos;,fmd.rowid,fmd.attribute13) ld_attribute13,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE14&apos;,fmd.rowid,fmd.attribute14) ld_attribute14,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE15&apos;,fmd.rowid,fmd.attribute15) ld_attribute15,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE16&apos;,fmd.rowid,fmd.attribute16) ld_attribute16,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE17&apos;,fmd.rowid,fmd.attribute17) ld_attribute17,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE18&apos;,fmd.rowid,fmd.attribute18) ld_attribute18,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE19&apos;,fmd.rowid,fmd.attribute19) ld_attribute19,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE20&apos;,fmd.rowid,fmd.attribute20) ld_attribute20,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE21&apos;,fmd.rowid,fmd.attribute21) ld_attribute21,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE22&apos;,fmd.rowid,fmd.attribute22) ld_attribute22,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE23&apos;,fmd.rowid,fmd.attribute23) ld_attribute23,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE24&apos;,fmd.rowid,fmd.attribute24) ld_attribute24,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE25&apos;,fmd.rowid,fmd.attribute25) ld_attribute25,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE26&apos;,fmd.rowid,fmd.attribute26) ld_attribute26,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE27&apos;,fmd.rowid,fmd.attribute27) ld_attribute27,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE28&apos;,fmd.rowid,fmd.attribute28) ld_attribute28,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE29&apos;,fmd.rowid,fmd.attribute29) ld_attribute29,
xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE30&apos;,fmd.rowid,fmd.attribute30) ld_attribute30,
ffmv.formula_id,
fmd.formulaline_id formula_line_id,
decode(fmd.line_type,1,1,-1,2,2,3) line_type_sort
from
fm_form_mst_vl ffmv,
fm_matl_dtl fmd,
mtl_parameters mp,
mtl_system_items_vl msiv
where
ffmv.formula_id=fmd.formula_id and
ffmv.owner_organization_id=mp.organization_id and
fmd.inventory_item_id=msiv.inventory_item_id and
fmd.organization_id=msiv.organization_id and
ffmv.delete_mark=0 and
nvl(ffmv.inactive_ind,0)=0 and
ffmv.owner_organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and
:p_upload_mode like &apos;%&apos;||xxen_upload.action_update
) x
where
1=1</SQL_TEXT>
  <VERSION_COMMENTS>Initial version: OPM Formula Upload (header + ingredient/product/by-product lines + Formula and Formula Line DFF) via GMD_FORMULA_PUB / GMD_FORMULA_DETAIL_PUB.</VERSION_COMMENTS>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_opm_upload.upload_formula</UPLOAD_OBJECT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>OPM Formula Upload</REPORT_NAME>
    <DESCRIPTION>OPM Formula Upload
==================
Create or update Oracle Process Manufacturing (OPM / GMD) Formulas via the public API GMD_FORMULA_PUB / GMD_FORMULA_DETAIL_PUB.

Row model
=========
One spreadsheet row per formula LINE. The header columns (Organization Code, Formula, Formula Version, Description, Class, Owner, Header Scale Type, Status, header attributes) repeat on every line of the same formula. Each line carries its Line Type (Ingredient / Product / By-Product) plus its item, quantity, UOM, scale, and line attributes. Rows of the same formula (Organization Code + Formula + Formula Version) must be contiguous.

Every formula must have at least one Ingredient AND at least one Product (OPM requirement) - a header-only formula is rejected.

Upload modes
============
Create - empty template for new formulas.
Create, Update - downloads existing formulas in the chosen organization for review/edit and allows adding new ones. Existing formulas are matched on Organization Code + Formula + Formula Version.

Notes
=====
- Items must be recipe-enabled in the owner organization. Detail UOM must be convertible from the item&apos;s primary UOM.
- New formulas are created in status New (100); status changes are a workflow operation and are not driven by this upload.
- On update, header description/class/owner and line quantities/attributes are updated; new lines are added. The owner organization and version are the key and cannot be changed.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Upload</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_upload_mode</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:p_upload_mode like &apos;%&apos; || xxen_upload.action_update</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Blitz Upload Mode</LOV_NAME>
    <LOV_GUID>E811F942597A2075E0530100007FF4F2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select xxen_upload.action_create id, xxen_upload.action_meaning(xxen_upload.action_create) value, null description from dual union all
select xxen_upload.action_create || &apos;,&apos; || xxen_upload.action_update id, xxen_upload.action_meaning(xxen_upload.action_create)||&apos;, &apos;||xxen_upload.action_meaning(xxen_upload.action_update) value, null description from dual
</LOV_QUERY_DSP>
    <DEFAULT_VALUE>C</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.organization_code=:p_organization_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
mp.organization_code value,
haouv.name description
from
mtl_parameters mp,
hr_all_organization_units_vl haouv,
org_access_view oav
where
mp.process_enabled_flag=&apos;Y&apos; and
mp.organization_id=haouv.organization_id and
mp.organization_id=oav.organization_id and
oav.resp_application_id=fnd_global.resp_appl_id and
oav.responsibility_id=fnd_global.resp_id
order by
1</LOV_QUERY_DSP>
    <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>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.formula=:p_formula</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Formula</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>1</COLUMN_NUMBER>
    <COLUMN_NAME>ACTION_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>2</COLUMN_NUMBER>
    <COLUMN_NAME>STATUS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>3</COLUMN_NUMBER>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>4</COLUMN_NUMBER>
    <COLUMN_NAME>MODIFIED_COLUMNS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>5</COLUMN_NUMBER>
    <COLUMN_NAME>UPLOAD_ROW</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>3</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
mp.organization_code id,
mp.organization_code value,
haouv.name description
from
mtl_parameters mp,
hr_all_organization_units_vl haouv,
org_access_view oav
where
mp.process_enabled_flag=&apos;Y&apos; and
mp.organization_id=haouv.organization_id and
mp.organization_id=oav.organization_id and
oav.resp_application_id=fnd_global.resp_appl_id and
oav.responsibility_id=fnd_global.resp_id
order by
1</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>32</DATA_LENGTH>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_VERSION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_DESCRIPTION_2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_CLASS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>8</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ffc.formula_class id,
ffc.formula_class value,
ffc.formula_class_desc description
from
fm_form_cls ffc
where
ffc.delete_mark=0
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>OWNER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>100</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fu.user_id id,
fu.user_name value,
fu.description
from
fnd_user fu
where
sysdate between fu.start_date and nvl(fu.end_date,sysdate+1)
order by
2</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>HEADER_SCALE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_number(flvv.lookup_code) id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;SCALE_TYPE&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
flvv.lookup_code in (&apos;0&apos;,&apos;1&apos;) and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>CALCULATE_PRODUCT_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <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>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_STATUS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
gsv.status_code id,
gsv.meaning value,
gsv.description
from
gmd_status_vl gsv
where
to_number(gsv.status_code)&lt;1000
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_number(flvv.lookup_code) id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;GMD_FORMULA_ITEM_TYPE&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_NO</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>40</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
msiv.concatenated_segments id,
msiv.concatenated_segments value,
msiv.description
from
mtl_system_items_vl msiv,
mtl_parameters mp
where
msiv.organization_id=mp.organization_id and
mp.organization_code=:$column$.organization_code and
msiv.recipe_enabled_flag=&apos;Y&apos; and
msiv.serial_number_control_code in (1,6)
order by
1</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <DEFAULT_VALUE>select msiv.description from mtl_system_items_vl msiv, mtl_parameters mp where msiv.concatenated_segments=:$column$.item and msiv.organization_id=mp.organization_id and mp.organization_code=:$column$.organization_code</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>REVISION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>3</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
mir.revision id,
mir.revision value,
mir.description
from
mtl_item_revisions mir,
mtl_system_items_vl msiv,
mtl_parameters mp
where
mir.inventory_item_id=msiv.inventory_item_id and
mir.organization_id=msiv.organization_id and
msiv.organization_id=mp.organization_id and
mp.organization_code=:$column$.organization_code and
msiv.concatenated_segments=:$column$.item
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>DETAIL_UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>3</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
muomv.uom_code id,
muomv.uom_code value,
muomv.unit_of_measure description
from
mtl_units_of_measure_vl muomv
where
muomv.disable_date is null
order by
1</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select msiv.primary_uom_code from mtl_system_items_vl msiv, mtl_parameters mp where msiv.concatenated_segments=:$column$.item and msiv.organization_id=mp.organization_id and mp.organization_code=:$column$.organization_code</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_SCALE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_number(flvv.lookup_code) id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;SCALE_TYPE&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>RELEASE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_number(flvv.lookup_code) id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;GMD_MATERIAL_RELEASE_TYPE&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>SCRAP_FACTOR</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>PHANTOM_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>17</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select 0 id, &apos;Not Phantom&apos; value, null description from dual union all
select 1 id, &apos;Automatic Phantom&apos; value, null description from dual union all
select 2 id, &apos;Manual Phantom&apos; value, null description from dual</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>REWORK_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_number(flvv.lookup_code) id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;GMD_REWORK_TYPE&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>CONTRIBUTE_TO_YIELD</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <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>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>CONTRIBUTE_TO_STEP_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <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>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>COST_ALLOCATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>PRODUCT_PERCENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>BY_PRODUCT_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.lookup_code id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;GMD_BY_PRODUCT_TYPE&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>SCALE_MULTIPLE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>SCALE_ROUNDING_VARIANCE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>35</COLUMN_NUMBER>
    <COLUMN_NAME>ROUNDING_DIRECTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_number(flvv.lookup_code) id,
flvv.meaning value,
flvv.description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;GMD_ROUNDING_DIRECTION&apos; and
flvv.view_application_id=552 and
flvv.enabled_flag=&apos;Y&apos; and
nvl(flvv.start_date_active,sysdate)&lt;=sysdate and
nvl(flvv.end_date_active,sysdate)&gt;=sysdate
order by
1</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>INGREDIENT_END_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>DELETE_LINE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual where :$column$.formula_line_id is not null</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fdfcv.descriptive_flex_context_code id,
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descr_flex_contexts_vl fdfcv
where
fdfcv.application_id=552 and
fdfcv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfcv.descriptive_flex_context_code&lt;&gt;&apos;Global Data Elements&apos;
order by
2</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>45</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>46</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>47</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>48</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>49</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>50</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>51</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>52</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>53</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>54</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE16</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE16&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE16&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>55</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE17</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE17&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE17&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>56</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE18</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE18&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE18&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>57</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE19</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE19&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE19&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>58</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE20</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE20&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE20&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>59</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE21</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE21&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE21&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>60</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE22</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE22&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE22&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>61</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE23</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE23&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE23&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>62</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE24</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE24&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE24&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>63</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE25</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE25&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE25&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>64</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE26</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE26&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE26&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>65</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE27</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE27&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE27&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>66</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE28</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE28&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE28&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>67</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE29</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE29&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE29&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>68</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ATTRIBUTE30</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FORMULA_FLEX&apos;,
p_context_name=&gt;:$column$.fa_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE30&apos;,
p_attribute1=&gt;:$column$.fa_attribute1,
p_attribute2=&gt;:$column$.fa_attribute2,
p_attribute3=&gt;:$column$.fa_attribute3,
p_attribute4=&gt;:$column$.fa_attribute4,
p_attribute5=&gt;:$column$.fa_attribute5,
p_attribute6=&gt;:$column$.fa_attribute6,
p_attribute7=&gt;:$column$.fa_attribute7,
p_attribute8=&gt;:$column$.fa_attribute8,
p_attribute9=&gt;:$column$.fa_attribute9,
p_attribute10=&gt;:$column$.fa_attribute10,
p_attribute11=&gt;:$column$.fa_attribute11,
p_attribute12=&gt;:$column$.fa_attribute12,
p_attribute13=&gt;:$column$.fa_attribute13,
p_attribute14=&gt;:$column$.fa_attribute14,
p_attribute15=&gt;:$column$.fa_attribute15,
p_attribute16=&gt;:$column$.fa_attribute16,
p_attribute17=&gt;:$column$.fa_attribute17,
p_attribute18=&gt;:$column$.fa_attribute18,
p_attribute19=&gt;:$column$.fa_attribute19,
p_attribute20=&gt;:$column$.fa_attribute20,
p_attribute21=&gt;:$column$.fa_attribute21,
p_attribute22=&gt;:$column$.fa_attribute22,
p_attribute23=&gt;:$column$.fa_attribute23,
p_attribute24=&gt;:$column$.fa_attribute24,
p_attribute25=&gt;:$column$.fa_attribute25,
p_attribute26=&gt;:$column$.fa_attribute26,
p_attribute27=&gt;:$column$.fa_attribute27,
p_attribute28=&gt;:$column$.fa_attribute28,
p_attribute29=&gt;:$column$.fa_attribute29,
p_attribute30=&gt;:$column$.fa_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FORMULA_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE30&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>69</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fdfcv.descriptive_flex_context_code id,
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descr_flex_contexts_vl fdfcv
where
fdfcv.application_id=552 and
fdfcv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfcv.descriptive_flex_context_code&lt;&gt;&apos;Global Data Elements&apos;
order by
2</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>70</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>71</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>72</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>73</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>74</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>75</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>76</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>77</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>78</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>79</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>80</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>81</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>82</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>83</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>84</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>85</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE16</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE16&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE16&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>86</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE17</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE17&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE17&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>87</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE18</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE18&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE18&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>88</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE19</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE19&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE19&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>89</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE20</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE20&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE20&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>90</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE21</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE21&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE21&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>91</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE22</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE22&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE22&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>92</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE23</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE23&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE23&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>93</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE24</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE24&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE24&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>94</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE25</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE25&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE25&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>95</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE26</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE26&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE26&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>96</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE27</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE27&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE27&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>97</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE28</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE28&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE28&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>98</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE29</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE29&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE29&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>99</COLUMN_NUMBER>
    <COLUMN_NAME>LD_ATTRIBUTE30</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;552,
p_descriptive_flexfield_name=&gt;&apos;FM_DETAIL_FLEX&apos;,
p_context_name=&gt;:$column$.ld_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE30&apos;,
p_attribute1=&gt;:$column$.ld_attribute1,
p_attribute2=&gt;:$column$.ld_attribute2,
p_attribute3=&gt;:$column$.ld_attribute3,
p_attribute4=&gt;:$column$.ld_attribute4,
p_attribute5=&gt;:$column$.ld_attribute5,
p_attribute6=&gt;:$column$.ld_attribute6,
p_attribute7=&gt;:$column$.ld_attribute7,
p_attribute8=&gt;:$column$.ld_attribute8,
p_attribute9=&gt;:$column$.ld_attribute9,
p_attribute10=&gt;:$column$.ld_attribute10,
p_attribute11=&gt;:$column$.ld_attribute11,
p_attribute12=&gt;:$column$.ld_attribute12,
p_attribute13=&gt;:$column$.ld_attribute13,
p_attribute14=&gt;:$column$.ld_attribute14,
p_attribute15=&gt;:$column$.ld_attribute15,
p_attribute16=&gt;:$column$.ld_attribute16,
p_attribute17=&gt;:$column$.ld_attribute17,
p_attribute18=&gt;:$column$.ld_attribute18,
p_attribute19=&gt;:$column$.ld_attribute19,
p_attribute20=&gt;:$column$.ld_attribute20,
p_attribute21=&gt;:$column$.ld_attribute21,
p_attribute22=&gt;:$column$.ld_attribute22,
p_attribute23=&gt;:$column$.ld_attribute23,
p_attribute24=&gt;:$column$.ld_attribute24,
p_attribute25=&gt;:$column$.ld_attribute25,
p_attribute26=&gt;:$column$.ld_attribute26,
p_attribute27=&gt;:$column$.ld_attribute27,
p_attribute28=&gt;:$column$.ld_attribute28,
p_attribute29=&gt;:$column$.ld_attribute29,
p_attribute30=&gt;:$column$.ld_attribute30)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(fdfcuv.application_column_name) || &apos;: &apos; ||
listagg(decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || fdfc.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || fdfcuv.form_left_prompt,&apos;, &apos;) within group (order by decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),fdfc.descriptive_flex_context_code) over (partition by fdfcuv.application_column_name)
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=552 and
fdfv.descriptive_flexfield_name=&apos;FM_DETAIL_FLEX&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE30&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>100</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>101</COLUMN_NUMBER>
    <COLUMN_NAME>FORMULA_LINE_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Error SQL</SQL_TYPE>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Order By</SQL_TYPE>
    <SQL_TEXT>upload_row</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Success SQL</SQL_TYPE>
    <SQL_TEXT>select
xu.action_,
xu.status_,
xu.message_,
xu.modified_columns_,
xu.upload_row,
nvl(xu.mp_organization_code, xu.organization_code) organization_code,
nvl(xu.ffmv_formula_no, xu.formula) formula,
nvl(xu.ffmv_formula_vers, xu.formula_version) formula_version,
nvl(xu.ffmv_formula_desc1, xu.formula_description) formula_description,
nvl(xu.ffmv_formula_desc2, xu.formula_description_2) formula_description_2,
nvl(xu.ffmv_formula_class, xu.formula_class) formula_class,
nvl((select fu.user_name from fnd_user fu where fu.user_id=xu.ffmv_owner_id), xu.owner) owner,
nvl(xxen_util.meaning(to_char(xu.ffmv_scale_type),&apos;SCALE_TYPE&apos;,552), xu.header_scale_type) header_scale_type,
nvl(xxen_util.meaning(xu.ffmv_auto_product_calc,&apos;YES_NO&apos;,552), xu.calculate_product_quantity) calculate_product_quantity,
nvl((select gsv.meaning from gmd_status_vl gsv where gsv.status_code=xu.ffmv_formula_status), xu.formula_status) formula_status,
nvl(xxen_util.meaning(to_char(fmd.line_type),&apos;GMD_FORMULA_ITEM_TYPE&apos;,552), xu.line_type) line_type,
nvl(fmd.line_no, xu.line_no) line_no,
nvl(xu.msiv_concatenated_segments, xu.item) item,
nvl(xu.msiv_description, xu.item_description) item_description,
nvl(fmd.revision, xu.revision) revision,
nvl(fmd.qty, xu.quantity) quantity,
nvl(fmd.detail_uom, xu.detail_uom) detail_uom,
nvl(xxen_util.meaning(to_char(fmd.scale_type),&apos;SCALE_TYPE&apos;,552), xu.line_scale_type) line_scale_type,
nvl(xxen_util.meaning(to_char(fmd.release_type),&apos;GMD_MATERIAL_RELEASE_TYPE&apos;,552), xu.release_type) release_type,
nvl(fmd.scrap_factor, xu.scrap_factor) scrap_factor,
nvl(decode(fmd.phantom_type,0,&apos;Not Phantom&apos;,1,&apos;Automatic Phantom&apos;,2,&apos;Manual Phantom&apos;), xu.phantom_type) phantom_type,
nvl(xxen_util.meaning(to_char(fmd.rework_type),&apos;GMD_REWORK_TYPE&apos;,552), xu.rework_type) rework_type,
nvl(xxen_util.meaning(fmd.contribute_yield_ind,&apos;YES_NO&apos;,552), xu.contribute_to_yield) contribute_to_yield,
nvl(xxen_util.meaning(fmd.contribute_step_qty_ind,&apos;YES_NO&apos;,552), xu.contribute_to_step_quantity) contribute_to_step_quantity,
nvl(fmd.cost_alloc, xu.cost_allocation) cost_allocation,
nvl(fmd.prod_percent, xu.product_percent) product_percent,
nvl(xxen_util.meaning(fmd.by_product_type,&apos;GMD_BY_PRODUCT_TYPE&apos;,552), xu.by_product_type) by_product_type,
nvl(fmd.scale_multiple, xu.scale_multiple) scale_multiple,
nvl(fmd.scale_rounding_variance, xu.scale_rounding_variance) scale_rounding_variance,
nvl(xxen_util.meaning(to_char(fmd.rounding_direction),&apos;GMD_ROUNDING_DIRECTION&apos;,552), xu.rounding_direction) rounding_direction,
nvl(fmd.ingredient_end_date, xu.ingredient_end_date) ingredient_end_date,
nvl(to_char(null), xu.delete_line) delete_line,
nvl(xxen_util.display_flexfield_context(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category), xu.fa_attribute_category) fa_attribute_category,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE1&apos;,xu.ffmv_rowid,xu.ffmv_attribute1), xu.fa_attribute1) fa_attribute1,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE2&apos;,xu.ffmv_rowid,xu.ffmv_attribute2), xu.fa_attribute2) fa_attribute2,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE3&apos;,xu.ffmv_rowid,xu.ffmv_attribute3), xu.fa_attribute3) fa_attribute3,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE4&apos;,xu.ffmv_rowid,xu.ffmv_attribute4), xu.fa_attribute4) fa_attribute4,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE5&apos;,xu.ffmv_rowid,xu.ffmv_attribute5), xu.fa_attribute5) fa_attribute5,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE6&apos;,xu.ffmv_rowid,xu.ffmv_attribute6), xu.fa_attribute6) fa_attribute6,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE7&apos;,xu.ffmv_rowid,xu.ffmv_attribute7), xu.fa_attribute7) fa_attribute7,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE8&apos;,xu.ffmv_rowid,xu.ffmv_attribute8), xu.fa_attribute8) fa_attribute8,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE9&apos;,xu.ffmv_rowid,xu.ffmv_attribute9), xu.fa_attribute9) fa_attribute9,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE10&apos;,xu.ffmv_rowid,xu.ffmv_attribute10), xu.fa_attribute10) fa_attribute10,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE11&apos;,xu.ffmv_rowid,xu.ffmv_attribute11), xu.fa_attribute11) fa_attribute11,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE12&apos;,xu.ffmv_rowid,xu.ffmv_attribute12), xu.fa_attribute12) fa_attribute12,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE13&apos;,xu.ffmv_rowid,xu.ffmv_attribute13), xu.fa_attribute13) fa_attribute13,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE14&apos;,xu.ffmv_rowid,xu.ffmv_attribute14), xu.fa_attribute14) fa_attribute14,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE15&apos;,xu.ffmv_rowid,xu.ffmv_attribute15), xu.fa_attribute15) fa_attribute15,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE16&apos;,xu.ffmv_rowid,xu.ffmv_attribute16), xu.fa_attribute16) fa_attribute16,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE17&apos;,xu.ffmv_rowid,xu.ffmv_attribute17), xu.fa_attribute17) fa_attribute17,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE18&apos;,xu.ffmv_rowid,xu.ffmv_attribute18), xu.fa_attribute18) fa_attribute18,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE19&apos;,xu.ffmv_rowid,xu.ffmv_attribute19), xu.fa_attribute19) fa_attribute19,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE20&apos;,xu.ffmv_rowid,xu.ffmv_attribute20), xu.fa_attribute20) fa_attribute20,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE21&apos;,xu.ffmv_rowid,xu.ffmv_attribute21), xu.fa_attribute21) fa_attribute21,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE22&apos;,xu.ffmv_rowid,xu.ffmv_attribute22), xu.fa_attribute22) fa_attribute22,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE23&apos;,xu.ffmv_rowid,xu.ffmv_attribute23), xu.fa_attribute23) fa_attribute23,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE24&apos;,xu.ffmv_rowid,xu.ffmv_attribute24), xu.fa_attribute24) fa_attribute24,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE25&apos;,xu.ffmv_rowid,xu.ffmv_attribute25), xu.fa_attribute25) fa_attribute25,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE26&apos;,xu.ffmv_rowid,xu.ffmv_attribute26), xu.fa_attribute26) fa_attribute26,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE27&apos;,xu.ffmv_rowid,xu.ffmv_attribute27), xu.fa_attribute27) fa_attribute27,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE28&apos;,xu.ffmv_rowid,xu.ffmv_attribute28), xu.fa_attribute28) fa_attribute28,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE29&apos;,xu.ffmv_rowid,xu.ffmv_attribute29), xu.fa_attribute29) fa_attribute29,
nvl(xxen_util.display_flexfield_value(552,&apos;FORMULA_FLEX&apos;,xu.ffmv_attribute_category,&apos;ATTRIBUTE30&apos;,xu.ffmv_rowid,xu.ffmv_attribute30), xu.fa_attribute30) fa_attribute30,
nvl(xxen_util.display_flexfield_context(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category), xu.ld_attribute_category) ld_attribute_category,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE1&apos;,fmd.rowid,fmd.attribute1), xu.ld_attribute1) ld_attribute1,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE2&apos;,fmd.rowid,fmd.attribute2), xu.ld_attribute2) ld_attribute2,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE3&apos;,fmd.rowid,fmd.attribute3), xu.ld_attribute3) ld_attribute3,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE4&apos;,fmd.rowid,fmd.attribute4), xu.ld_attribute4) ld_attribute4,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE5&apos;,fmd.rowid,fmd.attribute5), xu.ld_attribute5) ld_attribute5,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE6&apos;,fmd.rowid,fmd.attribute6), xu.ld_attribute6) ld_attribute6,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE7&apos;,fmd.rowid,fmd.attribute7), xu.ld_attribute7) ld_attribute7,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE8&apos;,fmd.rowid,fmd.attribute8), xu.ld_attribute8) ld_attribute8,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE9&apos;,fmd.rowid,fmd.attribute9), xu.ld_attribute9) ld_attribute9,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE10&apos;,fmd.rowid,fmd.attribute10), xu.ld_attribute10) ld_attribute10,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE11&apos;,fmd.rowid,fmd.attribute11), xu.ld_attribute11) ld_attribute11,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE12&apos;,fmd.rowid,fmd.attribute12), xu.ld_attribute12) ld_attribute12,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE13&apos;,fmd.rowid,fmd.attribute13), xu.ld_attribute13) ld_attribute13,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE14&apos;,fmd.rowid,fmd.attribute14), xu.ld_attribute14) ld_attribute14,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE15&apos;,fmd.rowid,fmd.attribute15), xu.ld_attribute15) ld_attribute15,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE16&apos;,fmd.rowid,fmd.attribute16), xu.ld_attribute16) ld_attribute16,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE17&apos;,fmd.rowid,fmd.attribute17), xu.ld_attribute17) ld_attribute17,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE18&apos;,fmd.rowid,fmd.attribute18), xu.ld_attribute18) ld_attribute18,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE19&apos;,fmd.rowid,fmd.attribute19), xu.ld_attribute19) ld_attribute19,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE20&apos;,fmd.rowid,fmd.attribute20), xu.ld_attribute20) ld_attribute20,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE21&apos;,fmd.rowid,fmd.attribute21), xu.ld_attribute21) ld_attribute21,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE22&apos;,fmd.rowid,fmd.attribute22), xu.ld_attribute22) ld_attribute22,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE23&apos;,fmd.rowid,fmd.attribute23), xu.ld_attribute23) ld_attribute23,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE24&apos;,fmd.rowid,fmd.attribute24), xu.ld_attribute24) ld_attribute24,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE25&apos;,fmd.rowid,fmd.attribute25), xu.ld_attribute25) ld_attribute25,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE26&apos;,fmd.rowid,fmd.attribute26), xu.ld_attribute26) ld_attribute26,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE27&apos;,fmd.rowid,fmd.attribute27), xu.ld_attribute27) ld_attribute27,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE28&apos;,fmd.rowid,fmd.attribute28), xu.ld_attribute28) ld_attribute28,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE29&apos;,fmd.rowid,fmd.attribute29), xu.ld_attribute29) ld_attribute29,
nvl(xxen_util.display_flexfield_value(552,&apos;FM_DETAIL_FLEX&apos;,fmd.attribute_category,&apos;ATTRIBUTE30&apos;,fmd.rowid,fmd.attribute30), xu.ld_attribute30) ld_attribute30,
nvl(xu.ffmv_formula_id, xu.formula_id) formula_id,
nvl(fmd.formulaline_id, xu.formula_line_id) formula_line_id
from
(
select 
ffmv.attribute1 ffmv_attribute1,
ffmv.attribute10 ffmv_attribute10,
ffmv.attribute11 ffmv_attribute11,
ffmv.attribute12 ffmv_attribute12,
ffmv.attribute13 ffmv_attribute13,
ffmv.attribute14 ffmv_attribute14,
ffmv.attribute15 ffmv_attribute15,
ffmv.attribute16 ffmv_attribute16,
ffmv.attribute17 ffmv_attribute17,
ffmv.attribute18 ffmv_attribute18,
ffmv.attribute19 ffmv_attribute19,
ffmv.attribute2 ffmv_attribute2,
ffmv.attribute20 ffmv_attribute20,
ffmv.attribute21 ffmv_attribute21,
ffmv.attribute22 ffmv_attribute22,
ffmv.attribute23 ffmv_attribute23,
ffmv.attribute24 ffmv_attribute24,
ffmv.attribute25 ffmv_attribute25,
ffmv.attribute26 ffmv_attribute26,
ffmv.attribute27 ffmv_attribute27,
ffmv.attribute28 ffmv_attribute28,
ffmv.attribute29 ffmv_attribute29,
ffmv.attribute3 ffmv_attribute3,
ffmv.attribute30 ffmv_attribute30,
ffmv.attribute4 ffmv_attribute4,
ffmv.attribute5 ffmv_attribute5,
ffmv.attribute6 ffmv_attribute6,
ffmv.attribute7 ffmv_attribute7,
ffmv.attribute8 ffmv_attribute8,
ffmv.attribute9 ffmv_attribute9,
ffmv.attribute_category ffmv_attribute_category,
ffmv.auto_product_calc ffmv_auto_product_calc,
ffmv.formula_class ffmv_formula_class,
ffmv.formula_desc1 ffmv_formula_desc1,
ffmv.formula_desc2 ffmv_formula_desc2,
ffmv.formula_id ffmv_formula_id,
ffmv.formula_no ffmv_formula_no,
ffmv.formula_status ffmv_formula_status,
ffmv.formula_vers ffmv_formula_vers,
ffmv.owner_id ffmv_owner_id,
ffmv.rowid ffmv_rowid,
ffmv.scale_type ffmv_scale_type,
msiv.concatenated_segments msiv_concatenated_segments,
msiv.description msiv_description,
msiv.inventory_item_id msiv_inventory_item_id,
msiv.organization_id msiv_organization_id,
xu.action_,
xu.by_product_type,
xu.calculate_product_quantity,
xu.contribute_to_step_quantity,
xu.contribute_to_yield,
xu.cost_allocation,
xu.delete_line,
xu.detail_uom,
xu.fa_attribute1,
xu.fa_attribute10,
xu.fa_attribute11,
xu.fa_attribute12,
xu.fa_attribute13,
xu.fa_attribute14,
xu.fa_attribute15,
xu.fa_attribute16,
xu.fa_attribute17,
xu.fa_attribute18,
xu.fa_attribute19,
xu.fa_attribute2,
xu.fa_attribute20,
xu.fa_attribute21,
xu.fa_attribute22,
xu.fa_attribute23,
xu.fa_attribute24,
xu.fa_attribute25,
xu.fa_attribute26,
xu.fa_attribute27,
xu.fa_attribute28,
xu.fa_attribute29,
xu.fa_attribute3,
xu.fa_attribute30,
xu.fa_attribute4,
xu.fa_attribute5,
xu.fa_attribute6,
xu.fa_attribute7,
xu.fa_attribute8,
xu.fa_attribute9,
xu.fa_attribute_category,
xu.formula,
xu.formula_class,
xu.formula_description,
xu.formula_description_2,
xu.formula_id,
xu.formula_line_id,
xu.formula_status,
xu.formula_version,
xu.header_scale_type,
xu.ingredient_end_date,
xu.item,
xu.item_description,
xu.ld_attribute1,
xu.ld_attribute10,
xu.ld_attribute11,
xu.ld_attribute12,
xu.ld_attribute13,
xu.ld_attribute14,
xu.ld_attribute15,
xu.ld_attribute16,
xu.ld_attribute17,
xu.ld_attribute18,
xu.ld_attribute19,
xu.ld_attribute2,
xu.ld_attribute20,
xu.ld_attribute21,
xu.ld_attribute22,
xu.ld_attribute23,
xu.ld_attribute24,
xu.ld_attribute25,
xu.ld_attribute26,
xu.ld_attribute27,
xu.ld_attribute28,
xu.ld_attribute29,
xu.ld_attribute3,
xu.ld_attribute30,
xu.ld_attribute4,
xu.ld_attribute5,
xu.ld_attribute6,
xu.ld_attribute7,
xu.ld_attribute8,
xu.ld_attribute9,
xu.ld_attribute_category,
xu.line_no,
xu.line_scale_type,
xu.line_type,
xu.message_,
xu.modified_columns_,
xu.mp_organization_code,
xu.organization_code,
xu.owner,
xu.phantom_type,
xu.product_percent,
xu.quantity,
xu.release_type,
xu.revision,
xu.rework_type,
xu.rounding_direction,
xu.scale_multiple,
xu.scale_rounding_variance,
xu.scrap_factor,
xu.status_,
xu.upload_row
from
(
select 
mp.organization_code mp_organization_code,
mp.organization_id mp_organization_id,
xu.action_,
xu.by_product_type,
xu.calculate_product_quantity,
xu.contribute_to_step_quantity,
xu.contribute_to_yield,
xu.cost_allocation,
xu.delete_line,
xu.detail_uom,
xu.fa_attribute1,
xu.fa_attribute10,
xu.fa_attribute11,
xu.fa_attribute12,
xu.fa_attribute13,
xu.fa_attribute14,
xu.fa_attribute15,
xu.fa_attribute16,
xu.fa_attribute17,
xu.fa_attribute18,
xu.fa_attribute19,
xu.fa_attribute2,
xu.fa_attribute20,
xu.fa_attribute21,
xu.fa_attribute22,
xu.fa_attribute23,
xu.fa_attribute24,
xu.fa_attribute25,
xu.fa_attribute26,
xu.fa_attribute27,
xu.fa_attribute28,
xu.fa_attribute29,
xu.fa_attribute3,
xu.fa_attribute30,
xu.fa_attribute4,
xu.fa_attribute5,
xu.fa_attribute6,
xu.fa_attribute7,
xu.fa_attribute8,
xu.fa_attribute9,
xu.fa_attribute_category,
xu.formula,
xu.formula_class,
xu.formula_description,
xu.formula_description_2,
xu.formula_id,
xu.formula_line_id,
xu.formula_status,
xu.formula_version,
xu.header_scale_type,
xu.ingredient_end_date,
xu.item,
xu.item_description,
xu.ld_attribute1,
xu.ld_attribute10,
xu.ld_attribute11,
xu.ld_attribute12,
xu.ld_attribute13,
xu.ld_attribute14,
xu.ld_attribute15,
xu.ld_attribute16,
xu.ld_attribute17,
xu.ld_attribute18,
xu.ld_attribute19,
xu.ld_attribute2,
xu.ld_attribute20,
xu.ld_attribute21,
xu.ld_attribute22,
xu.ld_attribute23,
xu.ld_attribute24,
xu.ld_attribute25,
xu.ld_attribute26,
xu.ld_attribute27,
xu.ld_attribute28,
xu.ld_attribute29,
xu.ld_attribute3,
xu.ld_attribute30,
xu.ld_attribute4,
xu.ld_attribute5,
xu.ld_attribute6,
xu.ld_attribute7,
xu.ld_attribute8,
xu.ld_attribute9,
xu.ld_attribute_category,
xu.line_no,
xu.line_scale_type,
xu.line_type,
xu.message_,
xu.modified_columns_,
xu.organization_code,
xu.owner,
xu.phantom_type,
xu.product_percent,
xu.quantity,
xu.release_type,
xu.revision,
xu.rework_type,
xu.rounding_direction,
xu.scale_multiple,
xu.scale_rounding_variance,
xu.scrap_factor,
xu.status_,
xu.upload_row
from
xxen_opm_formula_upload_5639_u xu,
mtl_parameters mp
where
mp.organization_code(+)=xu.organization_code and
xu.status_code_=xxen_upload.status_success
) xu,
--before 12c an outer joined table may reference at most one other table, so the driving tables are wrapped
fm_form_mst_vl ffmv,
mtl_system_items_vl msiv
where
ffmv.formula_no(+)=upper(xu.formula) and
ffmv.formula_vers(+)=xu.formula_version and
ffmv.owner_organization_id(+)=xu.mp_organization_id and
msiv.concatenated_segments(+)=xu.item and
msiv.organization_id(+)=xu.mp_organization_id
) xu, --before 12c an outer joined table may reference at most one other table, so the driving tables are wrapped
fm_matl_dtl fmd
where
fmd.formula_id(+)=xu.ffmv_formula_id and
fmd.line_type(+)=to_number(xxen_util.lookup_code(xu.line_type,&apos;GMD_FORMULA_ITEM_TYPE&apos;,552)) and
fmd.inventory_item_id(+)=xu.msiv_inventory_item_id and
fmd.organization_id(+)=xu.msiv_organization_id</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
