<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>
<LOVS>
<!-- loader xml for Enginatics Blitz Report lov: AP Supplier -->
 <LOVS_ROW>
  <GUID>B9847D20A0E4742FE0538931640A6379</GUID>
  <LOV_NAME>AP Supplier</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
aps.vendor_name value,
aps.segment1 description
from
ap_suppliers aps
where
(:$flex$.operating_unit is null or aps.vendor_id in (select assa.vendor_id from hr_all_organization_units_vl haouv, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos; and haouv.organization_id=assa.org_id)) and
(:$flex$.organization_code is null or aps.vendor_id in (select assa.vendor_id from org_organization_definitions ood, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos; and ood.operating_unit=assa.org_id))
order by
aps.vendor_name,
aps.vendor_id</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: CE Bank Account -->
 <LOVS_ROW>
  <GUID>B9847D20A0D6742FE0538931640A6379</GUID>
  <LOV_NAME>CE Bank Account</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
cba.bank_account_name value,
hp.party_name||&apos; (&apos;||cba.currency_code||&apos;)&apos; description
from
ce_bank_accounts cba,
hz_parties hp
where
cba.bank_id=hp.party_id
order by
hp.party_name,
cba.currency_code,
cba.bank_account_name</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: FND Flex Hierarchy -->
 <LOVS_ROW>
  <GUID>B52C6BB09E788499E0530100007F4F38</GUID>
  <LOV_NAME>FND Flex Hierarchy</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select distinct
ffvnh.parent_flex_value value,
(select ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end from fnd_flex_values_vl ffvv where ffvnh.flex_value_set_id=ffvv.flex_value_set_id and ffvv.parent_flex_value_low is null and ffvnh.parent_flex_value=ffvv.flex_value)||&apos; (&apos;||nvl2(ffvnh.is_child,null,xxen_util.meaning(&apos;TOP&apos;,&apos;TOP_BOTTOM_PERF&apos;,283)||&apos; &apos;)||xxen_util.meaning(&apos;CCONTAIN&apos;,&apos;ICX_CONDITIONS&apos;,0)||&apos; &apos;||xxen_util.meaning(ffvnh.max_range_attribute,&apos;RANGE_ATTRIBUTE&apos;,0)||&apos;)&apos; description,
ffvnh.is_child,
ffvnh.max_range_attribute
from
(
select distinct
ffvnh.flex_value_set_id,
ffvnh.parent_flex_value,
(select &apos;Y&apos; from gl_seg_val_norm_hierarchy gsvnh where ffvnh.parent_flex_value=gsvnh.child_flex_value and ffvnh.flex_value_set_id=gsvnh.flex_value_set_id and rownum=1) is_child,
max(ffvnh.range_attribute) over (partition by ffvnh.parent_flex_value) max_range_attribute
from
fnd_flex_value_norm_hierarchy ffvnh
where
ffvnh.flex_value_set_id in
(
select ffvs.flex_value_set_id from fnd_flex_value_sets ffvs where ffvs.flex_value_set_name=:$flex$.flex_value_set
union all
select
fifsv.flex_value_set_id
from
fnd_id_flex_segments_vl fifsv
where
fifsv.form_left_prompt=:$flex$.hierarchy_segment and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos; and
fifsv.id_flex_num in (
select
gl.chart_of_accounts_id
from
gl_ledgers gl
where
xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or
gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101) or
gl.ledger_id in (select hou.set_of_books_id from hr_operating_units hou where xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;)
)
)
) ffvnh
order by
ffvnh.is_child desc,
ffvnh.max_range_attribute desc,
length(ffvnh.parent_flex_value),
ffvnh.parent_flex_value</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: FND User Name -->
 <LOVS_ROW>
  <GUID>8E2FF36EDE8479D2E0530100007F1FF2</GUID>
  <LOV_NAME>FND User Name</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <FILTER_BEFORE_DISPLAY>Y</FILTER_BEFORE_DISPLAY>
  <LOV_QUERY>select
fu.user_name value,
trim(coalesce(
trim(papf.first_name||&apos; &apos;||papf.last_name),
fu.description,
fu.email_address,
papf.email_address
)||fu.inactive) description
from
(select case when sysdate between fu.start_date and nvl(fu.end_date,sysdate) then null else &apos; (inactive)&apos; end inactive, fu.* from fnd_user fu) fu,
(select papf.* from per_all_people_f papf where sysdate between papf.effective_start_date and papf.effective_end_date) papf,
(
select distinct
furg.user_id,
count(*) over (partition by furg.user_id) resp_count,
max(fr.responsibility_key) over (partition by furg.user_id) max_responsibility_key
from
fnd_responsibility fr,
fnd_user_resp_groups_direct furg
where
fr.responsibility_id=furg.responsibility_id and
fr.application_id=furg.responsibility_application_id
) furg
where
fu.employee_id=papf.person_id(+) and
fu.user_id=furg.user_id(+) and
not (furg.resp_count=1 and furg.max_responsibility_key=&apos;IRC_EXT_CANDIDATE&apos;)
order by
fu.inactive desc,
fu.user_name</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>FND user names, excluding iRecruitment candidates.</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: GL Segment -->
 <LOVS_ROW>
  <GUID>C428002B0F22099BE0530100007FE0E4</GUID>
  <LOV_NAME>GL Segment</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select distinct
fifsv.form_left_prompt value,
lower(fifsv.application_column_name) description,
min(fifsv.id_flex_num) over (partition by fifsv.application_column_name, fifsv.form_left_prompt) min_id_flex_num,
min(fifsv.segment_num) over (partition by fifsv.application_column_name, fifsv.form_left_prompt) min_segment_num
from
fnd_id_flex_segments_vl fifsv
where
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos; and
fifsv.flex_value_set_id in (select ffvnh.flex_value_set_id from fnd_flex_value_norm_hierarchy ffvnh) and
fifsv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(
xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or
gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) or 
gl.ledger_id in (select hou.set_of_books_id from hr_operating_units hou where xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;)
) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
order by
min_id_flex_num,
min_segment_num</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: HR Operating Unit -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEB979D2E0530100007F1FF2</GUID>
  <LOV_NAME>HR Operating Unit</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>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>
  <VERSION_COMMENTS>Fixed where clause duplication</VERSION_COMMENTS>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <DESCRIPTION>وحدة التشغيل مقيدة بالتحكم في الوصول متعدد المنظمات (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <DESCRIPTION>Bedieneinheit eingeschränkt durch Multi Org Access Control (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>E</LANGUAGE>
    <DESCRIPTION>Unidad operativa restringida por el control de acceso multiorgánico (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <DESCRIPTION>Unité opérationnelle restreinte par un contrôle d&apos;accès multi-organismes (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <DESCRIPTION>Unità operativa limitata dal controllo di accesso multiorgano (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <DESCRIPTION>多機関アクセス制御(MOAC)で制限された操作ユニット</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>KO</LANGUAGE>
    <DESCRIPTION>다중 조직 액세스 제어 (MOAC)에 의해 제한되는 운영 단위</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>PTB</LANGUAGE>
    <DESCRIPTION>Unidade operacional restrita por controle de acesso multi org (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <DESCRIPTION>Операционное устройство, ограниченное мультиорганизованным контролем доступа (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <DESCRIPTION>Styrenhet begränsad av multi-org access control (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <DESCRIPTION>Çoklu kuruluş erişim kontrolü (MOAC) tarafından kısıtlanan işletim birimi</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <DESCRIPTION>Operating unit restricted by multi org access control (MOAC)</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <DESCRIPTION>受多机构访问控制（MOAC）限制的操作单元。</DESCRIPTION>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: IBY Payment Process Request Status -->
 <LOVS_ROW>
  <GUID>1DF0849953A80EF1E0630100007F1E10</GUID>
  <LOV_NAME>IBY Payment Process Request Status</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
flvv.meaning value,
flvv.description description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;IBY_REQUEST_STATUSES&apos; and
flvv.view_application_id=0 and
flvv.security_group_id=0 and
flvv.enabled_flag = &apos;Y&apos; and
trunc(sysdate) between nvl(flvv.start_date_active,trunc(sysdate)) and nvl(flvv.end_date_active,trunc(sysdate))
order by
value</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: IBY Payment Status -->
 <LOVS_ROW>
  <GUID>1E1B6241E3B0CDA3E0630100007F5FB2</GUID>
  <LOV_NAME>IBY Payment Status</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select
flvv.meaning value,
flvv.description description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;IBY_PAYMENT_STATUSES&apos; and
flvv.view_application_id=0 and
flvv.security_group_id=0 and
flvv.enabled_flag = &apos;Y&apos; and
trunc(sysdate) between nvl(flvv.start_date_active,trunc(sysdate)) and nvl(flvv.end_date_active,trunc(sysdate))
order by
value</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
<!-- loader xml for Enginatics Blitz Report lov: Yes -->
 <LOVS_ROW>
  <GUID>8E2FF36EDEA679D2E0530100007F1FF2</GUID>
  <LOV_NAME>Yes</LOV_NAME>
  <VALIDATE_FROM_LIST>Y</VALIDATE_FROM_LIST>
  <LOV_QUERY>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY>
  <LOV_TRANSLATIONS>
   <LOV_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
   </LOV_TRANSLATIONS_ROW>
  </LOV_TRANSLATIONS>
 </LOVS_ROW>
</LOVS>
<REPORTS>
<!-- loader xml for Enginatics Blitz Report: IBY Payment Process Request Details -->
 <REPORTS_ROW>
  <GUID>B67276DF07344941E0530100007F1494</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>with dist_hierarchy as (
select /*+ materialize */
&amp;dist_hierarchy_levels
x.flex_value_set_id,
x.child_flex_value_low,
x.child_flex_value_high
from
(
select
substr(sys_connect_by_path(ffvnh.parent_flex_value,&apos;|&apos;),2) path,
ffvnh.child_flex_value_low,
ffvnh.child_flex_value_high,
ffvnh.flex_value_set_id
from
(select ffvnh.* from fnd_flex_value_norm_hierarchy ffvnh where ffvnh.flex_value_set_id=:dist_flex_value_set_id) ffvnh
where
connect_by_isleaf=1 and
ffvnh.range_attribute=&apos;C&apos;
connect by nocycle
ffvnh.parent_flex_value between prior ffvnh.child_flex_value_low and prior ffvnh.child_flex_value_high and
ffvnh.flex_value_set_id=prior ffvnh.flex_value_set_id and
prior ffvnh.range_attribute=&apos;P&apos;
start with
ffvnh.parent_flex_value=:dist_parent_flex_value
) x
)
select
xep.name legal_entity,
hou.name operating_unit,
ipsr.call_app_pay_service_req_code payment_process_request,
xxen_util.client_time(aisca.creation_date) creation_date,
trunc(sysdate)-trunc(aisca.creation_date) age,
trunc(aisca.check_date) check_date,
aisca.pay_from_date,
aisca.pay_thru_date,
(select count(*) from iby_payments_all ipa where ipsr.payment_service_request_id=ipa.payment_service_request_id and ipa.payment_status not in (&apos;REMOVED&apos;,&apos;REMOVED_DOCUMENT_SPOILED&apos;,&apos;REMOVED_INSTRUCTION_TERMINATED&apos;,&apos;REMOVED_REQUEST_TERMINATED&apos;,&apos;REMOVED_PAYMENT_STOPPED&apos;,&apos;FAILED_BY_REJECTION_LEVEL&apos;,&apos;FAILED_BY_CALLING_APP&apos;,&apos;REJECTED&apos;)) payments,
(select count(distinct ipa.payment_instruction_id) from iby_payments_all ipa where ipsr.payment_service_request_id=ipa.payment_service_request_id) payment_instructions,
ap_payment_util_pkg.get_selected_ps_count(aisca.checkrun_id, ipsr.payment_service_request_id) selected_scheduled_payments,
ap_payment_util_pkg.get_rejected_ps_count(ipsr.payment_service_request_id) rejected_scheduled_payments,
xxen_util.meaning(ap_payment_util_pkg.get_payment_status_flag(ipsr.payment_service_request_id),&apos;PSR_PAYMENTS_RECORDED&apos;,200) payments_recorded,
nvl2(ipsr.payment_service_request_id,xxen_util.meaning(ap_payment_util_pkg.get_psr_status(ipsr.payment_service_request_id,ipsr.payment_service_request_status),&apos;IBY_REQUEST_STATUSES&apos;,0),xxen_util.meaning(aisca.status,&apos;CHECK BATCH STATUS&apos;,200)) payment_process_request_status,
xxen_util.meaning(ipsr.payment_rejection_level_code,&apos;IBY_PAYMENT_REJECTION_LEVELS&apos;,0) payment_rejection_level,
xxen_util.meaning(ipsr.process_type,&apos;IBY_PROCESS_TYPES&apos;,0) process_type,
ipia.payment_instruction_id payment_instruction_reference,
ipia.pay_admin_assigned_ref_code pay_admin_assigned_reference,
xxen_util.meaning(ipia.payment_instruction_status,&apos;IBY_PAY_INSTRUCTION_STATUSES&apos;,0) payment_instruction_status,
ipa.payment_reference_number,
ipa.paper_document_number,
ipa.payment_amount,
case
when aca.check_id is not null
then nvl(aca.base_amount,aca.amount)
when ipa.payment_currency_code=gl.currency_code
then ipa.payment_amount
when ipa.payment_currency_code=gl.currency_code and :p_pay_inv_exch_rate_type is not null
then round(ipa.payment_amount*gl_currency_api.get_rate(ipa.payment_currency_code,gl.currency_code,trunc(aisca.check_date),:p_pay_inv_exch_rate_type),2)
end payment_func_curr_amount,
ipa.payment_date,
ipa.payment_currency_code currency,
xxen_util.meaning(ipa.payment_status,&apos;IBY_PAYMENT_STATUSES&apos;,0) payment_status,
nvl(ipa.payee_party_name,hp1.party_name) trading_partner,
fav.application_name source_product,
idpa.calling_app_doc_ref_number document_reference_number,
xxen_util.meaning(idpa.document_type,&apos;IBY_DOCUMENT_TYPES&apos;,0) document_type,
xxen_util.meaning(idpa.document_status,&apos;IBY_DOCS_PAYABLE_STATUSES&apos;,0) document_status,
idpa.document_date,
idpa.document_amount,
idpa.document_currency_code document_currency,
idpa.payment_amount amount_paid,
idpa.payment_curr_discount_taken discount_taken,
idpa.payment_amount+nvl(idpa.payment_curr_discount_taken,0) amount_paid_incl_discount,
idpa.payment_currency_code document_payment_currency,
idpa.payment_date document_payment_date,
case when idpa.document_currency_code&lt;&gt;gl.currency_code then (select gdct.user_conversion_type from gl_daily_conversion_types gdct where aia.exchange_rate_type=gdct.conversion_type) end document_exch_rate_type,
case when idpa.document_currency_code&lt;&gt;gl.currency_code then aia.exchange_date end document_exch_rate_date,
case when idpa.document_currency_code&lt;&gt;gl.currency_code then aia.exchange_rate end document_exch_rate,
nvl(aia.base_amount,idpa.document_amount) document_func_curr_amount,
&amp;invoice_distribution_columns
&amp;dist_segment_columns
&amp;dist_hierarchy_levels4
case
when idpa.payment_currency_code&lt;&gt;gl.currency_code and aca.check_id is not null then (select gdct.user_conversion_type from gl_daily_conversion_types gdct where aca.exchange_rate_type=gdct.conversion_type)
when idpa.payment_currency_code&lt;&gt;gl.currency_code and :p_pay_inv_exch_rate_type is not null then (select gdct.user_conversion_type from gl_daily_conversion_types gdct where gdct.conversion_type=:p_pay_inv_exch_rate_type)
end payment_exch_rate_type,
case
when idpa.payment_currency_code&lt;&gt;gl.currency_code and aca.check_id is not null then aca.exchange_date
when idpa.payment_currency_code&lt;&gt;gl.currency_code and :p_pay_inv_exch_rate_type is not null then trunc(aisca.check_date)
end payment_exch_rate_date,
case
when idpa.payment_currency_code&lt;&gt;gl.currency_code and aca.check_id is not null then aca.exchange_rate
when idpa.payment_currency_code&lt;&gt;gl.currency_code and :p_pay_inv_exch_rate_type is not null then gl_currency_api.get_rate(idpa.payment_currency_code,gl.currency_code,trunc(aisca.check_date),:p_pay_inv_exch_rate_type)
end payment_exch_rate,
case
when idpa.payment_currency_code=gl.currency_code then idpa.payment_amount
when idpa.payment_currency_code&lt;&gt;gl.currency_code and aca.check_id is not null then round(idpa.payment_amount*aca.exchange_rate,2)
when idpa.payment_currency_code&lt;&gt;gl.currency_code and :p_pay_inv_exch_rate_type is not null then round(idpa.payment_amount*gl_currency_api.get_rate(idpa.payment_currency_code,gl.currency_code,trunc(aisca.check_date),:p_pay_inv_exch_rate_type),2)
end amount_paid_func_curr_amount,
case
when idpa.payment_currency_code=gl.currency_code then idpa.payment_curr_discount_taken
when idpa.payment_currency_code&lt;&gt;gl.currency_code and aca.check_id is not null then round(idpa.payment_curr_discount_taken*aca.exchange_rate,2)
when idpa.payment_currency_code&lt;&gt;gl.currency_code and :p_pay_inv_exch_rate_type is not null then round(idpa.payment_curr_discount_taken*gl_currency_api.get_rate(idpa.payment_currency_code,gl.currency_code,trunc(aisca.check_date),:p_pay_inv_exch_rate_type),2)
end discount_taken_func_curr_amt,
case
when idpa.payment_currency_code=gl.currency_code then idpa.payment_amount+nvl(idpa.payment_curr_discount_taken,0)
when idpa.payment_currency_code&lt;&gt;gl.currency_code and aca.check_id is not null then round((idpa.payment_amount+nvl(idpa.payment_curr_discount_taken,0))*aca.exchange_rate,2)
when idpa.payment_currency_code&lt;&gt;gl.currency_code and :p_pay_inv_exch_rate_type is not null then round((idpa.payment_amount+nvl(idpa.payment_curr_discount_taken,0))*gl_currency_api.get_rate(idpa.payment_currency_code,gl.currency_code,trunc(aisca.check_date),:p_pay_inv_exch_rate_type),2)
end amount_paid_incl_disc_func_amt,
nvl(cba.currency_code,(select cba2.currency_code from ce_bank_accounts cba2 where ipsr.internal_bank_account_id=cba2.bank_account_id)) payment_currency,
case when :p_pay_inv_exch_rate_type is not null and idpa.document_currency_code&lt;&gt;idpa.payment_currency_code then (select gdct.user_conversion_type from gl_daily_conversion_types gdct where gdct.conversion_type=:p_pay_inv_exch_rate_type) end pay_inv_curr_exch_rate_type,
case when :p_pay_inv_exch_rate_type is not null and idpa.document_currency_code&lt;&gt;idpa.payment_currency_code then gl_currency_api.get_rate(idpa.payment_currency_code,idpa.document_currency_code,ipa.payment_date,:p_pay_inv_exch_rate_type) end payment_inv_curr_exch_rate,
case when :p_pay_inv_exch_rate_type is not null and idpa.document_currency_code&lt;&gt;idpa.payment_currency_code then round(idpa.payment_amount*gl_currency_api.get_rate(idpa.payment_currency_code,idpa.document_currency_code,ipa.payment_date,:p_pay_inv_exch_rate_type),2) end payment_inv_curr_amount,
ieba.masked_bank_account_num payee_bank_account,
ieba.masked_iban iban,
iebav.bank_name payee_bank_name,
idpa.bank_charge_bearer,
xxen_util.meaning(idpa.exclusive_payment_flag,&apos;YES_NOW&apos;,0) pay_each_document_alone,
iprv.meaning payment_reason,
idpa.payment_reason_comments,
ipmv.payment_method_name payment_method,
iappv.payment_profile_name payment_process_profile,
hz_format_pub.format_address(hps.location_id,null,null,&apos;,&apos;,null,null,null,null) payee_address,
ifv.format_name payment_format,
idcv.meaning delivery_channel,
idpa.settlement_priority,
idpa.unique_remittance_identifier,
idpa.uri_check_digit,
idpa.remittance_message1,
idpa.remittance_message2,
idpa.remittance_message3,
xxen_util.meaning(idpa.payment_function,&apos;IBY_PAYMENT_FUNCTIONS&apos;,0) payment_function,
ittv.name processing_transaction_type,
cba.bank_account_name internal_bank_account,
idpa.amount_withheld,
ite.error_message document_validation_error,
(select ivsv.validation_set_display_name from iby_validation_sets_vl ivsv where ite.validation_set_code=ivsv.validation_set_code) document_validation_set,
xxen_util.meaning(ite.error_status,&apos;IBY_TRANSACTION_ERROR_STATUSES&apos;,0) document_error_status,
ite.error_date document_date_failed,
ite.pass_date document_date_passed,
ite.override_date document_override_date,
ite.override_justification doc_override_justification,
ite2.error_message payment_validation_error,
(select ivsv.validation_set_display_name from iby_validation_sets_vl ivsv where ite2.validation_set_code=ivsv.validation_set_code) payment_validation_set,
xxen_util.meaning(ite2.error_status,&apos;IBY_TRANSACTION_ERROR_STATUSES&apos;,0) payment_error_status,
ite2.error_date payment_date_failed,
ite2.pass_date payment_date_passed,
ite2.override_date payment_override_date,
ite2.override_justification payment_override_justification,
xxen_util.user_name(aisca.created_by) request_created_by,
xxen_util.user_name(aisca.last_updated_by) request_last_updated_by,
xxen_util.user_name(idpa.created_by) document_created_by,
xxen_util.client_time(idpa.creation_date) document_creation_date,
xxen_util.user_name(idpa.last_updated_by) document_last_updated_by,
xxen_util.client_time(idpa.last_update_date) document_last_update_date,
idpa.payment_service_request_id,
aisca.checkrun_id,
idpa.payment_id,
idpa.document_payable_id
from
iby_pay_service_requests ipsr,
ap_inv_selection_criteria_all aisca,
iby_docs_payable_all idpa,
ap_invoices_all aia,
(
select
aida.*,
gcck.chart_of_accounts_id,
&amp;dist_segment_cols2
&amp;dist_hierarchy_levels2
gcck.code_combination_id ccid
from
ap_invoice_distributions_all aida,
gl_code_combinations_kfv gcck,
dist_hierarchy h
where
&apos;&amp;show_invoice_distributions&apos;=&apos;Y&apos; and
aida.dist_code_combination_id=gcck.code_combination_id(+) and
gcck.&amp;dist_hierarchy_segment_column between nvl(h.child_flex_value_low(+),gcck.&amp;dist_hierarchy_segment_column) and nvl(h.child_flex_value_high(+),gcck.&amp;dist_hierarchy_segment_column)
) aida,
ap_checks_all aca,
hz_parties hp1,
hz_parties hp2,
hz_party_sites hps,
fnd_application_vl fav,
iby_ext_bank_accounts_v iebav,
iby_ext_bank_accounts ieba,
iby_payment_reasons_vl iprv,
iby_payment_methods_vl ipmv,
iby_acct_pmt_profiles_vl iappv,
iby_formats_vl ifv,
iby_delivery_channels_vl idcv,
iby_trxn_types_vl ittv,
iby_payments_all ipa,
iby_pay_instructions_all ipia,
hr_operating_units hou,
gl_ledgers gl,
xle_entity_profiles xep,
ce_bank_accounts cba,
(
select distinct
ite.transaction_id,
listagg(ite.error_message,chr(10)) within group (order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) error_message,
max(ite.validation_set_code) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) validation_set_code,
max(ite.error_status) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) error_status,
max(ite.error_date) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) error_date,
max(ite.pass_date) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) pass_date,
max(ite.override_date) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) override_date,
max(ite.override_justification) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) override_justification
from
iby_transaction_errors ite
where
ite.transaction_type=&apos;DOCUMENT_PAYABLE&apos;
) ite,
(
select distinct
ite.transaction_id,
listagg(ite.error_message,chr(10)) within group (order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) error_message,
max(ite.validation_set_code) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) validation_set_code,
max(ite.error_status) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) error_status,
max(ite.error_date) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) error_date,
max(ite.pass_date) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) pass_date,
max(ite.override_date) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) override_date,
max(ite.override_justification) keep (dense_rank last order by ite.transaction_error_id) over (partition by ite.transaction_id &amp;partition_by_error) override_justification
from
iby_transaction_errors ite
where
ite.transaction_type=&apos;PAYMENT&apos;
) ite2
where
1=1 and
ipsr.call_app_pay_service_req_code=aisca.checkrun_name(+) and
ipsr.payment_service_request_id=idpa.payment_service_request_id and
decode(idpa.calling_app_id,200,to_number(idpa.calling_app_doc_unique_ref2))=aia.invoice_id(+) and
aia.invoice_id=aida.invoice_id(+) and
idpa.payment_id=aca.payment_id(+) and
idpa.payee_party_id=hp1.party_id and
idpa.inv_payee_party_id=hp2.party_id(+) and
idpa.party_site_id=hps.party_site_id(+) and
idpa.calling_app_id=fav.application_id and
idpa.external_bank_account_id=iebav.bank_account_id(+) and
idpa.external_bank_account_id=ieba.ext_bank_account_id(+) and
idpa.payment_reason_code=iprv.payment_reason_code(+) and
idpa.payment_method_code=ipmv.payment_method_code(+) and
idpa.payment_profile_id=iappv.payment_profile_id(+) and
idpa.payment_format_code=ifv.format_code(+) and
idpa.delivery_channel_code=idcv.delivery_channel_code(+) and
idpa.pay_proc_trxn_type_code=ittv.pay_proc_trxn_type_code(+) and
idpa.payment_id=ipa.payment_id(+) and
ipa.payment_instruction_id=ipia.payment_instruction_id(+) and
decode(idpa.org_type,&apos;OPERATING_UNIT&apos;,idpa.org_id)=hou.organization_id(+) and
(hou.organization_id is null or 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)) and
hou.set_of_books_id=gl.ledger_id(+) and
idpa.legal_entity_id=xep.legal_entity_id(+) and
idpa.internal_bank_account_id=cba.bank_account_id(+) and
idpa.document_payable_id=ite.transaction_id(+) and
idpa.payment_id=ite2.transaction_id(+)
order by
xep.name,
hou.name,
creation_date desc,
idpa.payment_id desc</SQL_TEXT>
  <VERSION_COMMENTS>Performance: materialized distribution hierarchy once in a CTE to avoid repeated CONNECT BY evaluation for each invoice distribution row when Show Invoice Distributions is enabled.</VERSION_COMMENTS>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>تفاصيل طلب مدير الدفع بما في ذلك الحالات والمستندات المدفوعة أو المرفوضة والمبالغ ورسائل الرفض</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Zahlungsmanager-Prozessanforderungsdetails einschließlich Status, bezahlter oder abgelehnter Dokumente, Beträge und Ablehnungsfehlermeldungen</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>E</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Detalles de las solicitudes de proceso del gestor de pagos, incluidos los estados, los documentos pagados o rechazados, los importes y los mensajes de error de rechazo</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Les détails de la procédure de demande du gestionnaire de paiement, y compris les statuts, les documents payés ou rejetés, les montants et les messages d&apos;erreur de rejet</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>I</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>I dettagli delle richieste del gestore dei pagamenti, compresi gli stati, i documenti pagati o rifiutati, gli importi e i messaggi di errore di rifiuto</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>JA</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>支払い管理者のプロセスリクエストの詳細（ステータス、支払い済みまたは拒否された書類、金額、拒否メッセージを含む</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>KO</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>상태, 지불 또는 거부 된 문서, 금액 및 거부 오류 메시지를 포함한 지불 관리자 프로세스 요청 세부 정보</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>PTB</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Detalhes do processo de solicitação do gerente de pagamento incluindo status, documentos pagos ou rejeitados, valores e mensagens de rejeição</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>RU</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Менеджер по платежам обрабатывает заявки, включая статусы, оплаченные или отклоненные документы, суммы и сообщения об отказе в обслуживании.</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>S</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Information om begäran om betalningshanterare inklusive status, betalda eller avvisade dokument, belopp och felmeddelanden om avslag</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>TR</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Ödeme yöneticisi işlemleri, durumlar, ödenen veya reddedilen belgeler, tutarlar ve ret hata mesajları dahil olmak üzere istek ayrıntıları</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>Payment manager process request details including statuses, paid or rejected documents, amounts and rejection eror messages</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <REPORT_NAME>IBY Payment Process Request Details</REPORT_NAME>
    <DESCRIPTION>支付经理处理请求的细节，包括状态、已支付或拒绝的文件、金额和拒绝的错误信息</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Enginatics</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>R12 only</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>&amp;dist_hierarchy_levels</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;dist_hierarchy_levels2</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;dist_hierarchy_levels4</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;dist_hierarchy_segment_column</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;dist_segment_cols2</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;dist_segment_columns</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;invoice_distribution_columns</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;partition_by_error</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>&amp;show_invoice_distributions</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:dist_flex_value_set_id</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:dist_parent_flex_value</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_pay_inv_exch_rate_type</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>-30</DISPLAY_SEQUENCE>
    <ANCHOR>:dist_flex_value_set_id</ANCHOR>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select
min(fifsv.flex_value_set_id)
from
fnd_id_flex_segments_vl fifsv
where
fifsv.form_left_prompt=:$flex$.hierarchy_segment and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.id_flex_num in (
select gl.chart_of_accounts_id from gl_ledgers gl, hr_operating_units hou
where (:$flex$.operating_unit is null or xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;) and hou.set_of_books_id=gl.ledger_id
)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Dist Flex Value Set Id</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>-20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:hierarchy_segment_column=:hierarchy_segment_column</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select
min(fifsv.application_column_name) text
from
fnd_id_flex_segments_vl fifsv
where
fifsv.form_left_prompt=:$flex$.hierarchy_segment and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.id_flex_num in (
select gl.chart_of_accounts_id from gl_ledgers gl, hr_operating_units hou
where (:$flex$.operating_unit is null or xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;) and hou.set_of_books_id=gl.ledger_id
)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment Column</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <ANCHOR>&amp;dist_hierarchy_segment_column</ANCHOR>
    <SQL_TEXT>&lt;parameter_value&gt;</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment Column</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>-10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:max_hierarchy_levels=:max_hierarchy_levels</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select
nvl(max(level),0)+1
from
(select ffvnh.* from fnd_flex_value_norm_hierarchy ffvnh where ffvnh.flex_value_set_id in (
select
fifsv.flex_value_set_id
from
fnd_id_flex_segments_vl fifsv
where
fifsv.form_left_prompt=:$flex$.hierarchy_segment and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.id_flex_num in (
select gl.chart_of_accounts_id from gl_ledgers gl, hr_operating_units hou
where (:$flex$.operating_unit is null or xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;) and hou.set_of_books_id=gl.ledger_id
)
)) ffvnh
where
connect_by_isleaf=1 and
ffvnh.range_attribute=&apos;C&apos;
connect by nocycle
ffvnh.parent_flex_value between prior ffvnh.child_flex_value_low and prior ffvnh.child_flex_value_high and
ffvnh.flex_value_set_id=prior ffvnh.flex_value_set_id and
prior ffvnh.range_attribute=&apos;P&apos;
start with
ffvnh.parent_flex_value=:$flex$.hierarchy</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Max Hierarchy Levels</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>hou.name=:operating_unit</SQL_TEXT>
    <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>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Unité d&apos;exploitation</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>ipsr.call_app_pay_service_req_code=:payment_process_request</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Demande de processus de paiement</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Payment Process Request</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>ap_payment_util_pkg.get_psr_status(ipsr.payment_service_request_id,ipsr.payment_service_request_status)=xxen_util.lookup_code(:payment_process_request_status,&apos;IBY_REQUEST_STATUSES&apos;,0)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>IBY Payment Process Request Status</LOV_NAME>
    <LOV_GUID>1DF0849953A80EF1E0630100007F1E10</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
flvv.description description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;IBY_REQUEST_STATUSES&apos; and
flvv.view_application_id=0 and
flvv.security_group_id=0 and
flvv.enabled_flag = &apos;Y&apos; and
trunc(sysdate) between nvl(flvv.start_date_active,trunc(sysdate)) and nvl(flvv.end_date_active,trunc(sysdate))
order by
value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Payment Process Request Status</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>8</SORT_ORDER>
    <DISPLAY_SEQUENCE>40</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>ipa.payment_status=xxen_util.lookup_code(:payment_status,&apos;IBY_PAYMENT_STATUSES&apos;,0)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>IBY Payment Status</LOV_NAME>
    <LOV_GUID>1E1B6241E3B0CDA3E0630100007F5FB2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
flvv.meaning value,
flvv.description description
from
fnd_lookup_values_vl flvv
where
flvv.lookup_type=&apos;IBY_PAYMENT_STATUSES&apos; and
flvv.view_application_id=0 and
flvv.security_group_id=0 and
flvv.enabled_flag = &apos;Y&apos; and
trunc(sysdate) between nvl(flvv.start_date_active,trunc(sysdate)) and nvl(flvv.end_date_active,trunc(sysdate))
order by
value</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Payment Status</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>9</SORT_ORDER>
    <DISPLAY_SEQUENCE>50</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>aisca.creation_date&gt;=:request_creation_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select sysdate-1 from dual where
:$flex$.payment_process_request is null and
:$flex$.request_created_by is null and
:$flex$.internal_bank_account is null and
:$flex$.trading_partner is null and
:$flex$.rejected_documents_only is null</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Date de création de la demande Du</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Request Creation Date From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>10</SORT_ORDER>
    <DISPLAY_SEQUENCE>60</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>aisca.creation_date&lt;:request_creation_to+1</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>last_day(:$flex$.request_creation_date_from)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Date de création de la demande au</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Request Creation Date To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>11</SORT_ORDER>
    <DISPLAY_SEQUENCE>70</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>aisca.created_by=xxen_util.user_id(:created_by)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>FND User Name</LOV_NAME>
    <LOV_GUID>8E2FF36EDE8479D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
fu.user_name value,
trim(coalesce(
trim(papf.first_name||&apos; &apos;||papf.last_name),
fu.description,
fu.email_address,
papf.email_address
)||fu.inactive) description
from
(select case when sysdate between fu.start_date and nvl(fu.end_date,sysdate) then null else &apos; (inactive)&apos; end inactive, fu.* from fnd_user fu) fu,
(select papf.* from per_all_people_f papf where sysdate between papf.effective_start_date and papf.effective_end_date) papf,
(
select distinct
furg.user_id,
count(*) over (partition by furg.user_id) resp_count,
max(fr.responsibility_key) over (partition by furg.user_id) max_responsibility_key
from
fnd_responsibility fr,
fnd_user_resp_groups_direct furg
where
fr.responsibility_id=furg.responsibility_id and
fr.application_id=furg.responsibility_application_id
) furg
where
fu.employee_id=papf.person_id(+) and
fu.user_id=furg.user_id(+) and
not (furg.resp_count=1 and furg.max_responsibility_key=&apos;IRC_EXT_CANDIDATE&apos;)
order by
fu.inactive desc,
fu.user_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Demande créée par</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Request Created By</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>12</SORT_ORDER>
    <DISPLAY_SEQUENCE>80</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>cba.bank_account_name=:internal_bank_account</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>CE Bank Account</LOV_NAME>
    <LOV_GUID>B9847D20A0D6742FE0538931640A6379</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
cba.bank_account_name value,
hp.party_name||&apos; (&apos;||cba.currency_code||&apos;)&apos; description
from
ce_bank_accounts cba,
hz_parties hp
where
cba.bank_id=hp.party_id
order by
hp.party_name,
cba.currency_code,
cba.bank_account_name</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Compte bancaire interne</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Internal Bank Account</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>13</SORT_ORDER>
    <DISPLAY_SEQUENCE>90</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>ipa.payee_party_name=:payee_party_name</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>AP Supplier</LOV_NAME>
    <LOV_GUID>B9847D20A0E4742FE0538931640A6379</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <FILTER_BEFORE_DISPLAY_DSP>Y</FILTER_BEFORE_DISPLAY_DSP>
    <LOV_QUERY_DSP>select
aps.vendor_name value,
aps.segment1 description
from
ap_suppliers aps
where
(:$flex$.operating_unit is null or aps.vendor_id in (select assa.vendor_id from hr_all_organization_units_vl haouv, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.operating_unit,haouv.name)=&apos;Y&apos; and haouv.organization_id=assa.org_id)) and
(:$flex$.organization_code is null or aps.vendor_id in (select assa.vendor_id from org_organization_definitions ood, ap_supplier_sites_all assa where xxen_util.contains(:$flex$.organization_code,ood.organization_code)=&apos;Y&apos; and ood.operating_unit=assa.org_id))
order by
aps.vendor_name,
aps.vendor_id</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Partenaire commercial</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Trading Partner</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>14</SORT_ORDER>
    <DISPLAY_SEQUENCE>100</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>(
idpa.document_status in (
&apos;REJECTED&apos;,
&apos;PAYMENT_FAILED_VALIDATION&apos;,
&apos;FAILED_BY_RELATED_DOCUMENT&apos;,
&apos;FAILED_BY_REJECTION_LEVEL&apos;,
&apos;FAILED_BY_CALLING_APP&apos;,
&apos;REMOVED&apos;,
&apos;REMOVED_PAYMENT_REMOVED&apos;,
&apos;REMOVED_REQUEST_TERMINATED&apos;,
&apos;REMOVED_INSTRUCTION_TERMINATED&apos;,
&apos;REMOVED_PAYMENT_STOPPED&apos;,
&apos;REMOVED_PAYMENT_VOIDED&apos;
) or
ipa.payment_status in (
&apos;FAILED_BY_REJECTION_LEVEL&apos;,
&apos;FAILED_BY_CALLING_APP&apos;,
&apos;REMOVED&apos;,
&apos;REMOVED_REQUEST_TERMINATED&apos;,
&apos;REMOVED_INSTRUCTION_TERMINATED&apos;,
&apos;REMOVED_DOCUMENT_SPOILED&apos;,
&apos;REMOVED_PAYMENT_STOPPED&apos;,
&apos;VOID&apos;,
&apos;REJECTED&apos;,
&apos;FAILED_VALIDATION&apos;
) 
)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Rejeté ou échoué seulement</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Rejected or Failed Only</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>15</SORT_ORDER>
    <DISPLAY_SEQUENCE>110</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>idpa.document_status not in (
&apos;REMOVED&apos;,
&apos;REMOVED_INSTRUCTION_TERMINATED&apos;,
&apos;REMOVED_PAYMENT_REMOVED&apos;,
&apos;REMOVED_PAYMENT_STOPPED&apos;,
&apos;REMOVED_PAYMENT_VOIDED&apos;,
&apos;REMOVED_REQUEST_TERMINATED&apos;
)</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Exclure les documents supprimés</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Exclude Removed Documents</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>16</SORT_ORDER>
    <DISPLAY_SEQUENCE>120</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;partition_by_error</ANCHOR>
    <SQL_TEXT>, ite.transaction_error_id</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Développer les détails de l&apos;erreur</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Expand Error Details</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>17</SORT_ORDER>
    <DISPLAY_SEQUENCE>130</DISPLAY_SEQUENCE>
    <ANCHOR>:p_pay_inv_exch_rate_type</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>AR_SRS_RATE_TYPE</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
conversion_type id,
user_conversion_type value,
null description
from
gl_daily_conversion_types
order by value,description</LOV_QUERY_DSP>
    <DEFAULT_VALUE>Corporate</DEFAULT_VALUE>
    <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>18</SORT_ORDER>
    <DISPLAY_SEQUENCE>140</DISPLAY_SEQUENCE>
    <ANCHOR>&amp;show_invoice_distributions</ANCHOR>
    <SQL_TEXT>Y</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>Yes</LOV_NAME>
    <LOV_GUID>8E2FF36EDEA679D2E0530100007F1FF2</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select &apos;Y&apos; id, xxen_util.meaning(&apos;Y&apos;,&apos;YES_NO&apos;,0) value, null description from dual</LOV_QUERY_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Show Invoice Distributions</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>19</SORT_ORDER>
    <ANCHOR>&amp;invoice_distribution_columns</ANCHOR>
    <SQL_TEXT>aida.distribution_line_number dist_line_number,
xxen_util.meaning(aida.line_type_lookup_code,&apos;INVOICE DISTRIBUTION TYPE&apos;,200) distribution_type,
aida.period_name,
aida.accounting_date dist_accounting_date,
aida.quantity_invoiced,
aida.unit_price,
aida.amount dist_amount,
nvl(aida.base_amount,aida.amount) dist_base_amount,
aida.invoice_price_variance dist_invoice_price_variance,
aida.base_invoice_price_variance dist_base_inv_price_variance,
xxen_util.concatenated_segments(aida.dist_code_combination_id) expense_account,
xxen_util.concatenated_segments(aida.price_var_code_combination_id) price_variance_account,
xxen_util.segments_description(aida.dist_code_combination_id) expense_account_descripton,
xxen_util.segments_description(aida.price_var_code_combination_id) price_variance_account_desc,
xxen_util.meaning(aida.dist_match_type,&apos;MATCH_STATUS&apos;,200) dist_match_type,
decode(aida.match_status_flag,&apos;A&apos;,&apos;Validated&apos;,&apos;T&apos;,&apos;Tested&apos;,&apos;S&apos;,&apos;Stopped&apos;,&apos;Never Validated&apos;) dist_match_status,
(select pha.segment1 from po_headers_all pha where nvl((select pda.po_header_id from po_distributions_all pda where aida.po_distribution_id=pda.po_distribution_id),aia.quick_po_header_id)=pha.po_header_id) po_number,</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Show Invoice Distributions</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>20</SORT_ORDER>
    <DISPLAY_SEQUENCE>150</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>:hierarchy_segment=:hierarchy_segment</SQL_TEXT>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>GL Segment</LOV_NAME>
    <LOV_GUID>C428002B0F22099BE0530100007FE0E4</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
fifsv.form_left_prompt value,
lower(fifsv.application_column_name) description,
min(fifsv.id_flex_num) over (partition by fifsv.application_column_name, fifsv.form_left_prompt) min_id_flex_num,
min(fifsv.segment_num) over (partition by fifsv.application_column_name, fifsv.form_left_prompt) min_segment_num
from
fnd_id_flex_segments_vl fifsv
where
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos; and
fifsv.flex_value_set_id in (select ffvnh.flex_value_set_id from fnd_flex_value_norm_hierarchy ffvnh) and
fifsv.id_flex_num in 
(
select gl.chart_of_accounts_id from gl_ledgers gl where
(
xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or
gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101,&apos;Y&apos;) or 
gl.ledger_id in (select hou.set_of_books_id from hr_operating_units hou where xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;)
) and 
gl.ledger_id in (select nvl(glsnav.ledger_id,gasna.ledger_id) from gl_access_set_norm_assign gasna, gl_ledger_set_norm_assign_v glsnav where gasna.access_set_id=fnd_profile.value(&apos;GL_ACCESS_SET_ID&apos;) and gasna.ledger_id=glsnav.ledger_set_id(+))
)
order by
min_id_flex_num,
min_segment_num</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
min(fifsv.form_left_prompt)
from
fnd_segment_attribute_values fsav,
fnd_id_flex_segments_vl fifsv
where
fsav.application_id=101 and
fsav.id_flex_code=&apos;GL#&apos; and
fsav.id_flex_num in (
select gl.chart_of_accounts_id from gl_ledgers gl, hr_operating_units hou
where (:$flex$.operating_unit is null or xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;) and hou.set_of_books_id=gl.ledger_id
) and
fsav.segment_attribute_type=&apos;GL_ACCOUNT&apos; and
fsav.attribute_value=&apos;Y&apos; and
fsav.application_id=fifsv.application_id and
fsav.id_flex_code=fifsv.id_flex_code and
fsav.id_flex_num=fifsv.id_flex_num and
fsav.application_column_name=fifsv.application_column_name</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>21</SORT_ORDER>
    <ANCHOR>&amp;dist_hierarchy_levels</ANCHOR>
    <SQL_TEXT>select
&apos;regexp_substr(x.path,&apos;&apos;[^|]+&apos;&apos;,1,&apos;||x.column_value||&apos;) level&apos;||x.column_value||&apos;,&apos; text
from
table(xxen_util.rowgen(:max_hierarchy_levels)) x</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>22</SORT_ORDER>
    <ANCHOR>&amp;dist_hierarchy_levels2</ANCHOR>
    <SQL_TEXT>select
decode(x.column_value,1,&apos;h.level1,&apos;,&apos;nvl(h.level&apos;||x.column_value||&apos;,nvl2(h.level&apos;||(x.column_value-1)||&apos;,gcck.&apos;||:hierarchy_segment_column||&apos;,null)) level&apos;||x.column_value||&apos;,&apos;) text
from
table(xxen_util.rowgen(:max_hierarchy_levels)) x</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>23</SORT_ORDER>
    <ANCHOR>&amp;dist_hierarchy_levels4</ANCHOR>
    <SQL_TEXT>select
&apos;aida.level&apos;||x.column_value||&apos;||nvl2(aida.level&apos;||x.column_value||&apos;,&apos;&apos; - &apos;&apos;||xxen_util.segment_description(aida.level&apos;||x.column_value||&apos;,&apos;&apos;&apos;||:hierarchy_segment_column||&apos;&apos;&apos;,aida.chart_of_accounts_id),null) dist_hierarchy_level&apos;||x.column_value||&apos;,&apos; text
from
table(xxen_util.rowgen(:max_hierarchy_levels)) x</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>24</SORT_ORDER>
    <ANCHOR>&amp;dist_segment_cols2</ANCHOR>
    <SQL_TEXT>select distinct
&apos;gcck.&apos;||lower(fifsv.application_column_name)||&apos; &apos;||lower(fifsv.application_column_name)||&apos;,&apos; text,
min(fifsv.id_flex_num) over (partition by fifsv.application_column_name) min_id_flex_num,
min(fifsv.segment_num) over (partition by fifsv.application_column_name) min_segment_num
from
fnd_id_flex_segments_vl fifsv
where
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos; and
fifsv.id_flex_num in (
select gl.chart_of_accounts_id
from gl_ledgers gl, hr_operating_units hou
where (:operating_unit is null or xxen_util.contains(:operating_unit,hou.name)=&apos;Y&apos;) and
hou.set_of_books_id=gl.ledger_id
)
order by
min_id_flex_num,
min_segment_num</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>25</SORT_ORDER>
    <ANCHOR>&amp;dist_segment_columns</ANCHOR>
    <SQL_TEXT>select distinct
&apos;aida.&apos;||lower(fifsv.application_column_name)||&apos; &quot;Dist &apos;||substrb(fifsv.form_left_prompt_,1,xxen_report.max_column_length-5)||&apos;&quot;,&apos;||chr(10)||
&apos;xxen_util.segment_description(aida.&apos;||lower(fifsv.application_column_name)||&apos;, &apos;&apos;&apos;||fifsv.application_column_name||&apos;&apos;&apos;, aida.chart_of_accounts_id&apos;||
(
select
&apos;, aida.&apos;||lower(fifs.application_column_name)
from
fnd_id_flex_segments fifs
where
fifsv.application_id=fifs.application_id and
fifsv.id_flex_code=fifs.id_flex_code and
fifsv.id_flex_num=fifs.id_flex_num and
fifsv.enabled_flag=fifs.enabled_flag and
fifs.flex_value_set_id=(select ffvs.parent_flex_value_set_id from fnd_flex_value_sets ffvs where fifsv.flex_value_set_id=ffvs.flex_value_set_id)
)||&apos;) &quot;Dist &apos;||substrb(fifsv.form_left_prompt_,1,xxen_report.max_column_length-10)||&apos; desc&quot;,&apos; text,
min(fifsv.id_flex_num) over (partition by fifsv.application_column_name, fifsv.form_left_prompt) min_id_flex_num,
min(fifsv.segment_num) over (partition by fifsv.application_column_name, fifsv.form_left_prompt) min_segment_num
from
(select xxen_util.init_cap(fifsv.form_left_prompt) form_left_prompt_, fifsv.* from fnd_id_flex_segments_vl fifsv) fifsv
where
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos; and
fifsv.id_flex_num in (
select gl.chart_of_accounts_id
from gl_ledgers gl, hr_operating_units hou
where (:operating_unit is null or xxen_util.contains(:operating_unit,hou.name)=&apos;Y&apos;) and
hou.set_of_books_id=gl.ledger_id
)
order by
min_id_flex_num,
min_segment_num</SQL_TEXT>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>26</SORT_ORDER>
    <DISPLAY_SEQUENCE>160</DISPLAY_SEQUENCE>
    <ANCHOR>:dist_parent_flex_value</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV</PARAMETER_TYPE_DSP>
    <LOV_NAME>FND Flex Hierarchy</LOV_NAME>
    <LOV_GUID>B52C6BB09E788499E0530100007F4F38</LOV_GUID>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select distinct
ffvnh.parent_flex_value value,
(select ffvv.description||case when ffvv.enabled_flag=&apos;Y&apos; and sysdate between nvl(ffvv.start_date_active,sysdate) and nvl(ffvv.end_date_active,sysdate) then null else &apos; (inactive)&apos; end from fnd_flex_values_vl ffvv where ffvnh.flex_value_set_id=ffvv.flex_value_set_id and ffvv.parent_flex_value_low is null and ffvnh.parent_flex_value=ffvv.flex_value)||&apos; (&apos;||nvl2(ffvnh.is_child,null,xxen_util.meaning(&apos;TOP&apos;,&apos;TOP_BOTTOM_PERF&apos;,283)||&apos; &apos;)||xxen_util.meaning(&apos;CCONTAIN&apos;,&apos;ICX_CONDITIONS&apos;,0)||&apos; &apos;||xxen_util.meaning(ffvnh.max_range_attribute,&apos;RANGE_ATTRIBUTE&apos;,0)||&apos;)&apos; description,
ffvnh.is_child,
ffvnh.max_range_attribute
from
(
select distinct
ffvnh.flex_value_set_id,
ffvnh.parent_flex_value,
(select &apos;Y&apos; from gl_seg_val_norm_hierarchy gsvnh where ffvnh.parent_flex_value=gsvnh.child_flex_value and ffvnh.flex_value_set_id=gsvnh.flex_value_set_id and rownum=1) is_child,
max(ffvnh.range_attribute) over (partition by ffvnh.parent_flex_value) max_range_attribute
from
fnd_flex_value_norm_hierarchy ffvnh
where
ffvnh.flex_value_set_id in
(
select ffvs.flex_value_set_id from fnd_flex_value_sets ffvs where ffvs.flex_value_set_name=:$flex$.flex_value_set
union all
select
fifsv.flex_value_set_id
from
fnd_id_flex_segments_vl fifsv
where
fifsv.form_left_prompt=:$flex$.hierarchy_segment and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.enabled_flag=&apos;Y&apos; and
fifsv.id_flex_num in (
select
gl.chart_of_accounts_id
from
gl_ledgers gl
where
xxen_util.contains(:$flex$.ledger,gl.name)=&apos;Y&apos; or
gl.ledger_category_code=xxen_util.lookup_code(:$flex$.ledger_category,&apos;GL_ASF_LEDGER_CATEGORY&apos;,101) or
gl.ledger_id in (select hou.set_of_books_id from hr_operating_units hou where xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;)
)
)
) ffvnh
order by
ffvnh.is_child desc,
ffvnh.max_range_attribute desc,
length(ffvnh.parent_flex_value),
ffvnh.parent_flex_value</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select distinct
max(x.parent_flex_value) keep (dense_rank last order by x.count) over () parent_flex_value
from
(
select distinct
ffvh.parent_flex_value,
count(*) over (partition by ffvh.parent_flex_value) count
from
fnd_flex_value_hierarchies ffvh
where
ffvh.flex_value_set_id in (
select fifsv.flex_value_set_id
from fnd_id_flex_segments_vl fifsv
where
fifsv.form_left_prompt=:$flex$.hierarchy_segment and
fifsv.application_id=101 and
fifsv.id_flex_code=&apos;GL#&apos; and
fifsv.id_flex_num in (
select gl.chart_of_accounts_id from gl_ledgers gl, hr_operating_units hou
where (:$flex$.operating_unit is null or xxen_util.contains(:$flex$.operating_unit,hou.name)=&apos;Y&apos;) and hou.set_of_books_id=gl.ledger_id
)
)
) x</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Hierarchy</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.hierarchy</FLEX_BIND>
    <PARAMETER_NAME>Hierarchy</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Max Hierarchy Levels</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.hierarchy_segment</FLEX_BIND>
    <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Dist Flex Value Set Id</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.hierarchy_segment</FLEX_BIND>
    <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Hierarchy</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.hierarchy_segment</FLEX_BIND>
    <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Hierarchy Segment Column</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.hierarchy_segment</FLEX_BIND>
    <PARAMETER_NAME>Hierarchy Segment</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Max Hierarchy Levels</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.internal_bank_account</FLEX_BIND>
    <PARAMETER_NAME>Internal Bank Account</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Request Creation Date From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.operating_unit</FLEX_BIND>
    <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Dist Flex Value Set Id</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.operating_unit</FLEX_BIND>
    <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Hierarchy</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.operating_unit</FLEX_BIND>
    <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Hierarchy Segment</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.operating_unit</FLEX_BIND>
    <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Hierarchy Segment Column</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.operating_unit</FLEX_BIND>
    <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Max Hierarchy Levels</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.operating_unit</FLEX_BIND>
    <PARAMETER_NAME>Operating Unit</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Trading Partner</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.payment_process_request</FLEX_BIND>
    <PARAMETER_NAME>Payment Process Request</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Request Creation Date From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.request_created_by</FLEX_BIND>
    <PARAMETER_NAME>Request Created By</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Request Creation Date From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.request_creation_date_from</FLEX_BIND>
    <PARAMETER_NAME>Request Creation Date From</PARAMETER_NAME>
    <IS_DATE>Y</IS_DATE>
    <DEPENDENT_PARAMETER_NAME>Request Creation Date To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.trading_partner</FLEX_BIND>
    <PARAMETER_NAME>Trading Partner</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Request Creation Date From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
  </PARAMETER_DEPENDENCIES>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
  <UPLOAD_DEPENDENCIES>
  </UPLOAD_DEPENDENCIES>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
