<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: INV Lot Upload -->
 <REPORTS_ROW>
  <GUID>E804FC9D05634C6EB60B2D9B184A119F</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
null action_,
null status_,
null message_,
to_number(null) request_id_,
null modified_columns_,
mp.organization_code,
msiv.concatenated_segments item,
msiv.description item_description,
xxen_util.meaning(msiv.shelf_life_code,&apos;MTL_SHELF_LIFE&apos;,700) shelf_life_control,
mln.parent_lot_number parent_lot,
mln.lot_number,
xxen_util.yes(decode(mln.disable_flag,1,&apos;Y&apos;)) disabled,
(select mmsv.status_code from mtl_material_statuses_vl mmsv where mln.status_id=mmsv.status_id) lot_status,
mln.grade_code grade,
xxen_util.meaning(mln.origination_type,&apos;MTL_LOT_ORIGINATION_TYPE&apos;,700) origination_type,
mln.origination_date,
mln.maturity_date,
mln.hold_date,
mln.expiration_date,
mln.expiration_action_date,
mln.expiration_action_code expiration_action,
mln.retest_date,
xxen_util.display_flexfield_context(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category) lot_attributes_context,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;DESCRIPTION&apos;,mln.rowid,mln.description) lot_attr_description,
mln.vendor_id lot_attr_vendor_id,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;TERRITORY_CODE&apos;,mln.rowid,mln.territory_code) lot_attr_territory_code,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;DATE_CODE&apos;,mln.rowid,mln.date_code) lot_attr_date_code,
mln.change_date lot_attr_change_date,
mln.age lot_attr_age,
mln.item_size lot_attr_item_size,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;COLOR&apos;,mln.rowid,mln.color) lot_attr_color,
mln.volume lot_attr_volume,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;VOLUME_UOM&apos;,mln.rowid,mln.volume_uom) lot_attr_volume_uom,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;PLACE_OF_ORIGIN&apos;,mln.rowid,mln.place_of_origin) lot_attr_place_of_origin,
mln.best_by_date lot_attr_best_by_date,
mln.length lot_attr_length,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;LENGTH_UOM&apos;,mln.rowid,mln.length_uom) lot_attr_length_uom,
mln.recycled_content lot_attr_recycled_content,
mln.thickness lot_attr_thickness,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;THICKNESS_UOM&apos;,mln.rowid,mln.thickness_uom) lot_attr_thickness_uom,
mln.width lot_attr_width,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;WIDTH_UOM&apos;,mln.rowid,mln.width_uom) lot_attr_width_uom,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;CURL_WRINKLE_FOLD&apos;,mln.rowid,mln.curl_wrinkle_fold) lot_attr_curl_wrinkle_fold,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE1&apos;,mln.rowid,mln.c_attribute1) lot_attr_c_attribute1,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE2&apos;,mln.rowid,mln.c_attribute2) lot_attr_c_attribute2,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE3&apos;,mln.rowid,mln.c_attribute3) lot_attr_c_attribute3,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE4&apos;,mln.rowid,mln.c_attribute4) lot_attr_c_attribute4,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE5&apos;,mln.rowid,mln.c_attribute5) lot_attr_c_attribute5,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE6&apos;,mln.rowid,mln.c_attribute6) lot_attr_c_attribute6,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE7&apos;,mln.rowid,mln.c_attribute7) lot_attr_c_attribute7,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE8&apos;,mln.rowid,mln.c_attribute8) lot_attr_c_attribute8,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE9&apos;,mln.rowid,mln.c_attribute9) lot_attr_c_attribute9,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE10&apos;,mln.rowid,mln.c_attribute10) lot_attr_c_attribute10,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE11&apos;,mln.rowid,mln.c_attribute11) lot_attr_c_attribute11,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE12&apos;,mln.rowid,mln.c_attribute12) lot_attr_c_attribute12,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE13&apos;,mln.rowid,mln.c_attribute13) lot_attr_c_attribute13,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE14&apos;,mln.rowid,mln.c_attribute14) lot_attr_c_attribute14,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE15&apos;,mln.rowid,mln.c_attribute15) lot_attr_c_attribute15,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE16&apos;,mln.rowid,mln.c_attribute16) lot_attr_c_attribute16,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE17&apos;,mln.rowid,mln.c_attribute17) lot_attr_c_attribute17,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE18&apos;,mln.rowid,mln.c_attribute18) lot_attr_c_attribute18,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE19&apos;,mln.rowid,mln.c_attribute19) lot_attr_c_attribute19,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE20&apos;,mln.rowid,mln.c_attribute20) lot_attr_c_attribute20,
mln.d_attribute1 lot_attr_d_attribute1,
mln.d_attribute2 lot_attr_d_attribute2,
mln.d_attribute3 lot_attr_d_attribute3,
mln.d_attribute4 lot_attr_d_attribute4,
mln.d_attribute5 lot_attr_d_attribute5,
mln.d_attribute6 lot_attr_d_attribute6,
mln.d_attribute7 lot_attr_d_attribute7,
mln.d_attribute8 lot_attr_d_attribute8,
mln.d_attribute9 lot_attr_d_attribute9,
mln.d_attribute10 lot_attr_d_attribute10,
mln.n_attribute1 lot_attr_n_attribute1,
mln.n_attribute2 lot_attr_n_attribute2,
mln.n_attribute3 lot_attr_n_attribute3,
mln.n_attribute4 lot_attr_n_attribute4,
mln.n_attribute5 lot_attr_n_attribute5,
mln.n_attribute6 lot_attr_n_attribute6,
mln.n_attribute7 lot_attr_n_attribute7,
mln.n_attribute8 lot_attr_n_attribute8,
mln.n_attribute9 lot_attr_n_attribute9,
mln.n_attribute10 lot_attr_n_attribute10,
xxen_util.display_flexfield_context(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category) lot_attribute_category,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE1&apos;,mln.rowid,mln.attribute1) lot_attribute1,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE2&apos;,mln.rowid,mln.attribute2) lot_attribute2,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE3&apos;,mln.rowid,mln.attribute3) lot_attribute3,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE4&apos;,mln.rowid,mln.attribute4) lot_attribute4,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE5&apos;,mln.rowid,mln.attribute5) lot_attribute5,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE6&apos;,mln.rowid,mln.attribute6) lot_attribute6,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE7&apos;,mln.rowid,mln.attribute7) lot_attribute7,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE8&apos;,mln.rowid,mln.attribute8) lot_attribute8,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE9&apos;,mln.rowid,mln.attribute9) lot_attribute9,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE10&apos;,mln.rowid,mln.attribute10) lot_attribute10,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE11&apos;,mln.rowid,mln.attribute11) lot_attribute11,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE12&apos;,mln.rowid,mln.attribute12) lot_attribute12,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE13&apos;,mln.rowid,mln.attribute13) lot_attribute13,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE14&apos;,mln.rowid,mln.attribute14) lot_attribute14,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE15&apos;,mln.rowid,mln.attribute15) lot_attribute15,
(select sum(moqd.primary_transaction_quantity) from mtl_onhand_quantities_detail moqd where mln.organization_id=moqd.organization_id and mln.inventory_item_id=moqd.inventory_item_id and mln.lot_number=moqd.lot_number) onhand_quantity,
to_number(null) upload_row
from
mtl_parameters mp,
mtl_system_items_vl msiv,
mtl_lot_numbers mln
where
mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
mp.organization_id=msiv.organization_id and
msiv.organization_id=mln.organization_id and
msiv.inventory_item_id=mln.inventory_item_id and
:p_upload_mode like &apos;%&apos;||xxen_upload.action_update and
1=1</SQL_TEXT>
  <VERSION_COMMENTS>Organization security from the Blitz Report organization access, which follows profiles Blitz Report Organization Access All Responsibilities, Blitz Report Use Operating Unit Security and Blitz Report Use Ledger Security.</VERSION_COMMENTS>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_inv_upload.upload_lot</UPLOAD_OBJECT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>INV Lot Upload</REPORT_NAME>
    <DESCRIPTION>Creates and updates lots as in the Lot Numbers form (Inventory &gt; On-hand, Availability &gt; Lots).

A row updates the lot when Organization Code, Item and Lot Number exist, and creates it otherwise. A new lot takes the item defaults for status, grade, origination type and the dates left blank, and copies the parent lot attributes where the item or organization is set up to copy them. A blank Origination Date on a new lot defaults to the current date. Parent Lot can only be entered for a new lot.

Expiration Date, Expiration Action Date and Retest Date can be changed only for items under shelf life control, and the Expiration Date of such an item cannot be cleared. Status requires a lot status enabled item, Grade a grade controlled item. Changing the Origination Date does not recalculate the other dates. Clearing the Expiration Action Date also clears the Expiration Action.

With profile INV: Global Lot Attributes set to Yes, a changed date or grade is applied to the same lot in all organizations, as in the form.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>R12 only</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Upload</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_upload_mode</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:p_upload_mode</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Blitz Upload Mode</LOV_NAME>
    <LOV_GUID>E811F942597A2075E0530100007FF4F2</LOV_GUID>
    <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>mp.organization_code=:organization_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Organization Code (including master)</LOV_NAME>
    <LOV_GUID>0B22DF18E239D64AE0630100007FBD85</LOV_GUID>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name description
from
org_organization_definitions ood
where
ood.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
(:$flex$.operating_unit is null or ood.operating_unit in (select haouv.organization_id from hr_all_organization_units_vl haouv where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos;)) and
(:$flex$.ledger is null or ood.set_of_books_id in (select gl.ledger_id from gl_ledgers gl where xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos;)) and
nvl(ood.disable_date,sysdate)&gt;=sysdate
order by
ood.organization_code</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization Code</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>msiv.concatenated_segments=:item</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Item</LOV_NAME>
    <LOV_GUID>8E2FF36EDEF179D2E0530100007F1FF2</LOV_GUID>
    <LOV_QUERY_DSP>select
msiv.concatenated_segments value,
msiv.description||&apos; (&apos;||mp.organization_code||&apos;)&apos; description
from
mtl_system_items_vl msiv,
mtl_parameters mp
where
(
:$flex$.organization_code is null and (
fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) is null and msiv.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) or
msiv.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)
) or
xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos;
) and
msiv.organization_id=mp.organization_id
order by
mp.organization_code,
msiv.concatenated_segments</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Item</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>mln.lot_number=:lot_number</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Lot Number</LOV_NAME>
    <LOV_GUID>2450E07B1B9F64E9E0630100007FCFA7</LOV_GUID>
    <FREE_TEXT>Y</FREE_TEXT>
    <LOV_QUERY_DSP>select distinct
mln.lot_number value,
mln.description
from 
mtl_parameters mp,
mtl_system_items_vl msiv,
mtl_lot_numbers mln
where 
mp.organization_id = msiv.organization_id and
mln.organization_id = msiv.organization_id and
mln.inventory_item_id = msiv.inventory_item_id and 
(:$flex$.organization_code is null and 
 (fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) is null and msiv.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) or
  msiv.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)
 ) or
 xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos;
) and
(:$flex$.item is null or xxen_util.contains(:$flex$.item,msiv.concatenated_segments) = &apos;Y&apos;) and
(:$flex$.item_from is null or msiv.concatenated_segments &gt;= :$flex$.item_from) and
(:$flex$.item_to is null or msiv.concatenated_segments &lt;= :$flex$.item_to)
order by
value,
description</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Lot Number</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>mln.expiration_date&gt;=:expiration_date_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Expiration Date From</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>mln.expiration_date&lt;:expiration_date_to+1</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>:$flex$.expiration_date_from</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Expiration Date To</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>mln.expiration_date&lt;sysdate+:expiring_within_days</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Expiring Within Days</PARAMETER_NAME>
      <DESCRIPTION>Lots with an expiration date before today plus the given number of days, including lots already expired.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
   <TEMPLATES_ROW>
    <GUID>634F78760CB94F4099DD524C8DD54769</GUID>
    <TEMPLATE_NAME>Create Lots</TEMPLATE_NAME>
    <DESCRIPTION>Opens an empty sheet to create new lots ahead of receipt or production.

Dates and attributes left blank take the item defaults, and a child lot takes the parent lot attributes where the item or organization is set up to copy them.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GRADE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>HOLD_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MATURITY_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORIGINATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PARENT_LOT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RETEST_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHELF_LIFE_CONTROL</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C</DEFAULT_VALUE>
      <LOCKED>Y</LOCKED>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Expiration Date From</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Expiration Date To</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Expiring Within Days</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Item</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Lot Number</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>F9DCC5646DB64F02847BA0944A8C53F3</GUID>
    <TEMPLATE_NAME>Default</TEMPLATE_NAME>
    <DESCRIPTION>Creates and updates lots with the fields of the Lot Numbers form, without the flexfields.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISABLED</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GRADE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>HOLD_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MATURITY_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORIGINATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORIGINATION_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PARENT_LOT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RETEST_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHELF_LIFE_CONTROL</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>C09F939EBDA64796AC0908D29D2F972D</GUID>
    <TEMPLATE_NAME>Expiration Date Correction</TEMPLATE_NAME>
    <DESCRIPTION>Corrects the expiration, expiration action and retest dates of existing lots.

Download the lots by item, lot or expiration date range, or use Upload Mode Create and paste Organization Code, Item, Lot Number and the new dates.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORIGINATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RETEST_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHELF_LIFE_CONTROL</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>502B5ECE43024738BA681AF26D467DB5</GUID>
    <TEMPLATE_NAME>Flexfields</TEMPLATE_NAME>
    <DESCRIPTION>Maintains the Lot Attributes and the lot descriptive flexfield of existing lots.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>67</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE1</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>76</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE10</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>77</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE11</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>78</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE12</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>79</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE13</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE14</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>81</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE15</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>68</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE2</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>69</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE3</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE4</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>71</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE5</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>72</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE6</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>73</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE7</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>74</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE8</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>75</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE9</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTES_CONTEXT</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>66</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTRIBUTE_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_AGE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_BEST_BY_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_CHANGE_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_COLOR</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_CURL_WRINKLE_FOLD</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE1</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE10</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE11</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE12</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE13</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE14</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE15</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE16</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE17</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE18</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE19</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE2</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE20</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE3</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE4</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE5</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE6</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE7</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE8</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE9</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_DATE_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE1</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE10</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE2</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE3</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE4</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE5</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE6</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE7</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE8</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE9</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_ITEM_SIZE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_LENGTH</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_LENGTH_UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE1</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>65</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE10</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>57</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE2</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>58</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE3</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>59</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE4</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE5</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>61</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE6</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>62</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE7</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>63</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE8</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>64</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE9</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_PLACE_OF_ORIGIN</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_RECYCLED_CONTENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_TERRITORY_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_THICKNESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_THICKNESS_UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_VENDOR_ID</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_VOLUME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_VOLUME_UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_WIDTH</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_ATTR_WIDTH_UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>B98CD529D7FC4A4799198EF813372D70</GUID>
    <TEMPLATE_NAME>Lot Status and Grade</TEMPLATE_NAME>
    <DESCRIPTION>Changes the material status, grade and Disabled flag of existing lots, for example to place lots on hold or release them.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISABLED</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GRADE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>A0A192EBCAC54F8D81CAC3544F1A915F</GUID>
    <TEMPLATE_NAME>Lots Expiring</TEMPLATE_NAME>
    <DESCRIPTION>Lots that expire within the given number of days, including lots already expired, with their on-hand quantity. Update the expiration, retest or expiration action of the downloaded lots.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_ACTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXPIRATION_DATE</COLUMN_NAME>
      <SORT_ORDER>1</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GRADE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
      <SORT_ORDER>2</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOT_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ONHAND_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORIGINATION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PARENT_LOT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RETEST_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Expiring Within Days</PARAMETER_NAME>
      <DEFAULT_VALUE>30</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C,U</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
   <DEFAULT_TEMPLATES_ROW>
    <TEMPLATE_GUID>F9DCC5646DB64F02847BA0944A8C53F3</TEMPLATE_GUID>
   </DEFAULT_TEMPLATES_ROW>
  </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>REQUEST_ID_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>5</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>6</COLUMN_NUMBER>
    <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
  mp.organization_id id,
  mp.organization_code value,
  haouv.name description
  from
  mtl_parameters mp,
  hr_all_organization_units_vl haouv
  where
  mp.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
  mp.organization_id=haouv.organization_id
  order by
  mp.organization_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select mp.organization_code from mtl_parameters mp where mp.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
  msiv.inventory_item_id id,
  msiv.concatenated_segments value,
  msiv.description
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.lot_control_code=2
  order by
  msiv.concatenated_segments</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
  msiv.description
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.concatenated_segments=:$column$.item</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>SHELF_LIFE_CONTROL</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
  xxen_util.meaning(msiv.shelf_life_code,&apos;MTL_SHELF_LIFE&apos;,700)
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.concatenated_segments=:$column$.item</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>PARENT_LOT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <FREE_TEXT>Y</FREE_TEXT>
    <LOV_QUERY_DSP>select
  mln.lot_number value,
  mln.description
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv,
  mtl_lot_numbers mln
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.concatenated_segments=:$column$.item and
  msiv.child_lot_flag=&apos;Y&apos; and
  msiv.organization_id=mln.organization_id and
  msiv.inventory_item_id=mln.inventory_item_id
  order by
  mln.lot_number</LOV_QUERY_DSP>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <FREE_TEXT>Y</FREE_TEXT>
    <LOV_QUERY_DSP>select
  mln.lot_number value,
  mln.description
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv,
  mtl_lot_numbers mln
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.concatenated_segments=:$column$.item and
  msiv.organization_id=mln.organization_id and
  msiv.inventory_item_id=mln.inventory_item_id
  order by
  mln.lot_number</LOV_QUERY_DSP>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>DISABLED</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select 1 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>13</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_STATUS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
  mmsv.status_id id,
  mmsv.status_code value,
  mmsv.description
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv,
  mtl_material_statuses_vl mmsv
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.concatenated_segments=:$column$.item and
  (
  msiv.lot_status_enabled=&apos;Y&apos; and mmsv.lot_control=1 and mmsv.enabled_flag=1 or
  mmsv.status_id in (select mln.status_id from mtl_lot_numbers mln where msiv.organization_id=mln.organization_id and msiv.inventory_item_id=mln.inventory_item_id and mln.lot_number=:$column$.lot_number)
  )
  order by
  mmsv.status_code</LOV_QUERY_DSP>
    <COMMENTS>Material status of the lot. Only lot status enabled items can change it; the list then offers the enabled lot statuses, otherwise only the lot&apos;s current status.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>GRADE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
  mgv.grade_code value,
  mgv.description
  from
  mtl_parameters mp,
  mtl_system_items_vl msiv,
  mtl_grades_vl mgv
  where
  mp.organization_code=:$column$.organization_code and
  mp.organization_id=msiv.organization_id and
  msiv.concatenated_segments=:$column$.item and
  msiv.grade_control_flag=&apos;Y&apos; and
  mgv.disable_flag=&apos;N&apos;
  order by
  mgv.grade_code</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>ORIGINATION_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>ORIGINATION_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>MATURITY_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>HOLD_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>EXPIRATION_DATE</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>EXPIRATION_ACTION_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>EXPIRATION_ACTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
  mav.action_code value,
  mav.description
  from
  mtl_actions_vl mav
  where
  mav.disable_flag=&apos;N&apos;
  order by
  mav.action_code</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>RETEST_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTES_CONTEXT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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=401 and
  fdfcv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfcv.enabled_flag=&apos;Y&apos; and
  fdfcv.global_flag=&apos;N&apos;
  order by
  fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;DESCRIPTION&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;DESCRIPTION&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_VENDOR_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;VENDOR_ID&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_TERRITORY_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;TERRITORY_CODE&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;TERRITORY_CODE&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_DATE_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;DATE_CODE&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;DATE_CODE&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_CHANGE_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;CHANGE_DATE&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_AGE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;AGE&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_ITEM_SIZE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ITEM_SIZE&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_COLOR</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;COLOR&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;COLOR&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_VOLUME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;VOLUME&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_VOLUME_UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;VOLUME_UOM&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;VOLUME_UOM&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_PLACE_OF_ORIGIN</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;PLACE_OF_ORIGIN&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;PLACE_OF_ORIGIN&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>35</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_BEST_BY_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;BEST_BY_DATE&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_LENGTH</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;LENGTH&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_LENGTH_UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;LENGTH_UOM&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;LENGTH_UOM&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_RECYCLED_CONTENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;RECYCLED_CONTENT&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_THICKNESS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;THICKNESS&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_THICKNESS_UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;THICKNESS_UOM&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;THICKNESS_UOM&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_WIDTH</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;WIDTH&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_WIDTH_UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;WIDTH_UOM&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;WIDTH_UOM&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_CURL_WRINKLE_FOLD</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;CURL_WRINKLE_FOLD&apos;)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;CURL_WRINKLE_FOLD&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE1&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>45</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE2&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>46</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE3&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>47</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE4&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>48</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE5&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>49</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE6&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>50</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE7&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>51</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE8&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>52</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE9&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>53</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE10&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>54</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE11&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>55</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE12&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>56</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE13&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>57</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE14&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>58</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE15&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>59</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE16</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE16&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE16&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>60</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE17</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE17&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE17&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>61</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE18</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE18&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE18&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>62</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE19</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE19&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE19&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>63</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE20</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;Lot Attributes&apos;,
  p_context_name=&gt;:$column$.lot_attributes_context,
  p_column_name=&gt;&apos;C_ATTRIBUTE20&apos;,
  p_attribute1=&gt;:$column$.lot_attr_c_attribute1,
  p_attribute2=&gt;:$column$.lot_attr_c_attribute2,
  p_attribute3=&gt;:$column$.lot_attr_c_attribute3,
  p_attribute4=&gt;:$column$.lot_attr_c_attribute4,
  p_attribute5=&gt;:$column$.lot_attr_c_attribute5,
  p_attribute6=&gt;:$column$.lot_attr_c_attribute6,
  p_attribute7=&gt;:$column$.lot_attr_c_attribute7,
  p_attribute8=&gt;:$column$.lot_attr_c_attribute8,
  p_attribute9=&gt;:$column$.lot_attr_c_attribute9,
  p_attribute10=&gt;:$column$.lot_attr_c_attribute10,
  p_attribute11=&gt;:$column$.lot_attr_c_attribute11,
  p_attribute12=&gt;:$column$.lot_attr_c_attribute12,
  p_attribute13=&gt;:$column$.lot_attr_c_attribute13,
  p_attribute14=&gt;:$column$.lot_attr_c_attribute14,
  p_attribute15=&gt;:$column$.lot_attr_c_attribute15,
  p_attribute16=&gt;:$column$.lot_attr_c_attribute16,
  p_attribute17=&gt;:$column$.lot_attr_c_attribute17,
  p_attribute18=&gt;:$column$.lot_attr_c_attribute18,
  p_attribute19=&gt;:$column$.lot_attr_c_attribute19,
  p_attribute20=&gt;:$column$.lot_attr_c_attribute20)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;C_ATTRIBUTE20&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>64</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>65</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>66</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>67</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>68</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>69</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>70</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>71</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>72</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>73</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;D_ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>74</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>75</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>76</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>77</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>78</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>79</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>80</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>81</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>82</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>83</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;Lot Attributes&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;N_ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>84</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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=401 and
  fdfcv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfcv.enabled_flag=&apos;Y&apos; and
  fdfcv.global_flag=&apos;N&apos;
  order by
  fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>85</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>86</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>87</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>88</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>89</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>90</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>91</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>92</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>93</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>94</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>95</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>96</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>97</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>98</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>99</COLUMN_NUMBER>
    <COLUMN_NAME>LOT_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <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;401,
  p_descriptive_flexfield_name=&gt;&apos;MTL_LOT_NUMBERS&apos;,
  p_context_name=&gt;:$column$.lot_attribute_category,
  p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
  p_attribute1=&gt;:$column$.lot_attribute1,
  p_attribute2=&gt;:$column$.lot_attribute2,
  p_attribute3=&gt;:$column$.lot_attribute3,
  p_attribute4=&gt;:$column$.lot_attribute4,
  p_attribute5=&gt;:$column$.lot_attribute5,
  p_attribute6=&gt;:$column$.lot_attribute6,
  p_attribute7=&gt;:$column$.lot_attribute7,
  p_attribute8=&gt;:$column$.lot_attribute8,
  p_attribute9=&gt;:$column$.lot_attribute9,
  p_attribute10=&gt;:$column$.lot_attribute10,
  p_attribute11=&gt;:$column$.lot_attribute11,
  p_attribute12=&gt;:$column$.lot_attribute12,
  p_attribute13=&gt;:$column$.lot_attribute13,
  p_attribute14=&gt;:$column$.lot_attribute14,
  p_attribute15=&gt;:$column$.lot_attribute15)) 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
  fdfv.application_id=401 and
  fdfv.descriptive_flexfield_name=&apos;MTL_LOT_NUMBERS&apos; and
  fdfv.application_id=fdfc.application_id and
  fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
  fdfc.application_id=fdfcuv.application_id and
  fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
  fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
  fdfcuv.enabled_flag=&apos;Y&apos; and
  fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>100</COLUMN_NUMBER>
    <COLUMN_NAME>ONHAND_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>On-hand quantity of the lot in the primary unit of measure, all subinventories. Display only.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>101</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>action_</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ACTION_CODE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>2</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>3</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_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>request_id_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>REQUEST_ID_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_organization_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_inventory_item_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_parent_lot</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PARENT_LOT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_lot_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>LOT_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_disabled</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DISABLED</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_status_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_STATUS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_grade</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>GRADE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_origination_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>ORIGINATION_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_maturity_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MATURITY_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_hold_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>HOLD_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_expiration_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>EXPIRATION_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_expiration_action_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>EXPIRATION_ACTION_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_expiration_action</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>EXPIRATION_ACTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_retest_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>RETEST_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_lot_attributes_context</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTES_CONTEXT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_description</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_DESCRIPTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_vendor_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_VENDOR_ID</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_territory_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_TERRITORY_CODE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_date_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_DATE_CODE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_change_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_CHANGE_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_age</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_AGE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_item_size</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_ITEM_SIZE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_color</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_COLOR</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_volume</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_VOLUME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_volume_uom</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_VOLUME_UOM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_place_of_origin</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_PLACE_OF_ORIGIN</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_best_by_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_BEST_BY_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_length</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_LENGTH</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_length_uom</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_LENGTH_UOM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_recycled_content</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_RECYCLED_CONTENT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_thickness</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_THICKNESS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_thickness_uom</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_THICKNESS_UOM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_width</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_WIDTH</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_width_uom</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_WIDTH_UOM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_curl_wrinkle_fold</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_CURL_WRINKLE_FOLD</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute16</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE16</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute17</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE17</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>57</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute18</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE18</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>58</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute19</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE19</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>59</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_c_attribute20</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_C_ATTRIBUTE20</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>61</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>62</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>63</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>64</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>65</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>66</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>67</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>68</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>69</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_d_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_D_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>71</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>72</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>73</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>74</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>75</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>76</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>77</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>78</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>79</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_la_n_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTR_N_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>81</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>82</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>83</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>84</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>85</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>86</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>87</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>88</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>89</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>91</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>92</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>93</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>94</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>95</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LOT_ATTRIBUTE15</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_code, item, lot_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.request_id_,
xu.modified_columns_,
nvl(x.organization_code,xu.organization_code) organization_code,
nvl(x.item,xu.item) item,
nvl(x.item_description,xu.item_description) item_description,
x.shelf_life_control,
x.parent_lot,
nvl(x.lot_number,xu.lot_number) lot_number,
x.disabled,
x.lot_status,
x.grade,
x.origination_type,
x.origination_date,
x.maturity_date,
x.hold_date,
x.expiration_date,
x.expiration_action_date,
x.expiration_action,
x.retest_date,
x.lot_attributes_context,
x.lot_attr_description,
x.lot_attr_vendor_id,
x.lot_attr_territory_code,
x.lot_attr_date_code,
x.lot_attr_change_date,
x.lot_attr_age,
x.lot_attr_item_size,
x.lot_attr_color,
x.lot_attr_volume,
x.lot_attr_volume_uom,
x.lot_attr_place_of_origin,
x.lot_attr_best_by_date,
x.lot_attr_length,
x.lot_attr_length_uom,
x.lot_attr_recycled_content,
x.lot_attr_thickness,
x.lot_attr_thickness_uom,
x.lot_attr_width,
x.lot_attr_width_uom,
x.lot_attr_curl_wrinkle_fold,
x.lot_attr_c_attribute1,
x.lot_attr_c_attribute2,
x.lot_attr_c_attribute3,
x.lot_attr_c_attribute4,
x.lot_attr_c_attribute5,
x.lot_attr_c_attribute6,
x.lot_attr_c_attribute7,
x.lot_attr_c_attribute8,
x.lot_attr_c_attribute9,
x.lot_attr_c_attribute10,
x.lot_attr_c_attribute11,
x.lot_attr_c_attribute12,
x.lot_attr_c_attribute13,
x.lot_attr_c_attribute14,
x.lot_attr_c_attribute15,
x.lot_attr_c_attribute16,
x.lot_attr_c_attribute17,
x.lot_attr_c_attribute18,
x.lot_attr_c_attribute19,
x.lot_attr_c_attribute20,
x.lot_attr_d_attribute1,
x.lot_attr_d_attribute2,
x.lot_attr_d_attribute3,
x.lot_attr_d_attribute4,
x.lot_attr_d_attribute5,
x.lot_attr_d_attribute6,
x.lot_attr_d_attribute7,
x.lot_attr_d_attribute8,
x.lot_attr_d_attribute9,
x.lot_attr_d_attribute10,
x.lot_attr_n_attribute1,
x.lot_attr_n_attribute2,
x.lot_attr_n_attribute3,
x.lot_attr_n_attribute4,
x.lot_attr_n_attribute5,
x.lot_attr_n_attribute6,
x.lot_attr_n_attribute7,
x.lot_attr_n_attribute8,
x.lot_attr_n_attribute9,
x.lot_attr_n_attribute10,
x.lot_attribute_category,
x.lot_attribute1,
x.lot_attribute2,
x.lot_attribute3,
x.lot_attribute4,
x.lot_attribute5,
x.lot_attribute6,
x.lot_attribute7,
x.lot_attribute8,
x.lot_attribute9,
x.lot_attribute10,
x.lot_attribute11,
x.lot_attribute12,
x.lot_attribute13,
x.lot_attribute14,
x.lot_attribute15,
x.onhand_quantity,
xu.upload_row
from
xxen_inv_lot_upload_5707_u xu,
(
select
mp.organization_code,
msiv.concatenated_segments item,
msiv.description item_description,
xxen_util.meaning(msiv.shelf_life_code,&apos;MTL_SHELF_LIFE&apos;,700) shelf_life_control,
mln.parent_lot_number parent_lot,
mln.lot_number,
xxen_util.yes(decode(mln.disable_flag,1,&apos;Y&apos;)) disabled,
(select mmsv.status_code from mtl_material_statuses_vl mmsv where mln.status_id=mmsv.status_id) lot_status,
mln.grade_code grade,
xxen_util.meaning(mln.origination_type,&apos;MTL_LOT_ORIGINATION_TYPE&apos;,700) origination_type,
mln.origination_date,
mln.maturity_date,
mln.hold_date,
mln.expiration_date,
mln.expiration_action_date,
mln.expiration_action_code expiration_action,
mln.retest_date,
xxen_util.display_flexfield_context(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category) lot_attributes_context,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;DESCRIPTION&apos;,mln.rowid,mln.description) lot_attr_description,
mln.vendor_id lot_attr_vendor_id,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;TERRITORY_CODE&apos;,mln.rowid,mln.territory_code) lot_attr_territory_code,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;DATE_CODE&apos;,mln.rowid,mln.date_code) lot_attr_date_code,
mln.change_date lot_attr_change_date,
mln.age lot_attr_age,
mln.item_size lot_attr_item_size,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;COLOR&apos;,mln.rowid,mln.color) lot_attr_color,
mln.volume lot_attr_volume,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;VOLUME_UOM&apos;,mln.rowid,mln.volume_uom) lot_attr_volume_uom,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;PLACE_OF_ORIGIN&apos;,mln.rowid,mln.place_of_origin) lot_attr_place_of_origin,
mln.best_by_date lot_attr_best_by_date,
mln.length lot_attr_length,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;LENGTH_UOM&apos;,mln.rowid,mln.length_uom) lot_attr_length_uom,
mln.recycled_content lot_attr_recycled_content,
mln.thickness lot_attr_thickness,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;THICKNESS_UOM&apos;,mln.rowid,mln.thickness_uom) lot_attr_thickness_uom,
mln.width lot_attr_width,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;WIDTH_UOM&apos;,mln.rowid,mln.width_uom) lot_attr_width_uom,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;CURL_WRINKLE_FOLD&apos;,mln.rowid,mln.curl_wrinkle_fold) lot_attr_curl_wrinkle_fold,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE1&apos;,mln.rowid,mln.c_attribute1) lot_attr_c_attribute1,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE2&apos;,mln.rowid,mln.c_attribute2) lot_attr_c_attribute2,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE3&apos;,mln.rowid,mln.c_attribute3) lot_attr_c_attribute3,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE4&apos;,mln.rowid,mln.c_attribute4) lot_attr_c_attribute4,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE5&apos;,mln.rowid,mln.c_attribute5) lot_attr_c_attribute5,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE6&apos;,mln.rowid,mln.c_attribute6) lot_attr_c_attribute6,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE7&apos;,mln.rowid,mln.c_attribute7) lot_attr_c_attribute7,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE8&apos;,mln.rowid,mln.c_attribute8) lot_attr_c_attribute8,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE9&apos;,mln.rowid,mln.c_attribute9) lot_attr_c_attribute9,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE10&apos;,mln.rowid,mln.c_attribute10) lot_attr_c_attribute10,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE11&apos;,mln.rowid,mln.c_attribute11) lot_attr_c_attribute11,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE12&apos;,mln.rowid,mln.c_attribute12) lot_attr_c_attribute12,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE13&apos;,mln.rowid,mln.c_attribute13) lot_attr_c_attribute13,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE14&apos;,mln.rowid,mln.c_attribute14) lot_attr_c_attribute14,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE15&apos;,mln.rowid,mln.c_attribute15) lot_attr_c_attribute15,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE16&apos;,mln.rowid,mln.c_attribute16) lot_attr_c_attribute16,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE17&apos;,mln.rowid,mln.c_attribute17) lot_attr_c_attribute17,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE18&apos;,mln.rowid,mln.c_attribute18) lot_attr_c_attribute18,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE19&apos;,mln.rowid,mln.c_attribute19) lot_attr_c_attribute19,
xxen_util.display_flexfield_value(401,&apos;Lot Attributes&apos;,mln.lot_attribute_category,&apos;C_ATTRIBUTE20&apos;,mln.rowid,mln.c_attribute20) lot_attr_c_attribute20,
mln.d_attribute1 lot_attr_d_attribute1,
mln.d_attribute2 lot_attr_d_attribute2,
mln.d_attribute3 lot_attr_d_attribute3,
mln.d_attribute4 lot_attr_d_attribute4,
mln.d_attribute5 lot_attr_d_attribute5,
mln.d_attribute6 lot_attr_d_attribute6,
mln.d_attribute7 lot_attr_d_attribute7,
mln.d_attribute8 lot_attr_d_attribute8,
mln.d_attribute9 lot_attr_d_attribute9,
mln.d_attribute10 lot_attr_d_attribute10,
mln.n_attribute1 lot_attr_n_attribute1,
mln.n_attribute2 lot_attr_n_attribute2,
mln.n_attribute3 lot_attr_n_attribute3,
mln.n_attribute4 lot_attr_n_attribute4,
mln.n_attribute5 lot_attr_n_attribute5,
mln.n_attribute6 lot_attr_n_attribute6,
mln.n_attribute7 lot_attr_n_attribute7,
mln.n_attribute8 lot_attr_n_attribute8,
mln.n_attribute9 lot_attr_n_attribute9,
mln.n_attribute10 lot_attr_n_attribute10,
xxen_util.display_flexfield_context(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category) lot_attribute_category,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE1&apos;,mln.rowid,mln.attribute1) lot_attribute1,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE2&apos;,mln.rowid,mln.attribute2) lot_attribute2,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE3&apos;,mln.rowid,mln.attribute3) lot_attribute3,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE4&apos;,mln.rowid,mln.attribute4) lot_attribute4,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE5&apos;,mln.rowid,mln.attribute5) lot_attribute5,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE6&apos;,mln.rowid,mln.attribute6) lot_attribute6,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE7&apos;,mln.rowid,mln.attribute7) lot_attribute7,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE8&apos;,mln.rowid,mln.attribute8) lot_attribute8,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE9&apos;,mln.rowid,mln.attribute9) lot_attribute9,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE10&apos;,mln.rowid,mln.attribute10) lot_attribute10,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE11&apos;,mln.rowid,mln.attribute11) lot_attribute11,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE12&apos;,mln.rowid,mln.attribute12) lot_attribute12,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE13&apos;,mln.rowid,mln.attribute13) lot_attribute13,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE14&apos;,mln.rowid,mln.attribute14) lot_attribute14,
xxen_util.display_flexfield_value(401,&apos;MTL_LOT_NUMBERS&apos;,mln.attribute_category,&apos;ATTRIBUTE15&apos;,mln.rowid,mln.attribute15) lot_attribute15,
(select sum(moqd.primary_transaction_quantity) from mtl_onhand_quantities_detail moqd where mln.organization_id=moqd.organization_id and mln.inventory_item_id=moqd.inventory_item_id and mln.lot_number=moqd.lot_number) onhand_quantity
from
mtl_parameters mp,
mtl_system_items_vl msiv,
mtl_lot_numbers mln
where
mp.organization_id=msiv.organization_id and
msiv.organization_id=mln.organization_id and
msiv.inventory_item_id=mln.inventory_item_id
) x
where
xu.status_code_=xxen_upload.status_success and
xu.organization_code=x.organization_code(+) and
xu.item=x.item(+) and
xu.lot_number=x.lot_number(+)</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
