<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: AR Transaction Upload -->
 <REPORTS_ROW>
  <GUID>11D585FB4C530E6EE0636DFB090526E0</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
null action_,
null status_,
null message_,
null request_id_,
null modified_columns_,
to_number(null) upload_row,
null use_salespersons,
null derive_applied_cm_batch_source,
null credit_method_for_rules,
null credit_method_for_installments,
to_number(null) p_trx_idx,
to_number(null) p_line_idx,
to_number(null) p_dist_idx,
to_number(null) p_scred_idx,
--
haouv.name operating_unit,
rbsa.name source,
trunc(sysdate) default_gl_date,
--
null upload_trx_identifier,
rcta.ct_reference reference,
--
hp_b.party_name bill_to_customer_name,
hca_b.account_number bill_to_customer_number,
hcsua_b.location bill_to_site,
hz_format_pub.format_address(hps_b.location_id,null,null,&apos;, &apos;) bill_to_address,
--
hp_s.party_name ship_to_customer_name,
hca_s.account_number ship_to_customer_number,
hcsua_s.location ship_to_site,
hz_format_pub.format_address(hps_s.location_id,null,null,&apos;, &apos;) ship_to_address,
hp_sold.party_name sold_to_customer_name,
--
null credit_against_transaction,
null credit_against_line,
to_number(null) credit_line_amount,
to_number(null) credit_tax_amount,
to_number(null) credit_freight_amount,
null credit_memo_reason,
null applied_credit_batch_source,
--
rctta.name trx_type,
rctta.type trx_class,
rcta.trx_number,
rcta.trx_date,
apsa.gl_date,
(select jrrev2.resource_name from jtf_rs_salesreps jrs2, jtf_rs_resource_extns_vl jrrev2 where rcta.primary_salesrep_id=jrs2.salesrep_id and jrs2.org_id=rcta.org_id and jrs2.resource_id=jrrev2.resource_id and rownum=1) salesperson,
rcta.purchase_order,
rcta.purchase_order_revision,
rcta.purchase_order_date,
(select
 rtv.name
 from
 ra_terms_vl rtv
 where
 rtv.term_id=rcta.term_id
) terms,
(select
 arm.name
 from
 ar_receipt_methods arm
 where
 arm.receipt_method_id=rcta.receipt_method_id
) receipt_method,
(select
 case itev.instrument_type
 when &apos;BANKACCOUNT&apos; then itev.account_number || &apos; / &apos; || itev.currency_code || &apos; / &apos; || itev.bank_name || &apos; / &apos; || itev.bank_branch_name
 when &apos;CREDITCARD&apos;  then itev.card_issuer_name || &apos; / &apos; || itev.card_number || &apos; / &apos; || itev.card_holder_name || &apos; / &apos; || itev.card_expiration_status
 else null
 end
 from
 iby_trxn_extensions_v itev
 where
 itev.trxn_extension_id=rcta.payment_trxn_extension_id
) payment_instrument,
--
apsa.amount_due_original trx_amount,
rcta.invoice_currency_code trx_currency,
(select
 gdct.user_conversion_type
 from
 gl_daily_conversion_types gdct
 where
 gdct.conversion_type=rcta.exchange_rate_type
) exchange_rate_type,
rcta.exchange_date exchange_rate_date,
rcta.exchange_rate,
(select
 gcck_rec.concatenated_segments
 from
 ra_cust_trx_line_gl_dist_all rctlgda_rec,
 gl_code_combinations_kfv gcck_rec
 where
 rctlgda_rec.customer_trx_id=rcta.customer_trx_id and
 rctlgda_rec.account_class=&apos;REC&apos; and
 rctlgda_rec.latest_rec_flag=&apos;Y&apos; and
 rctlgda_rec.code_combination_id=gcck_rec.code_combination_id
) receivables_account,
--
rctla.line_number,
initcap(rctla.line_type) line_type,
(select rctla2.line_number
 from
 ra_customer_trx_lines_all rctla2
 where
 rctla2.customer_trx_line_id=rctla.link_to_cust_trx_line_id
) link_to_line_number,
(select
 msiv.concatenated_segments
 from
 mtl_system_items_vl msiv
 where
 msiv.inventory_item_id=rctla.inventory_item_id and
 msiv.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;, rctla.org_id))
) line_item,
(select
 aml.name
 from
 ar_memo_lines_all_vl aml
 where
 aml.memo_line_id=rctla.memo_line_id
) line_standard_memo,
rctla.description line_description,
xxen_util.meaning(rctla.reason_code,case rctta.type when &apos;CM&apos; then &apos;CREDIT_MEMO_REASON&apos; else &apos;INVOICING_REASON&apos; end,222) line_reason,
(select
 muomv.unit_of_measure_tl
 from
 mtl_units_of_measure_vl muomv
 where
 muomv.uom_code=rctla.uom_code
) uom,
nvl(rctla.quantity_invoiced,
    rctla.quantity_credited
) quantity,
rctla.unit_selling_price unit_price,
rctla.extended_amount line_amount,
--
(select jrrev2.resource_name from jtf_rs_salesreps jrs2, jtf_rs_resource_extns_vl jrrev2 where rctlsa.salesrep_id=jrs2.salesrep_id and jrs2.org_id=rcta.org_id and jrs2.resource_id=jrrev2.resource_id) line_salesperson,
rctlsa.revenue_percent_split line_salescredit_revenue_pct,
rctlsa.revenue_amount_split line_salescredit_revenue_amt,
--
gcck.concatenated_segments distribution_account,
rctlgda.percent distribution_percent,
rctlgda.amount distribution_amount,
xxen_util.meaning(rctlgda.account_class,&apos;AUTOGL_TYPE&apos;,222) distribution_class,
--
(select
 rr.name
 from
 ra_rules rr
 where
 rr.type=&apos;I&apos; and
 rr.rule_id=rcta.invoicing_rule_id
) invoicing_rule,
(select
 rr.name
 from
 ra_rules rr
 where
 rr.type!=&apos;I&apos; and
 rr.rule_id=rctla.accounting_rule_id
) accounting_rule,
rctla.accounting_rule_duration rule_duration,
rctla.rule_start_date,
rctla.rule_end_date,
--
(select
 ofr.description
 from
 org_freight ofr
 where
 ofr.freight_code=rcta.ship_via and
 ofr.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;,rcta.org_id)) and
 rownum&lt;=1
) carrier,
rcta.ship_date_actual ship_date,
rcta.waybill_number shipping_reference,
xxen_util.meaning(rcta.fob_point,&apos;FOB&apos;,222) fob,
--
rctla.sales_order,
rctla.sales_order_line,
rctla.sales_order_date,
--
xxen_util.meaning(rctla.historical_flag,&apos;YES_NO&apos;,0) historical,
xxen_util.meaning(rctla.taxable_flag,&apos;YES_NO&apos;,0) taxable,
xxen_util.meaning(rctla.amount_includes_tax_flag,&apos;YES_NO&apos;,0) amount_includes_tax,
xxen_util.meaning(rctla.tax_exempt_flag,&apos;ZX_EXEMPTION_CONTROL&apos;,0) tax_handling,
rctla.tax_exempt_number,
xxen_util.meaning(rctla.tax_exempt_reason_code,&apos;ZX_EXEMPTION_REASON_CODE&apos;,0) tax_exempt_reason,
--
-- default taxation country
(select
 ft.territory_short_name
 from
 fnd_territories_vl ft
 where
 ft.territory_code=zldt.default_taxation_country
) default_taxation_country,
-- tax_classification
(select
  zocv.meaning
 from
  zx_output_classifications_v zocv
 where
  zocv.lookup_type=&apos;ZX_OUTPUT_CLASSIFICATIONS&apos; and
  zocv.lookup_code=rctla.tax_classification_code and
  (zocv.org_id=rctla.org_id or zocv.org_id=-99) and
  zocv.enabled_flag=&apos;Y&apos; and
  trunc(rcta.trx_date) between nvl(zocv.start_date_active, trunc(rcta.trx_date)) and nvl(zocv.end_date_active, trunc(rcta.trx_date)) and
  rownum&lt;=1
) tax_classification,
-- trx_business_category
(select
 zfbcv.classification_name
 from
 zx_fc_business_categories_v zfbcv
 where
 zfbcv.classification_code=zldt.trx_business_category and
 (zfbcv.country_code=zldt.default_taxation_country or zfbcv.country_code is null) and
 zfbcv.application_id=zldt.application_id and
 zfbcv.entity_code=zldt.entity_code and
 zfbcv.event_class_code=zldt.event_class_code and
 rownum&lt;=1
) trx_business_category,
-- product_fisc_classification
(select
 zfpfv.classification_name
 from
 zx_fc_product_fiscal_v zfpfv
 where
 zfpfv.classification_code=zldt.product_fisc_classification and
 zfpfv.country_code=zldt.default_taxation_country and
 rownum&lt;=1
) product_fisc_classification,
-- product_category
(select
 zfpcv.classification_name
 from
 zx_fc_product_categories_v zfpcv
 where
 zfpcv.classification_code=zldt.product_category and
 (zfpcv.country_code=zldt.default_taxation_country or zfpcv.country_code IS null) and
 rownum&lt;=1
) product_category,
-- product_type
(select
 zptv.classification_name
 from
 zx_product_types_v zptv
 where
 zptv.classification_code=zldt.product_type and
 rownum&lt;=1
) product_type,
-- line_intended_use
(select
 zfcv.classification_name
 from
 zx_fc_codes_vl zfcv
 where
 zfcv.classification_code=zldt.line_intended_use and
 zfcv.classification_type_code=&apos;INTENDED_USE&apos; and
 not exists
 (select
  null
  from
  zx_fc_types_b zftb
  where
  zftb.classification_type_code=zfcv.classification_type_code and
  zftb.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos;
 )
 union
 select
 mct.description
 from
 zx_fc_types_b zft,
 mtl_category_sets_b mcs,
 fnd_id_flex_structures_vl fifs,
 mtl_categories_b_kfv mc,
 mtl_categories_tl mct
 where
 zft.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos; and
 zft.classification_type_code=&apos;INTENDED_USE&apos; and
 mcs.category_set_id=zft.owner_id_num and
 fifs.id_flex_num=mcs.structure_id and
 mc.category_id=mct.category_id and
 mct.language=userenv (&apos;LANG&apos;) and
 mc.structure_id=fifs.id_flex_num and
 fifs.application_id=401 and
 fifs.id_flex_code=&apos;MCAT&apos; and
 mc.enabled_flag=&apos;Y&apos; and
 replace(mc.concatenated_segments,fifs.concatenated_segment_delimiter, &apos;&apos;)=zldt.line_intended_use and
 rownum&lt;=1
) intended_use,
--(select
-- zfudv.classification_name
-- from
-- zx_fc_user_defined_v zfudv
-- where
-- zfudv.classification_code=zldt.user_defined_fisc_class and
-- (zfudv.country_code=zldt.default_taxation_country or zfudv.country_code is null) and
-- rownum&lt;=1
--) user_defined_fisc_class,
--
zl.tax_regime_code,
zl.tax,
zl.tax_jurisdiction_code tax_jurisdiction,
zl.tax_status_code tax_status,
zl.tax_rate_code tax_rate_name,
zl.tax_rate,
--
rcta.internal_notes invoice_special_instructions,
rcta.comments invoice_comments,
-- interface header attributes
xxen_util.display_flexfield_context(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context) interface_header_context,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE1&apos;, rcta.rowid,rcta.interface_header_attribute1) ar_int_header_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE2&apos;, rcta.rowid,rcta.interface_header_attribute2) ar_int_header_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE3&apos;, rcta.rowid,rcta.interface_header_attribute3) ar_int_header_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE4&apos;, rcta.rowid,rcta.interface_header_attribute4) ar_int_header_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE5&apos;, rcta.rowid,rcta.interface_header_attribute5) ar_int_header_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE6&apos;, rcta.rowid,rcta.interface_header_attribute6) ar_int_header_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE7&apos;, rcta.rowid,rcta.interface_header_attribute7) ar_int_header_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE8&apos;, rcta.rowid,rcta.interface_header_attribute8) ar_int_header_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE9&apos;, rcta.rowid,rcta.interface_header_attribute9) ar_int_header_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE10&apos;,rcta.rowid,rcta.interface_header_attribute10) ar_int_header_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE11&apos;,rcta.rowid,rcta.interface_header_attribute11) ar_int_header_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE12&apos;,rcta.rowid,rcta.interface_header_attribute12) ar_int_header_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE13&apos;,rcta.rowid,rcta.interface_header_attribute13) ar_int_header_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE14&apos;,rcta.rowid,rcta.interface_header_attribute14) ar_int_header_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE15&apos;,rcta.rowid,rcta.interface_header_attribute15) ar_int_header_attribute15,
-- header dff
xxen_util.display_flexfield_context(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category) invoice_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE1&apos;, rcta.rowid,rcta.attribute1) ar_inv_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE2&apos;, rcta.rowid,rcta.attribute2) ar_inv_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE3&apos;, rcta.rowid,rcta.attribute3) ar_inv_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE4&apos;, rcta.rowid,rcta.attribute4) ar_inv_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE5&apos;, rcta.rowid,rcta.attribute5) ar_inv_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE6&apos;, rcta.rowid,rcta.attribute6) ar_inv_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE7&apos;, rcta.rowid,rcta.attribute7) ar_inv_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE8&apos;, rcta.rowid,rcta.attribute8) ar_inv_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE9&apos;, rcta.rowid,rcta.attribute9) ar_inv_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE10&apos;,rcta.rowid,rcta.attribute10) ar_inv_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE11&apos;,rcta.rowid,rcta.attribute11) ar_inv_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE12&apos;,rcta.rowid,rcta.attribute12) ar_inv_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE13&apos;,rcta.rowid,rcta.attribute13) ar_inv_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE14&apos;,rcta.rowid,rcta.attribute14) ar_inv_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE15&apos;,rcta.rowid,rcta.attribute15) ar_inv_attribute15,
-- line dff
xxen_util.display_flexfield_context(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category) line_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE1&apos;,  rctla.rowid,rctla.attribute1) ar_inv_line_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE2&apos;,  rctla.rowid,rctla.attribute2) ar_inv_line_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE3&apos;,  rctla.rowid,rctla.attribute3) ar_inv_line_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE4&apos;,  rctla.rowid,rctla.attribute4) ar_inv_line_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE5&apos;,  rctla.rowid,rctla.attribute5) ar_inv_line_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE6&apos;,  rctla.rowid,rctla.attribute6) ar_inv_line_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE7&apos;,  rctla.rowid,rctla.attribute7) ar_inv_line_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE8&apos;,  rctla.rowid,rctla.attribute8) ar_inv_line_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE9&apos;,  rctla.rowid,rctla.attribute9) ar_inv_line_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE10&apos;, rctla.rowid,rctla.attribute10) ar_inv_line_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE11&apos;, rctla.rowid,rctla.attribute11) ar_inv_line_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE12&apos;, rctla.rowid,rctla.attribute12) ar_inv_line_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE13&apos;, rctla.rowid,rctla.attribute13) ar_inv_line_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE14&apos;, rctla.rowid,rctla.attribute14) ar_inv_line_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE15&apos;, rctla.rowid,rctla.attribute15) ar_inv_line_attribute15,
-- distribution dff
xxen_util.display_flexfield_context(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category) dist_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE1&apos;,  rctlgda.rowid,rctlgda.attribute1) ar_inv_dist_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE2&apos;,  rctlgda.rowid,rctlgda.attribute2) ar_inv_dist_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE3&apos;,  rctlgda.rowid,rctlgda.attribute3) ar_inv_dist_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE4&apos;,  rctlgda.rowid,rctlgda.attribute4) ar_inv_dist_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE5&apos;,  rctlgda.rowid,rctlgda.attribute5) ar_inv_dist_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE6&apos;,  rctlgda.rowid,rctlgda.attribute6) ar_inv_dist_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE7&apos;,  rctlgda.rowid,rctlgda.attribute7) ar_inv_dist_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE8&apos;,  rctlgda.rowid,rctlgda.attribute8) ar_inv_dist_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE9&apos;,  rctlgda.rowid,rctlgda.attribute9) ar_inv_dist_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE10&apos;, rctlgda.rowid,rctlgda.attribute10) ar_inv_dist_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE11&apos;, rctlgda.rowid,rctlgda.attribute11) ar_inv_dist_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE12&apos;, rctlgda.rowid,rctlgda.attribute12) ar_inv_dist_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE13&apos;, rctlgda.rowid,rctlgda.attribute13) ar_inv_dist_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE14&apos;, rctlgda.rowid,rctlgda.attribute14) ar_inv_dist_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE15&apos;, rctlgda.rowid,rctlgda.attribute15) ar_inv_dist_attribute15,
null attachment_category_,
null attachment_title_,
null attachment_description_,
null attachment_type_,
null attachment_content_,
null attachment_file_id_
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ar_payment_schedules_all apsa,
ra_customer_trx_lines_all rctla,
ra_cust_trx_line_gl_dist_all rctlgda,
ra_cust_trx_line_salesreps_all rctlsa,
gl_code_combinations_kfv gcck,
ra_batch_sources_all rbsa,
ra_batches_all rba,
ra_cust_trx_types_all rctta,
hz_cust_accounts hca_b,
hz_parties hp_b,
hz_cust_site_uses_all hcsua_b,
hz_cust_acct_sites_all hcasa_b,
hz_party_sites hps_b,
hz_cust_accounts hca_s,
hz_parties hp_s,
hz_cust_site_uses_all hcsua_s,
hz_cust_acct_sites_all hcasa_s,
hz_party_sites hps_s,
hz_cust_accounts hca_sold,
hz_parties hp_sold,
zx_lines_det_factors zldt,
zx_lines zl
--
where
haouv.organization_id=rcta.org_id and
rcta.customer_trx_id=apsa.customer_trx_id and
rcta.customer_trx_id=rctla.customer_trx_id and
rctla.line_type in (&apos;LINE&apos;,&apos;FREIGHT&apos;,&apos;TAX&apos;) and
rctla.customer_trx_line_id=rctlgda.customer_trx_line_id and
rctlgda.account_class in (&apos;REV&apos;,&apos;FREIGHT&apos;,&apos;TAX&apos;) and
rctlgda.code_combination_id=gcck.code_combination_id and
rctla.customer_trx_id = rctlsa.customer_trx_id and
rctla.customer_trx_line_id = rctlsa.customer_trx_line_id and
--
rcta.batch_source_id=rbsa.batch_source_id (+) and
rcta.org_id=rbsa.org_id (+) and
rcta.batch_id=rba.batch_id (+) and
rcta.org_id=rba.org_id (+) and
rcta.cust_trx_type_id=rctta.cust_trx_type_id and
rcta.org_id=rctta.org_id and
rcta.bill_to_customer_id=hca_b.cust_account_id and
hca_b.party_id=hp_b.party_id and
rcta.bill_to_site_use_id=hcsua_b.site_use_id and
hcsua_b.cust_acct_site_id=hcasa_b.cust_acct_site_id and
hcasa_b.party_site_id=hps_b.party_site_id and
rcta.ship_to_customer_id=hca_s.cust_account_id(+) and
hca_s.party_id=hp_s.party_id(+) and
rcta.ship_to_site_use_id=hcsua_s.site_use_id (+) and
hcsua_s.cust_acct_site_id=hcasa_s.cust_acct_site_id (+) and
hcasa_s.party_site_id=hps_s.party_site_id (+) and
rcta.sold_to_customer_id=hca_sold.cust_account_id(+) and
hca_sold.party_id=hp_sold.party_id(+) and
--
rctla.customer_trx_id=zldt.trx_id (+) and
rctla.customer_trx_line_id=zldt.trx_line_id (+) and
zldt.application_id (+)=222 and
zldt.entity_code (+)=&apos;TRANSACTIONS&apos; and
zldt.line_level_action (+) NOT IN (&apos;CANCEL&apos;,&apos;DISCARD&apos;,&apos;DELETE&apos;) and
--
case when rctla.line_type=&apos;TAX&apos; then rctla.tax_line_id end=zl.tax_line_id (+) and
--
:p_operating_unit=:p_operating_unit and
:p_source=:p_source and
nvl(:p_default_trx_type,&apos;?&apos;)=nvl(:p_default_trx_type,&apos;?&apos;) and
nvl(:p_default_gl_date,sysdate)=nvl(:p_default_gl_date,sysdate) and
nvl(:p_default_trx_date,sysdate)=nvl(:p_default_trx_date,sysdate) and
nvl(:p_default_trx_curr,&apos;?&apos;)=nvl(:p_default_trx_curr,&apos;?&apos;) and
nvl(:p_default_exch_rate_type,&apos;?&apos;)=nvl(:p_default_exch_rate_type,&apos;?&apos;) and
nvl(:p_use_salespersons,&apos;?&apos;)=nvl(:p_use_salespersons,&apos;?&apos;) and
nvl(:p_historical_load,&apos;?&apos;)=nvl(:p_historical_load,&apos;?&apos;) and
nvl(:p_derive_batch_source_applied,&apos;?&apos;)=nvl(:p_derive_batch_source_applied,&apos;?&apos;) and
nvl(:p_credit_method_rules,&apos;?&apos;)=nvl(:p_credit_method_rules,&apos;?&apos;) and
nvl(:p_credit_method_installments,&apos;?&apos;)=nvl(:p_credit_method_installments,&apos;?&apos;) and
1=0</SQL_TEXT>
  <TYPE>U</TYPE>
  <UPLOAD_TYPE>A</UPLOAD_TYPE>
  <UPLOAD_OBJECT>xxen_ar_upload.upload_ar_invoice</UPLOAD_OBJECT>
  <UPLOAD_POST_PROCEDURE>xxen_ar_upload.submit_ar_inv_import</UPLOAD_POST_PROCEDURE>
  <UPLOAD_EXCEL_VALIDATION>xxen_ar_upload.validate_ar_inv_excel_row
(pl_line_type=&gt;:$column$.line_type
,pl_link_to_line_number=&gt;:$column$.link_to_line_number
,pl_quantity_invoiced=&gt;:$column$.quantity
,pl_amount=&gt;:$column$.line_amount
,pl_unit_selling_price=&gt;:$column$.unit_price
,pl_tax_regime_code=&gt;:$column$.tax_regime_code
,pl_tax=&gt;:$column$.tax
,pl_tax_status_code=&gt;:$column$.tax_status
,pl_tax_rate_code=&gt;:$column$.tax_rate_name
,pl_tax_rate=&gt;:$column$.tax_rate
,pl_operating_unit=&gt;:$column$.operating_unit
,pl_salesperson=&gt;:$column$.salesperson
,pl_credit_against_transaction=&gt;:$column$.credit_against_transaction
,pl_bill_to_customer_name=&gt;:$column$.bill_to_customer_name
,pl_bill_to_site=&gt;:$column$.bill_to_site
,pl_credit_against_line=&gt;:$column$.credit_against_line
,pl_credit_line_amount=&gt;:$column$.credit_line_amount
,pl_credit_tax_amount=&gt;:$column$.credit_tax_amount
,pl_credit_freight_amount=&gt;:$column$.credit_freight_amount
 )</UPLOAD_EXCEL_VALIDATION>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>AR Transaction Upload</REPORT_NAME>
    <DESCRIPTION>This upload can be used to create Invoices, Debit Memos and Credit Memos. Credit memos can be created On Account, or created and applied directly to an existing transaction (an applied credit memo).

The &apos;Upload Trx Identifier&apos; column is used to uniquely identify each individual transaction (invoice, credit memo, debit memo) to be uploaded.
If the selected batch source uses manual transaction numbering, the Upload Trx Identifier will be copied to the Transaction Number column (the Oracle Transaction Number), but this can be overridden in the upload excel.
If the selected transaction type uses a Manual Document Sequence, the Upload Trx Identifier will be used as the Document Sequence Value in Oracle.

The upload supports the entry of
- Standard Invoice Lines
- Manual Tax Lines (if permitted)
- Header Level Freight Lines (if permitted) – identified by leaving the Link to Line Number null
- Line Level Freight Lines (if permitted) – identified by populating the Link to Line Number column

For Tax Lines, and Line level Freight Lines, use the Link to Line Number to identify the Invoice Line to which the Tax Line or Freight Line should be linked. Tax Lines must be linked to a standard invoice line.

Note. Tax Lines and Line level Freight Lines must occur after the row containing the invoice line to which they will be linked, although it does not need to be immediately following.

- A Quantity and Unit Price must be specified for standard invoice lines. The upload will calculate the line amount.
- You can specify a quantity and unit price for a freight line in which case the upload will calculate the line amount, or you enter the line amount directly. Only the amount is uploaded to Oracle.
- For manual Tax Lines, you can enter the line amount directly. If left blank, the upload will calculate the amount based on the selected Tax Rate and the line amount from the linked standard invoice.

For Manual Tax Lines you must specify the Tax Regime, Tax, Tax Jurisdiction, Tax Status, Tax Rate Name, and Tax Rate columns.

Applied Credit Memos
To create a credit memo and apply it to an existing transaction in one step, populate the Credit Against Transaction column with the transaction to be credited.  A Credit Memo Reason is required for an applied credit memo.

The Transaction Type and Transaction Date are derived automatically from the credited invoice and are informational on this flow. The Transaction Type list shows only the credit memo type linked to the credited invoice&apos;s transaction type, and the Transaction Date defaults to the later of today and the credited invoice&apos;s date.

You can credit the invoice at header level or at line level.

Header level – leave the Credit Against Line column blank.
- Leave Credit Line Amount, Credit Tax Amount and Credit Freight Amount blank to credit the full outstanding balance of the invoice.
- Or enter negative Credit Line, Credit Tax and/or Credit Freight Amounts to credit part of the invoice.

Line level – populate the Credit Against Line column.
- Enter one row per invoice line to be credited, identifying the line in the Credit Against Line column.
- A negative Credit Line Amount is required for each credited line. It defaults to the full line amount; edit it for a partial line credit.
- Credit Tax Amount and Credit Freight Amount are not used at line level. Credit tax and freight using a header level credit, or let the credit method spread the tax automatically.

The report parameters Credit Method for Rules and Credit Method for Installments control how the credit is applied across accounting rule periods and payment schedules.</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>:p_credit_method_installments</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_credit_method_rules</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_default_exch_rate_type</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_default_gl_date</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_default_trx_curr</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_default_trx_date</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_default_trx_type</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_derive_batch_source_applied</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_historical_load</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_operating_unit</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_source</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_use_salespersons</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:p_operating_unit</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>HR Operating Unit</LOV_NAME>
    <LOV_GUID>8E2FF36EDEB979D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hou.name value,
null description
from
hr_operating_units hou
where
sysdate between hou.date_from and nvl(hou.date_to,sysdate) and
(:$flex$.ledger is null or hou.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
hou.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
order by
hou.name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>coalesce(xxen_util.default_operating_unit,xxen_util.previous_parameter_value(:parameter_id))</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_source</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rbsa.name value,
rbsa.description || &apos; (Auto Trx Numbering: &apos; || xxen_util.meaning(nvl(rbsa.auto_trx_numbering_flag,&apos;N&apos;),&apos;YES_NO&apos;,0) || &apos;)&apos; description
from 
hr_all_organization_units_vl haouv,
ra_batch_sources_all rbsa
where
haouv.name=:$flex$.operating_unit and
haouv.organization_id=rbsa.org_id and
rbsa.status=&apos;A&apos; and
rbsa.start_date&lt;=sysdate
order by 
value 
</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select rbsa.name from ra_batch_sources_all rbsa where rbsa.batch_source_id=fnd_profile.value(&apos;AR_RA_BATCH_SOURCE&apos;) and rbsa.org_id=fnd_profile.value(&apos;ORG_ID&apos;)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Source</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>:p_default_trx_type</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rctta.name value,
nvl(flvv.meaning,rctta.type)||&apos;: &apos;||haouv.name description
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta,
fnd_lookup_values_vl flvv
where
haouv.name=:$flex$.operating_unit and
haouv.organization_id=rctta.org_id and
nvl(rctta.status,&apos;A&apos;)=&apos;A&apos; and
rctta.start_date&lt;=sysdate and
rctta.type in (&apos;INV&apos;,&apos;CM&apos;,&apos;DM&apos;) and
rctta.type=flvv.lookup_code(+) and
flvv.lookup_type(+)=&apos;INV/CM/ADJ&apos; and
flvv.view_application_id(+)=222 and
flvv.security_group_id(+)=0
order by
rctta.name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
rctta.name
from
hr_all_organization_units_vl haouv,
ra_batch_sources_all rbsa,
ra_cust_trx_types_all rctta
where
haouv.name=:$flex$.operating_unit and
haouv.organization_id=rbsa.org_id and
rbsa.name=:$flex$.source and
rbsa.status=&apos;A&apos; and
rbsa.start_date&lt;=sysdate and
rbsa.default_inv_trx_type=rctta.cust_trx_type_id and
rbsa.org_id=rctta.org_id and
nvl(rctta.status,&apos;A&apos;)=&apos;A&apos; and
rctta.start_date&lt;=sysdate and
rctta.type in (&apos;INV&apos;,&apos;CM&apos;,&apos;DM&apos;)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Default Transaction Type</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>:p_default_trx_curr</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>FND Currency</LOV_NAME>
    <LOV_GUID>8E2FF36EDE9079D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fcv.currency_code value,
fcv.description
from
fnd_currencies_vl fcv
where
fcv.enabled_flag=&apos;Y&apos;
order by
fcv.currency_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
gl.currency_code
from
hr_operating_units hou,
gl_ledgers gl
where
hou.name=:$flex$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Default Transaction Currency</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>:p_default_exch_rate_type</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
gdct.user_conversion_type id,
gdct.user_conversion_type value,
gdct.description
from
gl_daily_conversion_types gdct
where
:$flex$.default_transaction_currency is not null and
:$flex$.default_transaction_currency !=
(select
gl.currency_code
from
hr_operating_units hou,
gl_ledgers gl
where
hou.name=:$flex$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id)
)
order by
gdct.user_conversion_type</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Exchange Rate Type</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>:p_default_trx_date</ANCHOR>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>trunc(sysdate)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Default Transaction Date</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>:p_default_gl_date</ANCHOR>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select
least(max(gps.end_date),trunc(sysdate))
from
hr_operating_units hou,
gl_ledgers gl,
gl_period_statuses gps
where
hou.name=:$flex$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id) and
gl.ledger_id=gps.ledger_id and
gps.application_id=222 and
gps.adjustment_period_flag=&apos;N&apos; and
gps.closing_status=&apos;O&apos;</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Default GL Date</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>8</SORT_ORDER>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <ANCHOR>:p_use_salespersons</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <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; and
(lookup_code = &apos;Y&apos; or
 (select aspa.salesrep_required_flag from hr_all_organization_units_vl haouv, ar_system_parameters_all aspa where aspa.org_id=haouv.organization_id and haouv.name=:$flex$.Operating_Unit) = &apos;N&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>Use SalesPersons</PARAMETER_NAME>
      <DESCRIPTION>Only applies when System Options Require Saleperson is set to No. (Yes)  the upload will attempt to default the SalesPerson for the Invoice. (No) the invoice will be created with no Salesperson.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>9</SORT_ORDER>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <ANCHOR>:p_derive_batch_source_applied</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <DEFAULT_VALUE>Y</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Derive Applied CM Batch Source</PARAMETER_NAME>
      <DESCRIPTION>Only applies when creating applied credit memos.
When Yes, the credit memo batch source is derived from the credited invoice (its transaction type&apos;s credit memo batch source, otherwise the invoice&apos;s own batch source), falling back to the Source parameter.
When left blank, the Source parameter is always used. 
This can be overridden per row using the Applied Credit Batch Source column.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>10</SORT_ORDER>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <ANCHOR>:p_credit_method_rules</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flv.lookup_code id,
flv.meaning value,
flv.description
from
fnd_lookup_values_vl flv
where
flv.lookup_type=&apos;CREDIT_METHOD_FOR_RULES&apos; and
flv.security_group_id=0 and
flv.enabled_flag=&apos;Y&apos;
order by
flv.meaning</LOV_QUERY_DSP>
    <DEFAULT_VALUE>PRORATE</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Credit Method for Rules</PARAMETER_NAME>
      <DESCRIPTION>Only applies when creating applied credit memos.
Determines how the credit is spread when the credited invoice uses invoicing or accounting rules (LIFO, PRORATE or UNIT).
If blank the default value of PRORATE is used.
Ignored for invoices without rules.
</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>11</SORT_ORDER>
    <DISPLAY_SEQUENCE>110</DISPLAY_SEQUENCE>
    <ANCHOR>:p_credit_method_installments</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV custom</PARAMETER_TYPE_DSP>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flv.lookup_code id,
flv.meaning value,
flv.description
from
fnd_lookup_values_vl flv
where
flv.lookup_type=&apos;CREDIT_METHOD_FOR_INSTALLMENTS&apos; and
flv.security_group_id=0 and
flv.enabled_flag=&apos;Y&apos;
order by
flv.meaning</LOV_QUERY_DSP>
    <DEFAULT_VALUE>LIFO</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Credit Method for Installments</PARAMETER_NAME>
      <DESCRIPTION>Only applies when creating applied credit memos.
Determines how the credit is spread across installments when the credited invoice has split payment terms (LIFO, FIFO or PRORATE).
If blank the default value of LIFO is used.
Ignored for single-installment invoices.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>12</SORT_ORDER>
    <DISPLAY_SEQUENCE>120</DISPLAY_SEQUENCE>
    <ANCHOR>:p_historical_load</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>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Historical Transaction Load?</PARAMETER_NAME>
      <DESCRIPTION>Set to Yes if loading historical transactions for which no tax should be calculated. The EBTAX rules engine is bypassed for historical transactions.</DESCRIPTION>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
   <TEMPLATES_ROW>
    <GUID>55497302D7E35951E0630100007F6CBF</GUID>
    <TEMPLATE_NAME>Applied Credit Memo</TEMPLATE_NAME>
    <OWNER>ERIC.CLEGG</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>-11.0012</DISPLAY_SEQUENCE>
      <COLUMN_NAME>AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>APPLIED_CREDIT_BATCH_SOURCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_CATEGORY_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_CONTENT_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_DESCRIPTION_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_FILE_ID_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_TITLE_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_TYPE_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_ADDRESS</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NAME</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NUMBER</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_SITE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CREDIT_AGAINST_LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CREDIT_AGAINST_TRANSACTION</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CREDIT_FREIGHT_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CREDIT_LINE_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CREDIT_MEMO_REASON</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CREDIT_TAX_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_ACCOUNT</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_AMOUNT</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_CLASS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_PERCENT</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_DATE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_TYPE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GL_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_AMOUNT</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_ITEM</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_NUMBER</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_REASON</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_STANDARD_MEMO</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINK_TO_LINE_NUMBER</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
      <COLUMN_NAME>QUANTITY</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REFERENCE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALESPERSON</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_AMOUNT</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CLASS</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CURRENCY</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_DATE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_TYPE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UNIT_PRICE</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UOM</COLUMN_NAME>
      <READ_ONLY>Y</READ_ONLY>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UPLOAD_TRX_IDENTIFIER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Historical Transaction Load?</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>0E59E804A56D1A42203B4E5B57FFCF4D</GUID>
    <TEMPLATE_NAME>Default</TEMPLATE_NAME>
    <OWNER>ERIC.CLEGG</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ACCOUNTING_RULE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
      <COLUMN_NAME>AMOUNT_INCLUDES_TAX</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_ADDRESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_SITE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CARRIER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>57</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DEFAULT_TAXATION_COUNTRY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_CLASS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_PERCENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FOB</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GL_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>63</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INTENDED_USE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>71</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_COMMENTS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_SPECIAL_INSTRUCTIONS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICING_RULE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_NUMBER</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30.5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_STANDARD_MEMO</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINK_TO_LINE_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PAYMENT_INSTRUMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>61</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_FISC_CLASSIFICATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>62</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17.1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17.3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17.2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER_REVISION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
      <COLUMN_NAME>QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RECEIPT_METHOD</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RECEIVABLES_ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_DURATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_END_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_START_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALESPERSON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER_LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIPPING_REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_ADDRESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_CUSTOMER_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_SITE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOLD_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>65</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>58</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_CLASSIFICATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_EXEMPT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_EXEMPT_REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_HANDLING</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>66</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_JURISDICTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>69</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_RATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>68</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_RATE_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>64</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_REGIME_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>67</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TERMS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>59</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_BUSINESS_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CLASS</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CURRENCY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_DATE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_TYPE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UNIT_PRICE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UPLOAD_TRX_IDENTIFIER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Credit Method for Installments</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Credit Method for Rules</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Derive Applied CM Batch Source</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Historical Transaction Load?</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>8F6B00D60D02426F95AA8B29F205D9B5</GUID>
    <TEMPLATE_NAME>Default (with attachment)</TEMPLATE_NAME>
    <OWNER>ENGINATICS</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ACCOUNTING_RULE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>57</DISPLAY_SEQUENCE>
      <COLUMN_NAME>AMOUNT_INCLUDES_TAX</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>76</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_CATEGORY_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_CONTENT_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>78</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_DESCRIPTION_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>81</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_FILE_ID_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>77</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_TITLE_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>79</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ATTACHMENT_TYPE_</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_ADDRESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_SITE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CARRIER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>61</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DEFAULT_TAXATION_COUNTRY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_CLASS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_PERCENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FOB</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GL_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>67</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INTENDED_USE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>75</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_COMMENTS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>74</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_SPECIAL_INSTRUCTIONS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICING_RULE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_NUMBER</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_STANDARD_MEMO</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINK_TO_LINE_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PAYMENT_INSTRUMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>65</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>64</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_FISC_CLASSIFICATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>66</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER_REVISION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
      <COLUMN_NAME>QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RECEIPT_METHOD</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RECEIVABLES_ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_DURATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_END_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_START_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALESPERSON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER_LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIPPING_REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_ADDRESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_CUSTOMER_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_SITE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOLD_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>69</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>62</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_CLASSIFICATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>59</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_EXEMPT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_EXEMPT_REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>58</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_HANDLING</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_JURISDICTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>73</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_RATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>72</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_RATE_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>68</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_REGIME_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>71</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TERMS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>63</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_BUSINESS_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CLASS</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CURRENCY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_DATE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_TYPE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UNIT_PRICE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UPLOAD_TRX_IDENTIFIER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
    </TEMPLATE_PIVOT>
    <TEMPLATE_SHARED_STRINGS>
    </TEMPLATE_SHARED_STRINGS>
    <TEMPLATE_PARAMETER_DEFAULTS>
    </TEMPLATE_PARAMETER_DEFAULTS>
    <TEMPLATE_STYLES>
    </TEMPLATE_STYLES>
    <TEMPLATE_SHARING>
     <TEMPLATE_SHARING_ROW>
      <SHARING_LEVEL>S</SHARING_LEVEL>
      <LEVEL_VALUE>Site</LEVEL_VALUE>
     </TEMPLATE_SHARING_ROW>
    </TEMPLATE_SHARING>
    <PARAMETER_EXCLUSION>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Credit Method for Installments</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Credit Method for Rules</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Derive Applied CM Batch Source</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Historical Transaction Load?</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
   <TEMPLATES_ROW>
    <GUID>0386CF0A1236AE5E7755F27B12F0288D</GUID>
    <TEMPLATE_NAME>Historical Transactions Upload</TEMPLATE_NAME>
    <DESCRIPTION>Upload historical transactions with no tax calculation. EBTAX rules engine is bypassed for the uploaded transactions</DESCRIPTION>
    <OWNER>ERIC.CLEGG</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ACCOUNTING_RULE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
      <COLUMN_NAME>AMOUNT_INCLUDES_TAX</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_ADDRESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_CUSTOMER_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>BILL_TO_SITE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CARRIER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>57</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DEFAULT_TAXATION_COUNTRY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_CLASS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
      <COLUMN_NAME>DISTRIBUTION_PERCENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
      <COLUMN_NAME>EXCHANGE_RATE_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
      <COLUMN_NAME>FOB</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>GL_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>72</DISPLAY_SEQUENCE>
      <COLUMN_NAME>HISTORICAL</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>63</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INTENDED_USE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>71</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_COMMENTS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_SPECIAL_INSTRUCTIONS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICING_RULE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_ITEM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_NUMBER</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>30.5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_STANDARD_MEMO</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
      <COLUMN_NAME>LINK_TO_LINE_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PAYMENT_INSTRUMENT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>61</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_FISC_CLASSIFICATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>62</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PRODUCT_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17.1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17.3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17.2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>PURCHASE_ORDER_REVISION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
      <COLUMN_NAME>QUANTITY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RECEIPT_METHOD</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RECEIVABLES_ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_DURATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_END_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
      <COLUMN_NAME>RULE_START_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALESPERSON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SALES_ORDER_LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIPPING_REFERENCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_DATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_ADDRESS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_CUSTOMER_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SHIP_TO_SITE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOLD_TO_CUSTOMER_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>65</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>58</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_CLASSIFICATION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_EXEMPT_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_EXEMPT_REASON</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_HANDLING</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>66</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_JURISDICTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>69</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_RATE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>68</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_RATE_NAME</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>64</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_REGIME_CODE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>67</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TAX_STATUS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TERMS</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>59</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_BUSINESS_CATEGORY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CLASS</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_CURRENCY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_DATE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_TYPE</COLUMN_NAME>
      <REQUIRED>Y</REQUIRED>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UNIT_PRICE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UOM</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UPLOAD_TRX_IDENTIFIER</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>Historical Transaction Load?</PARAMETER_NAME>
      <DEFAULT_VALUE>Y</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_ROW>
      <PARAMETER_NAME>Credit Method for Installments</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Credit Method for Rules</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
     <PARAMETER_EXCLUSION_ROW>
      <PARAMETER_NAME>Derive Applied CM Batch Source</PARAMETER_NAME>
     </PARAMETER_EXCLUSION_ROW>
    </PARAMETER_EXCLUSION>
   </TEMPLATES_ROW>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
   <DEFAULT_TEMPLATES_ROW>
    <USER_NAME>ERIC.CLEGG</USER_NAME>
    <TEMPLATE_GUID>55497302D7E35951E0630100007F6CBF</TEMPLATE_GUID>
   </DEFAULT_TEMPLATES_ROW>
   <DEFAULT_TEMPLATES_ROW>
    <TEMPLATE_GUID>0E59E804A56D1A42203B4E5B57FFCF4D</TEMPLATE_GUID>
   </DEFAULT_TEMPLATES_ROW>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>1</COLUMN_NUMBER>
    <COLUMN_NAME>ACTION_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>2</COLUMN_NUMBER>
    <COLUMN_NAME>STATUS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>3</COLUMN_NUMBER>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>4</COLUMN_NUMBER>
    <COLUMN_NAME>REQUEST_ID_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>5</COLUMN_NUMBER>
    <COLUMN_NAME>MODIFIED_COLUMNS_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>6</COLUMN_NUMBER>
    <COLUMN_NAME>UPLOAD_ROW</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>7</COLUMN_NUMBER>
    <COLUMN_NAME>USE_SALESPERSONS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>:$flex$.Use_SalesPersons</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>8</COLUMN_NUMBER>
    <COLUMN_NAME>DERIVE_APPLIED_CM_BATCH_SOURCE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>nvl(:$flex$.derive_applied_cm_batch_source,&apos;N&apos;)</DEFAULT_VALUE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>9</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_METHOD_FOR_RULES</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>nvl(:$flex$.credit_method_for_rules,&apos;PRORATE&apos;)</DEFAULT_VALUE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>10</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_METHOD_FOR_INSTALLMENTS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DEFAULT_VALUE>nvl(:$flex$.credit_method_for_installments,&apos;LIFO&apos;)</DEFAULT_VALUE>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>11</COLUMN_NUMBER>
    <COLUMN_NAME>P_TRX_IDX</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>12</COLUMN_NUMBER>
    <COLUMN_NAME>P_LINE_IDX</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>13</COLUMN_NUMBER>
    <COLUMN_NAME>P_DIST_IDX</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>14</COLUMN_NUMBER>
    <COLUMN_NAME>P_SCRED_IDX</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>15</COLUMN_NUMBER>
    <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <LOV_NAME>HR Operating Unit for Upload</LOV_NAME>
    <LOV_GUID>F263DDA3FBF60F8FE0530100007F75CD</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hou.organization_id id,
hou.name value,
null description
from
hr_operating_units hou
where
sysdate between hou.date_from and nvl(hou.date_to,sysdate) and
(:$flex$.operating_unit is null or hou.name=:$flex$.operating_unit) and
(:$flex$.ledger is null or hou.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
hou.organization_id in (select mgoat.organization_id from mo_glob_org_access_tmp mgoat union select fnd_global.org_id from dual where fnd_release.major_version=11)
order by
hou.name</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
hou.organization_id id,
hou.name value
from
hr_operating_units hou</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>:$flex$.operating_unit</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>16</COLUMN_NUMBER>
    <COLUMN_NAME>SOURCE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>50</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rbsa.name value,
rbsa.description description
from 
hr_all_organization_units_vl haouv,
ra_batch_sources_all rbsa
where
haouv.name=:$flex$.operating_unit and
haouv.organization_id=rbsa.org_id and
rbsa.status=&apos;A&apos; and
rbsa.start_date&lt;=sysdate
order by 
value 
</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
rbsa.batch_source_id id,
rbsa.name value
from
hr_all_organization_units_vl haouv,
ra_batch_sources_all rbsa
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rbsa.org_id</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>:$flex$.source</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>17</COLUMN_NUMBER>
    <COLUMN_NAME>DEFAULT_GL_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <DEFAULT_VALUE>:$flex$.default_gl_date</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
    <HIDDEN>Y</HIDDEN>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>18</COLUMN_NUMBER>
    <COLUMN_NAME>UPLOAD_TRX_IDENTIFIER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <COMMENTS>Uniquely identifies each Transaction in the Upload. 

If you use Manual Document Sequence Values, the Unique Trx Identifier is the Invoice Document Sequence Value and must be numeric.

If you use Automatic Document Sequence Values, and you are using Manual Transaction (Invoice) Numbers, then you can enter the Transaction Number here.

In all other this can be any unique identifier for the transaction.
</COMMENTS>
    <REQUIRED>Y</REQUIRED>
    <GROUP_VALIDATION>Y</GROUP_VALIDATION>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>19</COLUMN_NUMBER>
    <COLUMN_NAME>REFERENCE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>150</DATA_LENGTH>
    <COMMENTS>Maps to the Reference field on the AR Transactions Header (RA_CUSTOMER_TRX_ALL.CT_REFERENCE).

The AR API populates the Reference indirectly via the Interface Header Attribute column pointed to by the batch source&apos;s Reference Field Default Value.

When Reference is populated, the upload routes the value into the matching Interface Header Attribute column for the row&apos;s batch source. If the matching Interface Header Attribute column is also populated with a different value on the same row, the row is rejected with a clear error - populate only one of the two columns.

If the batch source has no Reference Field Default Value configured, Reference cannot be applied and the row is rejected. Configure the Reference Field Default Value in the batch source to resolve this error.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>20</COLUMN_NUMBER>
    <COLUMN_NAME>BILL_TO_CUSTOMER_NAME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>360</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
hp.party_name value,
hca.account_number||&apos; (&apos;||initcap(hp.party_type)||&apos;)&apos;  description
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.status=&apos;A&apos; and
hca.account_number=nvl(:$column$.bill_to_customer_number,hca.account_number) and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos;
)
order by
hp.party_name,
hca.account_number</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
hp.party_name
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.account_number=:$column$.bill_to_customer_number and
hca.status=&apos;A&apos; and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos;
)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>21</COLUMN_NUMBER>
    <COLUMN_NAME>BILL_TO_CUSTOMER_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hca.account_number value,
hp.party_name description
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hp.party_name=nvl(:$column$.bill_to_customer_name,hp.party_name) and
hca.status=&apos;A&apos; and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos;
)
order by
hca.account_number</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
hca.account_number
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number = nvl(:$column$.bill_to_customer_number,hca.account_number) and
hca.status=&apos;A&apos; and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit
)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>22</COLUMN_NUMBER>
    <COLUMN_NAME>BILL_TO_SITE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>40</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hcsua.location value,
hz_format_pub.format_address(hps.location_id,null,null,&apos;, &apos;) || case when hcsua.primary_flag=&apos;Y&apos; then &apos; (Primary)&apos; end  description
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number
order by
hcsua.location</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
hcsua.site_use_id id,
hcsua.location value
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.org_id=haouv.organization_id and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number and
haouv.name=:$column$.operating_unit</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
hcsua.location
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
hcsua.primary_flag=&apos;Y&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>23</COLUMN_NUMBER>
    <COLUMN_NAME>BILL_TO_ADDRESS</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
hz_format_pub.format_address(hps.location_id,null,null,&apos;, &apos;) value,
null description
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number and
hcsua.location=:$column$.bill_to_site
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
hz_format_pub.format_address(hps.location_id,null,null,&apos;, &apos;)
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number and
hcsua.location=:$column$.bill_to_site</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>24</COLUMN_NUMBER>
    <COLUMN_NAME>SHIP_TO_CUSTOMER_NAME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>360</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
hp.party_name value,
hca.account_number||&apos; (&apos;||initcap(hp.party_type)||&apos;)&apos;  description
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.status=&apos;A&apos; and
hca.account_number=nvl(:$column$.ship_to_customer_number,hca.account_number) and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos;
)
order by
hp.party_name,
hca.account_number</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
hp.party_name
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.account_number=:$column$.ship_to_customer_number and
hca.status=&apos;A&apos; and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos;
)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>25</COLUMN_NUMBER>
    <COLUMN_NAME>SHIP_TO_CUSTOMER_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hca.account_number value,
hp.party_name description
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hp.party_name=nvl(:$column$.ship_to_customer_name,hp.party_name) and
hca.status=&apos;A&apos; and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos;
)
order by
hca.account_number</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
hca.account_number
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number = nvl(:$column$.ship_to_customer_number,hca.account_number) and
hca.status=&apos;A&apos; and
exists
(
select
null
from
hr_all_organization_units_vl haouv,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua 
where
hca.cust_account_id=hcasa.cust_account_id and
haouv.name=:$column$.operating_unit and
haouv.organization_id=hcasa.org_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos;
)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>26</COLUMN_NUMBER>
    <COLUMN_NAME>SHIP_TO_SITE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>40</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
hcsua.location value,
hz_format_pub.format_address(hps.location_id,null,null,&apos;, &apos;) || case when hcsua.primary_flag=&apos;Y&apos; then &apos; (Primary)&apos; end  description
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number
order by
hcsua.location</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
hcsua.site_use_id id,
hcsua.location value
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.org_id=haouv.organization_id and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number and
haouv.name=:$column$.operating_unit</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
hcsua.location
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos; and
hcsua.primary_flag=&apos;Y&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>27</COLUMN_NUMBER>
    <COLUMN_NAME>SHIP_TO_ADDRESS</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
hz_format_pub.format_address(hps.location_id,null,null,&apos;, &apos;) value,
null description
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number and
hcsua.location=:$column$.ship_to_site
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
hz_format_pub.format_address(hps.location_id,null,null,&apos;, &apos;)
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number and
hcsua.location=:$column$.ship_to_site</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>28</COLUMN_NUMBER>
    <COLUMN_NAME>SOLD_TO_CUSTOMER_NAME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>360</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
hp.party_name value,
hca.account_number||&apos; (&apos;||initcap(hp.party_type)||&apos;)&apos;  description
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.status=&apos;A&apos;</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
hca.cust_account_id id,
hp.party_name value
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.status=&apos;A&apos;</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>29</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_AGAINST_TRANSACTION</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
rcta.customer_trx_id id,
rcta.trx_number value,
hp.party_name||&apos; / &apos;||to_char(apsa.amount_due_remaining)||&apos; &apos;||rcta.invoice_currency_code description
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ra_cust_trx_types_all rctta,
ar_payment_schedules_all apsa,
hz_cust_accounts hca,
hz_parties hp
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.complete_flag=&apos;Y&apos; and
rcta.cust_trx_type_id=rctta.cust_trx_type_id and
rctta.org_id=rcta.org_id and
rctta.type=&apos;INV&apos; and
rcta.customer_trx_id=apsa.customer_trx_id and
apsa.class=&apos;INV&apos; and
apsa.amount_due_remaining&gt;0 and
rcta.bill_to_customer_id=hca.cust_account_id and
hca.party_id=hp.party_id and
hp.party_name=:$column$.bill_to_customer_name and
(:$column$.bill_to_site is null or exists (select null from hz_cust_site_uses_all hcsua, hz_cust_acct_sites_all hcasa where hcsua.site_use_id=rcta.bill_to_site_use_id and hcsua.cust_acct_site_id=hcasa.cust_acct_site_id and hcsua.location=:$column$.bill_to_site))
order by
rcta.trx_number</LOV_QUERY_DSP>
    <COMMENTS>Populate to create a credit memo applied to this invoice (routes the row to the Applied Credit Memo flow). The list is restricted to open, completed standard invoices for the selected Bill To Customer / Site.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>30</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_AGAINST_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
rctla.customer_trx_line_id id,
to_char(rctla.line_number) value,
initcap(rctla.line_type)||&apos;: &apos;||nvl(rctla.description,to_char(rctla.extended_amount)) description
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ra_customer_trx_lines_all rctla
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
rcta.customer_trx_id=rctla.customer_trx_id and
rctla.line_type=&apos;LINE&apos;
order by
rctla.line_number</LOV_QUERY_DSP>
    <COMMENTS>Populate for a line-level credit - one row per invoice Line, with the Credit Line Amount defaulting to the negative line amount (edit for a partial line credit).

Lists Line-type items only. Credit tax or freight using the header-level Credit Tax / Credit Freight Amount columns, or let the credit method spread the tax automatically.

Leave blank for a header-level credit.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>31</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_LINE_AMOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>coalesce(
(
select -rctla.extended_amount
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ra_customer_trx_lines_all rctla
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
rcta.customer_trx_id=rctla.customer_trx_id and
rctla.line_type=&apos;LINE&apos; and
to_char(rctla.line_number)=:$column$.credit_against_line
),
(
select -apsa.amount_line_items_remaining
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ar_payment_schedules_all apsa
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
apsa.customer_trx_id=rcta.customer_trx_id and
apsa.class=&apos;INV&apos;
)
)</DEFAULT_VALUE>
    <COMMENTS>The line amount to credit. For a line-level credit (Credit Against Line set) it defaults to the negative amount of the credited line; for a header-level credit (Credit Against Line blank) it defaults to the invoice&apos;s remaining line balance. Enter a smaller negative amount for a partial credit, or leave all three Credit amount columns blank to credit the full outstanding balance.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>32</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_TAX_AMOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>select
-apsa.tax_remaining
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ar_payment_schedules_all apsa
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
apsa.customer_trx_id=rcta.customer_trx_id and
apsa.class=&apos;INV&apos; and
:$column$.credit_against_line is null</DEFAULT_VALUE>
    <COMMENTS>Header-level credit only (Credit Against Line blank). Defaults to the invoice&apos;s remaining tax balance (negative).</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>33</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_FREIGHT_AMOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>select
-apsa.freight_remaining
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ar_payment_schedules_all apsa
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
apsa.customer_trx_id=rcta.customer_trx_id and
apsa.class=&apos;INV&apos; and
:$column$.credit_against_line is null</DEFAULT_VALUE>
    <COMMENTS>Header-level credit only (Credit Against Line blank). Defaults to the invoice&apos;s remaining freight balance (negative).</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>34</COLUMN_NUMBER>
    <COLUMN_NAME>CREDIT_MEMO_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
alv.lookup_code id,
alv.meaning value,
alv.description
from
ar_lookups alv
where
alv.lookup_type=&apos;CREDIT_MEMO_REASON&apos; and
alv.enabled_flag=&apos;Y&apos; and
trunc(sysdate) between nvl(alv.start_date_active,trunc(sysdate)) and nvl(alv.end_date_active,trunc(sysdate))
order by
alv.meaning</LOV_QUERY_DSP>
    <COMMENTS>The reason recorded on the credit memo. Required when creating an applied credit memo.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>35</COLUMN_NUMBER>
    <COLUMN_NAME>APPLIED_CREDIT_BATCH_SOURCE</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
rbsa.batch_source_id id,
rbsa.name value,
rbsa.description
from
hr_all_organization_units_vl haouv,
ra_batch_sources_all rbsa
where
haouv.name=:$column$.operating_unit and
rbsa.org_id=haouv.organization_id and
nvl(rbsa.status,&apos;A&apos;)=&apos;A&apos; and
rbsa.batch_source_id not in (11,12) and
rbsa.start_date&lt;=sysdate
order by
rbsa.name</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
rbsa.name
from
ra_batch_sources_all rbsa
where
rbsa.org_id=(select haouv.organization_id from hr_all_organization_units_vl haouv where haouv.name=:$column$.operating_unit) and
rbsa.batch_source_id=nvl(
case
when :$flex$.derive_applied_cm_batch_source=&apos;Y&apos;
then xxen_ar_upload.derive_applied_cm_batch_source(
(select rcta.customer_trx_id from ra_customer_trx_all rcta, hr_all_organization_units_vl haouv where rcta.trx_number=:$column$.credit_against_transaction and haouv.name=:$column$.operating_unit and rcta.org_id=haouv.organization_id),
(select haouv.organization_id from hr_all_organization_units_vl haouv where haouv.name=:$column$.operating_unit)
)
end,
(select rbsa2.batch_source_id from ra_batch_sources_all rbsa2, hr_all_organization_units_vl haouv where rbsa2.name=:$flex$.source and haouv.name=:$column$.operating_unit and rbsa2.org_id=haouv.organization_id)
)</DEFAULT_VALUE>
    <COMMENTS>The batch source the credit memo will use. Defaults from the credited invoice when Derive Applied CM Batch Source is Yes, otherwise from the Source parameter. Override to place the credit memo on a specific batch source.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>36</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>20</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rctta.name value,
rctta.description
from
hr_all_organization_units haouv,
ra_cust_trx_types_all rctta
where
haouv.organization_id=rctta.org_id and
haouv.name=:$column$.operating_unit and
nvl(rctta.status,&apos;A&apos;)=&apos;A&apos; and
rctta.type in (&apos;INV&apos;,&apos;CM&apos;,&apos;DM&apos;) and
:$column$.credit_against_transaction is null
union all
select
rctta_cm.name value,
rctta_cm.description
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ra_cust_trx_types_all rctta_inv,
ra_cust_trx_types_all rctta_cm
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
rcta.cust_trx_type_id=rctta_inv.cust_trx_type_id and
rctta_inv.org_id=rcta.org_id and
rctta_inv.credit_memo_type_id=rctta_cm.cust_trx_type_id and
rctta_cm.org_id=rcta.org_id
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
rctta.cust_trx_type_id id,
rctta.name value
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
nvl(rctta.status,&apos;A&apos;)=&apos;A&apos; and
rctta.start_date&lt;=sysdate</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select coalesce(
(
select rctta_cm.name
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ra_cust_trx_types_all rctta_inv,
ra_cust_trx_types_all rctta_cm
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction and
rcta.cust_trx_type_id=rctta_inv.cust_trx_type_id and
rctta_inv.org_id=rcta.org_id and
rctta_inv.credit_memo_type_id=rctta_cm.cust_trx_type_id and
rctta_cm.org_id=rcta.org_id
),
:$flex$.default_transaction_type
) from dual</DEFAULT_VALUE>
    <COMMENTS>The transaction type. For an applied credit memo (Credit Against Transaction populated) this is informational only - the API derives the credit memo type from the credited invoice&apos;s transaction type, and the list is restricted to that derived credit memo type.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>37</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_CLASS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>20</DATA_LENGTH>
    <DEFAULT_VALUE>select  al.lookup_code
from 
ar_lookups al,
ra_cust_trx_types_all rctta,
hr_all_organization_units_vl haouv
where al.lookup_type=&apos;INV/CM&apos; and
rctta.type=al.lookup_code and
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
nvl(rctta.status,&apos;A&apos;)=&apos;A&apos; and
rctta.start_date&lt;=sysdate and
rctta.name=:$column$.trx_type</DEFAULT_VALUE>
    <COMMENTS>Derived from Transaction Type</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>38</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>20</DATA_LENGTH>
    <DEFAULT_VALUE>select
:$column$.upload_trx_identifier
from
hr_all_organization_units_vl haouv,
ra_batch_sources_all rbsa
where
haouv.organization_id=rbsa.org_id and
haouv.name=:$column$.operating_unit and
rbsa.name=:$column$.source and
nvl(rbsa.auto_trx_numbering_flag,&apos;N&apos;)!=&apos;Y&apos;</DEFAULT_VALUE>
    <COMMENTS>Oracle Transaction Number. Required if the Batch Source uses manual transaction numbering. Leave null otherwise as it will be generated on upload.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>39</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <DEFAULT_VALUE>select coalesce(
(
select greatest(trunc(sysdate),trunc(rcta.trx_date))
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction
),
:$flex$.default_transaction_date
) from dual</DEFAULT_VALUE>
    <COMMENTS>The transaction date. For an applied credit memo (Credit Against Transaction populated) this is informational only - the API sets the credit memo date to the later of today and the credited invoice&apos;s transaction date.</COMMENTS>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>40</COLUMN_NUMBER>
    <COLUMN_NAME>GL_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <DEFAULT_VALUE>:$flex$.default_gl_date</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>41</COLUMN_NUMBER>
    <COLUMN_NAME>SALESPERSON</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>360</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
jrrev.resource_name value,
null description
from
hr_all_organization_units_vl haouv,
jtf_rs_salesreps jrs,
jtf_rs_resource_extns_vl jrrev
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=jrs.org_id and
jrs.resource_id=jrrev.resource_id and
trunc(nvl(:$column$.trx_date,sysdate)) between jrs.start_date_active and nvl(jrs.end_date_active,trunc(nvl(:$column$.trx_date,sysdate)))
order by
jrrev.resource_name</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
jrs.salesrep_id id,
jrrev.resource_name value
from
hr_all_organization_units_vl haouv,
jtf_rs_salesreps jrs,
jtf_rs_resource_extns_vl jrrev
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=jrs.org_id and
jrs.resource_id=jrrev.resource_id and
trunc(nvl(:$column$.trx_date,sysdate)) between jrs.start_date_active and nvl(jrs.end_date_active,trunc(nvl(:$column$.trx_date,sysdate)))</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
jrrev.resource_name
from
hr_all_organization_units_vl haouv,
jtf_rs_salesreps jrs,
jtf_rs_resource_extns_vl jrrev
where
:$column$.use_salespersons = &apos;Y&apos; and
haouv.name=:$column$.operating_unit and
haouv.organization_id=jrs.org_id and
jrs.resource_id=jrrev.resource_id and
trunc(nvl(:$column$.trx_date,sysdate)) between jrs.start_date_active and nvl(jrs.end_date_active,trunc(nvl(:$column$.trx_date,sysdate))) and
jrs.salesrep_id =
coalesce(
(
select
hcsua.primary_salesrep_id
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number and
hcsua.location=:$column$.bill_to_site
),
(
select
hcsua.primary_salesrep_id
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;SHIP_TO&apos; and
hcsua.status=&apos;A&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number and
hcsua.location=:$column$.ship_to_site
),
(
select
hca.primary_salesrep_id
from
hz_parties hp,
hz_cust_accounts hca
where
hp.party_id=hca.party_id and
hca.status=&apos;A&apos; and
hp.party_name=:$column$.ship_to_customer_name and
hca.account_number=:$column$.ship_to_customer_number and
mo_global.is_multi_org_enabled=&apos;N&apos;
)
)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>42</COLUMN_NUMBER>
    <COLUMN_NAME>PURCHASE_ORDER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>50</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>43</COLUMN_NUMBER>
    <COLUMN_NAME>PURCHASE_ORDER_REVISION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>50</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>44</COLUMN_NUMBER>
    <COLUMN_NAME>PURCHASE_ORDER_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>45</COLUMN_NUMBER>
    <COLUMN_NAME>TERMS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>15</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rtv.name value,
rtv.description description
from
ra_terms_vl rtv
where
trunc(sysdate) between nvl(rtv.start_date_active,trunc(sysdate)) and nvl(rtv.end_date_active,trunc(sysdate)) and
not exists
(
select
null
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
rctta.name=:$column$.trx_type and
rctta.type=&apos;CM&apos;
)
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
rtv.term_id id,
rtv.name value
from
ra_terms_vl rtv</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
rtv.name
from
ra_terms_vl rtv
where
trunc(sysdate) between nvl(rtv.start_date_active,trunc(sysdate)) and nvl(rtv.end_date_active,trunc(sysdate))
and rtv.term_id=
(
select
coalesce(hcsua.payment_term_id,hca.payment_term_id,rctta.default_term)
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv,
hz_party_sites hps,
ra_cust_trx_types_all rctta
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hcasa.party_site_id=hps.party_site_id and
haouv.organization_id=rctta.org_id and
hca.status=&apos;A&apos; and
hcasa.status=&apos;A&apos; and
hcsua.site_use_code=&apos;BILL_TO&apos; and
hcsua.status=&apos;A&apos; and
rctta.type!=&apos;CM&apos; and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number and
hcsua.location=:$column$.bill_to_site and
rctta.name=:$column$.trx_type
)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>46</COLUMN_NUMBER>
    <COLUMN_NAME>RECEIPT_METHOD</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
arm.name value,
xxen_util.meaning(arc.creation_method_code,&apos;PAYMENT_CREATION_METHOD&apos;,222)||nvl2(arm.payment_channel_code,&apos; - &apos;||xxen_util.meaning(arm.payment_channel_code,&apos;PON_EMD_PAYMENT_METHOD&apos;,0),null)||
(
select
&apos; (Assigned)&apos;
from
hz_cust_accounts hca,
ra_cust_receipt_methods rcrm
where
hca.account_number=:$column$.bill_to_customer_number and
hca.cust_account_id=rcrm.customer_id and
arm.receipt_method_id=rcrm.receipt_method_id and
trunc(sysdate) between nvl(rcrm.start_date,trunc(sysdate)) and nvl(rcrm.end_date,trunc(sysdate)) and
rownum=1
) description
from
hr_all_organization_units_vl haouv,
ar_receipt_methods arm,
ar_receipt_classes arc,
ar_receipt_method_accounts_all arma,
ce_bank_acct_uses_all cbaua,
ce_bank_accounts cba,
ce_bank_branches_v cbbv
where
haouv.name=:$column$.operating_unit and
arpt_sql_func_util.check_boe_paymeth(arm.receipt_method_id)&lt;&gt;&apos;Y&apos; and
arm.receipt_class_id=arc.receipt_class_id and
arc.creation_method_code in (&apos;AUTOMATIC&apos;,&apos;MANUAL&apos;) and
arm.receipt_method_id=arma.receipt_method_id and
arma.org_id=haouv.organization_id and
arma.remit_bank_acct_use_id=cbaua.bank_acct_use_id and
cbaua.org_id=haouv.organization_id and
cbaua.bank_account_id=cba.bank_account_id and
(cba.currency_code=:$column$.trx_currency or cba.receipt_multi_currency_flag=&apos;Y&apos;) and
cba.bank_branch_id=cbbv.branch_party_id and
:$column$.trx_date&lt;nvl(cba.end_date,to_date(&apos;01/01/2200&apos;,&apos;DD/MM/YYYY&apos;)) and
:$column$.trx_date between nvl(arm.start_date,:$column$.trx_date) and nvl(arm.end_date,:$column$.trx_date) and
:$column$.trx_date between nvl(arma.start_date,:$column$.trx_date) and nvl(arma.end_date,:$column$.trx_date) and
:$column$.trx_date&lt;=nvl(cbbv.end_date,:$column$.trx_date)
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
arm.receipt_method_id id,
arm.name value
from
ar_receipt_methods arm</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>47</COLUMN_NUMBER>
    <COLUMN_NAME>PAYMENT_INSTRUMENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>844</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
case ipiua.instrument_type
when &apos;BANKACCOUNT&apos;
then ifpaiv.account_number || &apos; / &apos; || ifpaiv.currency_code || &apos; / &apos; || ifpaiv.bank_name || &apos; / &apos; || ifpaiv.branch_name
when &apos;CREDITCARD&apos;
then ifpaiv.card_issuer_name || &apos; / &apos; || ifpaiv.card_number || &apos; / &apos; || ifpaiv.card_holder_name || &apos; / &apos; || ifpaiv.card_expiration_status
else &apos;Unknown&apos;
end value,
null description
from
hz_parties hp,
hz_cust_accounts hca,
hz_cust_acct_sites_all hcasa,
hz_cust_site_uses_all hcsua,
hr_all_organization_units_vl haouv, 
iby_external_payers_all iepa,
iby_pmt_instr_uses_all  ipiua,
iby_fndcpt_pmt_chnnls_b ifpcb,
iby_fndcpt_payer_assgn_instr_v ifpaiv,
ar_receipt_methods arm
where
hp.party_id=hca.party_id and
hca.cust_account_id=hcasa.cust_account_id and
hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
hcasa.org_id=haouv.organization_id and
hca.cust_account_id=iepa.cust_account_id and
(hcsua.site_use_id=iepa.acct_site_use_id or 
 iepa.acct_site_use_id is null
) and
iepa.ext_payer_id=ipiua.ext_pmt_party_id and
:$column$.trx_date between nvl(ipiua.start_date,:$column$.trx_date) and nvl(ipiua.end_date,:$column$.trx_date) and
ipiua.instrument_type in (&apos;BANKACCOUNT&apos;,&apos;CREDITCARD&apos;) and
ipiua.instrument_type=ifpcb.instrument_type and
ipiua.instrument_payment_use_id=ifpaiv.instr_assignment_id and
ifpcb.payment_channel_code=arm.payment_channel_code and
exists (select null from ar_receipt_classes arc where arc.receipt_class_id=arm.receipt_class_id and arc.creation_method_code=&apos;AUTOMATIC&apos;) and
haouv.name=:$column$.operating_unit and
hp.party_name=:$column$.bill_to_customer_name and
hca.account_number=:$column$.bill_to_customer_number and
hcsua.location=:$column$.bill_to_site and
arm.name=:$column$.receipt_method and
exists
(select 
 null
 from
 iby_fndcpt_tx_extensions iftx
 where
 iftx.instr_assignment_id=ifpaiv.instr_assignment_id and
 iftx.origin_application_id=222 and
 iftx.trxn_ref_number1=&apos;TRANSACTION&apos; 
)
order by
value

       
</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
 itev.trxn_extension_id id,
 case itev.instrument_type
 when &apos;BANKACCOUNT&apos; then itev.account_number || &apos; / &apos; || itev.currency_code || &apos; / &apos; || itev.bank_name || &apos; / &apos; || itev.bank_branch_name
 when &apos;CREDITCARD&apos;  then itev.card_issuer_name || &apos; / &apos; || itev.card_number || &apos; / &apos; || itev.card_holder_name || &apos; / &apos; || itev.card_expiration_status
 else null
 end value
from
 iby_trxn_extensions_v itev
where
 itev.instr_assignment_id in
 (
  select
   pi.instrument_payment_use_id
  from
   (
    select
     ipiua.instrument_payment_use_id,
     rank() over (partition by ipiua.instrument_type, ipiua.instrument_id order by iepa.acct_site_use_id, iepa.cust_account_id,ipiua.order_of_preference,ipiua.instrument_payment_use_id) dup_rank
    from
     hz_parties hp,
     hz_cust_accounts hca,
     hz_cust_acct_sites_all hcasa,
     hz_cust_site_uses_all hcsua,
     hr_all_organization_units_vl haouv, 
     iby_external_payers_all iepa,
     iby_pmt_instr_uses_all  ipiua,
     iby_fndcpt_pmt_chnnls_b ifpcb,
     iby_fndcpt_payer_assgn_instr_v ifpaiv,
     ar_receipt_methods arm
    where
     hp.party_id=hca.party_id and
     hca.cust_account_id=hcasa.cust_account_id and
     hcasa.cust_acct_site_id=hcsua.cust_acct_site_id and
     hcasa.org_id=haouv.organization_id and
     hca.cust_account_id=iepa.cust_account_id and
     (hcsua.site_use_id=iepa.acct_site_use_id or 
      iepa.acct_site_use_id is null
     ) and
     iepa.ext_payer_id=ipiua.ext_pmt_party_id and
     trunc(sysdate) between nvl(ipiua.start_date,trunc(sysdate)) and nvl(ipiua.end_date,trunc(sysdate)) and
     ipiua.instrument_type in (&apos;BANKACCOUNT&apos;,&apos;CREDITCARD&apos;) and
     ipiua.instrument_type=ifpcb.instrument_type and
     ipiua.instrument_payment_use_id=ifpaiv.instr_assignment_id and
     ifpcb.payment_channel_code=arm.payment_channel_code and
     exists (select null from ar_receipt_classes arc where arc.receipt_class_id=arm.receipt_class_id and arc.creation_method_code=&apos;AUTOMATIC&apos;) and
     haouv.name=:$column$.operating_unit and
     hp.party_name=:$column$.bill_to_customer_name and
     hca.account_number=:$column$.bill_to_customer_number and
     hcsua.location=:$column$.bill_to_site and
     arm.name=:$column$.receipt_method
   ) pi
  where
   pi.dup_rank=1
 )
</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>48</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_AMOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>49</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_CURRENCY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>15</DATA_LENGTH>
    <LOV_NAME>FND Currency</LOV_NAME>
    <LOV_GUID>8E2FF36EDE9079D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
fcv.currency_code value,
fcv.description
from
fnd_currencies_vl fcv
where
fcv.enabled_flag=&apos;Y&apos;
order by
fcv.currency_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select coalesce(
(
select rcta.invoice_currency_code
from
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta
where
haouv.name=:$column$.operating_unit and
rcta.org_id=haouv.organization_id and
rcta.trx_number=:$column$.credit_against_transaction
),
:$flex$.default_transaction_currency
) from dual</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>50</COLUMN_NUMBER>
    <COLUMN_NAME>EXCHANGE_RATE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
gdct.user_conversion_type id,
gdct.user_conversion_type value,
gdct.description
from
gl_daily_conversion_types gdct
where
:$column$.trx_currency !=
(select
gl.currency_code
from
hr_operating_units hou,
gl_ledgers gl
where
hou.name=:$column$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id)
)
order by
gdct.user_conversion_type</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
gdct.conversion_type id,
gdct.user_conversion_type value
from
gl_daily_conversion_types gdct</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
:$flex$.exchange_rate_type
from dual
where
:$column$.trx_currency !=
(select
gl.currency_code
from
hr_operating_units hou,
gl_ledgers gl
where
hou.name=:$column$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id)
)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>51</COLUMN_NUMBER>
    <COLUMN_NAME>EXCHANGE_RATE_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <DEFAULT_VALUE>select
:$column$.trx_date
from
dual
where
:$column$.exchange_rate_type is not null</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>52</COLUMN_NUMBER>
    <COLUMN_NAME>EXCHANGE_RATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>53</COLUMN_NUMBER>
    <COLUMN_NAME>RECEIVABLES_ACCOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>311</DATA_LENGTH>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
gcck.concatenated_segments value,
xxen_util.segments_description(gcck.code_combination_id) || &apos; (&apos; || flvv.description || &apos;)&apos; description
from
hr_operating_units hou,
gl_ledgers gl,
gl_code_combinations_kfv gcck,
fnd_lookup_values_vl flvv
where
hou.name=:$column$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id) and
gcck.chart_of_accounts_id=gl.chart_of_accounts_id and
gcck.enabled_flag=&apos;Y&apos; and
gcck.summary_flag=&apos;N&apos; and
gcck.gl_account_type=&apos;A&apos; and
trunc(sysdate) between nvl(gcck.start_date_active,trunc(sysdate)) and nvl(gcck.end_date_active,trunc(sysdate)) and
flvv.lookup_type=&apos;ACCOUNT TYPE&apos; and
flvv.view_application_id=101 and
flvv.lookup_code=gcck.gl_account_type
order by
value</LOV_QUERY_DSP>
    <COMMENTS>Optional. Override the receivables account derived by AutoAccounting. Specify the full GL account code combination (e.g. 01.1200.000.000). When left blank, AutoAccounting derives the receivables account as normal.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>54</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>55</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>20</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
x.value,
null description
from
(select &apos;LINE&apos; id, &apos;Line&apos; value 
 from dual union
 select &apos;FREIGHT&apos; id, &apos;Freight&apos; value 
 from dual 
 where &apos;Y&apos;=
  (select 
   rctta.allow_freight_flag 
   from 
   hr_all_organization_units_vl haouv, 
   ra_cust_trx_types_all rctta 
   where
   haouv.name=:$column$.operating_unit and
   haouv.organization_id=rctta.org_id and
   rctta.name=:$column$.trx_type
   ) union
 select &apos;TAX&apos; id, &apos;Tax&apos; value 
 from dual 
 where fnd_profile.value(&apos;ZX_ALLOW_MANUAL_TAX_LINES&apos;)=&apos;Y&apos;
) x
order by
x.value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
x.id,
x.value
from
(select &apos;LINE&apos; id, &apos;Line&apos; value from dual union
 select &apos;FREIGHT&apos; id, &apos;Freight&apos; value from dual union
 select &apos;TAX&apos; id, &apos;Tax&apos; value from dual
) x</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select &apos;Line&apos; from dual where :$column$.line_number is not null</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>56</COLUMN_NUMBER>
    <COLUMN_NAME>LINK_TO_LINE_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>57</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_ITEM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>40</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
msiv.concatenated_segments value,
msiv.description description
from
hr_all_organization_units_vl haouv,
mtl_system_items_vl msiv
where
haouv.name=:$column$.operating_unit and
msiv.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;, haouv.organization_id)) and
msiv.invoice_enabled_flag=&apos;Y&apos; and
upper(:$column$.line_type)=&apos;LINE&apos; and
:$column$.line_standard_memo is null
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
msiv.inventory_item_id id,
msiv.concatenated_segments value
from
hr_all_organization_units_vl haouv,
mtl_system_items_vl msiv
where
haouv.name=:$column$.operating_unit and
msiv.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;, haouv.organization_id))</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>58</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_STANDARD_MEMO</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>50</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
aml.memo_line_id id,
aml.name value,
aml.description
from
hr_all_organization_units_vl haouv,
ar_memo_lines_all_vl aml
where
haouv.name=:$column$.operating_unit and
aml.org_id=haouv.organization_id and
aml.line_type=&apos;LINE&apos; and
trunc(sysdate) between nvl(trunc(aml.start_date),trunc(sysdate)) and nvl(trunc(aml.end_date),trunc(sysdate)) and
:$column$.line_item is null and
upper(:$column$.line_type)=&apos;LINE&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>59</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <DEFAULT_VALUE>select
msiv.description
from
hr_all_organization_units_vl haouv,
mtl_system_items_vl msiv
where
haouv.name=:$column$.operating_unit and
msiv.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;, haouv.organization_id)) and
msiv.concatenated_segments=:$column$.line_item and
upper(:$column$.line_type)=&apos;LINE&apos;
union
select
aml.description
from
hr_all_organization_units_vl haouv,
ar_memo_lines_all_vl aml
where
haouv.name=:$column$.operating_unit and
aml.org_id=haouv.organization_id and
aml.name=:$column$.line_standard_memo and
aml.line_type=&apos;LINE&apos; and
upper(:$column$.line_type)=&apos;LINE&apos;
union
select
xxen_util.meaning(&apos;FREIGHT&apos;,&apos;STD_LINE_TYPE&apos;,222)
from
dual
where
upper(:$column$.line_type)=&apos;FREIGHT&apos;
union
select
xxen_util.meaning(&apos;TAX&apos;,&apos;STD_LINE_TYPE&apos;,222)
from
dual
where
upper(:$column$.line_type)=&apos;TAX&apos;</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>60</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_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
al.meaning value,
al.description description
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta,
ar_lookups al
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
rctta.name=:$column$.trx_type and
al.lookup_type=case rctta.type when &apos;CM&apos; then &apos;CREDIT_MEMO_REASON&apos; else &apos;INVOICING_REASON&apos; end and
al.enabled_flag=&apos;Y&apos; and
sysdate between nvl(al.start_date_active,sysdate) and nvl(al.end_date_active, sysdate)
order by value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
al.lookup_code id,
al.meaning value
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta,
ar_lookups al
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
rctta.name=:$column$.trx_type and
al.lookup_type=case rctta.type when &apos;CM&apos; then &apos;CREDIT_MEMO_REASON&apos; else &apos;INVOICING_REASON&apos; end and
al.enabled_flag=&apos;Y&apos; and
sysdate between nvl(al.start_date_active,sysdate) and nvl(al.end_date_active, sysdate)</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>61</COLUMN_NUMBER>
    <COLUMN_NAME>UOM</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>25</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
muomv.unit_of_measure_tl value,
muomv.description || &apos; (&apos; || muomv.uom_class || &apos;)&apos; description
from
mtl_units_of_measure_vl muomv
where
trunc(sysdate)&lt;=nvl(muomv.disable_date,sysdate) and
upper(:$column$.line_type)=&apos;LINE&apos; and
not exists
(
select
null
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
rctta.name=:$column$.trx_type and
rctta.type=&apos;CM&apos;
)
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
muomv.uom_code id,
muomv.unit_of_measure_tl value
from
mtl_units_of_measure_vl muomv</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
muomv.unit_of_measure_tl
from
hr_all_organization_units_vl haouv,
mtl_system_items_vl msiv,
mtl_units_of_measure_vl muomv
where
haouv.name=:$column$.operating_unit and
msiv.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;, haouv.organization_id)) and
msiv.concatenated_segments=:$column$.line_item and
msiv.primary_uom_code=muomv.uom_code and
not exists
(
select
null
from
hr_all_organization_units_vl haouv,
ra_cust_trx_types_all rctta
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=rctta.org_id and
rctta.name=:$column$.trx_type and
rctta.type=&apos;CM&apos;
)
</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>62</COLUMN_NUMBER>
    <COLUMN_NAME>QUANTITY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>select 1
from dual
where
upper(:$column$.line_type)!=&apos;LINE&apos; and
1=2</DEFAULT_VALUE>
    <COMMENTS>Required for Line Type=Line</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>63</COLUMN_NUMBER>
    <COLUMN_NAME>UNIT_PRICE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>Required for Line Type=Line</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>64</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_AMOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <LOV_QUERY_DSP>select
round((:$column$.quantity * :$column$.unit_price),(select fc.precision from fnd_currencies fc where fc.currency_code=:$column$.trx_currency)) value,
null description
from dual
where :$column$.trx_type is not null</LOV_QUERY_DSP>
    <DEFAULT_VALUE>round((:$column$.quantity * :$column$.unit_price),(select fc.precision from fnd_currencies fc where fc.currency_code=:$column$.trx_currency))</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>65</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_SALESPERSON</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>360</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
jrrev.resource_name value,
null description
from
hr_all_organization_units_vl haouv,
jtf_rs_salesreps jrs,
jtf_rs_resource_extns_vl jrrev
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=jrs.org_id and
jrs.resource_id=jrrev.resource_id and
trunc(nvl(:$column$.trx_date,sysdate)) between jrs.start_date_active and nvl(jrs.end_date_active,trunc(nvl(:$column$.trx_date,sysdate)))
order by
jrrev.resource_name</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
jrs.salesrep_id id,
jrrev.resource_name value
from
hr_all_organization_units_vl haouv,
jtf_rs_salesreps jrs,
jtf_rs_resource_extns_vl jrrev
where
haouv.name=:$column$.operating_unit and
haouv.organization_id=jrs.org_id and
jrs.resource_id=jrrev.resource_id and
trunc(nvl(:$column$.trx_date,sysdate)) between jrs.start_date_active and nvl(jrs.end_date_active,trunc(nvl(:$column$.trx_date,sysdate)))</VALUE_TO_ID_QUERY>
    <COMMENTS>Optional. Override the header salesperson for this line&apos;s sales credit. Only applies to Line and Freight line types.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>66</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_SALESCREDIT_REVENUE_PCT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>The percentage of the invoice line amount to be allocated to this line salesperson. The total salescredit revenue percent allocated must equal 100. The Line Salescredit Revenue Percent takes precedence over the Line Salescredit Revenue Amount. You must enter either the Line Salescredit Percent or Line Salescredit Amount if you are allocating the Invoice Line Amount across multiple salespersons.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>67</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_SALESCREDIT_REVENUE_AMT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>select
round(:$column$.line_amount * :$column$.line_salescredit_revenue_pct / 100,2)
from dual</DEFAULT_VALUE>
    <COMMENTS>The portion of the invoice line amount to be allocated to the line salesperson. The total salescredit revenue amount allocated to the salespersons against an invoice line must equal the invoice line amount. The Line Salescredit Revenue Percent takes precedence over the Line Salescredit Revenue Amount. You must enter either the Line Salescredit Percent or Line Salescredit Amount if you are allocating the Invoice Line Amount across multiple salespersons.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>68</COLUMN_NUMBER>
    <COLUMN_NAME>DISTRIBUTION_ACCOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>311</DATA_LENGTH>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
gcck.concatenated_segments value,
xxen_util.segments_description(gcck.code_combination_id) || &apos; (&apos; || flvv.description || &apos;)&apos; description
from
hr_operating_units hou,
gl_ledgers gl,
gl_code_combinations_kfv gcck,
fnd_lookup_values_vl flvv
where
hou.name=:$column$.operating_unit and
gl.ledger_id=to_number(hou.set_of_books_id) and
gcck.chart_of_accounts_id=gl.chart_of_accounts_id and
gcck.enabled_flag=&apos;Y&apos; and
gcck.summary_flag=&apos;N&apos; and
trunc(sysdate) between nvl(gcck.start_date_active,trunc(sysdate)) and nvl(gcck.end_date_active,trunc(sysdate)) and
flvv.lookup_type=&apos;ACCOUNT TYPE&apos; and
flvv.view_application_id=101 and
flvv.lookup_code=gcck.gl_account_type
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>69</COLUMN_NUMBER>
    <COLUMN_NAME>DISTRIBUTION_PERCENT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>The percentage of the invoice line amount to be allocated to this distribution. The total distribution percent allocated must equal 100. The Distribution Percent takes precedence over the Distribution Amount. You must enter either the Distribution Percent or Distribution Amount if you are allocating the Invoice Line Amount across multiple distributions.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>70</COLUMN_NUMBER>
    <COLUMN_NAME>DISTRIBUTION_AMOUNT</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <COMMENTS>The portion of the invoice line amount to be allocated to this distribution. The total distribution amount must equal the invoice line amount. The Distribution Percent takes precedence over the Distribution Amount. You must enter either the Distribution Percent or Distribution Amount if you are allocating the Invoice Line Amount across multiple distributions.</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>71</COLUMN_NUMBER>
    <COLUMN_NAME>DISTRIBUTION_CLASS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
null description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;AUTOGL_TYPE&apos; and
flvv.view_application_id=222 and
flvv.security_group_id=fnd_global.security_group_id and
flvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(flvv.start_date_active,sysdate) and nvl(flvv.end_date_active,sysdate) and
flvv.lookup_code=decode(:$column$.line_type,&apos;Line&apos;,&apos;REV&apos;,&apos;Tax&apos;,&apos;TAX&apos;,&apos;Freight&apos;,&apos;FREIGHT&apos;,null)
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
flvv.lookup_code id,
flvv.meaning value
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;AUTOGL_TYPE&apos; and
flvv.view_application_id=222 and
flvv.security_group_id=fnd_global.security_group_id and
flvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(flvv.start_date_active,sysdate) and nvl(flvv.end_date_active,sysdate)</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
flvv.meaning value
from
fnd_lookup_values_vl flvv
where
flvv.lookup_code=decode(:$column$.line_type,&apos;Line&apos;,&apos;REV&apos;,&apos;Tax&apos;,&apos;TAX&apos;,&apos;Freight&apos;,&apos;FREIGHT&apos;) and
flvv.lookup_type=&apos;AUTOGL_TYPE&apos; and
flvv.view_application_id=222 and
flvv.security_group_id=0 and
flvv.enabled_flag=&apos;Y&apos; and
sysdate between nvl(flvv.start_date_active,sysdate) and nvl(flvv.end_date_active,sysdate)</DEFAULT_VALUE>
    <READ_ONLY>Y</READ_ONLY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>72</COLUMN_NUMBER>
    <COLUMN_NAME>INVOICING_RULE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rr.name value,
rr.description description
from 
ra_rules rr
where
rr.type=&apos;I&apos; and
rr.status=&apos;A&apos; and
upper(:$column$.line_type)=&apos;LINE&apos;
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
rr.rule_id id,
rr.name value
from 
ra_rules rr
where
rr.type=&apos;I&apos; and
rr.status=&apos;A&apos;</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>73</COLUMN_NUMBER>
    <COLUMN_NAME>ACCOUNTING_RULE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
rr.name value,
rr.description description
from 
ra_rules rr
where
rr.type!=&apos;I&apos; and
rr.status=&apos;A&apos; and
:$column$.invoicing_rule is not null
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
rr.rule_id id,
rr.name value
from 
ra_rules rr
where
rr.type!=&apos;I&apos; and
rr.status=&apos;A&apos;</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>74</COLUMN_NUMBER>
    <COLUMN_NAME>RULE_DURATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Number</COLUMN_TYPE_DSP>
    <DATA_TYPE>number</DATA_TYPE>
    <DEFAULT_VALUE>select
rr.occurrences
from 
ra_rules rr
where
rr.type!=&apos;I&apos; and
rr.status=&apos;A&apos; and
rr.name=:$column$.accounting_rule</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>75</COLUMN_NUMBER>
    <COLUMN_NAME>RULE_START_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
    <DEFAULT_VALUE>select
:$column$.trx_date
from
dual
where
:$column$.accounting_rule is not null</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>76</COLUMN_NUMBER>
    <COLUMN_NAME>RULE_END_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>77</COLUMN_NUMBER>
    <COLUMN_NAME>CARRIER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ofr.description value,
null description
from
hr_all_organization_units_vl haouv,
org_freight ofr
where
haouv.name=:$column$.operating_unit and
ofr.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;,haouv.organization_id)) and
trunc(sysdate)&lt;=nvl(ofr.disable_date,trunc(sysdate))
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
ofr.freight_code id,
ofr.description value
from
hr_all_organization_units_vl haouv,
org_freight ofr
where
haouv.name=:$column$.operating_unit and
ofr.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;,haouv.organization_id)) and
trunc(sysdate)&lt;=nvl(ofr.disable_date,trunc(sysdate))</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>78</COLUMN_NUMBER>
    <COLUMN_NAME>SHIP_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>79</COLUMN_NUMBER>
    <COLUMN_NAME>SHIPPING_REFERENCE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>50</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>80</COLUMN_NUMBER>
    <COLUMN_NAME>FOB</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
al.meaning value,
null description
from
ar_lookups al
where
al.lookup_type=&apos;FOB&apos; and
trunc(sysdate) between nvl(al.start_date_active,trunc(sysdate)) and nvl(al.end_date_active,trunc(sysdate))
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
al.lookup_code id,
al.meaning value
from
ar_lookups al
where
al.lookup_type=&apos;FOB&apos; and
trunc(sysdate) between nvl(al.start_date_active,trunc(sysdate)) and nvl(al.end_date_active,trunc(sysdate))</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>81</COLUMN_NUMBER>
    <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>50</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>82</COLUMN_NUMBER>
    <COLUMN_NAME>SALES_ORDER_LINE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>83</COLUMN_NUMBER>
    <COLUMN_NAME>SALES_ORDER_DATE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Date</COLUMN_TYPE_DSP>
    <DATA_TYPE>date</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>84</COLUMN_NUMBER>
    <COLUMN_NAME>HISTORICAL</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <DEFAULT_VALUE>xxen_util.meaning(:$flex$.Historical_Transaction_Load,&apos;YES_NO&apos;,0)</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>85</COLUMN_NUMBER>
    <COLUMN_NAME>TAXABLE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>86</COLUMN_NUMBER>
    <COLUMN_NAME>AMOUNT_INCLUDES_TAX</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV Oracle</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_NAME>Yes_No</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
lookup_code id,
meaning value,
null description
from
fnd_lookups
where fnd_lookups.lookup_type=&apos;YES_NO&apos;
order by value,description</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>87</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_HANDLING</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
meaning value,
null description
from
fnd_lookups fl
where
fl.lookup_type=&apos;ZX_EXEMPTION_CONTROL&apos; and
fl.enabled_flag=&apos;Y&apos; and
(fl.lookup_code in (&apos;R&apos;,&apos;S&apos;) or
 fl.lookup_code=&apos;E&apos; and exists (select null from zx_product_options zxp where zxp.tax_method_code &lt;&gt; &apos;LTE&apos; and zxp.application_id=222 and zxp.tax_use_customer_exempt_flag=&apos;Y&apos;)
) and
upper(:$column$.line_type)=&apos;LINE&apos;</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
flvv.lookup_code id,
flvv.meaning value
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;ZX_EXEMPTION_CONTROL&apos; and
flvv.view_application_id=0 and
flvv.security_group_id=fnd_global.security_group_id</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>88</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_EXEMPT_NUMBER</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>89</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_EXEMPT_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
meaning value,
null description
from
fnd_lookups fl
where
fl.lookup_type=&apos;ZX_EXEMPTION_REASON_CODE&apos; and
fl.enabled_flag=&apos;Y&apos; and
:$column$.tax_handling=xxen_util.meaning(&apos;E&apos;,&apos;ZX_EXEMPTION_CONTROL&apos;,0)</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
flvv.lookup_code id,
flvv.meaning value
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;ZX_EXEMPTION_REASON_CODE&apos; and
flvv.view_application_id=0 and
flvv.security_group_id=fnd_global.security_group_id</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>90</COLUMN_NUMBER>
    <COLUMN_NAME>DEFAULT_TAXATION_COUNTRY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
ftv.territory_short_name value,
null description
from
fnd_territories_vl ftv
where
upper(:$column$.line_type)=&apos;LINE&apos;
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
ftv.territory_code id,
ftv.territory_short_name value
from
fnd_territories_vl ftv</VALUE_TO_ID_QUERY>
    <DEFAULT_VALUE>select
 ftv.territory_short_name
from
 hr_operating_units hou,
 xle_entity_profiles xep,
 xle_registrations xr,
 hr_locations_all hla,
 fnd_territories_vl ftv
where
 hou.name=:$column$.operating_unit and
 xep.legal_entity_id=to_number(hou.default_legal_context_id) and
 xep.legal_entity_id=xr.source_id and
 xr.source_table=&apos;XLE_ENTITY_PROFILES&apos; and
 xr.identifying_flag=&apos;Y&apos; and
 trunc(sysdate) between nvl(xr.effective_from,trunc(sysdate)) and nvl(xr.effective_to, trunc(sysdate)) and
 xr.location_id=hla.location_id and
 hla.country=ftv.territory_code and
upper(:$column$.line_type)=&apos;LINE&apos;</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>91</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_CLASSIFICATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
 zocv.meaning value,
 zocv.description description
from
 hr_all_organization_units_vl haouv,
 zx_output_classifications_v zocv
where
 haouv.name=:$column$.operating_unit and
 zocv.lookup_type=&apos;ZX_OUTPUT_CLASSIFICATIONS&apos; AND
 (zocv.org_id=haouv.organization_id or zocv.org_id=-99) and
 zocv.enabled_flag=&apos;Y&apos; AND
 trunc(sysdate) between nvl(zocv.start_date_active,trunc(sysdate)) and nvl(zocv.end_date_active, trunc(sysdate)) and
 upper(:$column$.line_type)=&apos;LINE&apos;
order by
 value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select distinct
 zocv.lookup_code id,
 zocv.meaning value
from
 hr_all_organization_units_vl haouv,
 zx_output_classifications_v zocv
where
 haouv.name=:$column$.operating_unit and
 zocv.lookup_type=&apos;ZX_OUTPUT_CLASSIFICATIONS&apos; AND
 (zocv.org_id=haouv.organization_id or zocv.org_id=-99) and
 zocv.enabled_flag=&apos;Y&apos; AND
 trunc(sysdate) between nvl(zocv.start_date_active,trunc(sysdate)) and nvl(zocv.end_date_active, trunc(sysdate))</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>92</COLUMN_NUMBER>
    <COLUMN_NAME>TRX_BUSINESS_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>1996</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
 zfbcv.classification_name value,
 zfbcv.country_code description
from
 hr_operating_units hou,
 xle_entity_profiles xep,
 xle_registrations xr,
 hr_locations_all hla,
 zx_fc_business_categories_v zfbcv
where
 hou.name=:$column$.operating_unit and
 xep.legal_entity_id=to_number(hou.default_legal_context_id) and
 xep.legal_entity_id=xr.source_id and
 xr.source_table=&apos;XLE_ENTITY_PROFILES&apos; and
 xr.identifying_flag=&apos;Y&apos; and
 trunc(sysdate) between nvl(xr.effective_from,trunc(sysdate)) and nvl(xr.effective_to, trunc(sysdate)) and
 xr.location_id=hla.location_id and
 (zfbcv.country_code=nvl((select ftv.territory_code from fnd_territories_vl ftv where ftv.territory_short_name=:$column$.default_taxation_country),hla.country) or 
  zfbcv.country_code is null
 ) and
 trunc(sysdate) between nvl(zfbcv.effective_from,trunc(sysdate)) and nvl(zfbcv.effective_to,trunc(sysdate)) and
 zfbcv.application_id=222 and
 zfbcv.entity_code=&apos;TRANSACTIONS&apos; and
 zfbcv.event_class_code=
 (select
  decode(rctta.type,&apos;INV&apos;,&apos;INVOICE&apos;,&apos;DM&apos;,&apos;DEBIT_MEMO&apos;,&apos;CM&apos;,&apos;CREDIT_MEMO&apos;)
  from
  hr_all_organization_units_vl haouv,
  ra_cust_trx_types_all rctta
  where
  haouv.name=:$column$.operating_unit and
  haouv.organization_id=rctta.org_id and
  rctta.name=:$column$.trx_type
 ) and
upper(:$column$.line_type)=&apos;LINE&apos;  
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select distinct
zfbcv.classification_code id,
zfbcv.classification_name value
from
zx_fc_business_categories_v zfbcv
where
(zfbcv.country_code=:$column$.default_taxation_country or zfbcv.country_code is null) and
zfbcv.application_id=222 and
zfbcv.entity_code=&apos;TRANSACTIONS&apos; and
zfbcv.event_class_code in (&apos;CREDIT_MEMO&apos;,&apos;DEBIT_MEMO&apos;,&apos;INVOICE&apos;)
</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>93</COLUMN_NUMBER>
    <COLUMN_NAME>PRODUCT_FISC_CLASSIFICATION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
 zfpcv.classification_name value,
 zfpcv.country_code description
from
 hr_operating_units hou,
 xle_entity_profiles xep,
 xle_registrations xr,
 hr_locations_all hla,
 zx_fc_product_fiscal_v zfpcv
where
 hou.name=:$column$.operating_unit and
 xep.legal_entity_id=to_number(hou.default_legal_context_id) and
 xep.legal_entity_id=xr.source_id and
 xr.source_table=&apos;XLE_ENTITY_PROFILES&apos; and
 xr.identifying_flag=&apos;Y&apos; and
 trunc(sysdate) between nvl(xr.effective_from,trunc(sysdate)) and nvl(xr.effective_to,trunc(sysdate)) and
 xr.location_id=hla.location_id and
 (zfpcv.country_code=nvl((select ftv.territory_code from fnd_territories_vl ftv where ftv.territory_short_name=:$column$.default_taxation_country),hla.country) or 
  zfpcv.country_code is null
 ) and
 trunc(sysdate)&lt;=nvl(zfpcv.effective_to,trunc(sysdate)) and
upper(:$column$.line_type)=&apos;LINE&apos;
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select distinct
zfpfv.classification_code id,
zfpfv.classification_name value
from
zx_fc_product_fiscal_v zfpfv
where
(zfpfv.country_code=:$column$.default_taxation_country or zfpfv.country_code is null) and
trunc(sysdate)&lt;=nvl(zfpfv.effective_to,trunc(sysdate))</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>94</COLUMN_NUMBER>
    <COLUMN_NAME>PRODUCT_CATEGORY</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>1996</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
 zfpcv.classification_name value,
 zfpcv.country_code description
from
 hr_operating_units hou,
 xle_entity_profiles xep,
 xle_registrations xr,
 hr_locations_all hla,
 zx_fc_product_categories_v zfpcv
where
 hou.name=:$column$.operating_unit and
 xep.legal_entity_id=to_number(hou.default_legal_context_id) and
 xep.legal_entity_id=xr.source_id and
 xr.source_table=&apos;XLE_ENTITY_PROFILES&apos; and
 xr.identifying_flag=&apos;Y&apos; and
 trunc(sysdate) between nvl(xr.effective_from,trunc(sysdate)) and nvl(xr.effective_to, trunc(sysdate)) and
 xr.location_id=hla.location_id and
 (zfpcv.country_code=nvl((select ftv.territory_code from fnd_territories_vl ftv where ftv.territory_short_name=:$column$.default_taxation_country),hla.country) or 
  zfpcv.country_code is null
 ) and
 trunc(sysdate) between nvl(zfpcv.effective_from,trunc(sysdate)) and nvl(zfpcv.effective_to,trunc(sysdate)) and
upper(:$column$.line_type)=&apos;LINE&apos;
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select distinct
zfpcv.classification_code id,
zfpcv.classification_name value
from
zx_fc_product_categories_v zfpcv
where
(zfpcv.country_code=:$column$.default_taxation_country or zfpcv.country_code is null) and
trunc(sysdate) between nvl(zfpcv.effective_from,trunc(sysdate)) and nvl(zfpcv.effective_to,trunc(sysdate))</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>95</COLUMN_NUMBER>
    <COLUMN_NAME>PRODUCT_TYPE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>80</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
 zptv.classification_name value,
 null description
from
 zx_product_types_v zptv
where
upper(:$column$.line_type)=&apos;LINE&apos;
order by
value</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select distinct
zptv.classification_code id,
zptv.classification_name value
from
zx_product_types_v zptv</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>96</COLUMN_NUMBER>
    <COLUMN_NAME>INTENDED_USE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>240</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
x.value,
null description
from
(
select
zfcv.classification_name value
from
zx_fc_codes_vl zfcv
where
zfcv.classification_type_code=&apos;INTENDED_USE&apos; and
not exists
 (select
  null
  from
  zx_fc_types_b zftb
  where
  zftb.classification_type_code=zfcv.classification_type_code and
  zftb.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos;
 ) and
upper(:$column$.line_type)=&apos;LINE&apos;
union
select
mct.description value
from
zx_fc_types_b zft,
mtl_category_sets_b mcs,
fnd_id_flex_structures_vl fifs,
mtl_categories_b_kfv mc,
mtl_categories_tl mct
where
zft.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos; and
zft.classification_type_code=&apos;INTENDED_USE&apos; and
mcs.category_set_id=zft.owner_id_num and
fifs.id_flex_num=mcs.structure_id and
mc.category_id=mct.category_id and
mct.language=userenv (&apos;LANG&apos;) and
mc.structure_id=fifs.id_flex_num and
fifs.application_id=401 and
fifs.id_flex_code=&apos;MCAT&apos; and
mc.enabled_flag=&apos;Y&apos; and
upper(:$column$.line_type)=&apos;LINE&apos;
) x</LOV_QUERY_DSP>
    <VALUE_TO_ID_QUERY>select
x.id,
x.value
from
(
select
zfcv.classification_code id,
zfcv.classification_name value
from
zx_fc_codes_vl zfcv
where
zfcv.classification_type_code=&apos;INTENDED_USE&apos; and
not exists
 (select
  null
  from
  zx_fc_types_b zftb
  where
  zftb.classification_type_code=zfcv.classification_type_code and
  zftb.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos;
 )
union
select
replace(mc.concatenated_segments,fifs.concatenated_segment_delimiter, &apos;&apos;) id,
mct.description value
from
zx_fc_types_b zft,
mtl_category_sets_b mcs,
fnd_id_flex_structures_vl fifs,
mtl_categories_b_kfv mc,
mtl_categories_tl mct
where
zft.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos; and
zft.classification_type_code=&apos;INTENDED_USE&apos; and
mcs.category_set_id=zft.owner_id_num and
fifs.id_flex_num=mcs.structure_id and
mc.category_id=mct.category_id and
mct.language=userenv (&apos;LANG&apos;) and
mc.structure_id=fifs.id_flex_num and
fifs.application_id=401 and
fifs.id_flex_code=&apos;MCAT&apos; and
mc.enabled_flag=&apos;Y&apos;
) x</VALUE_TO_ID_QUERY>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>97</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_REGIME_CODE</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
b.tax_regime_code value,
t.tax_regime_name description
from
zx_regimes_b b,
zx_regimes_tl t
where
b.tax_regime_id=t.tax_regime_id and
t.language=userenv(&apos;LANG&apos;) and
( b.has_sub_regime_flag=&apos;N&apos; or
  b.has_sub_regime_flag is null
) and
(b.effective_from&lt;=trunc(sysdate) or b.effective_from is null) and
(b.effective_to&gt;=trunc(sysdate) or b.effective_to is null) and
b.tax_regime_code in
(
 select distinct
 zsd.tax_regime_code
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp,
 zx_subscription_details zsd
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos; and
 zsd.first_pty_org_id =
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
) and
upper(:$column$.line_type)=&apos;TAX&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>98</COLUMN_NUMBER>
    <COLUMN_NAME>TAX</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
tx.tax value,
tx.tax_full_name description
from
zx_sco_taxes_v tx
where
tx.tax_regime_code=:$column$.tax_regime_code and
tx.live_for_processing_flag=&apos;Y&apos; and
tx.live_for_applicability_flag=&apos;Y&apos; and
tx.effective_from&lt;=trunc(sysdate) and
(tx.effective_to&gt;=trunc(sysdate) or tx.effective_to is null) and
tx.sdco_id =
(
 select 
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos;
) and
upper(:$column$.line_type)=&apos;TAX&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>99</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_JURISDICTION</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
tax_jurisdiction_code value,
tax_jurisdiction_name description
from
zx_jurisdictions_vl
where
tax_regime_code=:$column$.tax_regime_code and
tax=:$column$.tax and
effective_from&lt;=trunc(sysdate) and
(effective_to&gt;=trunc(sysdate) or effective_to is null) and
upper(:$column$.line_type)=&apos;TAX&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>100</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_STATUS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>30</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
st.tax_status_code value,
st.tax_status_name description
from
zx_sco_status_v st
where
st.tax=:$column$.tax and
st.tax_regime_code=:$column$.tax_regime_code and
st.effective_from&lt;=trunc(sysdate) and
(st.effective_to&gt;=trunc(sysdate) or st.effective_to is null) and
st.sdco_id =
(
 select 
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos;
) and
upper(:$column$.line_type)=&apos;TAX&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>101</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_RATE_NAME</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>150</DATA_LENGTH>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
tr.tax_rate_code value,
tr.tax_rate_name || &apos; ( &apos; || tr.rate_type_code || &apos; &apos; || decode(tr.rate_type_code,&apos;QUANTITY&apos;,tr.quantity_rate,&apos;PERCENTAGE&apos;,tr.percentage_rate,0) || &apos;)&apos; description
from
zx_sco_rates_v tr,
zx_status_b st
where
tr.tax_regime_code=:$column$.tax_regime_code and
tr.tax=:$column$.tax and
tr.tax_status_code=:$column$.tax_status and
tr.tax_jurisdiction_code is null and
tr.active_flag=&apos;Y&apos; and
tr.effective_from&lt;=trunc(sysdate) and
(tr.effective_to&gt;=trunc(sysdate) or tr.effective_to is null) and
--st.allow_rate_override_flag=&apos;Y&apos; and
st.tax_status_code=tr.tax_status_code and
st.tax=tr.tax and
st.tax_regime_code=tr.tax_regime_code and
(tr.tax_class is null or tr.tax_class=&apos;OUTPUT&apos;) and
tr.sdco_id =
(
 select 
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos;
) and
upper(:$column$.line_type)=&apos;TAX&apos;
union
select
tr.tax_rate_code value,
tr.tax_rate_name || &apos; ( &apos; || tr.rate_type_code || &apos; &apos; || decode(tr.rate_type_code,&apos;QUANTITY&apos;,tr.quantity_rate,&apos;PERCENTAGE&apos;,tr.percentage_rate,0) || &apos;)&apos; description
from
zx_sco_rates_v tr,
zx_status_b st
where
tr.tax_regime_code=:$column$.tax_regime_code and
tr.tax=:$column$.tax and
tr.tax_status_code=:$column$.tax_status and
nvl(tr.tax_jurisdiction_code,&apos;#&apos;)=nvl(:$column$.tax_jurisdiction,&apos;#&apos;) and
tr.active_flag=&apos;Y&apos; and
tr.effective_from&lt;=trunc(sysdate) and
(tr.effective_to&gt;=trunc(sysdate) or tr.effective_to is null) and
--st.allow_rate_override_flag=&apos;Y&apos; and
st.tax_status_code=tr.tax_status_code and
st.tax=tr.tax and
st.tax_regime_code=tr.tax_regime_code and
(tr.tax_class is null or tr.tax_class=&apos;OUTPUT&apos;) and
tr.sdco_id =
(
 select 
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos;
) and
upper(:$column$.line_type)=&apos;TAX&apos;
order by
value</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>102</COLUMN_NUMBER>
    <COLUMN_NAME>TAX_RATE</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 distinct
decode(tr.rate_type_code,&apos;QUANTITY&apos;,tr.quantity_rate,&apos;PERCENTAGE&apos;,tr.percentage_rate,0) value,
null description
from
zx_sco_rates_v tr,
zx_status_b st
where
tr.tax_rate_code=:$column$.tax_rate_name and
tr.tax_regime_code=:$column$.tax_regime_code and
tr.tax=:$column$.tax and
tr.tax_status_code=:$column$.tax_status and
(tr.tax_jurisdiction_code=:$column$.tax_jurisdiction or
 tr.tax_jurisdiction_code is null
) and
tr.active_flag=&apos;Y&apos; and
tr.effective_from&lt;=trunc(sysdate) and
(tr.effective_to&gt;=trunc(sysdate) or tr.effective_to is null) and
(tr.tax_class is null or tr.tax_class=&apos;OUTPUT&apos;) and
tr.sdco_id =
(
 select 
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos;
) and
upper(:$column$.line_type)=&apos;TAX&apos;
order by
value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select distinct
decode(tr.rate_type_code,&apos;QUANTITY&apos;,tr.quantity_rate,&apos;PERCENTAGE&apos;,tr.percentage_rate,0)
from
zx_sco_rates_v tr,
zx_status_b st
where
tr.tax_rate_code=:$column$.tax_rate_name and
tr.tax_regime_code=:$column$.tax_regime_code and
tr.tax=:$column$.tax and
tr.tax_status_code=:$column$.tax_status and
(tr.tax_jurisdiction_code=:$column$.tax_jurisdiction or
 tr.tax_jurisdiction_code is null
) and
tr.active_flag=&apos;Y&apos; and
tr.effective_from&lt;=trunc(sysdate) and
(tr.effective_to&gt;=trunc(sysdate) or tr.effective_to is null) and
(tr.tax_class is null or tr.tax_class=&apos;OUTPUT&apos;) and
tr.sdco_id =
(
 select 
 case when nvl(zptp.use_le_as_subscriber_flag,&apos;N&apos;)=&apos;N&apos;
 then
   zptp.party_tax_profile_id
 else
   (select
    zptp2.party_tax_profile_id
    from
    zx_party_tax_profile zptp2,
    xle_entity_profiles xle
    where
    xle.legal_entity_id=hou.default_legal_context_id and
    zptp2.party_id=xle.party_id and
    zptp2.party_type_code=&apos;FIRST_PARTY&apos;
   )
 end
 from
 hr_operating_units hou,
 zx_party_tax_profile zptp
 where
 hou.name=:$column$.operating_unit and
 zptp.party_id=hou.organization_id and
 zptp.party_type_code=&apos;OU&apos;
) and
upper(:$column$.line_type)=&apos;TAX&apos;</DEFAULT_VALUE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>103</COLUMN_NUMBER>
    <COLUMN_NAME>INVOICE_SPECIAL_INSTRUCTIONS</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>104</COLUMN_NUMBER>
    <COLUMN_NAME>INVOICE_COMMENTS</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <DATA_LENGTH>1760</DATA_LENGTH>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>105</COLUMN_NUMBER>
    <COLUMN_NAME>INTERFACE_HEADER_CONTEXT</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
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descriptive_flexs_vl     fdfv,
fnd_descr_flex_contexts_vl   fdfcv
where
fdfcv.application_id=fdfv.application_id and
fdfcv.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
fdfcv.descriptive_flex_context_code!=&apos;Global Data Elements&apos;
order by
fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>106</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE1</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE1&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>107</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE2</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE2&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>108</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE3</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE3&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>109</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE4</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE4&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>110</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE5</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE5&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>111</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE6</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE6&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>112</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE7</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE7&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>113</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE8</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE8&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>114</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE9</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE9&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>115</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE10</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE10&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>116</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE11</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE11&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>117</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE12</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE12&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>118</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE13</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE13&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>119</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE14</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE14&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>120</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE15</COLUMN_NAME>
    <COLUMN_TYPE_DSP>LOV custom</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <LOV_QUERY_DSP>select
substrb(lov.column_value,1,instrb(lov.column_value,&apos;~&apos;,1,1)-1) value,
substrb(lov.column_value,instrb(lov.column_value,&apos;~&apos;,1,1)+1,lengthb(lov.column_value)) description
from
table(
xxen_util.dff_attribute_lov
(p_application_id=&gt;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_INTERFACE_HEADER&apos;,
 p_context_name=&gt;:$column$.interface_header_context,
 p_column_name=&gt;&apos;INTERFACE_HEADER_ATTRIBUTE15&apos;,
 p_attribute1=&gt;:$column$.ar_int_header_attribute1,
 p_attribute2=&gt;:$column$.ar_int_header_attribute2,
 p_attribute3=&gt;:$column$.ar_int_header_attribute3,
 p_attribute4=&gt;:$column$.ar_int_header_attribute4,
 p_attribute5=&gt;:$column$.ar_int_header_attribute5,
 p_attribute6=&gt;:$column$.ar_int_header_attribute6,
 p_attribute7=&gt;:$column$.ar_int_header_attribute7,
 p_attribute8=&gt;:$column$.ar_int_header_attribute8,
 p_attribute9=&gt;:$column$.ar_int_header_attribute9,
 p_attribute10=&gt;:$column$.ar_int_header_attribute10,
 p_attribute11=&gt;:$column$.ar_int_header_attribute11,
 p_attribute12=&gt;:$column$.ar_int_header_attribute12,
 p_attribute13=&gt;:$column$.ar_int_header_attribute13,
 p_attribute14=&gt;:$column$.ar_int_header_attribute14,
 p_attribute15=&gt;:$column$.ar_int_header_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>select distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
from
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
where
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_INTERFACE_HEADER&apos; and
dffcu.application_column_name=&apos;INTERFACE_HEADER_ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>121</COLUMN_NUMBER>
    <COLUMN_NAME>INVOICE_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 distinct
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descriptive_flexs_vl     fdfv,
fnd_descr_flex_contexts_vl   fdfcv
where
fdfcv.application_id=fdfv.application_id and
fdfcv.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
fdfcv.descriptive_flex_context_code!=&apos;Global Data Elements&apos;
order by
fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>122</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>123</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>124</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>125</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>126</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>127</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>128</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>129</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>130</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>131</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>132</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>133</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>134</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>135</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>136</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
 p_context_name=&gt;:$column$.invoice_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
 p_attribute1=&gt;:$column$.ar_inv_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>137</COLUMN_NUMBER>
    <COLUMN_NAME>LINE_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 distinct
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descriptive_flexs_vl     fdfv,
fnd_descr_flex_contexts_vl   fdfcv
where
fdfcv.application_id=fdfv.application_id and
fdfcv.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
fdfcv.descriptive_flex_context_code!=&apos;Global Data Elements&apos;
order by
fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>138</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>139</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>140</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>141</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>142</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>143</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>144</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>145</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>146</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>147</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>148</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>149</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>150</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>151</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>152</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_LINE_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUSTOMER_TRX_LINES&apos;,
 p_context_name=&gt;:$column$.line_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
 p_attribute1=&gt;:$column$.ar_inv_line_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_line_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_line_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_line_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_line_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_line_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_line_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_line_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_line_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_line_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_line_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_line_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_line_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_line_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_line_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUSTOMER_TRX_LINES&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>153</COLUMN_NUMBER>
    <COLUMN_NAME>DIST_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 distinct
fdfcv.descriptive_flex_context_name value,
fdfcv.description
from
fnd_descriptive_flexs_vl     fdfv,
fnd_descr_flex_contexts_vl   fdfcv
where
fdfcv.application_id=fdfv.application_id and
fdfcv.descriptive_flexfield_name=fdfv.descriptive_flexfield_name and
fdfcv.enabled_flag=&apos;Y&apos; and
fdfv.application_id=222 and
fdfv.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
fdfcv.descriptive_flex_context_code!=&apos;Global Data Elements&apos;
order by
fdfcv.descriptive_flex_context_name</LOV_QUERY_DSP>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>154</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE1&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE1&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>155</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE2&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE2&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>156</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE3&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE3&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>157</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE4&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE4&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>158</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE5&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE5&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>159</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE6&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE6&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>160</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE7&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE7&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>161</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE8&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE8&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>162</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE9&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE9&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>163</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE10&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE10&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>164</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE11&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE11&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>165</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE12&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE12&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>166</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE13&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE13&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>167</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE14&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE14&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>168</COLUMN_NUMBER>
    <COLUMN_NAME>AR_INV_DIST_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;222,
 p_descriptive_flexfield_name=&gt;&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,
 p_context_name=&gt;:$column$.dist_attribute_category,
 p_column_name=&gt;&apos;ATTRIBUTE15&apos;,
 p_attribute1=&gt;:$column$.ar_inv_dist_attribute1,
 p_attribute2=&gt;:$column$.ar_inv_dist_attribute2,
 p_attribute3=&gt;:$column$.ar_inv_dist_attribute3,
 p_attribute4=&gt;:$column$.ar_inv_dist_attribute4,
 p_attribute5=&gt;:$column$.ar_inv_dist_attribute5,
 p_attribute6=&gt;:$column$.ar_inv_dist_attribute6,
 p_attribute7=&gt;:$column$.ar_inv_dist_attribute7,
 p_attribute8=&gt;:$column$.ar_inv_dist_attribute8,
 p_attribute9=&gt;:$column$.ar_inv_dist_attribute9,
 p_attribute10=&gt;:$column$.ar_inv_dist_attribute10,
 p_attribute11=&gt;:$column$.ar_inv_dist_attribute11,
 p_attribute12=&gt;:$column$.ar_inv_dist_attribute12,
 p_attribute13=&gt;:$column$.ar_inv_dist_attribute13,
 p_attribute14=&gt;:$column$.ar_inv_dist_attribute14,
 p_attribute15=&gt;:$column$.ar_inv_dist_attribute15
)
) lov
order by
value</LOV_QUERY_DSP>
    <COMMENTS>SELECT distinct
&apos;(Context) &apos; || initcap(dffcu.application_column_name) || &apos;: &apos; ||
listagg(decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,&apos;(Global)&apos;,&apos;(&apos; || dffcx.descriptive_flex_context_code || &apos;)&apos;) || &apos; &apos; || dffcu.form_left_prompt,&apos;, &apos;) within group (order by decode(dffcx.descriptive_flex_context_code,&apos;Global Data Elements&apos;,1,2),dffcx.descriptive_flex_context_code) over (partition by dffcu.application_column_name)
FROM
fnd_descriptive_flexs_vl     dff,
fnd_descr_flex_contexts      dffcx,
fnd_descr_flex_col_usage_vl  dffcu
WHERE
dffcx.application_id=dff.application_id and
dffcx.descriptive_flexfield_name=dff.descriptive_flexfield_name and
dffcx.enabled_flag=&apos;Y&apos; and
dffcu.application_id=dffcx.application_id and
dffcu.descriptive_flexfield_name=dffcx.descriptive_flexfield_name and
dffcu.descriptive_flex_context_code=dffcx.descriptive_flex_context_code and
dffcu.enabled_flag=&apos;Y&apos; and
dff.application_id=222 and
dff.descriptive_flexfield_name=&apos;RA_CUST_TRX_LINE_GL_DIST&apos; and
dffcu.application_column_name=&apos;ATTRIBUTE15&apos;</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>169</COLUMN_NUMBER>
    <COLUMN_NAME>ATTACHMENT_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
fdcuv.user_name value,
null description
from
fnd_doc_category_usages_vl fdcuv,
fnd_attachment_functions af,
fnd_document_categories fdc
where
fdcuv.attachment_function_id=af.attachment_function_id and
af.function_name=&apos;ARXTWMAI&apos; and
fdc.category_id=fdcuv.category_id and
nvl(fdc.start_date_active,sysdate-1)&lt;=sysdate and
nvl(fdc.start_date_active,sysdate+1)&gt;sysdate
order by value</LOV_QUERY_DSP>
    <COMMENTS>Required for adding an attachment</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>170</COLUMN_NUMBER>
    <COLUMN_NAME>ATTACHMENT_TITLE_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>171</COLUMN_NUMBER>
    <COLUMN_NAME>ATTACHMENT_DESCRIPTION_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>172</COLUMN_NUMBER>
    <COLUMN_NAME>ATTACHMENT_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 user_name value, null description from fnd_document_datatypes_vl where name in (&apos;SHORT_TEXT&apos;,&apos;FILE&apos;,&apos;WEB_PAGE&apos;) order by value</LOV_QUERY_DSP>
    <COMMENTS>Required for adding an attachment</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>173</COLUMN_NUMBER>
    <COLUMN_NAME>ATTACHMENT_CONTENT_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <COMMENTS>If the attachment type is File, double click will open the file explorer and allow the selection of file path, alternatively file path can be entered as free text as well</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
   <UPLOAD_COLUMNS_ROW>
    <COLUMN_NUMBER>174</COLUMN_NUMBER>
    <COLUMN_NAME>ATTACHMENT_FILE_ID_</COLUMN_NAME>
    <COLUMN_TYPE_DSP>Char</COLUMN_TYPE_DSP>
    <DATA_TYPE>varchar2</DATA_TYPE>
    <COMMENTS>Autopopulated after clicking on Upload Attachments</COMMENTS>
   </UPLOAD_COLUMNS_ROW>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>1</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>2</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>message_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>request_id_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>REQUEST_ID_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_trx_idx</PARAMETER_NAME>
    <IN_OUT>in/out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>P_TRX_IDX</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_line_idx</PARAMETER_NAME>
    <IN_OUT>in/out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>P_LINE_IDX</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_dist_idx</PARAMETER_NAME>
    <IN_OUT>in/out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>P_DIST_IDX</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_scred_idx</PARAMETER_NAME>
    <IN_OUT>in/out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>P_SCRED_IDX</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_use_salespersons</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>USE_SALESPERSONS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_upload_trx_identifier</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>UPLOAD_TRX_IDENTIFIER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_org_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_legal_entity_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_batch_source_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SOURCE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_trx_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRX_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_trx_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRX_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_trx_currency</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRX_CURRENCY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_reference_number</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>17</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_trx_class</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRX_CLASS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_cust_trx_type_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRX_TYPE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_gl_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>GL_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_bill_to_customer_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_bill_to_account_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>BILL_TO_CUSTOMER_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>22</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_bill_to_customer_name</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>BILL_TO_CUSTOMER_NAME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>23</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_bill_to_contact_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>24</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_bill_to_address_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>25</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_bill_to_site_use_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>BILL_TO_SITE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>26</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_to_customer_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>27</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_to_account_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SHIP_TO_CUSTOMER_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>28</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_to_customer_name</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SHIP_TO_CUSTOMER_NAME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>29</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_to_contact_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_to_address_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>31</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_to_site_use_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SHIP_TO_SITE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>32</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_sold_to_customer_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SOLD_TO_CUSTOMER_NAME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>33</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_term_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TERMS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>34</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_primary_salesrep_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SALESPERSON</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>35</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_exchange_rate_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>EXCHANGE_RATE_TYPE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>36</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_exchange_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>EXCHANGE_RATE_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>37</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_exchange_rate</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>EXCHANGE_RATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>38</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_receivables_account</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>RECEIVABLES_ACCOUNT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>39</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_territory_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_remit_to_address_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>41</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_invoicing_rule_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>INVOICING_RULE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>42</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_printing_option</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>43</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_purchase_order</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PURCHASE_ORDER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>44</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_purchase_order_revision</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PURCHASE_ORDER_REVISION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>45</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_purchase_order_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PURCHASE_ORDER_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>46</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_comments</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>INVOICE_COMMENTS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>47</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_internal_notes</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>INVOICE_SPECIAL_INSTRUCTIONS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>48</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_finance_charges</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>49</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_receipt_method_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>RECEIPT_METHOD</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_related_customer_trx_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>51</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_agreement_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>52</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_via</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CARRIER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>53</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_ship_date_actual</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SHIP_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>54</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_waybill_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SHIPPING_REFERENCE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>55</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_fob_point</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>FOB</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>56</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_customer_bank_account_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>57</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_default_ussgl_trx_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>58</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_status_trx</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>59</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_paying_customer_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_paying_site_use_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>61</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_default_tax_exempt_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>62</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_doc_sequence_value</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>63</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_payment_trxn_extension_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PAYMENT_INSTRUMENT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>64</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_billing_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>65</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interest_header_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>66</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_late_charges_assessed</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>67</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_document_sub_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>68</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_default_taxation_country</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DEFAULT_TAXATION_COUNTRY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>69</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_mandate_last_trx_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_rev_rec_application</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>71</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_document_type_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>72</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_document_creation_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>73</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_context</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>INTERFACE_HEADER_CONTEXT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>74</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>75</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>76</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>77</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>78</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>79</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>81</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>82</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>83</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>84</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>85</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>86</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>87</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>88</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_interface_head_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INT_HEADER_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>89</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>INVOICE_ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>91</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>92</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>93</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>94</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>95</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>96</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>97</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>98</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>99</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>101</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>102</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>103</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>104</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>105</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_line_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>LINE_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>106</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_link_to_line_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>LINK_TO_LINE_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>107</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_reason_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_REASON</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>108</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_inventory_item_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_ITEM</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>109</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_description</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_DESCRIPTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>110</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_quantity_ordered</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>111</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_quantity_invoiced</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>112</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_unit_standard_price</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>113</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_unit_selling_price</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>UNIT_PRICE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>114</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_sales_order</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SALES_ORDER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>115</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_sales_order_line</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SALES_ORDER_LINE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>116</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_sales_order_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>SALES_ORDER_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>117</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_accounting_rule_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>ACCOUNTING_RULE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>118</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_accounting_rule_duration</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>RULE_DURATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>119</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_line_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>LINE_TYPE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>120</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_rule_start_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>RULE_START_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>121</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_sales_order_source</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>122</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_amount</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>LINE_AMOUNT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>123</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_precedence</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>124</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_rate</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_RATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>125</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_exemption_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>126</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_memo_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_STANDARD_MEMO</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>127</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_uom_code</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>128</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_default_ussgl_trx_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>129</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_default_ussgl_trx_code_cxt</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>130</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_vat_tax_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>131</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_exempt_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_HANDLING</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>132</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_exempt_number</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_EXEMPT_NUMBER</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>133</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_exempt_reason_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_EXEMPT_REASON</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>134</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_vendor_return_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>135</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_movement_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>136</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_amount_includes_tax_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AMOUNT_INCLUDES_TAX</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>137</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_warehouse_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>138</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_contract_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>139</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_data_key1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>140</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_data_key2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>141</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_data_key3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>142</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_data_key4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>143</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_data_key5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>144</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_invoiced_line_acctg_level</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>145</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_ship_date_actual</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>146</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_override_auto_accounting_fl</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>147</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_deferral_exclusion_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>148</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_rule_end_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>RULE_END_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>149</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_application_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>150</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_event_class_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>151</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_entity_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>152</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_trx_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>153</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_trx_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>154</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_trx_line_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>155</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_source_trx_dtl_tax_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>156</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_historical_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>HISTORICAL</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>157</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_taxable_flag</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAXABLE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>158</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_regime_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_REGIME_CODE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>159</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>160</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_status_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_STATUS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>161</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_rate_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_RATE_NAME</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>162</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_jurisdiction_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_JURISDICTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>163</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_tax_classification_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TAX_CLASSIFICATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>164</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interest_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>165</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_trx_business_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>TRX_BUSINESS_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>166</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_product_fisc_classification</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PRODUCT_FISC_CLASSIFICATION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>167</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_product_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PRODUCT_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>168</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_product_type</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>PRODUCT_TYPE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>169</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_line_intended_use</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>INTENDED_USE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>170</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_assessable_value</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>171</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_int_1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>172</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_int_2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>173</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_int_3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>174</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_int_4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>175</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_int_5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>176</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_char_1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>177</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_char_2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>178</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_char_3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>179</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_char_4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>180</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_doc_line_id_char_5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>181</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_context</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>182</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>183</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>184</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>185</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>186</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>187</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>188</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>189</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>190</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>191</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>192</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>193</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>194</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>195</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>196</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_interface_line_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>197</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>198</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>199</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>200</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>201</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>202</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>203</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>204</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>205</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>206</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>207</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>208</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>209</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>210</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>211</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>212</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_LINE_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>213</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ps_line_salesrep_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_SALESPERSON</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>214</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ps_line_revenue_pct</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_SALESCREDIT_REVENUE_PCT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>215</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ps_line_revenue_amt</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>LINE_SALESCREDIT_REVENUE_AMT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>216</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_account_class</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DISTRIBUTION_CLASS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>217</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_amount</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DISTRIBUTION_AMOUNT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>218</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_acctd_amount</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>219</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_percent</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DISTRIBUTION_PERCENT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>220</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_distribution_account</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DISTRIBUTION_ACCOUNT</COLUMN_NAME>
    <ID_OR_VALUE>value</ID_OR_VALUE>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>221</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute_category</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DIST_ATTRIBUTE_CATEGORY</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>222</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute1</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE1</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>223</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute2</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE2</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>224</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute3</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE3</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>225</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute4</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE4</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>226</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute5</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE5</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>227</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute6</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE6</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>228</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute7</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE7</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>229</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute8</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE8</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>230</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute9</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE9</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>231</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute10</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE10</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>232</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute11</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE11</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>233</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute12</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE12</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>234</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute13</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE13</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>235</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute14</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE14</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>236</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pd_attribute15</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>AR_INV_DIST_ATTRIBUTE15</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>237</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_credited_customer_trx_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_AGAINST_TRANSACTION</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>238</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_cm_reason_code</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_MEMO_REASON</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>239</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_credit_line_amount</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_LINE_AMOUNT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>240</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_credit_tax_amount</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_TAX_AMOUNT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>241</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_credit_freight_amount</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_FREIGHT_AMOUNT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>242</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_derive_cm_batch_source</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>DERIVE_APPLIED_CM_BATCH_SOURCE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>243</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_applied_cm_batch_source_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>APPLIED_CREDIT_BATCH_SOURCE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>244</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_credit_method_rules</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_METHOD_FOR_RULES</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>245</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>ph_credit_method_installments</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_METHOD_FOR_INSTALLMENTS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>U</SOURCE>
    <DISPLAY_SEQUENCE>246</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>pl_credit_against_line_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>CREDIT_AGAINST_LINE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>1</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>P</SOURCE>
    <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>message_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <COLUMN_NAME>MESSAGE_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>request_id_</PARAMETER_NAME>
    <IN_OUT>out</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>REQUEST_ID_</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_org_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>OPERATING_UNIT</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_batch_source_id</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Number</PARAMETER_TYPE>
    <COLUMN_NAME>SOURCE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_default_date</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Date</PARAMETER_TYPE>
    <COLUMN_NAME>DEFAULT_GL_DATE</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
   <UPLOAD_PARAMETERS_ROW>
    <SOURCE>P</SOURCE>
    <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
    <PARAMETER_NAME>p_use_salespersons</PARAMETER_NAME>
    <IN_OUT>in</IN_OUT>
    <PARAMETER_TYPE>Char</PARAMETER_TYPE>
    <DEFAULTED>Y</DEFAULTED>
    <COLUMN_NAME>USE_SALESPERSONS</COLUMN_NAME>
   </UPLOAD_PARAMETERS_ROW>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Error SQL</SQL_TYPE>
    <SQL_TEXT>select
xu.action_,
xxen_upload.status_meaning(xxen_upload.status_error) status_,
case when xu.status_code_=xxen_upload.status_error
then xu.message_
else coalesce(xxen_ar_upload.get_applied_cm_message_(xu.request_id_,xu.p_trx_idx),xxen_ar_upload.get_ar_inv_upload_message_(xu.request_id_,xu.p_trx_idx,xu.p_line_idx,xu.p_dist_idx,xu.p_scred_idx),xu.message_)
end message_,
xu.request_id_,
xu.modified_columns_,
xu.upload_row,
xu.use_salespersons,
xu.derive_applied_cm_batch_source,
xu.credit_method_for_rules,
xu.credit_method_for_installments,
--
xu.p_trx_idx,
xu.p_line_idx,
xu.p_dist_idx,
xu.p_scred_idx,
--
xu.operating_unit,
xu.source,
xu.default_gl_date,
--
xu.upload_trx_identifier,
xu.reference,
--
xu.bill_to_customer_name,
xu.bill_to_customer_number,
xu.bill_to_site,
xu.bill_to_address,
--
xu.ship_to_customer_name,
xu.ship_to_customer_number,
xu.ship_to_site,
xu.ship_to_address,
xu.sold_to_customer_name,
--
xu.credit_against_transaction,
xu.credit_against_line,
xu.credit_line_amount,
xu.credit_tax_amount,
xu.credit_freight_amount,
xu.credit_memo_reason,
xu.applied_credit_batch_source,
--
xu.trx_type,
xu.trx_class,
xu.trx_number,
xu.trx_date,
xu.gl_date,
xu.salesperson,
xu.purchase_order,
xu.purchase_order_revision,
xu.purchase_order_date,
xu.terms,
xu.receipt_method,
xu.payment_instrument,
--
xu.trx_amount,
xu.trx_currency,
xu.exchange_rate_type,
xu.exchange_rate_date,
xu.exchange_rate,
xu.receivables_account,
--
xu.line_number,
xu.line_type,
xu.link_to_line_number,
xu.line_item,
xu.line_standard_memo,
xu.line_description,
xu.line_reason,
xu.uom,
xu.quantity,
xu.unit_price,
xu.line_amount,
--
xu.line_salesperson,
xu.line_salescredit_revenue_pct,
xu.line_salescredit_revenue_amt,
--
xu.distribution_account,
xu.distribution_percent,
xu.distribution_amount,
xu.distribution_class,
--
xu.invoicing_rule,
xu.accounting_rule,
xu.rule_duration,
xu.rule_start_date,
xu.rule_end_date,
--
xu.carrier,
xu.ship_date,
xu.shipping_reference,
xu.fob,
--
xu.sales_order,
xu.sales_order_line,
xu.sales_order_date,
--
xu.historical,
xu.taxable,
xu.amount_includes_tax,
xu.tax_handling,
xu.tax_exempt_number,
xu.tax_exempt_reason,
--
xu.default_taxation_country,
xu.tax_classification,
xu.trx_business_category,
xu.product_fisc_classification,
xu.product_category,
xu.product_type,
xu.intended_use,
--xu.user_defined_fisc_class,
--
xu.tax_regime_code,
xu.tax,
xu.tax_jurisdiction,
xu.tax_status,
xu.tax_rate_name,
xu.tax_rate,
--
xu.invoice_special_instructions,
xu.invoice_comments,
-- interface header attributes
xu.interface_header_context,
xu.ar_int_header_attribute1,
xu.ar_int_header_attribute2,
xu.ar_int_header_attribute3,
xu.ar_int_header_attribute4,
xu.ar_int_header_attribute5,
xu.ar_int_header_attribute6,
xu.ar_int_header_attribute7,
xu.ar_int_header_attribute8,
xu.ar_int_header_attribute9,
xu.ar_int_header_attribute10,
xu.ar_int_header_attribute11,
xu.ar_int_header_attribute12,
xu.ar_int_header_attribute13,
xu.ar_int_header_attribute14,
xu.ar_int_header_attribute15,
-- header dff
xu.invoice_attribute_category,
xu.ar_inv_attribute1,
xu.ar_inv_attribute2,
xu.ar_inv_attribute3,
xu.ar_inv_attribute4,
xu.ar_inv_attribute5,
xu.ar_inv_attribute6,
xu.ar_inv_attribute7,
xu.ar_inv_attribute8,
xu.ar_inv_attribute9,
xu.ar_inv_attribute10,
xu.ar_inv_attribute11,
xu.ar_inv_attribute12,
xu.ar_inv_attribute13,
xu.ar_inv_attribute14,
xu.ar_inv_attribute15,
-- line dff
xu.line_attribute_category,
xu.ar_inv_line_attribute1,
xu.ar_inv_line_attribute2,
xu.ar_inv_line_attribute3,
xu.ar_inv_line_attribute4,
xu.ar_inv_line_attribute5,
xu.ar_inv_line_attribute6,
xu.ar_inv_line_attribute7,
xu.ar_inv_line_attribute8,
xu.ar_inv_line_attribute9,
xu.ar_inv_line_attribute10,
xu.ar_inv_line_attribute11,
xu.ar_inv_line_attribute12,
xu.ar_inv_line_attribute13,
xu.ar_inv_line_attribute14,
xu.ar_inv_line_attribute15,
-- distribution dff
xu.dist_attribute_category,
xu.ar_inv_dist_attribute1,
xu.ar_inv_dist_attribute2,
xu.ar_inv_dist_attribute3,
xu.ar_inv_dist_attribute4,
xu.ar_inv_dist_attribute5,
xu.ar_inv_dist_attribute6,
xu.ar_inv_dist_attribute7,
xu.ar_inv_dist_attribute8,
xu.ar_inv_dist_attribute9,
xu.ar_inv_dist_attribute10,
xu.ar_inv_dist_attribute11,
xu.ar_inv_dist_attribute12,
xu.ar_inv_dist_attribute13,
xu.ar_inv_dist_attribute14,
xu.ar_inv_dist_attribute15,
xu.attachment_category_,
xu.attachment_title_,
xu.attachment_description_,
xu.attachment_type_,
xu.attachment_content_,
xu.attachment_file_id_
from
xxen_ar_transaction_upl_9922_u xu
where
xu.status_code_=xxen_upload.status_error or
xxen_ar_upload.get_applied_cm_trx_id(xu.request_id_,xu.p_trx_idx) is null and xxen_ar_upload.get_ar_inv_upload_status_(xu.request_id_,xu.p_line_idx)=xxen_upload.status_error or
xxen_ar_upload.get_applied_cm_message_(xu.request_id_,xu.p_trx_idx) is not null

</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Order By</SQL_TYPE>
    <SQL_TEXT>x.upload_row,
decode(x.line_type,&apos;Freight&apos;,2,1),
nvl(x.link_to_line_number,x.line_number),
nvl2(x.link_to_line_number,2,1),
x.line_number,
nvl2(x.distribution_account,1,2),
x.line_salesperson,
x.distribution_class,
x.distribution_account
</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
   <UPLOAD_SQLS_ROW>
    <SQL_TYPE>Success SQL</SQL_TYPE>
    <SQL_TEXT>select distinct
xu.action_,
xu.status_,
case when xxen_ar_upload.get_applied_cm_trx_id(xu.request_id_,xu.p_trx_idx) is not null then &apos;Credit memo &apos;||rcta.trx_number||&apos; created and applied.&apos; end message_,
xu.request_id_,
null modified_columns_,
xu.upload_row,
xu.use_salespersons,
xu.derive_applied_cm_batch_source,
xu.credit_method_for_rules,
xu.credit_method_for_installments,
xu.p_trx_idx,
xu.p_line_idx,
xu.p_dist_idx,
xu.p_scred_idx,
--
haouv.name operating_unit,
rbsa.name source,
nvl(rba.gl_date,
xu.default_gl_date) default_gl_date,
--
xu.upload_trx_identifier,
rcta.ct_reference reference,
--
hp_b.party_name bill_to_customer_name,
hca_b.account_number bill_to_customer_number,
hcsua_b.location bill_to_site,
hz_format_pub.format_address(hps_b.location_id,null,null,&apos;, &apos;) bill_to_address,
--
hp_s.party_name ship_to_customer_name,
hca_s.account_number ship_to_customer_number,
hcsua_s.location ship_to_site,
hz_format_pub.format_address(hps_s.location_id,null,null,&apos;, &apos;) ship_to_address,
hp_sold.party_name sold_to_customer_name,
--
xu.credit_against_transaction,
xu.credit_against_line,
xu.credit_line_amount,
xu.credit_tax_amount,
xu.credit_freight_amount,
xu.credit_memo_reason,
rbsa.name applied_credit_batch_source,
--
rctta.name trx_type,
rctta.type trx_class,
rcta.trx_number,
rcta.trx_date,
apsa.gl_date,
(select jrrev2.resource_name from jtf_rs_salesreps jrs2, jtf_rs_resource_extns_vl jrrev2 where rcta.primary_salesrep_id=jrs2.salesrep_id and jrs2.org_id=rcta.org_id and jrs2.resource_id=jrrev2.resource_id and rownum=1) salesperson,
rcta.purchase_order,
rcta.purchase_order_revision,
rcta.purchase_order_date,
(select
 rtv.name
 from
 ra_terms_vl rtv
 where
 rtv.term_id=rcta.term_id
) terms,
(select
 arm.name
 from
 ar_receipt_methods arm
 where
 arm.receipt_method_id=rcta.receipt_method_id
) receipt_method,
(select
 case itev.instrument_type
 when &apos;BANKACCOUNT&apos; then itev.account_number || &apos; / &apos; || itev.currency_code || &apos; / &apos; || itev.bank_name || &apos; / &apos; || itev.bank_branch_name
 when &apos;CREDITCARD&apos;  then itev.card_issuer_name || &apos; / &apos; || itev.card_number || &apos; / &apos; || itev.card_holder_name || &apos; / &apos; || itev.card_expiration_status
 else null
 end
 from
 iby_trxn_extensions_v itev
 where
 itev.trxn_extension_id=rcta.payment_trxn_extension_id
) payment_instrument,
--
apsa.amount_due_original trx_amount,
rcta.invoice_currency_code trx_currency,
(select
 gdct.user_conversion_type
 from
 gl_daily_conversion_types gdct
 where
 gdct.conversion_type=rcta.exchange_rate_type
) exchange_rate_type,
rcta.exchange_date exchange_rate_date,
rcta.exchange_rate,
(select
 gcck_rec.concatenated_segments
 from
 ra_cust_trx_line_gl_dist_all rctlgda_rec,
 gl_code_combinations_kfv gcck_rec
 where
 rctlgda_rec.customer_trx_id=rcta.customer_trx_id and
 rctlgda_rec.account_class=&apos;REC&apos; and
 rctlgda_rec.latest_rec_flag=&apos;Y&apos; and
 rctlgda_rec.code_combination_id=gcck_rec.code_combination_id
) receivables_account,
--
rctla.line_number,
initcap(rctla.line_type) line_type,
(select rctla2.line_number
 from
 ra_customer_trx_lines_all rctla2
 where
 rctla2.customer_trx_line_id=rctla.link_to_cust_trx_line_id
) link_to_line_number,
(select
 msiv.concatenated_segments
 from
 mtl_system_items_vl msiv
 where
 msiv.inventory_item_id=rctla.inventory_item_id and
 msiv.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;, rctla.org_id))
) line_item,
(select
 aml.name
 from
 ar_memo_lines_all_vl aml
 where
 aml.memo_line_id=rctla.memo_line_id
) line_standard_memo,
rctla.description line_description,
xxen_util.meaning(rctla.reason_code,case rctta.type when &apos;CM&apos; then &apos;CREDIT_MEMO_REASON&apos; else &apos;INVOICING_REASON&apos; end,222) line_reason,
(select
 muomv.unit_of_measure_tl
 from
 mtl_units_of_measure_vl muomv
 where
 muomv.uom_code=rctla.uom_code
) uom,
nvl(rctla.quantity_invoiced,
    rctla.quantity_credited
) quantity,
rctla.unit_selling_price unit_price,
rctla.extended_amount line_amount,
--
(select jrrev2.resource_name from jtf_rs_salesreps jrs2, jtf_rs_resource_extns_vl jrrev2 where rctlsa.salesrep_id=jrs2.salesrep_id and jrs2.org_id=rcta.org_id and jrs2.resource_id=jrrev2.resource_id) line_salesperson,
rctlsa.revenue_percent_split line_salescredit_revenue_pct,
rctlsa.revenue_amount_split line_salescredit_revenue_amt,
--
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then gcck.concatenated_segments end distribution_account,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then rctlgda.percent end distribution_percent,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then rctlgda.amount end distribution_amount,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.meaning(rctlgda.account_class,&apos;AUTOGL_TYPE&apos;,222) end distribution_class,
--
(select
 rr.name
 from
 ra_rules rr
 where
 rr.type=&apos;I&apos; and
 rr.rule_id=rcta.invoicing_rule_id
) invoicing_rule,
(select
 rr.name
 from
 ra_rules rr
 where
 rr.type!=&apos;I&apos; and
 rr.rule_id=rctla.accounting_rule_id
) accounting_rule,
rctla.accounting_rule_duration rule_duration,
rctla.rule_start_date,
rctla.rule_end_date,
--
(select
 ofr.description
 from
 org_freight ofr
 where
 ofr.freight_code=rcta.ship_via and
 ofr.organization_id=to_number(oe_profile.value(&apos;SO_ORGANIZATION_ID&apos;,rcta.org_id)) and
 rownum&lt;=1
) carrier,
rcta.ship_date_actual ship_date,
rcta.waybill_number shipping_reference,
xxen_util.meaning(rcta.fob_point,&apos;FOB&apos;,222) fob,
--
rctla.sales_order,
rctla.sales_order_line,
rctla.sales_order_date,
--
xxen_util.meaning(rctla.historical_flag,&apos;YES_NO&apos;,0) historical,
xxen_util.meaning(rctla.taxable_flag,&apos;YES_NO&apos;,0) taxable,
xxen_util.meaning(rctla.amount_includes_tax_flag,&apos;YES_NO&apos;,0) amount_includes_tax,
xxen_util.meaning(rctla.tax_exempt_flag,&apos;ZX_EXEMPTION_CONTROL&apos;,0) tax_handling,
rctla.tax_exempt_number,
xxen_util.meaning(rctla.tax_exempt_reason_code,&apos;ZX_EXEMPTION_REASON_CODE&apos;,0) tax_exempt_reason,
--
-- default taxation country
(select
 ft.territory_short_name
 from
 fnd_territories_vl ft
 where
 ft.territory_code=zldt.default_taxation_country
) default_taxation_country,
-- tax_classification
(select
  zocv.meaning
 from
  zx_output_classifications_v zocv
 where
  zocv.lookup_type=&apos;ZX_OUTPUT_CLASSIFICATIONS&apos; and
  zocv.lookup_code=rctla.tax_classification_code and
  (zocv.org_id=rctla.org_id or zocv.org_id=-99) and
  zocv.enabled_flag=&apos;Y&apos; and
  trunc(rcta.trx_date) between nvl(zocv.start_date_active, trunc(rcta.trx_date)) and nvl(zocv.end_date_active, trunc(rcta.trx_date)) and
  rownum&lt;=1
) tax_classification,
-- trx_business_category
(select
 zfbcv.classification_name
 from
 zx_fc_business_categories_v zfbcv
 where
 zfbcv.classification_code=zldt.trx_business_category and
 (zfbcv.country_code=zldt.default_taxation_country or zfbcv.country_code is null) and
 zfbcv.application_id=zldt.application_id and
 zfbcv.entity_code=zldt.entity_code and
 zfbcv.event_class_code=zldt.event_class_code and
 rownum&lt;=1
) trx_business_category,
-- product_fisc_classification
(select
 zfpfv.classification_name
 from
 zx_fc_product_fiscal_v zfpfv
 where
 zfpfv.classification_code=zldt.product_fisc_classification and
 zfpfv.country_code=zldt.default_taxation_country and
 rownum&lt;=1
) product_fisc_classification,
-- product_category
(select
 zfpcv.classification_name
 from
 zx_fc_product_categories_v zfpcv
 where
 zfpcv.classification_code=zldt.product_category and
 (zfpcv.country_code=zldt.default_taxation_country or zfpcv.country_code IS null) and
 rownum&lt;=1
) product_category,
-- product_type
(select
 zptv.classification_name
 from
 zx_product_types_v zptv
 where
 zptv.classification_code=zldt.product_type and
 rownum&lt;=1
) product_type,
-- line_intended_use
(select
 zfcv.classification_name
 from
 zx_fc_codes_vl zfcv
 where
 zfcv.classification_code=zldt.line_intended_use and
 zfcv.classification_type_code=&apos;INTENDED_USE&apos; and
 not exists
 (select
  null
  from
  zx_fc_types_b zftb
  where
  zftb.classification_type_code=zfcv.classification_type_code and
  zftb.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos;
 )
 union
 select
 mct.description
 from
 zx_fc_types_b zft,
 mtl_category_sets_b mcs,
 fnd_id_flex_structures_vl fifs,
 mtl_categories_b_kfv mc,
 mtl_categories_tl mct
 where
 zft.owner_table_code=&apos;MTL_CATEGORY_SETS_B&apos; and
 zft.classification_type_code=&apos;INTENDED_USE&apos; and
 mcs.category_set_id=zft.owner_id_num and
 fifs.id_flex_num=mcs.structure_id and
 mc.category_id=mct.category_id and
 mct.language=userenv (&apos;LANG&apos;) and
 mc.structure_id=fifs.id_flex_num and
 fifs.application_id=401 and
 fifs.id_flex_code=&apos;MCAT&apos; and
 mc.enabled_flag=&apos;Y&apos; and
 replace(mc.concatenated_segments,fifs.concatenated_segment_delimiter, &apos;&apos;)=zldt.line_intended_use and
 rownum&lt;=1
) intended_use,
--
zl.tax_regime_code,
zl.tax,
zl.tax_jurisdiction_code tax_jurisdiction,
zl.tax_status_code tax_status,
zl.tax_rate_code tax_rate_name,
zl.tax_rate,
--
rcta.internal_notes invoice_special_instructions,
rcta.comments invoice_comments,
-- interface header attributes
xxen_util.display_flexfield_context(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context) interface_header_context,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE1&apos;, rcta.rowid,rcta.interface_header_attribute1) ar_int_header_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE2&apos;, rcta.rowid,rcta.interface_header_attribute2) ar_int_header_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE3&apos;, rcta.rowid,rcta.interface_header_attribute3) ar_int_header_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE4&apos;, rcta.rowid,rcta.interface_header_attribute4) ar_int_header_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE5&apos;, rcta.rowid,rcta.interface_header_attribute5) ar_int_header_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE6&apos;, rcta.rowid,rcta.interface_header_attribute6) ar_int_header_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE7&apos;, rcta.rowid,rcta.interface_header_attribute7) ar_int_header_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE8&apos;, rcta.rowid,rcta.interface_header_attribute8) ar_int_header_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE9&apos;, rcta.rowid,rcta.interface_header_attribute9) ar_int_header_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE10&apos;,rcta.rowid,rcta.interface_header_attribute10) ar_int_header_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE11&apos;,rcta.rowid,rcta.interface_header_attribute11) ar_int_header_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE12&apos;,rcta.rowid,rcta.interface_header_attribute12) ar_int_header_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE13&apos;,rcta.rowid,rcta.interface_header_attribute13) ar_int_header_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE14&apos;,rcta.rowid,rcta.interface_header_attribute14) ar_int_header_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_INTERFACE_HEADER&apos;,rcta.interface_header_context,&apos;INTERFACE_HEADER_ATTRIBUTE15&apos;,rcta.rowid,rcta.interface_header_attribute15) ar_int_header_attribute15,
-- header dff
xxen_util.display_flexfield_context(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category) invoice_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE1&apos;, rcta.rowid,rcta.attribute1) ar_inv_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE2&apos;, rcta.rowid,rcta.attribute2) ar_inv_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE3&apos;, rcta.rowid,rcta.attribute3) ar_inv_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE4&apos;, rcta.rowid,rcta.attribute4) ar_inv_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE5&apos;, rcta.rowid,rcta.attribute5) ar_inv_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE6&apos;, rcta.rowid,rcta.attribute6) ar_inv_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE7&apos;, rcta.rowid,rcta.attribute7) ar_inv_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE8&apos;, rcta.rowid,rcta.attribute8) ar_inv_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE9&apos;, rcta.rowid,rcta.attribute9) ar_inv_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE10&apos;,rcta.rowid,rcta.attribute10) ar_inv_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE11&apos;,rcta.rowid,rcta.attribute11) ar_inv_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE12&apos;,rcta.rowid,rcta.attribute12) ar_inv_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE13&apos;,rcta.rowid,rcta.attribute13) ar_inv_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE14&apos;,rcta.rowid,rcta.attribute14) ar_inv_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX&apos;,rcta.attribute_category,&apos;ATTRIBUTE15&apos;,rcta.rowid,rcta.attribute15) ar_inv_attribute15,
-- line dff
xxen_util.display_flexfield_context(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category) line_attribute_category,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE1&apos;,  rctla.rowid,rctla.attribute1) ar_inv_line_attribute1,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE2&apos;,  rctla.rowid,rctla.attribute2) ar_inv_line_attribute2,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE3&apos;,  rctla.rowid,rctla.attribute3) ar_inv_line_attribute3,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE4&apos;,  rctla.rowid,rctla.attribute4) ar_inv_line_attribute4,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE5&apos;,  rctla.rowid,rctla.attribute5) ar_inv_line_attribute5,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE6&apos;,  rctla.rowid,rctla.attribute6) ar_inv_line_attribute6,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE7&apos;,  rctla.rowid,rctla.attribute7) ar_inv_line_attribute7,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE8&apos;,  rctla.rowid,rctla.attribute8) ar_inv_line_attribute8,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE9&apos;,  rctla.rowid,rctla.attribute9) ar_inv_line_attribute9,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE10&apos;, rctla.rowid,rctla.attribute10) ar_inv_line_attribute10,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE11&apos;, rctla.rowid,rctla.attribute11) ar_inv_line_attribute11,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE12&apos;, rctla.rowid,rctla.attribute12) ar_inv_line_attribute12,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE13&apos;, rctla.rowid,rctla.attribute13) ar_inv_line_attribute13,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE14&apos;, rctla.rowid,rctla.attribute14) ar_inv_line_attribute14,
xxen_util.display_flexfield_value(222,&apos;RA_CUSTOMER_TRX_LINES&apos;,rctla.attribute_category,&apos;ATTRIBUTE15&apos;, rctla.rowid,rctla.attribute15) ar_inv_line_attribute15,
-- distribution dff
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_context(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category) end dist_attribute_category,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE1&apos;,  rctlgda.rowid,rctlgda.attribute1) end ar_inv_dist_attribute1,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE2&apos;,  rctlgda.rowid,rctlgda.attribute2) end ar_inv_dist_attribute2,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE3&apos;,  rctlgda.rowid,rctlgda.attribute3) end ar_inv_dist_attribute3,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE4&apos;,  rctlgda.rowid,rctlgda.attribute4) end ar_inv_dist_attribute4,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE5&apos;,  rctlgda.rowid,rctlgda.attribute5) end ar_inv_dist_attribute5,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE6&apos;,  rctlgda.rowid,rctlgda.attribute6) end ar_inv_dist_attribute6,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE7&apos;,  rctlgda.rowid,rctlgda.attribute7) end ar_inv_dist_attribute7,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE8&apos;,  rctlgda.rowid,rctlgda.attribute8) end ar_inv_dist_attribute8,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE9&apos;,  rctlgda.rowid,rctlgda.attribute9) end ar_inv_dist_attribute9,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE10&apos;, rctlgda.rowid,rctlgda.attribute10) end ar_inv_dist_attribute10,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE11&apos;, rctlgda.rowid,rctlgda.attribute11) end ar_inv_dist_attribute11,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE12&apos;, rctlgda.rowid,rctlgda.attribute12) end ar_inv_dist_attribute12,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE13&apos;, rctlgda.rowid,rctlgda.attribute13) end ar_inv_dist_attribute13,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE14&apos;, rctlgda.rowid,rctlgda.attribute14) end ar_inv_dist_attribute14,
case when row_number() over (partition by rctlgda.customer_trx_line_id,rctlgda.cust_trx_line_gl_dist_id order by nvl(rctlsa.cust_trx_line_salesrep_id,0)) = 1 then xxen_util.display_flexfield_value(222,&apos;RA_CUST_TRX_LINE_GL_DIST&apos;,rctlgda.attribute_category,&apos;ATTRIBUTE15&apos;, rctlgda.rowid,rctlgda.attribute15) end ar_inv_dist_attribute15,
xu.attachment_category_,
xu.attachment_title_,
xu.attachment_description_,
xu.attachment_type_,
xxen_upload.check_and_add_attachment(
p_function_name=&gt;&apos;ARXTWMAI&apos;,
p_function_type=&gt;&apos;O&apos;,
p_category_name=&gt;xu.attachment_category_,
p_entity_name=&gt;&apos;RA_CUSTOMER_TRX&apos;,
p_data_type=&gt;xu.attachment_type_,
p_title=&gt;xu.attachment_title_,
p_description=&gt;xu.attachment_description_,
p_text=&gt;xu.attachment_content_,
p_file_id=&gt;xu.attachment_file_id_,
p_pk1_value=&gt;rcta.customer_trx_id
) attachment_content_,
xu.attachment_file_id_
from
(select
 xu.action_,
 xu.status_,
 xu.request_id_,
 xu.use_salespersons,
 xu.p_trx_idx,
 xu.p_line_idx,
 to_number(null) p_dist_idx,
 to_number(null) p_scred_idx,
 xu.default_gl_date,
 xu.upload_trx_identifier,
 null credit_against_transaction,
 to_number(null) credit_against_line,
 to_number(null) credit_line_amount,
 to_number(null) credit_tax_amount,
 to_number(null) credit_freight_amount,
 to_char(null) credit_memo_reason,
 to_char(null) applied_credit_batch_source,
 to_char(null) derive_applied_cm_batch_source,
 to_char(null) credit_method_for_rules,
 to_char(null) credit_method_for_installments,
 xxen_ar_upload.get_ar_inv_upload_trx_line_id(xu.request_id_,xu.p_line_idx) customer_trx_line_id,
 max(xu.attachment_category_) attachment_category_,
 max(xu.attachment_title_) attachment_title_,
 max(xu.attachment_description_) attachment_description_,
 max(xu.attachment_type_) attachment_type_,
 max(xu.attachment_content_) attachment_content_,
 max(xu.attachment_file_id_) attachment_file_id_,
 min(xu.upload_row) upload_row
 from
 xxen_ar_transaction_upl_9922_u xu
 where
 xxen_ar_upload.get_ar_inv_upload_status_(xu.request_id_,xu.p_line_idx)=xxen_upload.status_success
 group by
 xu.action_,
 xu.status_,
 xu.request_id_,
 xu.use_salespersons,
 xu.p_trx_idx,
 xu.p_line_idx,
 xu.default_gl_date,
 xu.upload_trx_identifier
 union all
 select
 xu.action_,
 xu.status_,
 xu.request_id_,
 xu.use_salespersons,
 xu.p_trx_idx,
 1 p_line_idx,
 to_number(null) p_dist_idx,
 to_number(null) p_scred_idx,
 xu.default_gl_date,
 xu.upload_trx_identifier,
 xu.credit_against_transaction,
 xu.credit_against_line,
 xu.credit_line_amount,
 xu.credit_tax_amount,
 xu.credit_freight_amount,
 xu.credit_memo_reason,
 xu.applied_credit_batch_source,
 xu.derive_applied_cm_batch_source,
 xu.credit_method_for_rules,
 xu.credit_method_for_installments,
 rctla_cm.customer_trx_line_id,
 xu.attachment_category_,
 xu.attachment_title_,
 xu.attachment_description_,
 xu.attachment_type_,
 xu.attachment_content_,
 xu.attachment_file_id_,
 xu.upload_row
 from
 xxen_ar_transaction_upl_9922_u xu,
 ra_customer_trx_lines_all rctla_cm
 where
 xxen_ar_upload.get_applied_cm_trx_id(xu.request_id_,xu.p_trx_idx) is not null and
 rctla_cm.customer_trx_id=xxen_ar_upload.get_applied_cm_trx_id(xu.request_id_,xu.p_trx_idx) and
 rctla_cm.line_type in (&apos;LINE&apos;,&apos;TAX&apos;,&apos;FREIGHT&apos;) and
 (xu.credit_against_line is null or
  (rctla_cm.line_type = &apos;LINE&apos; and xu.credit_against_line = rctla_cm.line_number) or
  (rctla_cm.line_type != &apos;LINE&apos; and xu.credit_against_line = (select rctla_cm2.line_number from ra_customer_trx_lines_all rctla_cm2 where rctla_cm2.customer_trx_id = rctla_cm.customer_trx_id and rctla_cm2.customer_trx_line_id = rctla_cm.link_to_cust_trx_line_id and rctla_cm2.line_type = &apos;LINE&apos;))
 )
) xu,
hr_all_organization_units_vl haouv,
ra_customer_trx_all rcta,
ar_payment_schedules_all apsa,
ra_customer_trx_lines_all rctla,
ra_cust_trx_line_gl_dist_all rctlgda,
ra_cust_trx_line_salesreps_all rctlsa,
gl_code_combinations_kfv gcck,
ra_batch_sources_all rbsa,
ra_batches_all rba,
ra_cust_trx_types_all rctta,
hz_cust_accounts hca_b,
hz_parties hp_b,
hz_cust_site_uses_all hcsua_b,
hz_cust_acct_sites_all hcasa_b,
hz_party_sites hps_b,
hz_cust_accounts hca_s,
hz_parties hp_s,
hz_cust_site_uses_all hcsua_s,
hz_cust_acct_sites_all hcasa_s,
hz_party_sites hps_s,
hz_cust_accounts hca_sold,
hz_parties hp_sold,
zx_lines_det_factors zldt,
zx_lines zl
--
where
xu.customer_trx_line_id=rctla.customer_trx_line_id and
haouv.organization_id=rcta.org_id and
rcta.customer_trx_id=apsa.customer_trx_id and
rcta.customer_trx_id=rctla.customer_trx_id and
rctla.line_type in (&apos;LINE&apos;,&apos;FREIGHT&apos;,&apos;TAX&apos;) and
case when xu.p_line_idx is not null then rctla.customer_trx_line_id end=rctlgda.customer_trx_line_id (+) and
rctlgda.account_class (+) in (&apos;REV&apos;,&apos;FREIGHT&apos;,&apos;TAX&apos;) and
rctlgda.code_combination_id=gcck.code_combination_id (+) and
--
rctla.customer_trx_id = rctlsa.customer_trx_id (+) and
case when xu.p_line_idx is not null then rctla.customer_trx_line_id end = rctlsa.customer_trx_line_id (+) and
(rctlgda.cust_trx_line_salesrep_id is null or
 rctlgda.cust_trx_line_salesrep_id = rctlsa.cust_trx_line_salesrep_id
) and
--
rcta.batch_source_id=rbsa.batch_source_id (+) and
rcta.org_id=rbsa.org_id (+) and
rcta.batch_id=rba.batch_id (+) and
rcta.org_id=rba.org_id (+) and
rcta.cust_trx_type_id=rctta.cust_trx_type_id and
rcta.org_id=rctta.org_id and
rcta.bill_to_customer_id=hca_b.cust_account_id and
hca_b.party_id=hp_b.party_id and
rcta.bill_to_site_use_id=hcsua_b.site_use_id and
hcsua_b.cust_acct_site_id=hcasa_b.cust_acct_site_id and
hcasa_b.party_site_id=hps_b.party_site_id and
rcta.ship_to_customer_id=hca_s.cust_account_id(+) and
hca_s.party_id=hp_s.party_id(+) and
rcta.ship_to_site_use_id=hcsua_s.site_use_id (+) and
hcsua_s.cust_acct_site_id=hcasa_s.cust_acct_site_id (+) and
hcasa_s.party_site_id=hps_s.party_site_id (+) and
rcta.sold_to_customer_id=hca_sold.cust_account_id(+) and
hca_sold.party_id=hp_sold.party_id(+) and
--
rctla.customer_trx_id=zldt.trx_id (+) and
rctla.customer_trx_line_id=zldt.trx_line_id (+) and
zldt.application_id (+)=222 and
zldt.entity_code (+)=&apos;TRANSACTIONS&apos; and
zldt.line_level_action (+) NOT IN (&apos;CANCEL&apos;,&apos;DISCARD&apos;,&apos;DELETE&apos;) and
--
case when rctla.line_type=&apos;TAX&apos; then rctla.tax_line_id end=zl.tax_line_id (+)
</SQL_TEXT>
   </UPLOAD_SQLS_ROW>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
