<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: WIP Move Transaction Upload -->
 <REPORTS_ROW>
  <GUID>F994F65B6A924DF9A73956F4F0E1BC80</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
null action_,
null status_,
null message_,
null modified_columns_,
to_number(null) transaction_id,
x.organization_code,
to_char(null) sales_order,
to_char(null) order_line,
x.line,
x.line_description,
x.assembly,
x.assembly_description,
x.primary_uom,
x.job,
x.job_description,
x.bill_revision,
xxen_util.meaning(1,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) transaction_type,
x.from_seq,
x.from_code,
x.from_department,
x.from_step,
x.to_seq,
x.to_code,
x.to_department,
to_char(null) to_step,
to_char(null) overcompletion,
x.primary_uom uom,
x.available,
to_number(null) quantity,
sysdate transaction_date,
to_char(null) scrap_account_alias,
to_char(null) scrap_account_number,
to_char(null) reason,
cast(null as varchar2(240)) reference,
to_char(null) move_attribute_category,
to_char(null) move_attribute1,
to_char(null) move_attribute2,
to_char(null) move_attribute3,
to_char(null) move_attribute4,
to_char(null) move_attribute5,
to_char(null) move_attribute6,
to_char(null) move_attribute7,
to_char(null) move_attribute8,
to_char(null) move_attribute9,
to_char(null) move_attribute10,
to_char(null) move_attribute11,
to_char(null) move_attribute12,
to_char(null) move_attribute13,
to_char(null) move_attribute14,
to_char(null) move_attribute15,
row_number() over (order by x.organization_code,x.job,x.line,x.assembly,x.from_seq,x.fm_step_type) upload_row
from
(
select
y.organization_code,
to_char(null) line,
to_char(null) line_description,
y.assembly,
y.assembly_description,
y.primary_uom,
y.job,
y.job_description,
y.bill_revision,
y.from_seq,
y.from_code,
y.from_department,
xxen_util.meaning(y.fm_step_type,&apos;WIP_INTRAOPERATION_STEP&apos;,700) from_step,
y.fm_step_type,
y.to_seq,
bso_to.operation_code to_code,
bd_to.department_code to_department,
y.available,
y.wip_entity_id
from
(
select /*+ cardinality(rowgen 3) */
mp.organization_code,
msiv.concatenated_segments assembly,
msiv.description assembly_description,
msiv.primary_uom_code primary_uom,
we.wip_entity_name job,
we.description job_description,
wdj.bom_revision bill_revision,
wo.operation_seq_num from_seq,
bso.operation_code from_code,
bd.department_code from_department,
rowgen.column_value fm_step_type,
nvl((select min(wo_cp.operation_seq_num) from wip_operations wo_cp where wo.wip_entity_id=wo_cp.wip_entity_id and wo.operation_seq_num&lt;wo_cp.operation_seq_num and wo_cp.count_point_type=1),wo.operation_seq_num) to_seq,
decode(rowgen.column_value,1,wo.quantity_in_queue,2,wo.quantity_running,3,wo.quantity_waiting_to_move) available,
wdj.wip_entity_id
from
mtl_parameters mp,
wip_discrete_jobs wdj,
wip_entities we,
mtl_system_items_vl msiv,
wip_operations wo,
bom_standard_operations bso,
bom_departments bd,
table(xxen_util.rowgen(3)) rowgen
where
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
mp.organization_id=wdj.organization_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wdj.wip_entity_id=we.wip_entity_id and
we.entity_type=1 and
wdj.primary_item_id=msiv.inventory_item_id and
wdj.organization_id=msiv.organization_id and
wdj.wip_entity_id=wo.wip_entity_id and
wo.standard_operation_id=bso.standard_operation_id(+) and
nvl(bso.operation_type,1)=1 and
bso.line_id is null and
wo.department_id=bd.department_id
) y,
wip_operations wo_to,
bom_standard_operations bso_to,
bom_departments bd_to
where
y.available&gt;0 and
y.wip_entity_id=wo_to.wip_entity_id and
y.to_seq=wo_to.operation_seq_num and
wo_to.standard_operation_id=bso_to.standard_operation_id(+) and
wo_to.department_id=bd_to.department_id
union all
select
z.organization_code,
z.line,
z.line_description,
z.assembly,
z.assembly_description,
z.primary_uom,
to_char(null) job,
to_char(null) job_description,
z.bill_revision,
z.from_seq,
z.from_code,
z.from_department,
xxen_util.meaning(z.fm_step_type,&apos;WIP_INTRAOPERATION_STEP&apos;,700) from_step,
z.fm_step_type,
z.to_seq,
bso_to.operation_code to_code,
bd_to.department_code to_department,
z.available,
to_number(null) wip_entity_id
from
(
select
y.*,
nvl((select min(wo_cp.operation_seq_num) from wip_operations wo_cp where y.first_schedule_id=wo_cp.repetitive_schedule_id and y.from_seq&lt;wo_cp.operation_seq_num and wo_cp.count_point_type=1),y.from_seq) to_seq
from
(
select /*+ cardinality(rowgen 3) */
mp.organization_code,
wl.line_code line,
wl.description line_description,
msiv.concatenated_segments assembly,
msiv.description assembly_description,
msiv.primary_uom_code primary_uom,
max(wrs.bom_revision) keep (dense_rank first order by wrs.first_unit_start_date) bill_revision,
min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) first_schedule_id,
wo.operation_seq_num from_seq,
max(bso.operation_code) keep (dense_rank first order by wrs.first_unit_start_date) from_code,
max(bd.department_code) keep (dense_rank first order by wrs.first_unit_start_date) from_department,
rowgen.column_value fm_step_type,
sum(decode(rowgen.column_value,1,wo.quantity_in_queue,2,wo.quantity_running,3,wo.quantity_waiting_to_move)) available
from
mtl_parameters mp,
wip_repetitive_schedules wrs,
wip_lines wl,
wip_entities we,
mtl_system_items_vl msiv,
wip_operations wo,
bom_standard_operations bso,
bom_departments bd,
table(xxen_util.rowgen(3)) rowgen
where
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
mp.organization_id=wrs.organization_id and
wrs.status_type in (3,4) and
wrs.line_id=wl.line_id and
wrs.wip_entity_id=we.wip_entity_id and
we.primary_item_id=msiv.inventory_item_id and
we.organization_id=msiv.organization_id and
wrs.wip_entity_id=wo.wip_entity_id and
wrs.repetitive_schedule_id=wo.repetitive_schedule_id and
wo.standard_operation_id=bso.standard_operation_id(+) and
nvl(bso.operation_type,1)=1 and
bso.line_id is null and
wo.department_id=bd.department_id
group by
mp.organization_code,
wl.line_code,
wl.description,
msiv.concatenated_segments,
msiv.description,
msiv.primary_uom_code,
wo.operation_seq_num,
rowgen.column_value
) y
where
y.available&gt;0
) z,
wip_operations wo_to,
bom_standard_operations bso_to,
bom_departments bd_to
where
z.first_schedule_id=wo_to.repetitive_schedule_id and
z.to_seq=wo_to.operation_seq_num and
wo_to.standard_operation_id=bso_to.standard_operation_id(+) and
wo_to.department_id=bd_to.department_id
) x
where
1=1</SQL_TEXT>
  <VERSION_COMMENTS>New upload: Move, Move and completion and Return and move transactions for discrete jobs and repetitive schedules as in the Move Transactions form (WIPTXSFM), each row inserted into wip_move_txn_interface and processed by wip_movproc_pub.processinterface in its own transaction, with e-records as in the form. Create, Update downloads the Queue, Run and To move steps that hold a quantity as new move rows.</VERSION_COMMENTS>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_wip_upload.upload_move_transaction</UPLOAD_OBJECT>
  <UPLOAD_EXCEL_VALIDATION>xxen_wip_upload.validate_move_transaction(:$column$.organization_code,:$column$.line,:$column$.assembly,:$column$.job,:$column$.transaction_type,:$column$.from_seq,:$column$.from_step,:$column$.to_seq,:$column$.to_step,:$column$.uom,:$column$.quantity,:$column$.transaction_date,:$column$.scrap_account_number)</UPLOAD_EXCEL_VALIDATION>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>WIP Move Transaction Upload</REPORT_NAME>
    <DESCRIPTION>Creates move transactions as in the Move Transactions form: moves between operations and intraoperation steps, including moves into and out of Reject and Scrap, Move and completion transactions and Return and move transactions, for discrete jobs and for the repetitive schedules of a line and assembly. Each row is posted immediately, with backflush, completion, outside processing and autocharge resources as for a move entered in the form.

Upload Mode Create opens an empty sheet. Create, Update downloads the Queue, Run and To move steps of the selected jobs and schedules that hold a quantity, with their Available quantity, as new move rows: enter To Step and Quantity on the rows to move, rows left unchanged are not uploaded. An existing move is never updated; correct it with another move, for example a backward move or a Return and move transaction.

Completions, returns and overcompletions follow the Transaction Types and Allow Overcompletion parameters, not the function Move Transactions is launched from. A .csv or plain .xlsx file, and an add-in upload of a sheet another user downloaded, run with the parameter defaults of the template named in the upload, else with the parameter defaults.

With E-Records and E-Signatures set to Yes, discrete job moves create e-records as in the Move Transactions form, also where the move or material processing profiles are set to background, where the form creates none. A move that needs an e-signature is refused and has to be entered in the form. With the parameter cleared, moves are posted without e-records, as through the WIP move interface.

Not supported: operations added on the fly, manual resource transactions, serialized jobs and backflush lot and serial entry. A move fails when a backflush component is serial controlled, or lot controlled with a lot that cannot be derived; derived lots are not verified. Mandatory quality collection plans are not enforced, as by the WIP move interface, and No Move shop floor statuses always apply, also for users of the form function that overrides them.

To enter descriptive flexfield values, add the Move Attribute Category and Move Attribute1-15 columns, which show the segment prompts, to a template of your own.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Upload</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:allow_overcompletion</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:e_records_and_e_signatures</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:transaction_types</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>
      <DESCRIPTION>Create: an empty sheet for new moves. Create, Update: the Queue, Run and To move steps of the selected jobs and schedules that hold a quantity, as new move rows; an existing move is not updated.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.organization_code=:organization_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
oav.organization_code value,
oav.organization_name description
from
org_access_view oav
where
oav.resp_application_id=fnd_global.resp_appl_id and
oav.responsibility_id=fnd_global.resp_id and
oav.organization_id in (select wp.organization_id from wip_parameters wp)
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select mp.organization_code from mtl_parameters mp where mp.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Organization Code</PARAMETER_NAME>
      <DESCRIPTION>Organization of the downloaded operation steps and default organization of new rows.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.wip_entity_id in (select wrv.wip_entity_id from mtl_sales_orders_kfv msok, wip_reservations_v wrv where msok.concatenated_segments=:sales_order and msok.sales_order_id=wrv.demand_source_header_id)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
msok.concatenated_segments value,
null description
from
mtl_parameters mp,
wip_reservations_v wrv,
wip_discrete_jobs wdj,
mtl_sales_orders_kfv msok
where
xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos; and
mp.organization_id=wrv.organization_id and
wrv.wip_entity_id=wdj.wip_entity_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wrv.demand_source_header_id=msok.sales_order_id
order by
value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Sales Order</PARAMETER_NAME>
      <DESCRIPTION>Restricts the download to the jobs reserved to the sales order.</DESCRIPTION>
     </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>x.wip_entity_id in (select wrv.wip_entity_id from wip_reservations_v wrv where wrv.demand_source_line_id=:order_line_id)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
oola.line_id id,
case when count(distinct msok.sales_order_id) over (partition by oola.line_number,oola.shipment_number)&gt;1 then msok.concatenated_segments||&apos; &apos; end||to_char(oola.line_number)||&apos;.&apos;||to_char(oola.shipment_number) value,
msok.concatenated_segments||&apos;: &apos;||we.wip_entity_name description
from
mtl_parameters mp,
mtl_sales_orders_kfv msok,
wip_reservations_v wrv,
oe_order_lines_all oola,
wip_discrete_jobs wdj,
wip_entities we
where
xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos; and
xxen_util.contains(:$flex$.sales_order,msok.concatenated_segments)=&apos;Y&apos; and
mp.organization_id=wrv.organization_id and
msok.sales_order_id=wrv.demand_source_header_id and
wrv.demand_source_line_id=oola.line_id and
wrv.wip_entity_id=wdj.wip_entity_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wdj.wip_entity_id=we.wip_entity_id
order by
oola.line_number,
oola.shipment_number,
msok.concatenated_segments</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Order Line</PARAMETER_NAME>
      <DESCRIPTION>Restricts the download to the jobs reserved to the order line.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.line=:line_code</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
wl.line_code value,
wl.description
from
mtl_parameters mp,
wip_lines wl
where
xxen_util.contains(:$flex$.organization_code,mp.organization_code)=&apos;Y&apos; and
mp.organization_id=wl.organization_id and
nvl(wl.disable_date,sysdate+1)&gt;sysdate and
wl.line_id in (select wri.line_id from wip_repetitive_items wri)
order by
value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Line</PARAMETER_NAME>
      <DESCRIPTION>Restricts the download to the repetitive schedules of the production line.</DESCRIPTION>
     </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>x.assembly=:assembly</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>Assembly</PARAMETER_NAME>
      <DESCRIPTION>Restricts the download to the jobs and repetitive schedules of the assembly.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>x.job=:job</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>WIP Job</LOV_NAME>
    <LOV_GUID>8E2FF36EDEC379D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
we.wip_entity_name value,
xxen_util.meaning(we.entity_type,&apos;WIP_ENTITY&apos;,700)||&apos; (&apos;||ood.organization_code||&apos;)&apos;||nvl2(we.description,&apos;: &apos;||we.description,null) description
from
wip_entities we,
org_organization_definitions ood
where
(:$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
(
:$flex$.organization_code is null and ood.organization_id in (select oav.organization_id from org_access_view oav where oav.resp_application_id=fnd_global.resp_appl_id and oav.responsibility_id=fnd_global.resp_id) or
xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos;
) and
we.organization_id=ood.organization_id and
nvl(ood.disable_date,sysdate)&gt;=sysdate and
we.entity_type in (1,3,5,8) --(Discrete job, Closed discrete job, Lot based job, Closed lot based job)
order by
we.creation_date desc</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Job</PARAMETER_NAME>
      <DESCRIPTION>Restricts the download to the job.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>8</SORT_ORDER>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <ANCHOR>:transaction_types</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;ALL&apos; id, &apos;Move, Complete and Return&apos; value, null description from dual union all
select &apos;MOVE&apos; id, &apos;Move only&apos; value, null description from dual</LOV_QUERY_DSP>
    <DEFAULT_VALUE>ALL</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Transaction Types</PARAMETER_NAME>
      <DESCRIPTION>Move only refuses Move and completion and Return and move transactions; to apply it to users or responsibilities, lock it on a template copy shared as restricted with them.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>9</SORT_ORDER>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <ANCHOR>:allow_overcompletion</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
    <DEFAULT_VALUE>Y</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Allow Overcompletion</PARAMETER_NAME>
      <DESCRIPTION>No refuses rows with Overcompletion, as the Move Transactions form does without the Allow Overcompletions function; to apply it to users or responsibilities, lock No on a template copy shared as restricted with them.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>10</SORT_ORDER>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <ANCHOR>:e_records_and_e_signatures</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>case when fnd_profile.value(&apos;EDR_ERES_ENABLED&apos;)=&apos;Y&apos; then &apos;Y&apos; end</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>E-Records and E-Signatures</PARAMETER_NAME>
      <DESCRIPTION>Creates e-records for discrete job moves and refuses moves that need an e-signature, as the Move Transactions form does when EDR: E-records and E-signatures is Yes; clear to post the moves without e-records, as the WIP move interface does.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
   <TEMPLATES_ROW>
    <GUID>B3DF167A2710468B84694544C659B278</GUID>
    <TEMPLATE_NAME>Move</TEMPLATE_NAME>
    <DESCRIPTION>Moves, completions and returns with the main fields of the Move Transactions form, without the flexfields. Upload Mode Create opens an empty sheet, Create, Update downloads the Queue, Run and To move steps that hold a quantity.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSEMBLY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSEMBLY_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>AVAILABLE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FROM_DEPARTMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FROM_SEQ</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FROM_STEP</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>JOB</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>JOB_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORDER_LINE</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>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>OVERCOMPLETION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SCRAP_ACCOUNT_ALIAS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SCRAP_ACCOUNT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TO_DEPARTMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TO_SEQ</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TO_STEP</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRANSACTION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRANSACTION_TYPE</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</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>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C</DEFAULT_VALUE>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
    </PARAMETER_EXCLUSION>
    <TEMPLATE_CONDITIONS>
    </TEMPLATE_CONDITIONS>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>C6FB627F98844804AD6FE33861F9446C</GUID>
    <TEMPLATE_NAME>Move Only</TEMPLATE_NAME>
    <DESCRIPTION>Moves without completions and returns, with Transaction Types locked to Move only. To apply it to users or responsibilities, copy it, lock Transaction Types on the copy and share the copy as restricted with them.</DESCRIPTION>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSEMBLY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSEMBLY_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>AVAILABLE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FROM_DEPARTMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FROM_SEQ</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FROM_STEP</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>JOB</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>JOB_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORDER_LINE</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>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>OVERCOMPLETION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SCRAP_ACCOUNT_ALIAS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SCRAP_ACCOUNT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TO_DEPARTMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TO_SEQ</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TO_STEP</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRANSACTION_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRANSACTION_TYPE</COLUMN_NAME>
      <FREEZE_PANES>Y</FREEZE_PANES>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</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>Transaction Types</PARAMETER_NAME>
      <DEFAULT_VALUE>MOVE</DEFAULT_VALUE>
      <LOCKED>Y</LOCKED>
     </TEMPLATE_PARAMETER_DEFAULTS_ROW>
     <TEMPLATE_PARAMETER_DEFAULTS_ROW>
      <PARAMETER_NAME>Upload Mode</PARAMETER_NAME>
      <DEFAULT_VALUE>C</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>B3DF167A2710468B84694544C659B278</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>TRANSACTION_ID</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>ORGANIZATION_CODE</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
oav.organization_id id,
oav.organization_code value,
oav.organization_name description
from
org_access_view oav
where
oav.resp_application_id=fnd_global.resp_appl_id and
oav.responsibility_id=fnd_global.resp_id and
oav.organization_id in (select wp.organization_id from wip_parameters wp)
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
oav.organization_code
from
org_access_view oav
where
oav.organization_id=fnd_profile.value(&apos;MFG_ORGANIZATION_ID&apos;) and
oav.resp_application_id=fnd_global.resp_appl_id and
oav.responsibility_id=fnd_global.resp_id and
oav.organization_id in (select wp.organization_id from wip_parameters wp)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>SALES_ORDER</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 distinct
msok.concatenated_segments value,
null description
from
mtl_parameters mp,
wip_reservations_v wrv,
wip_discrete_jobs wdj,
mtl_sales_orders_kfv msok
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=wrv.organization_id and
wrv.wip_entity_id=wdj.wip_entity_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wrv.demand_source_header_id=msok.sales_order_id
order by
value</LOV_QUERY_DSP>
    <COMMENTS>Restricts Order Line and Job to the jobs reserved to the sales order; not stored with the move.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>ORDER_LINE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
to_char(oola.line_number)||&apos;.&apos;||to_char(oola.shipment_number) value,
we.wip_entity_name description
from
mtl_parameters mp,
mtl_sales_orders_kfv msok,
wip_reservations_v wrv,
oe_order_lines_all oola,
wip_discrete_jobs wdj,
wip_entities we
where
mp.organization_code=:$column$.organization_code and
msok.concatenated_segments=:$column$.sales_order and
mp.organization_id=wrv.organization_id and
msok.sales_order_id=wrv.demand_source_header_id and
wrv.demand_source_line_id=oola.line_id and
wrv.wip_entity_id=wdj.wip_entity_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wdj.wip_entity_id=we.wip_entity_id
order by
oola.line_number,
oola.shipment_number</LOV_QUERY_DSP>
    <COMMENTS>Chooses the job reserved to the order line; not stored with the move.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>LINE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
wl.line_id id,
wl.line_code value,
wl.description
from
mtl_parameters mp,
wip_lines wl
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=wl.organization_id and
nvl(wl.disable_date,sysdate+1)&gt;sysdate and
wl.line_id in (select wri.line_id from wip_repetitive_items wri)
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
wl.description
from
mtl_parameters mp,
wip_lines wl
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=wl.organization_id and
wl.line_code=:$column$.line</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>ASSEMBLY</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_parameters mp,
mtl_system_items_vl msiv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=msiv.organization_id and
msiv.mtl_transactions_enabled_flag=&apos;Y&apos; and
(
:$column$.line is not null and msiv.inventory_item_id in (select wri.primary_item_id from wip_lines wl, wip_repetitive_items wri where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wri.line_id) or
:$column$.line is null and msiv.inventory_item_id in (
select wdj.primary_item_id from wip_discrete_jobs wdj where mp.organization_id=wdj.organization_id and wdj.status_type in (3,4)
union all
select we.primary_item_id from wip_repetitive_schedules wrs, wip_entities we where mp.organization_id=wrs.organization_id and wrs.status_type in (3,4) and wrs.wip_entity_id=we.wip_entity_id
)
)
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
msiv.concatenated_segments
from
mtl_parameters mp,
wip_entities we,
mtl_system_items_vl msiv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
we.wip_entity_name=:$column$.job and
we.primary_item_id=msiv.inventory_item_id and
we.organization_id=msiv.organization_id</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>ASSEMBLY_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
msiv.description
from
mtl_parameters mp,
mtl_system_items_vl msiv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>PRIMARY_UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
msiv.primary_uom_code
from
mtl_parameters mp,
mtl_system_items_vl msiv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>JOB</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
we.wip_entity_id id,
we.wip_entity_name value,
we.description
from
mtl_parameters mp,
wip_discrete_jobs wdj,
wip_entities we
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=wdj.organization_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wdj.wip_entity_id=we.wip_entity_id and
we.entity_type=1 and
(
:$column$.order_line is null or
we.wip_entity_id in (
select
wrv.wip_entity_id
from
mtl_sales_orders_kfv msok,
wip_reservations_v wrv,
oe_order_lines_all oola
where
msok.concatenated_segments=:$column$.sales_order and
msok.sales_order_id=wrv.demand_source_header_id and
mp.organization_id=wrv.organization_id and
wrv.demand_source_line_id=oola.line_id and
to_char(oola.line_number)||&apos;.&apos;||to_char(oola.shipment_number)=:$column$.order_line
)
)
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select distinct
we.wip_entity_name
from
mtl_parameters mp,
mtl_sales_orders_kfv msok,
wip_reservations_v wrv,
oe_order_lines_all oola,
wip_discrete_jobs wdj,
wip_entities we
where
mp.organization_code=:$column$.organization_code and
msok.concatenated_segments=:$column$.sales_order and
mp.organization_id=wrv.organization_id and
msok.sales_order_id=wrv.demand_source_header_id and
wrv.demand_source_line_id=oola.line_id and
to_char(oola.line_number)||&apos;.&apos;||to_char(oola.shipment_number)=:$column$.order_line and
wrv.wip_entity_id=wdj.wip_entity_id and
wdj.status_type in (3,4) and
wdj.serialization_start_op is null and
wdj.wip_entity_id=we.wip_entity_id and
we.entity_type=1</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>JOB_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
we.description
from
mtl_parameters mp,
wip_entities we
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
we.wip_entity_name=:$column$.job</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>BILL_REVISION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
coalesce(
(select wdj.bom_revision from wip_entities we, wip_discrete_jobs wdj where mp.organization_id=we.organization_id and we.wip_entity_name=:$column$.job and we.wip_entity_id=wdj.wip_entity_id),
(
select
max(wrs.bom_revision) keep (dense_rank first order by wrs.first_unit_start_date)
from
mtl_system_items_vl msiv,
wip_entities we,
wip_lines wl,
wip_repetitive_schedules wrs
where
:$column$.job is null and
mp.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly and
msiv.organization_id=we.organization_id and
msiv.inventory_item_id=we.primary_item_id and
we.entity_type=2 and
mp.organization_id=wl.organization_id and
wl.line_code=:$column$.line and
we.wip_entity_id=wrs.wip_entity_id and
wl.line_id=wrs.line_id and
wrs.status_type in (3,4)
)
) bill_revision
from
mtl_parameters mp
where
mp.organization_code=:$column$.organization_code</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>TRANSACTION_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;WIP_MOVE_TRANSACTION_TYPE&apos; and
(ml.lookup_code=1 or nvl(:$flex$.Transaction_Types,&apos;ALL&apos;)=&apos;ALL&apos;)
order by
ml.lookup_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.meaning(case when fnd_profile.value(&apos;WIP_MOVE_COMPLETION_DEFAULT&apos;)=&apos;1&apos; and :$flex$.Transaction_Types=&apos;ALL&apos; then 2 else 1 end,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>FROM_SEQ</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
wo.operation_seq_num id,
wo.operation_seq_num value,
bd.department_code description
from
mtl_parameters mp,
wip_entities we,
wip_operations wo,
bom_departments bd,
bom_standard_operations bso
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
we.wip_entity_name=:$column$.job and
we.entity_type=1 and
we.wip_entity_id=wo.wip_entity_id and
wo.repetitive_schedule_id is null and
wo.department_id=bd.department_id and
wo.standard_operation_id=bso.standard_operation_id(+) and
nvl(bso.operation_type,1)=1 and
bso.line_id is null
union all
select distinct
wo.operation_seq_num id,
wo.operation_seq_num value,
bd.department_code description
from
mtl_parameters mp,
wip_lines wl,
wip_repetitive_schedules wrs,
wip_entities we,
mtl_system_items_vl msiv,
wip_operations wo,
bom_departments bd,
bom_standard_operations bso
where
:$column$.job is null and
mp.organization_code=:$column$.organization_code and
mp.organization_id=wl.organization_id and
wl.line_code=:$column$.line and
wl.line_id=wrs.line_id and
wrs.status_type in (3,4) and
wrs.wip_entity_id=we.wip_entity_id and
we.primary_item_id=msiv.inventory_item_id and
we.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly and
wrs.repetitive_schedule_id=wo.repetitive_schedule_id and
wo.department_id=bd.department_id and
wo.standard_operation_id=bso.standard_operation_id(+) and
nvl(bso.operation_type,1)=1 and
bso.line_id is null
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
wo.operation_seq_num
from
mtl_parameters mp,
wip_entities we,
wip_operations wo
where
:$column$.transaction_type=xxen_util.meaning(3,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) and
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
(
we.wip_entity_name=:$column$.job or
:$column$.job is null and we.entity_type=2 and we.primary_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where mp.organization_id=msiv.organization_id and msiv.concatenated_segments=:$column$.assembly) and wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_lines wl, wip_repetitive_schedules wrs where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wrs.line_id and we.wip_entity_id=wrs.wip_entity_id and wrs.status_type in (3,4))
) and
we.wip_entity_id=wo.wip_entity_id and
wo.next_operation_seq_num is null</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>FROM_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
bso.operation_code
from
mtl_parameters mp,
wip_entities we,
wip_operations wo,
bom_standard_operations bso
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
(
we.wip_entity_name=:$column$.job or
:$column$.job is null and we.entity_type=2 and we.primary_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where mp.organization_id=msiv.organization_id and msiv.concatenated_segments=:$column$.assembly) and wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_lines wl, wip_repetitive_schedules wrs where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wrs.line_id and we.wip_entity_id=wrs.wip_entity_id and wrs.status_type in (3,4))
) and
we.wip_entity_id=wo.wip_entity_id and
wo.operation_seq_num=:$column$.from_seq and
wo.standard_operation_id=bso.standard_operation_id</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>FROM_DEPARTMENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
bd.department_code
from
mtl_parameters mp,
wip_entities we,
wip_operations wo,
bom_departments bd
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
(
we.wip_entity_name=:$column$.job or
:$column$.job is null and we.entity_type=2 and we.primary_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where mp.organization_id=msiv.organization_id and msiv.concatenated_segments=:$column$.assembly) and wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_lines wl, wip_repetitive_schedules wrs where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wrs.line_id and we.wip_entity_id=wrs.wip_entity_id and wrs.status_type in (3,4))
) and
we.wip_entity_id=wo.wip_entity_id and
wo.operation_seq_num=:$column$.from_seq and
wo.department_id=bd.department_id</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>FROM_STEP</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
mtl_parameters mp,
wip_valid_intraoperation_steps wvis,
mfg_lookups ml
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=wvis.organization_id and
ml.lookup_type=&apos;WIP_INTRAOPERATION_STEP&apos; and
wvis.step_lookup_type=ml.lookup_code
order by
ml.lookup_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
xxen_util.meaning(rowgen.column_value,&apos;WIP_INTRAOPERATION_STEP&apos;,700)
from
table(xxen_util.rowgen(5)) rowgen
where
:$column$.transaction_type=xxen_util.meaning(3,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) and rowgen.column_value=3 or
nvl(:$column$.transaction_type,&apos;x&apos;)&lt;&gt;xxen_util.meaning(3,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) and xxen_wip_upload.available_quantity_dsp(:$column$.organization_code,:$column$.job,:$column$.line,:$column$.assembly,:$column$.transaction_type,:$column$.from_seq,xxen_util.meaning(rowgen.column_value,&apos;WIP_INTRAOPERATION_STEP&apos;,700),null)&gt;0</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>TO_SEQ</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
wo.operation_seq_num id,
wo.operation_seq_num value,
bd.department_code description
from
mtl_parameters mp,
wip_entities we,
wip_operations wo,
bom_departments bd,
bom_standard_operations bso
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
we.wip_entity_name=:$column$.job and
we.entity_type=1 and
we.wip_entity_id=wo.wip_entity_id and
wo.repetitive_schedule_id is null and
wo.department_id=bd.department_id and
wo.standard_operation_id=bso.standard_operation_id(+) and
nvl(bso.operation_type,1)=1 and
bso.line_id is null
union all
select distinct
wo.operation_seq_num id,
wo.operation_seq_num value,
bd.department_code description
from
mtl_parameters mp,
wip_lines wl,
wip_repetitive_schedules wrs,
wip_entities we,
mtl_system_items_vl msiv,
wip_operations wo,
bom_departments bd,
bom_standard_operations bso
where
:$column$.job is null and
mp.organization_code=:$column$.organization_code and
mp.organization_id=wl.organization_id and
wl.line_code=:$column$.line and
wl.line_id=wrs.line_id and
wrs.status_type in (3,4) and
wrs.wip_entity_id=we.wip_entity_id and
we.primary_item_id=msiv.inventory_item_id and
we.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly and
wrs.repetitive_schedule_id=wo.repetitive_schedule_id and
wo.department_id=bd.department_id and
wo.standard_operation_id=bso.standard_operation_id(+) and
nvl(bso.operation_type,1)=1 and
bso.line_id is null
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
case
when :$column$.transaction_type=xxen_util.meaning(1,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) then nvl(min(case when x.operation_seq_num&gt;:$column$.from_seq and x.count_point_type=1 then x.operation_seq_num end),:$column$.from_seq)
when :$column$.transaction_type=xxen_util.meaning(2,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) then max(case when x.next_operation_seq_num is null then x.operation_seq_num end)
end to_seq
from
(
select
wo.operation_seq_num,
wo.count_point_type,
wo.next_operation_seq_num
from
mtl_parameters mp,
wip_entities we,
wip_operations wo
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
we.wip_entity_name=:$column$.job and
we.wip_entity_id=wo.wip_entity_id
union all
select
wo.operation_seq_num,
wo.count_point_type,
wo.next_operation_seq_num
from
mtl_parameters mp,
wip_lines wl,
wip_entities we,
mtl_system_items_vl msiv,
wip_operations wo
where
:$column$.job is null and
mp.organization_code=:$column$.organization_code and
mp.organization_id=wl.organization_id and
wl.line_code=:$column$.line and
mp.organization_id=we.organization_id and
we.entity_type=2 and
we.primary_item_id=msiv.inventory_item_id and
we.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly and
we.wip_entity_id=wo.wip_entity_id and
wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_repetitive_schedules wrs where we.wip_entity_id=wrs.wip_entity_id and wl.line_id=wrs.line_id and wrs.status_type in (3,4))
) x</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>TO_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
bso.operation_code
from
mtl_parameters mp,
wip_entities we,
wip_operations wo,
bom_standard_operations bso
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
(
we.wip_entity_name=:$column$.job or
:$column$.job is null and we.entity_type=2 and we.primary_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where mp.organization_id=msiv.organization_id and msiv.concatenated_segments=:$column$.assembly) and wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_lines wl, wip_repetitive_schedules wrs where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wrs.line_id and we.wip_entity_id=wrs.wip_entity_id and wrs.status_type in (3,4))
) and
we.wip_entity_id=wo.wip_entity_id and
wo.operation_seq_num=:$column$.to_seq and
wo.standard_operation_id=bso.standard_operation_id</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>TO_DEPARTMENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>select
bd.department_code
from
mtl_parameters mp,
wip_entities we,
wip_operations wo,
bom_departments bd
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
(
we.wip_entity_name=:$column$.job or
:$column$.job is null and we.entity_type=2 and we.primary_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where mp.organization_id=msiv.organization_id and msiv.concatenated_segments=:$column$.assembly) and wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_lines wl, wip_repetitive_schedules wrs where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wrs.line_id and we.wip_entity_id=wrs.wip_entity_id and wrs.status_type in (3,4))
) and
we.wip_entity_id=wo.wip_entity_id and
wo.operation_seq_num=:$column$.to_seq and
wo.department_id=bd.department_id</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>TO_STEP</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
mtl_parameters mp,
wip_valid_intraoperation_steps wvis,
mfg_lookups ml
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=wvis.organization_id and
ml.lookup_type=&apos;WIP_INTRAOPERATION_STEP&apos; and
wvis.step_lookup_type=ml.lookup_code
order by
ml.lookup_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>case when :$column$.transaction_type=xxen_util.meaning(2,&apos;WIP_MOVE_TRANSACTION_TYPE&apos;,700) then xxen_util.meaning(3,&apos;WIP_INTRAOPERATION_STEP&apos;,700) end</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>OVERCOMPLETION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual where nvl(:$flex$.Allow_Overcompletion,&apos;Y&apos;)=&apos;Y&apos;</LOV_QUERY_DSP>
    <COMMENTS>Quantity above Available is moved as overcompletion; offered when Allow Overcompletion is Yes.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>UOM</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
miuv.uom_code value,
miuv.description
from
mtl_parameters mp,
mtl_system_items_vl msiv,
mtl_item_uoms_view miuv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly and
msiv.organization_id=miuv.organization_id and
msiv.inventory_item_id=miuv.inventory_item_id
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
msiv.primary_uom_code
from
mtl_parameters mp,
mtl_system_items_vl msiv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=msiv.organization_id and
msiv.concatenated_segments=:$column$.assembly</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>AVAILABLE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>xxen_wip_upload.available_quantity_dsp(:$column$.organization_code,:$column$.job,:$column$.line,:$column$.assembly,:$column$.transaction_type,:$column$.from_seq,:$column$.from_step,:$column$.uom)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>select
case
when x.quantity_default=&apos;3&apos; then x.available
when x.minimum_transfer_quantity&gt;0 and x.available&gt;0 then least(x.minimum_transfer_quantity,x.available)
end quantity
from
(
select
fnd_profile.value(&apos;WIP_MOVE_TXN_QTY_DEFAULT&apos;) quantity_default,
xxen_wip_upload.available_quantity_dsp(:$column$.organization_code,:$column$.job,:$column$.line,:$column$.assembly,:$column$.transaction_type,:$column$.from_seq,:$column$.from_step,:$column$.uom) available,
(
select
wo.minimum_transfer_quantity
from
mtl_parameters mp,
wip_entities we,
wip_operations wo
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=we.organization_id and
(
we.wip_entity_name=:$column$.job or
:$column$.job is null and we.entity_type=2 and we.primary_item_id in (select msiv.inventory_item_id from mtl_system_items_vl msiv where mp.organization_id=msiv.organization_id and msiv.concatenated_segments=:$column$.assembly) and wo.repetitive_schedule_id=(select min(wrs.repetitive_schedule_id) keep (dense_rank first order by wrs.first_unit_start_date) from wip_lines wl, wip_repetitive_schedules wrs where mp.organization_id=wl.organization_id and wl.line_code=:$column$.line and wl.line_id=wrs.line_id and we.wip_entity_id=wrs.wip_entity_id and wrs.status_type in (3,4))
) and
we.wip_entity_id=wo.wip_entity_id and
wo.operation_seq_num=:$column$.from_seq
) minimum_transfer_quantity
from
dual
where
fnd_profile.value(&apos;WIP_MOVE_TXN_QTY_DEFAULT&apos;) in (&apos;2&apos;,&apos;3&apos;)
) x</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>TRANSACTION_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>DateTime</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <DEFAULT_VALUE>sysdate</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>SCRAP_ACCOUNT_ALIAS</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
mgdk.concatenated_segments value,
mgdk.description
from
mtl_parameters mp,
org_organization_definitions ood,
mtl_generic_dispositions_kfv mgdk
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=ood.organization_id and
mp.organization_id=mgdk.organization_id and
mgdk.enabled_flag=&apos;Y&apos; and
trunc(sysdate) between nvl(mgdk.start_date_active,trunc(sysdate)) and nvl(mgdk.end_date_active,trunc(sysdate)) and
nvl(mgdk.effective_date,sysdate)&lt;=sysdate+1 and
nvl(mgdk.disable_date,sysdate+1)&gt;sysdate and
wip_utilities.validate_scrap_account_id(mgdk.distribution_account,ood.chart_of_accounts_id)=&apos;Y&apos;
order by
value</LOV_QUERY_DSP>
    <COMMENTS>Fills the Scrap Account Number; not stored.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>SCRAP_ACCOUNT_NUMBER</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
gcck.code_combination_id id,
gcck.concatenated_segments value,
xxen_util.segments_description(gcck.code_combination_id)||&apos; (&apos;||flvv.description||&apos;)&apos; description
from
mtl_parameters mp,
org_organization_definitions ood,
gl_code_combinations_kfv gcck,
fnd_lookup_values_vl flvv
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=ood.organization_id and
ood.chart_of_accounts_id=gcck.chart_of_accounts_id and
gcck.summary_flag=&apos;N&apos; and
gcck.detail_posting_allowed=&apos;Y&apos; and
gcck.enabled_flag=&apos;Y&apos; and
nvl(gcck.start_date_active,:$column$.transaction_date)&lt;=:$column$.transaction_date and
nvl(gcck.end_date_active,:$column$.transaction_date)+1&gt;:$column$.transaction_date and
flvv.lookup_type=&apos;ACCOUNT TYPE&apos; and
flvv.view_application_id=101 and
flvv.security_group_id=0 and
gcck.gl_account_type=flvv.lookup_code
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
gcck.concatenated_segments
from
mtl_parameters mp,
mtl_generic_dispositions_kfv mgdk,
gl_code_combinations_kfv gcck
where
mp.organization_code=:$column$.organization_code and
mp.organization_id=mgdk.organization_id and
mgdk.concatenated_segments=:$column$.scrap_account_alias and
mgdk.distribution_account=gcck.code_combination_id</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>REASON</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
mtr.reason_id id,
mtr.reason_name value,
mtr.description
from
mtl_transaction_reasons mtr
where
nvl(mtr.disable_date,sysdate+1)&gt;sysdate
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>REFERENCE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>35</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_ATTRIBUTE_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fdfcv.descriptive_flex_context_code id,
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descr_flex_contexts_vl fdfcv
where
fdfcv.application_id=706 and
fdfcv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfcv.descriptive_flex_context_code&lt;&gt;&apos;Global Data Elements&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>45</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>46</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>47</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>48</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>49</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>50</COLUMN_NUMBER>
    <COLUMN_NAME>MOVE_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;706,
p_descriptive_flexfield_name=&gt;&apos;WIP_MOVE_TRANSACTIONS&apos;,
p_context_name=&gt;:$column$.move_attribute_category,
p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
p_attribute1=&gt;:$column$.move_attribute1,
p_attribute2=&gt;:$column$.move_attribute2,
p_attribute3=&gt;:$column$.move_attribute3,
p_attribute4=&gt;:$column$.move_attribute4,
p_attribute5=&gt;:$column$.move_attribute5,
p_attribute6=&gt;:$column$.move_attribute6,
p_attribute7=&gt;:$column$.move_attribute7,
p_attribute8=&gt;:$column$.move_attribute8,
p_attribute9=&gt;:$column$.move_attribute9,
p_attribute10=&gt;:$column$.move_attribute10,
p_attribute11=&gt;:$column$.move_attribute11,
p_attribute12=&gt;:$column$.move_attribute12,
p_attribute13=&gt;:$column$.move_attribute13,
p_attribute14=&gt;:$column$.move_attribute14,
p_attribute15=&gt;:$column$.move_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(&apos;||decode(fdfc.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;Global&apos;,fdfc.descriptive_flex_context_code)||&apos;) &apos;||fdfcuv.form_left_prompt
from
fnd_descriptive_flexs_vl fdfv,
fnd_descr_flex_contexts fdfc,
fnd_descr_flex_col_usage_vl fdfcuv
where
fdfv.application_id=706 and
fdfv.descriptive_flexfield_name=&apos;WIP_MOVE_TRANSACTIONS&apos; and
fdfv.application_id=fdfc.application_id and
fdfv.descriptive_flexfield_name=fdfc.descriptive_flexfield_name and
fdfc.enabled_flag=&apos;Y&apos; and
fdfc.application_id=fdfcuv.application_id and
fdfc.descriptive_flexfield_name=fdfcuv.descriptive_flexfield_name and
fdfc.descriptive_flex_context_code=fdfcuv.descriptive_flex_context_code and
fdfcuv.enabled_flag=&apos;Y&apos; and
fdfcuv.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>51</COLUMN_NUMBER>
    <COLUMN_NAME>UPLOAD_ROW</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_transaction_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRANSACTION_ID</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>2</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>3</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_assembly_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>ASSEMBLY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_wip_entity_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>JOB</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_transaction_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRANSACTION_TYPE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_fm_operation_seq_num</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>FROM_SEQ</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_fm_step</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>FROM_STEP</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_to_operation_seq_num</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TO_SEQ</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_to_step</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TO_STEP</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_overcompletion</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>OVERCOMPLETION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_transaction_uom</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>UOM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_transaction_quantity</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>QUANTITY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_transaction_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRANSACTION_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_scrap_account_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SCRAP_ACCOUNT_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_reason_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>REASON</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_reference</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>REFERENCE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>MOVE_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_transaction_id_out</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>TRANSACTION_ID</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>35</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>36</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>message_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Error SQL</SQL_TYPE>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Order By</SQL_TYPE>
    <SQL_TEXT>upload_row</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Success SQL</SQL_TYPE>
    <SQL_TEXT>select
xu.action_,
xu.status_,
xu.message_,
xu.modified_columns_,
xu.transaction_id,
nvl(mp.organization_code,xu.organization_code) organization_code,
xu.sales_order,
xu.order_line,
nvl(wl.line_code,xu.line) line,
nvl(wl.description,xu.line_description) line_description,
nvl(msiv.concatenated_segments,xu.assembly) assembly,
nvl(msiv.description,xu.assembly_description) assembly_description,
nvl(msiv.primary_uom_code,xu.primary_uom) primary_uom,
nvl(case when wmt.line_id is null then we.wip_entity_name end,xu.job) job,
nvl(case when wmt.line_id is null then we.description end,xu.job_description) job_description,
nvl(wdj.bom_revision,xu.bill_revision) bill_revision,
nvl(case when wmt.transaction_id is not null then wip_move_validator.move_txn_type(wmt.transaction_id,wmt.organization_id,wmt.wip_entity_id,wmt.primary_item_id) end,xu.transaction_type) transaction_type,
nvl(wmt.fm_operation_seq_num,xu.from_seq) from_seq,
nvl(wmt.fm_operation_code,xu.from_code) from_code,
nvl(bd_fm.department_code,xu.from_department) from_department,
nvl(xxen_util.meaning(wmt.fm_intraoperation_step_type,&apos;WIP_INTRAOPERATION_STEP&apos;,700),xu.from_step) from_step,
nvl(wmt.to_operation_seq_num,xu.to_seq) to_seq,
nvl(wmt.to_operation_code,xu.to_code) to_code,
nvl(bd_to.department_code,xu.to_department) to_department,
nvl(xxen_util.meaning(wmt.to_intraoperation_step_type,&apos;WIP_INTRAOPERATION_STEP&apos;,700),xu.to_step) to_step,
nvl(xxen_util.yes(case when wmt.overcompletion_transaction_qty&gt;0 then &apos;Y&apos; end),xu.overcompletion) overcompletion,
nvl(wmt.transaction_uom,xu.uom) uom,
xu.available,
nvl(wmt.transaction_quantity,xu.quantity) quantity,
nvl(wmt.transaction_date,xu.transaction_date) transaction_date,
xu.scrap_account_alias,
nvl(gcck.concatenated_segments,xu.scrap_account_number) scrap_account_number,
nvl(mtr.reason_name,xu.reason) reason,
nvl(wmt.reference,xu.reference) reference,
nvl(xxen_util.display_flexfield_context(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category),xu.move_attribute_category) move_attribute_category,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE1&apos;,null,wmt.attribute1),xu.move_attribute1) move_attribute1,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE2&apos;,null,wmt.attribute2),xu.move_attribute2) move_attribute2,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE3&apos;,null,wmt.attribute3),xu.move_attribute3) move_attribute3,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE4&apos;,null,wmt.attribute4),xu.move_attribute4) move_attribute4,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE5&apos;,null,wmt.attribute5),xu.move_attribute5) move_attribute5,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE6&apos;,null,wmt.attribute6),xu.move_attribute6) move_attribute6,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE7&apos;,null,wmt.attribute7),xu.move_attribute7) move_attribute7,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE8&apos;,null,wmt.attribute8),xu.move_attribute8) move_attribute8,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE9&apos;,null,wmt.attribute9),xu.move_attribute9) move_attribute9,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE10&apos;,null,wmt.attribute10),xu.move_attribute10) move_attribute10,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE11&apos;,null,wmt.attribute11),xu.move_attribute11) move_attribute11,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE12&apos;,null,wmt.attribute12),xu.move_attribute12) move_attribute12,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE13&apos;,null,wmt.attribute13),xu.move_attribute13) move_attribute13,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE14&apos;,null,wmt.attribute14),xu.move_attribute14) move_attribute14,
nvl(xxen_util.display_flexfield_value(706,&apos;WIP_MOVE_TRANSACTIONS&apos;,wmt.attribute_category,&apos;ATTRIBUTE15&apos;,null,wmt.attribute15),xu.move_attribute15) move_attribute15,
xu.upload_row
from
xxen_wip_move_transacti_5945_u xu,
wip_move_transactions wmt,
mtl_parameters mp,
wip_entities we,
wip_discrete_jobs wdj,
wip_lines wl,
mtl_system_items_vl msiv,
bom_departments bd_fm,
bom_departments bd_to,
gl_code_combinations_kfv gcck,
mtl_transaction_reasons mtr
where
xu.status_code_=xxen_upload.status_success and
xu.transaction_id=wmt.transaction_id(+) and
wmt.organization_id=mp.organization_id(+) and
wmt.wip_entity_id=we.wip_entity_id(+) and
wmt.wip_entity_id=wdj.wip_entity_id(+) and
wmt.line_id=wl.line_id(+) and
wmt.primary_item_id=msiv.inventory_item_id(+) and
wmt.organization_id=msiv.organization_id(+) and
wmt.fm_department_id=bd_fm.department_id(+) and
wmt.to_department_id=bd_to.department_id(+) and
wmt.scrap_account_id=gcck.code_combination_id(+) and
wmt.reason_id=mtr.reason_id(+)</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
