<ROOT>
 <APPS_INITIALIZE_DATA>
  <USER_NAME>ENGINATICS</USER_NAME>
  <RESPONSIBILITY_KEY>SYSTEM_ADMINISTRATOR</RESPONSIBILITY_KEY>
  <APPLICATION_SHORT_NAME>SYSADMIN</APPLICATION_SHORT_NAME>
 </APPS_INITIALIZE_DATA>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: EAM Asset Number Upload -->
 <REPORTS_ROW>
  <GUID>5029DD3AEB9F63ADE0630100007FE5A6</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
null action_,
null status_,
null message_,
null modified_columns_,
meanv.inv_organization_code organization,
meanv.instance_number asset_number,
meanv.maintenance_object_id asset_id,
meanv.concatenated_segments asset_group,
meanv.serial_number asset_serial_number,
meanv.descriptive_text description,
meanv.category_name asset_category,
meanv.owning_department,
meanv.asset_criticality criticality,
meanv.wip_accounting_class_code wip_accounting_class,
meanv.area,
decode(meanv.maintainable_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) maintainable,
decode(meanv.network_asset_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) asset_route,
decode(meanv.operational_log_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) operation_log,
meanv.supplier_warranty_exp_date warranty_expiration,
meanv.prod_organization_code production_organization,
(select msi.concatenated_segments from mtl_system_items_b_kfv msi where msi.inventory_item_id=meanv.equipment_item_id and msi.organization_id=meanv.prod_organization_id) equipment_item,
meanv.eqp_serial_number equipment_serial_number,
meanv.pn_location_code property_location_code,
meanv.fa_asset_number,
decode(meanv.fa_sync_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) fa_synchronized,
meanv.active_start_date,
meanv.active_end_date,
xxen_util.meaning(to_char(meanv.eam_item_type),&apos;MTL_EAM_ASSET_TYPE&apos;,700) asset_type,
meanv.current_status_meaning asset_status,
meanv.current_location current_location_address,
meanv.parent_instance_number parent_asset_number,
meanv.parent_serial_number parent_asset_serial_number,
(select cii.instance_id from csi_item_instances cii where meanv.parent_instance_number=cii.instance_number) parent_asset_id,
xxen_util.display_flexfield_context(542,&apos;Item Instance Flex Field&apos;,meanv.context) attribute_category,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE1&apos;,meanv.row_id,meanv.attribute1) attribute1,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE2&apos;,meanv.row_id,meanv.attribute2) attribute2,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE3&apos;,meanv.row_id,meanv.attribute3) attribute3,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE4&apos;,meanv.row_id,meanv.attribute4) attribute4,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE5&apos;,meanv.row_id,meanv.attribute5) attribute5,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE6&apos;,meanv.row_id,meanv.attribute6) attribute6,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE7&apos;,meanv.row_id,meanv.attribute7) attribute7,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE8&apos;,meanv.row_id,meanv.attribute8) attribute8,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE9&apos;,meanv.row_id,meanv.attribute9) attribute9,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE10&apos;,meanv.row_id,meanv.attribute10) attribute10,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE11&apos;,meanv.row_id,meanv.attribute11) attribute11,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE12&apos;,meanv.row_id,meanv.attribute12) attribute12,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE13&apos;,meanv.row_id,meanv.attribute13) attribute13,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE14&apos;,meanv.row_id,meanv.attribute14) attribute14,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE15&apos;,meanv.row_id,meanv.attribute15) attribute15,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE16&apos;,meanv.row_id,meanv.attribute16) attribute16,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE17&apos;,meanv.row_id,meanv.attribute17) attribute17,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE18&apos;,meanv.row_id,meanv.attribute18) attribute18,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE19&apos;,meanv.row_id,meanv.attribute19) attribute19,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE20&apos;,meanv.row_id,meanv.attribute20) attribute20,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE21&apos;,meanv.row_id,meanv.attribute21) attribute21,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE22&apos;,meanv.row_id,meanv.attribute22) attribute22,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE23&apos;,meanv.row_id,meanv.attribute23) attribute23,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE24&apos;,meanv.row_id,meanv.attribute24) attribute24,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE25&apos;,meanv.row_id,meanv.attribute25) attribute25,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE26&apos;,meanv.row_id,meanv.attribute26) attribute26,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE27&apos;,meanv.row_id,meanv.attribute27) attribute27,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE28&apos;,meanv.row_id,meanv.attribute28) attribute28,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE29&apos;,meanv.row_id,meanv.attribute29) attribute29,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE30&apos;,meanv.row_id,meanv.attribute30) attribute30,
to_number(null) upload_row
from
mtl_eam_asset_numbers_all_v meanv
where
1=1</SQL_TEXT>
  <VERSION_COMMENTS>Added read only columns Asset Id, Asset Type, Asset Status, Current Location Address, Parent Asset Number, Parent Asset Serial Number and Parent Asset Id, so that assets can be reconciled against externally supplied source data and their hierarchy, status and location are visible on download.</VERSION_COMMENTS>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_eam_upload.upload_asset_number</UPLOAD_OBJECT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>EAM Asset Number Upload</REPORT_NAME>
    <DESCRIPTION>Create and update Oracle Enterprise Asset Management asset numbers (maintenance assets). Parent Asset Number places the asset in the asset hierarchy; clearing it on an existing asset removes the parent. Parent Asset Serial Number and Parent Asset Id follow the parent asset number and are read only.</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>
  <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,U</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>meanv.current_organization_id=:p_organization</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_id id,
mp.organization_code value,
haou.name description
from
mtl_parameters mp,
hr_all_organization_units haou
where
mp.eam_enabled_flag=&apos;Y&apos; and
mp.organization_id=haou.organization_id
order by
mp.organization_code</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization</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>meanv.instance_number&gt;=:asset_number_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Asset Number From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>meanv.instance_number&lt;=:asset_number_to</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>:$flex$.asset_number_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Asset Number To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>meanv.concatenated_segments=:asset_group</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
meanv.concatenated_segments id,
meanv.concatenated_segments value,
null description
from
mtl_eam_asset_numbers_all_v meanv
where
(:$flex$.Organization is null or xxen_util.contains(:$flex$.Organization,meanv.current_organization_id)=&apos;Y&apos;)
order by
meanv.concatenated_segments</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Asset Group</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>meanv.category_id=:asset_category</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
meanv.category_id id,
meanv.category_name value,
null description
from
mtl_eam_asset_numbers_all_v meanv
where
meanv.category_id is not null and
(:$flex$.Organization is null or xxen_util.contains(:$flex$.Organization,meanv.current_organization_id)=&apos;Y&apos;)
order by
meanv.category_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Asset Category</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>meanv.current_status=:asset_status</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ml.lookup_code id,
ml.meaning value,
null description
from
mfg_lookups ml
where
ml.lookup_type=&apos;SERIAL_NUM_STATUS&apos;
order by
ml.lookup_code</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Asset Status</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>ORGANIZATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>3</DATA_LENGTH>
    <LOV_NAME>INV Organization Code</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name||&apos; (&apos;||ftv.territory_short_name||&apos;, &apos;||hla.town_or_city||decode(mp.organization_id,mp.master_organization_id,null,&apos;, &apos;||mp0.organization_code)||&apos;)&apos; description
from
org_organization_definitions ood,
mtl_parameters mp,
mtl_parameters mp0,
hr_all_organization_units haou,
hr_locations_all hla,
fnd_territories_vl ftv
where
ood.organization_id=mp.organization_id and
mp.organization_id&lt;&gt;mp.master_organization_id and
(
ood.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) or
not exists (select null from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and
ood.operating_unit in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
) and
(:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;)) and
(:$flex$.ledger is null or ood.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
nvl(ood.disable_date,sysdate)&gt;=sysdate and
mp.master_organization_id=mp0.organization_id and
ood.organization_id=haou.organization_id(+) and
haou.location_id=hla.location_id(+) and
hla.country=ftv.territory_code(+)
order by
ood.organization_code</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
mp.organization_id id,
mp.organization_code value
from
mtl_parameters mp
where
mp.eam_enabled_flag=&apos;Y&apos; and
mp.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)</VALUE_TO_ID_QUERY>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_GROUP</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
msi.inventory_item_id id,
msi.concatenated_segments value,
msi.description
from
mtl_system_items_b_kfv msi,
mtl_parameters mp
where
msi.organization_id=mp.organization_id and
mp.organization_code=:$column$.organization and
msi.eam_item_type in (1,3) and
msi.serial_number_control_code in (2,5,6)
order by
msi.concatenated_segments</LOV_QUERY_DSP>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_SERIAL_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>DESCRIPTION</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>ASSET_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>163</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
mck.category_id id,
mck.concatenated_segments value,
mck.description
from
mtl_categories_kfv mck,
mtl_category_sets_vl mcsv,
mtl_item_categories mic,
mtl_parameters mp,
mtl_system_items_b_kfv msi
where
mcsv.category_set_name=&apos;Enterprise Asset Management&apos; and
mcsv.structure_id=mck.structure_id and
mck.enabled_flag=&apos;Y&apos; and
mic.category_set_id=mcsv.category_set_id and
mic.category_id=mck.category_id and
mic.organization_id=mp.organization_id and
mp.organization_code=:$column$.organization and
msi.organization_id=mp.organization_id and
msi.concatenated_segments=:$column$.asset_group and
msi.inventory_item_id=mic.inventory_item_id
order by
mck.concatenated_segments</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>OWNING_DEPARTMENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>10</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
bd.department_id id,
bd.department_code value,
nvl2(bd.department_class_code,bd.department_class_code||&apos;: &apos;,null)||bd.description description
from
bom_departments bd,
mtl_parameters mp
where
bd.organization_id=mp.organization_id and
mp.organization_code=:$column$.organization and
nvl(bd.disable_date,sysdate+1)&gt;sysdate
order by
bd.department_code</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>CRITICALITY</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
ml.lookup_code id,
ml.meaning value,
ml.description
from
mfg_lookups ml
where
ml.lookup_type=&apos;MTL_EAM_ASSET_CRITICALITY&apos; and
ml.enabled_flag=&apos;Y&apos;
order by
ml.lookup_code</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>WIP_ACCOUNTING_CLASS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>10</DATA_LENGTH>
    <LOV_NAME>WIP Class Code (org dependent)</LOV_NAME>
    <LOV_GUID>E7CCB27F39561272E0530100007F62B4</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
wac.class_code value,
wac.description
from
mtl_parameters mp,
wip_accounting_classes wac
where
(:$flex$.organization_code is null or xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos;) and
mp.organization_id=wac.organization_id
order by
wac.class_code</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>AREA</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
mel.location_id id,
mel.location_codes value,
mel.description
from
mtl_eam_locations mel,
mtl_parameters mp
where
mel.organization_id=mp.organization_id and
mp.organization_code=:$column$.organization and
sysdate between nvl(mel.start_date,sysdate-1) and
nvl(mel.end_date,sysdate+1)
order by
mel.location_codes</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>MAINTAINABLE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <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</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_ROUTE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <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</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>OPERATION_LOG</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <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</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>WARRANTY_EXPIRATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>PRODUCTION_ORGANIZATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>3</DATA_LENGTH>
    <LOV_NAME>INV Organization Code</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name||&apos; (&apos;||ftv.territory_short_name||&apos;, &apos;||hla.town_or_city||decode(mp.organization_id,mp.master_organization_id,null,&apos;, &apos;||mp0.organization_code)||&apos;)&apos; description
from
org_organization_definitions ood,
mtl_parameters mp,
mtl_parameters mp0,
hr_all_organization_units haou,
hr_locations_all hla,
fnd_territories_vl ftv
where
ood.organization_id=mp.organization_id and
mp.organization_id&lt;&gt;mp.master_organization_id and
(
ood.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) or
not exists (select null from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and
ood.operating_unit in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
) and
(:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;)) and
(:$flex$.ledger is null or ood.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
nvl(ood.disable_date,sysdate)&gt;=sysdate and
mp.master_organization_id=mp0.organization_id and
ood.organization_id=haou.organization_id(+) and
haou.location_id=hla.location_id(+) and
hla.country=ftv.territory_code(+)
order by
ood.organization_code</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
mp.organization_id id,
mp.organization_code value
from
mtl_parameters mp
where
mp.eam_enabled_flag=&apos;Y&apos; and
mp.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
exists (select null from org_organization_definitions ood where ood.organization_id=mp.organization_id and nvl(ood.disable_date,sysdate)&gt;=sysdate)</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>EQUIPMENT_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
msi.inventory_item_id id,
msi.concatenated_segments value,
msi.description
from
mtl_system_items_b_kfv msi,
mtl_parameters mp
where
msi.organization_id=mp.organization_id and
mp.organization_code=:$column$.production_organization and
msi.equipment_type=1
order by
msi.concatenated_segments</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>EQUIPMENT_SERIAL_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
msn.serial_number value
from
mtl_serial_numbers msn,
mtl_system_items_b_kfv msi,
mtl_parameters mp
where
msn.current_organization_id=mp.organization_id and
mp.organization_code=:$column$.production_organization and
msn.inventory_item_id=msi.inventory_item_id and
msi.organization_id=msn.current_organization_id and
msi.concatenated_segments=:$column$.equipment_item
order by
msn.serial_number</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>PROPERTY_LOCATION_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>90</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
pla.location_id id,
pla.location_code value,
pla.active_start_date||&apos; - &apos;||pla.active_end_date description
from
pn_locations_all pla
where
sysdate between pla.active_start_date and
pla.active_end_date
order by
pla.location_code</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>FA_ASSET_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>15</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fav.asset_id id,
fav.asset_number value,
fav.description
from
fa_additions_vl fav
where
fav.in_use_flag in (&apos;Y&apos;,&apos;YES&apos;)
order by
fav.asset_number</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>FA_SYNCHRONIZED</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <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</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>ACTIVE_START_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>ACTIVE_END_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>ASSET_STATUS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>CURRENT_LOCATION_ADDRESS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>1207</DATA_LENGTH>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>PARENT_ASSET_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
cii.instance_id id,
cii.instance_number value,
nvl(cii.instance_description,msn.descriptive_text) description
from
mtl_parameters mp,
mtl_serial_numbers msn,
mtl_system_items_b msib,
csi_item_instances cii
where
mp.organization_code=:$column$.organization and
mp.organization_id=msn.current_organization_id and
msn.inventory_item_id=msib.inventory_item_id and
msn.current_organization_id=msib.organization_id and
msib.eam_item_type in (1,3) and
msn.inventory_item_id=cii.inventory_item_id and
msn.serial_number=cii.serial_number and
(:$column$.asset_number is null or cii.instance_number&lt;&gt;:$column$.asset_number)
order by
cii.instance_number</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>PARENT_ASSET_SERIAL_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>PARENT_ASSET_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>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=542 and
fdfcv.descriptive_flexfield_name=&apos;Item Instance Flex Field&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>35</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>45</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>46</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>47</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>48</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>49</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>50</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE16&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE16&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>51</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE17&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE17&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>52</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE18&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE18&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>53</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE19&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE19&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>54</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE20&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE20&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>55</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE21&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE21&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>56</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE22&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE22&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>57</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE23&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE23&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>58</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE24&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE24&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>59</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE25&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE25&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>60</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE26&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE26&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>61</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE27&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE27&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>62</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE28&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE28&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>63</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE29&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE29&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>64</COLUMN_NUMBER>
    <COLUMN_NAME>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;542,
p_descriptive_flexfield_name=&gt;&apos;Item Instance Flex Field&apos;,
p_context_name=&gt;:$column$.attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE30&apos;,
p_attribute1=&gt;:$column$.attribute1,
p_attribute2=&gt;:$column$.attribute2,
p_attribute3=&gt;:$column$.attribute3,
p_attribute4=&gt;:$column$.attribute4,
p_attribute5=&gt;:$column$.attribute5,
p_attribute6=&gt;:$column$.attribute6,
p_attribute7=&gt;:$column$.attribute7,
p_attribute8=&gt;:$column$.attribute8,
p_attribute9=&gt;:$column$.attribute9,
p_attribute10=&gt;:$column$.attribute10,
p_attribute11=&gt;:$column$.attribute11,
p_attribute12=&gt;:$column$.attribute12,
p_attribute13=&gt;:$column$.attribute13,
p_attribute14=&gt;:$column$.attribute14,
p_attribute15=&gt;:$column$.attribute15,
p_attribute16=&gt;:$column$.attribute16,
p_attribute17=&gt;:$column$.attribute17,
p_attribute18=&gt;:$column$.attribute18,
p_attribute19=&gt;:$column$.attribute19,
p_attribute20=&gt;:$column$.attribute20,
p_attribute21=&gt;:$column$.attribute21,
p_attribute22=&gt;:$column$.attribute22,
p_attribute23=&gt;:$column$.attribute23,
p_attribute24=&gt;:$column$.attribute24,
p_attribute25=&gt;:$column$.attribute25,
p_attribute26=&gt;:$column$.attribute26,
p_attribute27=&gt;:$column$.attribute27,
p_attribute28=&gt;:$column$.attribute28,
p_attribute29=&gt;:$column$.attribute29,
p_attribute30=&gt;:$column$.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=542 and
fdfv.descriptive_flexfield_name=&apos;Item Instance Flex Field&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE30&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>65</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>
  <UPLOAD_PARAMETERS>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_organization_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>ORGANIZATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_asset_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ASSET_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_inventory_item_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>ASSET_GROUP</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_serial_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ASSET_SERIAL_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_descriptive_text</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>DESCRIPTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_category_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>ASSET_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_owning_department_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>OWNING_DEPARTMENT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_asset_criticality_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>CRITICALITY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_wip_accounting_class_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>WIP_ACCOUNTING_CLASS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_eam_location_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>AREA</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_maintainable_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MAINTAINABLE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_network_asset_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ASSET_ROUTE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_operational_log_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>OPERATION_LOG</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_supplier_warranty_exp_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <COLUMN_NAME>WARRANTY_EXPIRATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_prod_organization_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>PRODUCTION_ORGANIZATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_equipment_item_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>EQUIPMENT_ITEM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_eqp_serial_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>EQUIPMENT_SERIAL_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_pn_location_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>PROPERTY_LOCATION_CODE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_fa_asset_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>FA_ASSET_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_fa_sync_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>FA_SYNCHRONIZED</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_active_start_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <COLUMN_NAME>ACTIVE_START_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_active_end_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <COLUMN_NAME>ACTIVE_END_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_parent_instance_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>PARENT_ASSET_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute16</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE16</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute17</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE17</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute18</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE18</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute19</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE19</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute20</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE20</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute21</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE21</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute22</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE22</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute23</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE23</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute24</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE24</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute25</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE25</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute26</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE26</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute27</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE27</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute28</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE28</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute29</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE29</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute30</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ATTRIBUTE30</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>status_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>STATUS_CODE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>message_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
  </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, organization, asset_number</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_,
meanv.inv_organization_code organization,
meanv.instance_number asset_number,
meanv.maintenance_object_id asset_id,
meanv.concatenated_segments asset_group,
meanv.serial_number asset_serial_number,
meanv.descriptive_text description,
meanv.category_name asset_category,
meanv.owning_department,
meanv.asset_criticality criticality,
meanv.wip_accounting_class_code wip_accounting_class,
meanv.area,
decode(meanv.maintainable_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) maintainable,
decode(meanv.network_asset_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) asset_route,
decode(meanv.operational_log_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) operation_log,
meanv.supplier_warranty_exp_date warranty_expiration,
meanv.prod_organization_code production_organization,
(select msi.concatenated_segments from mtl_system_items_b_kfv msi where msi.inventory_item_id=meanv.equipment_item_id and msi.organization_id=meanv.prod_organization_id) equipment_item,
meanv.eqp_serial_number equipment_serial_number,
meanv.pn_location_code property_location_code,
meanv.fa_asset_number,
decode(meanv.fa_sync_flag,&apos;Y&apos;,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) fa_synchronized,
meanv.active_start_date,
meanv.active_end_date,
xxen_util.meaning(to_char(meanv.eam_item_type),&apos;MTL_EAM_ASSET_TYPE&apos;,700) asset_type,
meanv.current_status_meaning asset_status,
meanv.current_location current_location_address,
meanv.parent_instance_number parent_asset_number,
meanv.parent_serial_number parent_asset_serial_number,
(select cii.instance_id from csi_item_instances cii where meanv.parent_instance_number=cii.instance_number) parent_asset_id,
xxen_util.display_flexfield_context(542,&apos;Item Instance Flex Field&apos;,meanv.context) attribute_category,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE1&apos;,meanv.row_id,meanv.attribute1) attribute1,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE2&apos;,meanv.row_id,meanv.attribute2) attribute2,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE3&apos;,meanv.row_id,meanv.attribute3) attribute3,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE4&apos;,meanv.row_id,meanv.attribute4) attribute4,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE5&apos;,meanv.row_id,meanv.attribute5) attribute5,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE6&apos;,meanv.row_id,meanv.attribute6) attribute6,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE7&apos;,meanv.row_id,meanv.attribute7) attribute7,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE8&apos;,meanv.row_id,meanv.attribute8) attribute8,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE9&apos;,meanv.row_id,meanv.attribute9) attribute9,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE10&apos;,meanv.row_id,meanv.attribute10) attribute10,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE11&apos;,meanv.row_id,meanv.attribute11) attribute11,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE12&apos;,meanv.row_id,meanv.attribute12) attribute12,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE13&apos;,meanv.row_id,meanv.attribute13) attribute13,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE14&apos;,meanv.row_id,meanv.attribute14) attribute14,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE15&apos;,meanv.row_id,meanv.attribute15) attribute15,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE16&apos;,meanv.row_id,meanv.attribute16) attribute16,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE17&apos;,meanv.row_id,meanv.attribute17) attribute17,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE18&apos;,meanv.row_id,meanv.attribute18) attribute18,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE19&apos;,meanv.row_id,meanv.attribute19) attribute19,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE20&apos;,meanv.row_id,meanv.attribute20) attribute20,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE21&apos;,meanv.row_id,meanv.attribute21) attribute21,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE22&apos;,meanv.row_id,meanv.attribute22) attribute22,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE23&apos;,meanv.row_id,meanv.attribute23) attribute23,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE24&apos;,meanv.row_id,meanv.attribute24) attribute24,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE25&apos;,meanv.row_id,meanv.attribute25) attribute25,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE26&apos;,meanv.row_id,meanv.attribute26) attribute26,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE27&apos;,meanv.row_id,meanv.attribute27) attribute27,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE28&apos;,meanv.row_id,meanv.attribute28) attribute28,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE29&apos;,meanv.row_id,meanv.attribute29) attribute29,
xxen_util.display_flexfield_value(542,&apos;Item Instance Flex Field&apos;,meanv.context,&apos;ATTRIBUTE30&apos;,meanv.row_id,meanv.attribute30) attribute30,
xu.upload_row
from
xxen_eam_asset_number_u_5289_u xu,
mtl_eam_asset_numbers_all_v meanv,
mtl_parameters mp
where
xu.status_code_=xxen_upload.status_success and
mp.organization_code=xu.organization and
meanv.current_organization_id=mp.organization_id and
meanv.instance_number=xu.asset_number</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
