<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: FA Additions By Source -->
 <REPORTS_ROW>
  <GUID>82288223F1D73869E053B46B63588994</GUID>
  <SQL_TEXT>select
 fas.source,
 fas.company,
 fas.company_desc,
 fas.asset_type,
 fas.account,
 fas.account_desc,
 fas.cost_center,
 fas.cost_center_desc,
 fas.asset_number,
 fas.asset_description,
 fas.vendor_number,
 fas.invoice_number,
 fas.invoice_line,
 fas.invoice_description,
 fas.original_invoice_cost,
 fas.current_invoice_cost,
 fas.asset_cost,
 (select flv.meaning from fa_lookups_vl flv where flv.lookup_type = &apos;INVOICE TRANSACTION TYPE&apos; and flv.lookup_code = fas.trx_flag) trx_flag,
 case when fas.asset_cost is not null and fas.asset_type_code = &apos;CIP&apos;
 then case when sum(fas.current_invoice_cost) over (partition by fas.source,fas.company,fas.asset_type,fas.account,fas.cost_center,fas.asset_number)
             != sum(fas.asset_cost) over (partition by fas.source,fas.company,fas.asset_type,fas.account,fas.cost_center,fas.asset_number)
           then sum(fas.asset_cost) over (partition by fas.source,fas.company,fas.asset_type,fas.account,fas.cost_center,fas.asset_number)
              - sum(fas.current_invoice_cost) over (partition by fas.source,fas.company,fas.asset_type,fas.account,fas.cost_center,fas.asset_number)
           else to_number(null) end
 end unbalanced_amount,
 case when fas.asset_cost is not null and fas.asset_type_code = &apos;CIP&apos;
 then case when sum(fas.current_invoice_cost) over (partition by fas.source,fas.company,fas.asset_type,fas.account,fas.cost_center,fas.asset_number)
             != sum(fas.asset_cost) over (partition by fas.source,fas.company,fas.asset_type,fas.account,fas.cost_center,fas.asset_number)
           then &apos;Y&apos; else &apos;N&apos; end
 end unbalanced_flag,
 fas.company || &apos; - &apos; || fas.company_desc company_label,
 fas.account || &apos; - &apos; || fas.account_desc account_label,
 fas.cost_center || &apos; - &apos; || fas.cost_center_desc cost_center_label,
 fas.asset_number || &apos; - &apos; || fas.asset_description asset_label
from
(
select
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;) source,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;) company,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) company_desc,
 ah.asset_type asset_type_code,
 falu.meaning asset_type,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct) account,
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)) account_desc,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;) cost_center,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) cost_center_desc,
 --
 ad.asset_number,
 ad.description asset_description,
 null vendor_number,
 null invoice_number,
 to_number(null) invoice_line,
 null invoice_description,
 to_number(null) original_invoice_cost,
 to_number(null) current_invoice_cost,
 sum(nvl(dd.addition_cost_to_clear, 0)) asset_cost,
 null trx_flag,
 1 ord_by
from
 fa_distribution_history dh,
 fa_asset_history ah,
 fa_category_books cb,
 fa_lookups falu,
 fa_additions ad,
 gl_code_combinations dhcc,
 fa_transaction_headers th,
 fa_deprn_detail dd,
 fa_deprn_periods dp
where
 dp.book_type_code =:p_book
 and dp.period_counter &gt;=:period1_pc
 and dp.period_counter &lt;= nvl(:period2_pc, dp.period_counter)
 and th.asset_id = dd.asset_id
 and th.date_effective &gt;= dp.period_open_date
 and th.date_effective &lt; nvl(dp.period_close_date, sysdate)
 and th.book_type_code = :p_book
 and th.transaction_type_code in (&apos;TRANSFER IN&apos;,&apos;TRANSFER IN/VOID&apos;)
 and th.transaction_header_id =
  (select
    min(transaction_header_id)
   from
    fa_transaction_headers thvoid
   where
    thvoid.book_type_code = th.book_type_code
    and thvoid.transaction_type_code in (&apos;TRANSFER IN/VOID&apos;, &apos;TRANSFER IN&apos;)
    and thvoid.asset_id = th.asset_id)
 and dh.book_type_code = :p_distrib_source_book
 and dh.asset_id = dd.asset_id
 and dhcc.code_combination_id = dh.code_combination_id
 and dd.book_type_code = :p_book
 and dd.deprn_source_code = &apos;B&apos;
 and dd.distribution_id = dh.distribution_id
 and dd.period_counter = dp.period_counter - 1
 and cb.category_id = ah.category_id
 and cb.book_type_code = :p_book
 and ad.asset_id = dd.asset_id
 and ah.asset_id = ad.asset_id
 and ah.date_effective &lt;= nvl(dp.period_close_date, sysdate)
 and nvl(ah.date_ineffective,sysdate+1) &gt; nvl(dp.period_close_date, sysdate)
 and ah.asset_type = falu.lookup_code
 and falu.lookup_type = &apos;ASSET TYPE&apos;
group by
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ah.asset_type,
 falu.meaning,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct),
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ad.asset_number,
 ad.description
union all
select
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;) source,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;) company,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) company_desc,
 ah.asset_type asset_type_code,
 falu.meaning asset_type,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct) account,
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)) account_desc,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;) cost_center,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) cost_center_desc,
 --
 ad.asset_number,
 ad.description asset_descripton,
 null vendor_number,
 null invoice_number,
 to_number(null) invoice_line,
 null invoice_description,
 to_number(null) original_invoice_cost,
 to_number(null) current_invoice_cost,
 sum(decode(adj.debit_credit_flag, &apos;DR&apos;,1,-1) * adj.adjustment_amount) asset_cost,
 null trx_flag,
 1 ord_by
from
 fa_transaction_headers th,
 fa_transaction_headers thdis,
 fa_additions ad,
 fa_asset_history ah,
 fa_category_books cb,
 fa_distribution_history dh,
 gl_code_combinations dhcc,
 gl_code_combinations ajcc,
 fa_lookups falu,
 fa_adjustments adj,
 fa_deprn_periods dp
where
 dp.book_type_code = :p_book
 and dp.period_counter &gt;= :period1_pc
 and dp.period_counter &lt;= nvl(:period2_pc,dp.period_counter)
 and th.date_effective &gt;= dp.period_open_date
 and th.date_effective &lt; nvl(dp.period_close_date, sysdate)
 and th.book_type_code = :p_book
 and th.transaction_type_code = &apos;ADDITION&apos;
 and thdis.transaction_type_code = &apos;TRANSFER IN&apos;
 and thdis.book_type_code = :p_book
 and thdis.asset_id = th.asset_id
 and thdis.date_effective &lt; dp.period_open_date
 and adj.book_type_code = :p_book
 and adj.asset_id = th.asset_id
 and adj.source_type_code = &apos;ADDITION&apos;
 and adj.adjustment_type = &apos;COST&apos;
 and adj.period_counter_created = dp.period_counter
 and adj.code_combination_id = ajcc.code_combination_id
 and dh.book_type_code = :p_book
 and dh.asset_id = th.asset_id
 and dh.distribution_id = adj.distribution_id
 and dh.code_combination_id = dhcc.code_combination_id
 and cb.category_id = ah.category_id
 and cb.book_type_code = :p_book
 and ad.asset_id = th.asset_id
 and ah.asset_id = th.asset_id
 and ah.date_effective &lt;= th.date_effective
 and nvl(ah.date_ineffective,sysdate+1) &gt; th.date_effective
 and ah.asset_type = falu.lookup_code
 and falu.lookup_type = &apos;ASSET TYPE&apos;
group by
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ah.asset_type,
 falu.meaning,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct),
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ad.asset_number,
 ad.description
union all
select
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;) source,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;) company,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) company_desc,
 ah.asset_type asset_type_code,
 falu.meaning asset_type,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct) account,
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)) account_desc,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;) cost_center,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) cost_center_desc,
 --
 ad.asset_number,
 ad.description asset_description,
 po_vend.segment1 vendor_number,
 ai_in.invoice_number invoice_number,
 ai_in.invoice_line_number||&apos; - &apos;||ai_in.ap_distribution_line_number invoice_line,
 ai_in.description invoice_description,
 ai_in.payables_cost original_invoice_cost,
 round(sum(dh.units_assigned/ah.units * ai_in.fixed_assets_cost), :precision) current_invoice_cost,
 to_number(null) asset_cost,
 case when it.transaction_type in (&apos;INVOICE ADDITION&apos;, &apos;INVOICE ADJUSTMENT&apos;, &apos;INVOICE TRANSFER&apos;,&apos;INVOICE REINSTATE&apos;)
 then it.transaction_type else null end trx_flag,
 2 ord_by
from
 fa_asset_invoices ai_in,
 fa_invoice_transactions it,
 fa_transaction_headers th,
 fa_distribution_history dh,
 fa_asset_history ah,
 fa_category_books cb,
 fa_lookups falu,
 po_vendors po_vend,
 fa_additions ad,
 gl_code_combinations dhcc,
 fa_deprn_detail dd,
 fa_deprn_periods dp
where
 dp.book_type_code = :p_book
 and dp.period_counter &gt;= :period1_pc
 and dp.period_counter &lt;= nvl(:period2_pc,dp.period_counter)
 and th.asset_id = dd.asset_id
 and th.date_effective &gt;= dp.period_open_date
 and th.date_effective &lt; nvl(dp.period_close_date, sysdate)
 and th.book_type_code = :p_book
 and th.transaction_type_code in (&apos;TRANSFER IN&apos;,&apos;TRANSFER IN/VOID&apos;)
 and th.transaction_header_id =
  (select
    min(transaction_header_id)
   from
    fa_transaction_headers thvoid
   where
    thvoid.book_type_code = th.book_type_code
    and thvoid.transaction_type_code in (&apos;TRANSFER IN/VOID&apos;, &apos;TRANSFER IN&apos;)
    and thvoid.asset_id = th.asset_id)
 and dh.book_type_code = :p_distrib_source_book
 and dh.asset_id = dd.asset_id
 and dhcc.code_combination_id = dh.code_combination_id
 and dd.book_type_code = :p_book
 and dd.deprn_source_code = &apos;B&apos;
 and dd.distribution_id = dh.distribution_id
 and dd.period_counter = dp.period_counter - 1
 and cb.category_id = ah.category_id
 and cb.book_type_code = :p_book
 and ad.asset_id = dd.asset_id
 and ah.asset_id = ad.asset_id
 and ah.date_effective &lt;= nvl(dp.period_close_date, sysdate)
 and nvl(ah.date_ineffective,sysdate+1) &gt; nvl(dp.period_close_date, sysdate)
 and ah.asset_type = falu.lookup_code
 and falu.lookup_type = &apos;ASSET TYPE&apos;
 and it.invoice_transaction_id = ai_in.invoice_transaction_id_in
 and ai_in.asset_id = th.asset_id
 and ai_in.date_effective &lt;= nvl(dp.period_close_date, sysdate)
 and nvl(ai_in.date_ineffective, sysdate+1) &gt; nvl(dp.period_close_date, sysdate)
 and ai_in.deleted_flag = &apos;NO&apos;
 and po_vend.vendor_id(+) = ai_in.po_vendor_id
group by
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ah.asset_type,
 falu.meaning,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct),
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ad.asset_number,
 ad.description,
 po_vend.segment1,
 ai_in.invoice_number,
 ai_in.invoice_line_number||&apos; - &apos;||ai_in.ap_distribution_line_number,
 ai_in.description,
 ai_in.payables_cost,
 case when it.transaction_type in (&apos;INVOICE ADDITION&apos;, &apos;INVOICE ADJUSTMENT&apos;, &apos;INVOICE TRANSFER&apos;,&apos;INVOICE REINSTATE&apos;)
 then it.transaction_type else null end
union all
select
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;) source,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;) company,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) company_desc,
 ah.asset_type asset_type_code,
 falu.meaning asset_type,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct) account,
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)) account_desc,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;) cost_center,
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;) cost_center_desc,
 --
 ad.asset_number,
 ad.description asset_description,
 po_vend.segment1 vendor_number,
 ai_in.invoice_number invoice_number,
 ai_in.invoice_line_number||&apos; - &apos;||ai_in.ap_distribution_line_number invoice_line,
 ai_in.description invoice_description,
 ai_in.payables_cost original_invoice_cost,
 round(sum(dh.units_assigned/ah.units * ai_in.fixed_assets_cost),:precision) current_invoice_cost,
 to_number(null) asset_cost,
 case when it.transaction_type in (&apos;INVOICE ADDITION&apos;, &apos;INVOICE ADJUSTMENT&apos;, &apos;INVOICE TRANSFER&apos;,&apos;INVOICE REINSTATE&apos;)
 then it.transaction_type else null end trx_flag,
 2 ord_by
from
 fa_asset_invoices ai_in,
 fa_invoice_transactions it,
 fa_transaction_headers thdis,
 fa_distribution_history dh,
 fa_asset_history ah,
 fa_category_books cb,
 fa_lookups falu,
 po_vendors po_vend,
 fa_additions ad,
 gl_code_combinations dhcc,
 fa_transaction_headers th,
 fa_deprn_periods dp
where
 dp.book_type_code = :p_book
 and dp.period_counter &gt;=:period1_pc
 and dp.period_counter &lt;= nvl(:period2_pc,dp.period_counter)
 and th.date_effective &gt;= dp.period_open_date
 and th.date_effective &lt; nvl(dp.period_close_date, sysdate)
 and th.book_type_code = :p_book
 and th.transaction_type_code = &apos;ADDITION&apos;
 and thdis.transaction_type_code = &apos;TRANSFER IN&apos;
 and thdis.book_type_code = :p_book
 and thdis.asset_id = th.asset_id
 and thdis.date_effective &lt; dp.period_open_date
 and dh.book_type_code = :p_book
 and dh.asset_id = th.asset_id
 and dh.code_combination_id = dhcc.code_combination_id
 and dh.date_effective &lt;= th.date_effective
 and nvl(dh.date_ineffective, sysdate) &gt; th.date_effective
 and cb.category_id = ah.category_id
 and cb.book_type_code = :p_book
 and ad.asset_id = th.asset_id
 and ah.asset_id = th.asset_id
 and ah.date_effective &lt;= th.date_effective
 and nvl(ah.date_ineffective,sysdate+1) &gt; th.date_effective
 and ah.asset_type = falu.lookup_code
 and falu.lookup_type = &apos;ASSET TYPE&apos;
 and it.invoice_transaction_id = ai_in.invoice_transaction_id_in
 and ai_in.asset_id = th.asset_id
 and ai_in.date_effective &lt;= nvl(dp.period_close_date, sysdate)
 and nvl(ai_in.date_ineffective, sysdate+1) &gt; nvl(dp.period_close_date, sysdate)
 and ai_in.deleted_flag = &apos;NO&apos;
 and po_vend.vendor_id(+) = ai_in.po_vendor_id
group by
 decode(th.mass_reference_id,null,&apos;Manual&apos;,&apos;Mass Additions&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_bal_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, NULL, dhcc.code_combination_id, &apos;GL_BALANCING&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ah.asset_type,
 falu.meaning,
 decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct),
 gl_flexfields_pkg.get_description(dhcc.chart_of_accounts_id,&apos;GL_ACCOUNT&apos;,decode(ah.asset_type, &apos;CIP&apos;, cb.cip_cost_acct, cb.asset_cost_acct)),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;VALUE&apos;),
 fnd_flex_xml_publisher_apis.process_kff_combination_1(&apos;acct_flex_cost_seg&apos;, &apos;SQLGL&apos;, &apos;GL#&apos;, dhcc.chart_of_accounts_id, null, dhcc.code_combination_id, &apos;FA_COST_CTR&apos;, &apos;Y&apos;, &apos;DESCRIPTION&apos;),
 ad.asset_number,
 ad.description,
 po_vend.segment1,
 ai_in.invoice_number,
 ai_in.invoice_line_number||&apos; - &apos;||ai_in.ap_distribution_line_number,
 ai_in.description,
 ai_in.payables_cost,
 case when it.transaction_type in (&apos;INVOICE ADDITION&apos;, &apos;INVOICE ADJUSTMENT&apos;, &apos;INVOICE TRANSFER&apos;,&apos;INVOICE REINSTATE&apos;)
 then it.transaction_type else null end
) fas
order by
 fas.source,
 fas.company,
 fas.asset_type,
 fas.account,
 fas.cost_center,
 fas.asset_number,
 fas.asset_description,
 fas.ord_by,
 fas.vendor_number,
 fas.invoice_number,
 fas.invoice_line,
 fas.invoice_description</SQL_TEXT>
  <ENABLED>Y</ENABLED>
  <XDO_APPLICATION_SHORT_NAME>OFA</XDO_APPLICATION_SHORT_NAME>
  <NUMBER_FORMAT>#,##0.00;[Red]-#,##0.00</NUMBER_FORMAT>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>AR</LANGUAGE>
    <REPORT_NAME>FA تقرير الإضافات حسب المصدر (بتنسيق XML) - غير مدعم: محجوز للاستخدام الآجل</REPORT_NAME>
    <DESCRIPTION>Application: الأصول
Source: تقرير الإضافات حسب المصدر (بتنسيق XML) - غير مدعم: محجوز للاستخدام الآجل
Short Name: FASASSBS_XML
DB package: FA_FASASSBS_XMLP_PKG</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>D</LANGUAGE>
    <REPORT_NAME>FA Anlagenzugänge nach Herkunft- Nicht unterstützt: Reserviert für zukünftige Verwendung</REPORT_NAME>
    <DESCRIPTION>Application: Anlagen
Source: Anlagenzugänge nach Herkunft (XML) - Nicht unterstützt: Reserviert für zukünftige Verwendung
Short Name: FASASSBS_XML
DB package: FA_FASASSBS_XMLP_PKG</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>F</LANGUAGE>
    <REPORT_NAME>FA Etat des acquisitions par origine- Non pris en charge : réservé pour une utilisation future</REPORT_NAME>
    <DESCRIPTION>Application: Assets
Source: Etat des acquisitions par origine (XML) - Non pris en charge : réservé pour une utilisation future
Short Name: FASASSBS_XML
DB package: FA_FASASSBS_XMLP_PKG</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>FA Additions By Source</REPORT_NAME>
    <DESCRIPTION>Application: Assets
Source: Additions By Source Report
Short Name: FASASSBS
</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>ZHS</LANGUAGE>
    <REPORT_NAME>FA 按来源列出的增加报表- 不支持：已保留供将来使用</REPORT_NAME>
    <DESCRIPTION>Application: 资产
Source: 按来源列出的增加报表 (XML) - 不支持：已保留供将来使用
Short Name: FASASSBS_XML
DB package: FA_FASASSBS_XMLP_PKG</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>:p_book</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:p_distrib_source_book</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:period1_pc</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:period2_pc</ANCHOR>
   </ANCHORS_ROW>
   <ANCHORS_ROW>
    <ANCHOR>:precision</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>-100</DISPLAY_SEQUENCE>
    <ANCHOR>:p_distrib_source_book</ANCHOR>
    <PARAMETER_TYPE_DSP>Char</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select fbc.distribution_source_book
from fa_book_controls fbc
where fbc.book_type_code = :$flex$.Book</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Livre source de la distribution</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Distribution Source Book</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>2</SORT_ORDER>
    <DISPLAY_SEQUENCE>-90</DISPLAY_SEQUENCE>
    <ANCHOR>:period1_pc</ANCHOR>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select fdp.period_counter
from fa_deprn_periods fdp
where fdp.book_type_code = :$flex$.Book
and fdp.period_name = :$flex$.From_Period</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Période Compteur De</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Period Counter From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>-80</DISPLAY_SEQUENCE>
    <ANCHOR>:period2_pc</ANCHOR>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select fdp.period_counter
from fa_deprn_periods fdp
where fdp.book_type_code = :$flex$.Book
and fdp.period_name = :$flex$.To_Period</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Période Compteur à</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Period Counter To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>4</SORT_ORDER>
    <DISPLAY_SEQUENCE>-70</DISPLAY_SEQUENCE>
    <ANCHOR>:precision</ANCHOR>
    <PARAMETER_TYPE_DSP>Number</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>select 
 fc.precision
from 
 fa_book_controls fbc,
 gl_sets_of_books gsob,
 fnd_currencies fc
where
 fbc.book_type_code = :$flex$.Book and
 fbc.set_of_books_id = gsob.set_of_books_id and
 fc.currency_code = gsob.currency_code</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Précision</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Precision</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>5</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>:p_book</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>FA_BOOK_TYPE</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
book_type_code id,
book_type_code value,
book_type_name description
from
fa_book_controls_sec
order by book_type_code</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
case when xrpv.parameter_type=&apos;LOV Oracle&apos; and xrrpv.value not like &apos;&lt;multiple_values&gt;%&apos; then xxen_report.id_to_value(xrpv.parameter_id,xrrpv.value) else xrrpv.value end value
from
xxen_report_parameters_v xrpv,
(select xrr.report_id,max(xrr.run_id) run_id from xxen_report_runs xrr where xrr.created_by = fnd_global.user_id and xrr.responsibility_id = fnd_global.resp_id group by xrr.report_id) xrr,
xxen_report_run_param_values xrrpv
where
xrpv.report_name = &apos;FA Additions By Source&apos; and
xrpv.parameter_name = &apos;Book&apos; and
xrpv.report_id = xrr.report_id and
xrr.run_id = xrrpv.run_id and
xrpv.parameter_id = xrrpv.parameter_id</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>AR</LANGUAGE>
      <PARAMETER_NAME>الدفتر</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>D</LANGUAGE>
      <PARAMETER_NAME>AfA-Buch</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>Livre</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>Book</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>ZHS</LANGUAGE>
      <PARAMETER_NAME>帐簿</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>6</SORT_ORDER>
    <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
    <ANCHOR>:p_period1</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>FA_PERIOD_NAME</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
period_name id,
period_name value,
null description
from
fa_deprn_periods
where book_type_code=:$flex$.fa_book_type
and period_counter&gt;(select min(dp2.period_counter)
from fa_deprn_periods dp2
where dp2.book_type_code=:$flex$.fa_book_type)
order by period_counter</LOV_QUERY_DSP>
    <DEFAULT_VALUE>select
fdp.period_name
from
fa_deprn_periods fdp
where fdp.book_type_code=:$flex$.fa_book_type
and fdp.period_counter=
(select max(dp2.period_counter)
from fa_deprn_periods dp2
where dp2.book_type_code=:$flex$.fa_book_type
and dp2.period_close_date is not null)</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>AR</LANGUAGE>
      <PARAMETER_NAME>من الفترة</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>D</LANGUAGE>
      <PARAMETER_NAME>Von Periode</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>De la période</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>From Period</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>ZHS</LANGUAGE>
      <PARAMETER_NAME>自期间</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>7</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>:p_period2</ANCHOR>
    <PARAMETER_TYPE_DSP>LOV Oracle</PARAMETER_TYPE_DSP>
    <LOV_NAME>FA_PERIOD_TO</LOV_NAME>
    <VALIDATE_FROM_LIST_DSP>Y</VALIDATE_FROM_LIST_DSP>
    <LOV_QUERY_DSP>select
period_name id,
period_name value,
null description
from
fa_deprn_periods
where book_type_code=:$flex$.fa_book_type and
period_counter&gt;=(select period_counter from
fa_deprn_periods where book_type_code=
:$flex$.fa_book_type and period_name=
:$flex$.fa_period_name)
order by period_counter</LOV_QUERY_DSP>
    <DEFAULT_VALUE>:$flex$.From_Period</DEFAULT_VALUE>
    <REQUIRED>Y</REQUIRED>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>AR</LANGUAGE>
      <PARAMETER_NAME>إلى الفترة</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>D</LANGUAGE>
      <PARAMETER_NAME>Bis Periode</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>F</LANGUAGE>
      <PARAMETER_NAME>À la période</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>To Period</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>ZHS</LANGUAGE>
      <PARAMETER_NAME>至期间</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <PARAMETER_DEPENDENCIES>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.Book</FLEX_BIND>
    <PARAMETER_NAME>Book</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Distribution Source Book</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.Book</FLEX_BIND>
    <PARAMETER_NAME>Book</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Period Counter From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.Book</FLEX_BIND>
    <PARAMETER_NAME>Book</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Period Counter To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.Book</FLEX_BIND>
    <PARAMETER_NAME>Book</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Precision</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.From_Period</FLEX_BIND>
    <PARAMETER_NAME>From Period</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Period Counter From</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.From_Period</FLEX_BIND>
    <PARAMETER_NAME>From Period</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>To Period</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.To_Period</FLEX_BIND>
    <PARAMETER_NAME>To Period</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>Period Counter To</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.fa_book_type</FLEX_BIND>
    <PARAMETER_NAME>Book</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>From Period</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.fa_book_type</FLEX_BIND>
    <PARAMETER_NAME>Book</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>To Period</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
   <PARAMETER_DEPENDENCIES_ROW>
    <FLEX_BIND>:$flex$.fa_period_name</FLEX_BIND>
    <PARAMETER_NAME>From Period</PARAMETER_NAME>
    <DEPENDENT_PARAMETER_NAME>To Period</DEPENDENT_PARAMETER_NAME>
   </PARAMETER_DEPENDENCIES_ROW>
  </PARAMETER_DEPENDENCIES>
  <TEMPLATES>
   <TEMPLATES_ROW>
    <TEMPLATE_NAME>Pivot: Default Template</TEMPLATE_NAME>
    <DESCRIPTION>Pivot by Source, Balancing Segment, Asset Type, Asset Account, Cost Center, Asset</DESCRIPTION>
    <OWNER>SYSADMIN</OWNER>
    <TEMPLATE_COLUMNS>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ACCOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>19</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ACCOUNT_LABEL</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>14</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSET_COST</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>7</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSET_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>21</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSET_LABEL</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSET_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ASSET_TYPE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <COLUMN_NAME>COMPANY</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>18</DISPLAY_SEQUENCE>
      <COLUMN_NAME>COMPANY_LABEL</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
      <COLUMN_NAME>COST_CENTER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>20</DISPLAY_SEQUENCE>
      <COLUMN_NAME>COST_CENTER_LABEL</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>13</DISPLAY_SEQUENCE>
      <COLUMN_NAME>CURRENT_INVOICE_COST</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>11</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_DESCRIPTION</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_LINE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>9</DISPLAY_SEQUENCE>
      <COLUMN_NAME>INVOICE_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>12</DISPLAY_SEQUENCE>
      <COLUMN_NAME>ORIGINAL_INVOICE_COST</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <COLUMN_NAME>SOURCE</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>17</DISPLAY_SEQUENCE>
      <COLUMN_NAME>TRX_FLAG</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>15</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UNBALANCED_AMOUNT</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>16</DISPLAY_SEQUENCE>
      <COLUMN_NAME>UNBALANCED_FLAG</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
     <TEMPLATE_COLUMNS_ROW>
      <DISPLAY_SEQUENCE>8</DISPLAY_SEQUENCE>
      <COLUMN_NAME>VENDOR_NUMBER</COLUMN_NAME>
     </TEMPLATE_COLUMNS_ROW>
    </TEMPLATE_COLUMNS>
    <TEMPLATE_PIVOT>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>ACCOUNT_LABEL</COLUMN_NAME>
      <FIELD_TYPE>ROW</FIELD_TYPE>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>ASSET_COST</COLUMN_NAME>
      <FIELD_TYPE>VALUE</FIELD_TYPE>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
      <AGGREGATION>SUM</AGGREGATION>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>ASSET_LABEL</COLUMN_NAME>
      <FIELD_TYPE>ROW</FIELD_TYPE>
      <DISPLAY_SEQUENCE>6</DISPLAY_SEQUENCE>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>ASSET_TYPE</COLUMN_NAME>
      <FIELD_TYPE>ROW</FIELD_TYPE>
      <DISPLAY_SEQUENCE>3</DISPLAY_SEQUENCE>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>COMPANY_LABEL</COLUMN_NAME>
      <FIELD_TYPE>ROW</FIELD_TYPE>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>COST_CENTER_LABEL</COLUMN_NAME>
      <FIELD_TYPE>ROW</FIELD_TYPE>
      <DISPLAY_SEQUENCE>5</DISPLAY_SEQUENCE>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>CURRENT_INVOICE_COST</COLUMN_NAME>
      <FIELD_TYPE>VALUE</FIELD_TYPE>
      <DISPLAY_SEQUENCE>2</DISPLAY_SEQUENCE>
      <AGGREGATION>SUM</AGGREGATION>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>ORIGINAL_INVOICE_COST</COLUMN_NAME>
      <FIELD_TYPE>VALUE</FIELD_TYPE>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
      <AGGREGATION>SUM</AGGREGATION>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>SOURCE</COLUMN_NAME>
      <FIELD_TYPE>ROW</FIELD_TYPE>
      <DISPLAY_SEQUENCE>1</DISPLAY_SEQUENCE>
     </TEMPLATE_PIVOT_ROW>
     <TEMPLATE_PIVOT_ROW>
      <COLUMN_NAME>UNBALANCED_AMOUNT</COLUMN_NAME>
      <FIELD_TYPE>VALUE</FIELD_TYPE>
      <DISPLAY_SEQUENCE>4</DISPLAY_SEQUENCE>
      <AGGREGATION>SUM</AGGREGATION>
     </TEMPLATE_PIVOT_ROW>
    </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>
   </TEMPLATES_ROW>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
   <DEFAULT_TEMPLATES_ROW>
    <TEMPLATE_NAME>Pivot: Default Template</TEMPLATE_NAME>
   </DEFAULT_TEMPLATES_ROW>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
  <UPLOAD_DEPENDENCIES>
  </UPLOAD_DEPENDENCIES>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
