<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 Item Subinventory Upload -->
 <REPORTS_ROW>
  <GUID>7A3F9C2E8B5D4612FE0F9A1D3B6C4E78</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
to_char(null) action_,
to_char(null) status_,
to_char(null) message_,
null modified_columns_,
mp.organization_code,
msiv.concatenated_segments item,
msiv.description item_description,
msiv.primary_uom_code uom,
misi.secondary_inventory subinventory,
msec.description subinventory_description,
decode(misi.inventory_planning_code,2,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) min_max_planning,
misi.min_minmax_quantity,
misi.max_minmax_quantity,
misi.fixed_lot_multiple,
misi.minimum_order_quantity,
misi.maximum_order_quantity,
xxen_util.meaning(to_char(misi.source_type),&apos;MTL_SOURCE_TYPES&apos;,700) source_type,
mp_src.organization_code source_organization,
misi.source_subinventory,
misi.preprocessing_lead_time,
misi.processing_lead_time,
misi.postprocessing_lead_time,
xxen_util.display_flexfield_context(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category) item_sub_attribute_category,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE1&apos;,misi.rowid,misi.attribute1) item_sub_attribute1,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE2&apos;,misi.rowid,misi.attribute2) item_sub_attribute2,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE3&apos;,misi.rowid,misi.attribute3) item_sub_attribute3,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE4&apos;,misi.rowid,misi.attribute4) item_sub_attribute4,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE5&apos;,misi.rowid,misi.attribute5) item_sub_attribute5,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE6&apos;,misi.rowid,misi.attribute6) item_sub_attribute6,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE7&apos;,misi.rowid,misi.attribute7) item_sub_attribute7,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE8&apos;,misi.rowid,misi.attribute8) item_sub_attribute8,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE9&apos;,misi.rowid,misi.attribute9) item_sub_attribute9,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE10&apos;,misi.rowid,misi.attribute10) item_sub_attribute10,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE11&apos;,misi.rowid,misi.attribute11) item_sub_attribute11,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE12&apos;,misi.rowid,misi.attribute12) item_sub_attribute12,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE13&apos;,misi.rowid,misi.attribute13) item_sub_attribute13,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE14&apos;,misi.rowid,misi.attribute14) item_sub_attribute14,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE15&apos;,misi.rowid,misi.attribute15) item_sub_attribute15,
milk.concatenated_segments locator,
milk.description locator_description,
msl.maximum_quantity par_level,
to_char(null) delete_option,
(select sum(moqd.primary_transaction_quantity) from mtl_onhand_quantities_detail moqd where misi.organization_id=moqd.organization_id and misi.inventory_item_id=moqd.inventory_item_id and misi.secondary_inventory=moqd.subinventory_code) onhand_quantity,
to_number(null) upload_row
from
mtl_item_sub_inventories misi,
mtl_parameters mp,
mtl_system_items_vl msiv,
mtl_secondary_inventories msec,
mtl_parameters mp_src,
(select msl.* from mtl_secondary_locators msl where nvl(:p_download_locators,&apos;N&apos;)=&apos;Y&apos;) msl,
mtl_item_locations_kfv milk
where
1=1 and
mp.organization_id=misi.organization_id and
mp.organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) and
msiv.inventory_item_id=misi.inventory_item_id and
msiv.organization_id=misi.organization_id and
msec.organization_id=misi.organization_id and
msec.secondary_inventory_name=misi.secondary_inventory and
mp_src.organization_id(+)=misi.source_organization_id and
msl.inventory_item_id(+)=misi.inventory_item_id and
msl.organization_id(+)=misi.organization_id and
msl.subinventory_code(+)=misi.secondary_inventory and
milk.organization_id(+)=msl.organization_id and
milk.subinventory_code(+)=msl.subinventory_code and
milk.inventory_location_id(+)=msl.secondary_locator</SQL_TEXT>
  <VERSION_COMMENTS>Added read-only column Onhand Quantity, parameter Min-Max Planned Only and templates Item Subinventory Min-Max and Item Locator Assignments.</VERSION_COMMENTS>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_inv_upload.upload_item_subinventory</UPLOAD_OBJECT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>INV Item Subinventory Upload</REPORT_NAME>
    <DESCRIPTION>Create, update and delete item-to-subinventory assignments (plus their optional item-subinventory-locator ties) across accessible inventory organizations.

Each row is one (Organization, Item, Subinventory, Locator?) combination. When the Locator column is blank, only the item-subinventory header is processed. When the Locator column is populated, the item-subinventory header (if not already processed in this run) AND the locator tie are processed. When multiple rows share the same Organization/Item/Subinventory triple, the header is processed only on the first row of the triple (siblings contribute only their locator portion); header cells on subsequent rows are silently ignored. Order data by Organization, Item, Subinventory, Locator to make sibling grouping deterministic.

Subinventory selection is restricted to Storage subinventories (Receiving subinventories cannot hold item assignments).

Download Locator Assignments controls whether the template pulls in existing locator ties. Choose Yes (the default) to see the current locator ties alongside each item-subinventory assignment. Leave blank to suppress them — useful when you only want to update item-subinventory header data without duplicated rows for each existing locator.

Min-Max Planning is a Yes/No flag matching the form&apos;s Min-Max checkbox: Yes enables Min-Max planning (and makes Min Qty / Max Qty required); blank means Not Planned. This choice is independent of the subinventory&apos;s own planning level.

PAR Level is only meaningful when the parent Subinventory has PAR Level planning enabled. If the Subinventory is not PAR-enabled, any PAR Level value supplied on the row is silently ignored on create, and any legacy stored value is cleared on update.

Source Type drives the conditional requirement on Source Organization and Source Subinventory. Inventory and Subinventory source types require Source Organization; Subinventory source type additionally restricts Source Organization to the row&apos;s own organization (same-org self-sourcing only). Supplier and blank source types must leave both source fields blank.

Delete Option lets you specify what to delete. Choose Subinventory to delete the item-subinventory assignment (cascades to all locator ties for that item-subinventory). Choose Locator to delete just the locator assignment on this row (only offered when Locator is populated). Once a row deletes an item-subinventory, any subsequent rows for the same Organization/Item/Subinventory triple are rejected with a clear error to prevent orphaned inserts on the deleted parent.

Organization, Item, Subinventory and Locator are read-only on existing rows — to change a key column, delete the row and create a new one.

Stock locators referenced here must already exist in the chosen Subinventory (use the INV Stock Locator Upload to create them).</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_download_locators</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:p_upload_mode like &apos;%&apos;||xxen_upload.action_update</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Blitz Upload Mode</LOV_NAME>
    <LOV_GUID>E811F942597A2075E0530100007FF4F2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select xxen_upload.action_create id, xxen_upload.action_meaning(xxen_upload.action_create) value, null description from dual union all
select xxen_upload.action_create||&apos;,&apos;||xxen_upload.action_update id, xxen_upload.action_meaning(xxen_upload.action_create)||&apos;, &apos;||xxen_upload.action_meaning(xxen_upload.action_update) value, null description from dual</LOV_QUERY_DSP>
    <DEFAULT_VALUE>C</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>mp.organization_code=:p_organization_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Organization Code</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name||&apos; (&apos;||ftv.territory_short_name||&apos;, &apos;||hla.town_or_city||decode(mp.organization_id,mp.master_organization_id,null,&apos;, &apos;||mp0.organization_code)||&apos;)&apos; description
from
org_organization_definitions ood,
mtl_parameters mp,
mtl_parameters mp0,
hr_all_organization_units haou,
hr_locations_all hla,
fnd_territories_vl ftv
where
ood.organization_id=mp.organization_id and
mp.organization_id&lt;&gt;mp.master_organization_id and
(
ood.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) or
not exists (select null from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
ood.operating_unit in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;OU&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 and
mp.master_organization_id=mp0.organization_id and
ood.organization_id=haou.organization_id(+) and
haou.location_id=hla.location_id(+) and
hla.country=ftv.territory_code(+)
order by
ood.organization_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select mp.organization_code from mtl_parameters mp where mp.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization Code</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>misi.secondary_inventory=:p_subinventory</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
msec.secondary_inventory_name value,
msec.description||&apos; (&apos;||mp.organization_code||&apos;)&apos; description
from
mtl_parameters mp,
mtl_secondary_inventories msec
where
(
:$flex$.organization_code is null and (
fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) is null and msec.organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) or
msec.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)
) or
xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos;
) and
msec.subinventory_type=1 and
msec.organization_id=mp.organization_id
order by
mp.organization_code,
msec.secondary_inventory_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Subinventory</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>msiv.concatenated_segments=:p_item</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>INV Item</LOV_NAME>
    <LOV_GUID>8E2FF36EDEF179D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <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 oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) or
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>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>:p_download_locators</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <DEFAULT_VALUE>Y</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Download Locators</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>misi.inventory_planning_code=2</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Min-Max Planned Only</PARAMETER_NAME>
      <DESCRIPTION>Item subinventories with min-max planning enabled.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
   <TEMPLATES_ROW>
    <GUID>716822A12F2A476AA68BC1BF7188645A</GUID>
    <TEMPLATE_NAME>Default</TEMPLATE_NAME>
    <DESCRIPTION>All columns except the descriptive flexfield attributes.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DELETE_OPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FIXED_LOT_MULTIPLE</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>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOCATOR</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOCATOR_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MAXIMUM_ORDER_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MAX_MINMAX_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MINIMUM_ORDER_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MIN_MAX_PLANNING</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MIN_MINMAX_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>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PAR_LEVEL</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>POSTPROCESSING_LEAD_TIME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PREPROCESSING_LEAD_TIME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PROCESSING_LEAD_TIME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE_ORGANIZATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE_SUBINVENTORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SUBINVENTORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SUBINVENTORY_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UOM</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>
    <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>9EFBE68015644D3FA0070724BA058B14</GUID>
    <TEMPLATE_NAME>Item Locator Assignments</TEMPLATE_NAME>
    <DESCRIPTION>Item locator assignments (restricted locators) within subinventories, with par level. Add or delete locator assignments or update the par level.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
      <SORT_ORDER>4</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>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOCATOR</COLUMN_NAME>
      <SORT_ORDER>3</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOCATOR_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
      <SORT_ORDER>1</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PAR_LEVEL</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SUBINVENTORY</COLUMN_NAME>
      <SORT_ORDER>2</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Download Locators</PARAMETER_NAME>
      <DEFAULT_VALUE>Y</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_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LOCATOR</COLUMN_NAME>
      <OPERATOR>is not null</OPERATOR>
     </TEMPLATE_CONDITIONS_ROW>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>8AAE5AEA75844451ACB61064FA475DED</GUID>
    <TEMPLATE_NAME>Item Subinventory Min-Max</TEMPLATE_NAME>
    <DESCRIPTION>Subinventory min-max planning levels of items against their on-hand quantity in the subinventory. Update the min-max quantities, order modifiers, sourcing and lead times.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FIXED_LOT_MULTIPLE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ITEM</COLUMN_NAME>
      <SORT_ORDER>3</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>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MAXIMUM_ORDER_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MAX_MINMAX_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MINIMUM_ORDER_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>MIN_MINMAX_QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</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>
      <SORT_ORDER>1</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>POSTPROCESSING_LEAD_TIME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PREPROCESSING_LEAD_TIME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PROCESSING_LEAD_TIME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE_ORGANIZATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE_SUBINVENTORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SUBINVENTORY</COLUMN_NAME>
      <SORT_ORDER>2</SORT_ORDER>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UOM</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>Download Locators</PARAMETER_NAME>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Min-Max Planned Only</PARAMETER_NAME>
      <DEFAULT_VALUE>Y</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>716822A12F2A476AA68BC1BF7188645A</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>MODIFIED_COLUMNS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>5</COLUMN_NUMBER>
    <COLUMN_NAME>ORGANIZATION_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>INV Organization Code</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB279D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ood.organization_code value,
ood.organization_name||&apos; (&apos;||ftv.territory_short_name||&apos;, &apos;||hla.town_or_city||decode(mp.organization_id,mp.master_organization_id,null,&apos;, &apos;||mp0.organization_code)||&apos;)&apos; description
from
org_organization_definitions ood,
mtl_parameters mp,
mtl_parameters mp0,
hr_all_organization_units haou,
hr_locations_all hla,
fnd_territories_vl ftv
where
ood.organization_id=mp.organization_id and
mp.organization_id&lt;&gt;mp.master_organization_id and
(
ood.organization_id in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) or
not exists (select null from xxen_report_org_access xroa where xroa.access_type=&apos;INV&apos;) and
ood.operating_unit in (select xroa.id from xxen_report_org_access xroa where xroa.access_type=&apos;OU&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 and
mp.master_organization_id=mp0.organization_id and
ood.organization_id=haou.organization_id(+) and
haou.location_id=hla.location_id(+) and
hla.country=ftv.territory_code(+)
order by
ood.organization_code</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select mp.organization_id id, mp.organization_code value from mtl_parameters mp</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>:$flex$.organization_code</DEFAULT_VALUE>
    <COMMENTS>Inventory organization for this item-subinventory assignment. Required. Cannot be changed for an existing assignment — delete and re-create to move an assignment to a different organization.</COMMENTS>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
msiv.inventory_item_id id,
msiv.concatenated_segments value,
msiv.description
from
mtl_system_items_vl msiv,
mtl_parameters mp
where
mp.organization_code=:$column$.organization_code and
msiv.organization_id=mp.organization_id
order by
msiv.concatenated_segments</LOV_QUERY_DSP>
    <COMMENTS>Item assigned to the subinventory. Restricted to items enabled in the row&apos;s Organization. Required. Cannot be changed for an existing assignment.</COMMENTS>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</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_system_items_vl msiv, mtl_parameters mp where mp.organization_code=:$column$.organization_code and msiv.organization_id=mp.organization_id and msiv.concatenated_segments=:$column$.item</DEFAULT_VALUE>
    <COMMENTS>Translated item description (read-only display).</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select msiv.primary_uom_code from mtl_system_items_vl msiv, mtl_parameters mp where mp.organization_code=:$column$.organization_code and msiv.organization_id=mp.organization_id and msiv.concatenated_segments=:$column$.item</DEFAULT_VALUE>
    <COMMENTS>Primary unit of measure of the item (read-only display).</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>SUBINVENTORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
msec.secondary_inventory_name value,
msec.description
from
mtl_secondary_inventories msec,
mtl_parameters mp
where
mp.organization_code=:$column$.organization_code and
msec.organization_id=mp.organization_id and
msec.subinventory_type=1
order by
msec.secondary_inventory_name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select :$flex$.Subinventory from dual</DEFAULT_VALUE>
    <COMMENTS>Subinventory the item is assigned to. Restricted to subinventories of the row&apos;s Organization. Required. Cannot be changed for an existing assignment. Defaults from the Subinventory report parameter.</COMMENTS>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>SUBINVENTORY_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select msec.description from mtl_secondary_inventories msec, mtl_parameters mp where mp.organization_code=:$column$.organization_code and msec.organization_id=mp.organization_id and msec.secondary_inventory_name=:$column$.subinventory</DEFAULT_VALUE>
    <COMMENTS>Subinventory description (read-only display).</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>MIN_MAX_PLANNING</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <COMMENTS>Enable Min-Max planning for this item in this subinventory (matches the form&apos;s Min-Max checkbox). Yes = Min-Max enabled (Min Qty and Max Qty required); blank = Not Planned. When the parent Subinventory is PAR-planned, the engine forces PAR planning regardless of this value.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>MIN_MINMAX_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Minimum on-hand quantity for Min-Max planning. Required when Min-Max Planning is Yes. Must be greater than or equal to 0 and less than or equal to Max Qty.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>MAX_MINMAX_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Maximum on-hand quantity for Min-Max planning. Required when Min-Max Planning is Yes. Must be greater than or equal to Min Qty.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>FIXED_LOT_MULTIPLE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Fixed lot multiple for replenishment ordering. When entered, must be greater than 0.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>MINIMUM_ORDER_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Minimum order quantity. When entered, must be greater than 0 and less than or equal to Maximum Order Quantity.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>MAXIMUM_ORDER_QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Maximum order quantity. When entered, must be greater than or equal to Minimum Order Quantity.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>SOURCE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ml.lookup_code id,
ml.meaning value,
null description
from
mfg_lookups ml
where
ml.lookup_type=&apos;MTL_SOURCE_TYPES&apos; and
ml.enabled_flag=&apos;Y&apos;
order by
ml.meaning</LOV_QUERY_DSP>
    <COMMENTS>Replenishment source type. Inventory = source from another inventory organization (Source Organization required); Supplier = external supplier (Source Organization and Source Subinventory must be blank); Subinventory = same-organization self-sourcing (Source Organization must equal this row&apos;s Organization). Blank = no replenishment source defined.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>SOURCE_ORGANIZATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ood.organization_id id,
ood.organization_code value,
ood.organization_name description
from
org_organization_definitions ood,
mtl_parameters mp
where
mp.organization_code=:$column$.organization_code and
nvl(ood.disable_date,sysdate+1)&gt;sysdate and
nvl(ood.user_definition_enable_date,sysdate)&lt;=sysdate and
(
  (xxen_util.lookup_code(:$column$.source_type,&apos;MTL_SOURCE_TYPES&apos;,700)=1 and
   (ood.organization_id in (select miop.from_organization_id from mtl_interorg_parameters miop where miop.to_organization_id=mp.organization_id)
    or ood.organization_id=mp.organization_id))
  or
  (xxen_util.lookup_code(:$column$.source_type,&apos;MTL_SOURCE_TYPES&apos;,700)=3 and ood.organization_id=mp.organization_id)
)
order by
ood.organization_code</LOV_QUERY_DSP>
    <COMMENTS>Source inventory organization for replenishment. Required when Source Type is Inventory or Subinventory. For Source Type = Subinventory the value must equal this row&apos;s Organization (same-org self-sourcing only). Must be blank when Source Type is blank or Supplier.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>SOURCE_SUBINVENTORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
msec.secondary_inventory_name value,
msec.description
from
mtl_secondary_inventories msec,
mtl_parameters mp
where
mp.organization_code=:$column$.source_organization and
msec.organization_id=mp.organization_id and
msec.quantity_tracked=1
order by
msec.secondary_inventory_name</LOV_QUERY_DSP>
    <COMMENTS>Source subinventory for replenishment. Optional in all source-type cases. When entered, must belong to the Source Organization and be quantity-tracked. Must be blank when Source Type is blank or Supplier.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>PREPROCESSING_LEAD_TIME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Pre-processing lead time in days. Must be greater than or equal to 0.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>PROCESSING_LEAD_TIME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Processing lead time in days. Must be greater than or equal to 0.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>POSTPROCESSING_LEAD_TIME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Post-processing lead time in days. Must be greater than or equal to 0.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fdfc.descriptive_flex_context_name value,
fdfc.description
from
fnd_descr_flex_contexts_vl fdfc
where
fdfc.descriptive_flexfield_name=&apos;MTL_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=401 and
fdfc.enabled_flag=&apos;Y&apos;
order by
fdfc.descriptive_flex_context_name</LOV_QUERY_DSP>
    <COMMENTS>DFF context for the MTL_ITEM_SUB_INVENTORIES descriptive flexfield. Drives which DFF segment columns are required and validated.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>35</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov(
p_application_id=&gt;401,
p_descriptive_flexfield_name=&gt;&apos;MTL_ITEM_SUB_INVENTORIES&apos;,
p_context_name=&gt;:$column$.item_sub_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.item_sub_attribute1,
p_attribute2=&gt;:$column$.item_sub_attribute2,
p_attribute3=&gt;:$column$.item_sub_attribute3,
p_attribute4=&gt;:$column$.item_sub_attribute4,
p_attribute5=&gt;:$column$.item_sub_attribute5,
p_attribute6=&gt;:$column$.item_sub_attribute6,
p_attribute7=&gt;:$column$.item_sub_attribute7,
p_attribute8=&gt;:$column$.item_sub_attribute8,
p_attribute9=&gt;:$column$.item_sub_attribute9,
p_attribute10=&gt;:$column$.item_sub_attribute10,
p_attribute11=&gt;:$column$.item_sub_attribute11,
p_attribute12=&gt;:$column$.item_sub_attribute12,
p_attribute13=&gt;:$column$.item_sub_attribute13,
p_attribute14=&gt;:$column$.item_sub_attribute14,
p_attribute15=&gt;:$column$.item_sub_attribute15
)
) lov</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_ITEM_SUB_INVENTORIES&apos; and
fdfc.application_id=fdfv.application_id and
fdfc.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfcuv.application_id=fdfc.application_id and
fdfcuv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfcuv.descriptive_flex_context_code=fdfc.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>LOCATOR</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
milk.inventory_location_id id,
milk.concatenated_segments value,
milk.description
from
mtl_item_locations_kfv milk,
mtl_parameters mp
where
mp.organization_code=:$column$.organization_code and
milk.organization_id=mp.organization_id and
milk.subinventory_code=:$column$.subinventory
order by
milk.concatenated_segments</LOV_QUERY_DSP>
    <COMMENTS>Stock locator to assign the item to within the chosen Subinventory. Optional — when blank, only the item-subinventory header is processed; when populated, an item-subinventory-locator tie is also processed. Restricted to locators that exist in the chosen Organization+Subinventory (use the INV Stock Locator Upload to create new locators). Read-only on existing ties — to change the locator, delete the tie and create a new one.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>LOCATOR_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select milk.description from mtl_item_locations_kfv milk, mtl_parameters mp where mp.organization_code=:$column$.organization_code and milk.organization_id=mp.organization_id and milk.subinventory_code=:$column$.subinventory and milk.concatenated_segments=:$column$.locator</DEFAULT_VALUE>
    <COMMENTS>Locator description (read-only display).</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>PAR_LEVEL</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>PAR (Periodic Automatic Replenishment) Level for the locator tie. Only applicable when the parent Subinventory has PAR Level planning enabled; if the Subinventory is not PAR-enabled the uploaded value is silently ignored on create, and any stored value is cleared on update. Only mutable field on an existing locator tie.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>DELETE_OPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
value,
description
from
(
select &apos;Subinventory&apos; value, &apos;Delete the item-subinventory assignment (cascades to locator assignments)&apos; description from dual
union all
select &apos;Locator&apos; value, &apos;Delete the locator assignment&apos; description from dual where :$column$.locator is not null
)
order by
value</LOV_QUERY_DSP>
    <COMMENTS>What to delete on this row. Choose Subinventory to delete the item-subinventory assignment (also cascades to all locator assignments for that item-subinventory). Choose Locator to delete just the locator assignment for this row (only offered when Locator is populated). Leave blank to create or update.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</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 item in the subinventory in the primary unit of measure. Display only.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</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>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_subinventory</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>SUBINVENTORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_min_max_planning</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MIN_MAX_PLANNING</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_min_minmax_quantity</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>MIN_MINMAX_QUANTITY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_max_minmax_quantity</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>MAX_MINMAX_QUANTITY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_fixed_lot_multiple</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>FIXED_LOT_MULTIPLE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_minimum_order_quantity</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>MINIMUM_ORDER_QUANTITY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_maximum_order_quantity</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>MAXIMUM_ORDER_QUANTITY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_source_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>SOURCE_TYPE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_source_organization_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>SOURCE_ORGANIZATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_source_subinventory</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>SOURCE_SUBINVENTORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_preprocessing_lead_time</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>PREPROCESSING_LEAD_TIME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_processing_lead_time</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>PROCESSING_LEAD_TIME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_postprocessing_lead_time</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>POSTPROCESSING_LEAD_TIME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_item_sub_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>ITEM_SUB_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_inventory_location_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>LOCATOR</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_par_level</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>PAR_LEVEL</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_delete_option</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>DELETE_OPTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_upload_mode</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
   </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, subinventory, locator</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Success SQL</SQL_TYPE>
    <SQL_TEXT>select
xu.action_,
xu.status_,
xu.message_,
xu.modified_columns_,
mp.organization_code,
msiv.concatenated_segments item,
msiv.description item_description,
msiv.primary_uom_code uom,
misi.secondary_inventory subinventory,
msec.description subinventory_description,
decode(misi.inventory_planning_code,2,xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0)) min_max_planning,
misi.min_minmax_quantity,
misi.max_minmax_quantity,
misi.fixed_lot_multiple,
misi.minimum_order_quantity,
misi.maximum_order_quantity,
xxen_util.meaning(to_char(misi.source_type),&apos;MTL_SOURCE_TYPES&apos;,700) source_type,
mp_src.organization_code source_organization,
misi.source_subinventory,
misi.preprocessing_lead_time,
misi.processing_lead_time,
misi.postprocessing_lead_time,
xxen_util.display_flexfield_context(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category) item_sub_attribute_category,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE1&apos;,misi.rowid,misi.attribute1) item_sub_attribute1,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE2&apos;,misi.rowid,misi.attribute2) item_sub_attribute2,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE3&apos;,misi.rowid,misi.attribute3) item_sub_attribute3,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE4&apos;,misi.rowid,misi.attribute4) item_sub_attribute4,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE5&apos;,misi.rowid,misi.attribute5) item_sub_attribute5,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE6&apos;,misi.rowid,misi.attribute6) item_sub_attribute6,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE7&apos;,misi.rowid,misi.attribute7) item_sub_attribute7,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE8&apos;,misi.rowid,misi.attribute8) item_sub_attribute8,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE9&apos;,misi.rowid,misi.attribute9) item_sub_attribute9,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE10&apos;,misi.rowid,misi.attribute10) item_sub_attribute10,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE11&apos;,misi.rowid,misi.attribute11) item_sub_attribute11,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE12&apos;,misi.rowid,misi.attribute12) item_sub_attribute12,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE13&apos;,misi.rowid,misi.attribute13) item_sub_attribute13,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE14&apos;,misi.rowid,misi.attribute14) item_sub_attribute14,
xxen_util.display_flexfield_value(401,&apos;MTL_ITEM_SUB_INVENTORIES&apos;,misi.attribute_category,&apos;ATTRIBUTE15&apos;,misi.rowid,misi.attribute15) item_sub_attribute15,
milk.concatenated_segments locator,
milk.description locator_description,
msl.maximum_quantity par_level,
xu.delete_option,
(select sum(moqd.primary_transaction_quantity) from mtl_onhand_quantities_detail moqd where misi.organization_id=moqd.organization_id and misi.inventory_item_id=moqd.inventory_item_id and misi.secondary_inventory=moqd.subinventory_code) onhand_quantity,
xu.upload_row
from
(
select
x.*,
(select msiv2.inventory_item_id from mtl_system_items_vl msiv2, mtl_parameters mp2 where mp2.organization_code=x.organization_code and msiv2.organization_id=mp2.organization_id and msiv2.concatenated_segments=x.item) inventory_item_id,
(select milk2.inventory_location_id from mtl_item_locations_kfv milk2, mtl_parameters mp2b where mp2b.organization_code=x.organization_code and milk2.organization_id=mp2b.organization_id and milk2.subinventory_code=x.subinventory and milk2.concatenated_segments=x.locator) inventory_location_id
from
xxen_inv_item_subinvent_7370_u x
) xu,
mtl_item_sub_inventories misi,
mtl_parameters mp,
mtl_system_items_vl msiv,
mtl_secondary_inventories msec,
mtl_parameters mp_src,
mtl_secondary_locators msl,
mtl_item_locations_kfv milk
where
xu.status_code_=xxen_upload.status_success and
mp.organization_code=xu.organization_code and
msiv.inventory_item_id=xu.inventory_item_id and
msiv.organization_id=mp.organization_id and
msec.organization_id=mp.organization_id and
msec.secondary_inventory_name=xu.subinventory and
misi.organization_id(+)=mp.organization_id and
misi.inventory_item_id(+)=xu.inventory_item_id and
misi.secondary_inventory(+)=xu.subinventory and
mp_src.organization_id(+)=misi.source_organization_id and
msl.inventory_item_id(+)=misi.inventory_item_id and
msl.organization_id(+)=misi.organization_id and
msl.subinventory_code(+)=misi.secondary_inventory and
msl.secondary_locator(+)=xu.inventory_location_id and
milk.organization_id(+)=msl.organization_id and
milk.subinventory_code(+)=msl.subinventory_code and
milk.inventory_location_id(+)=msl.secondary_locator</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
