<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: AP Never Validated Invoices -->
 <REPORTS_ROW>
  <GUID>55084D92170CDB1CF4B96641D6E0F5F4</GUID><ENABLED>Y</ENABLED>
  <SQL_TEXT>select
hanvcv.accounting_period,
hanvcv.account_code,
hanvcv.account_description,
hanvcv.applicable_tds_exemptions,
hanvcv.approver_name,
hanvcv.approver_number,
hanvcv.attribute1,
hanvcv.attribute10,
hanvcv.attribute11,
hanvcv.attribute12,
hanvcv.attribute13,
hanvcv.attribute14,
hanvcv.attribute15,
hanvcv.attribute2,
hanvcv.attribute3,
hanvcv.attribute4,
hanvcv.attribute5,
hanvcv.attribute6,
hanvcv.attribute7,
hanvcv.attribute8,
hanvcv.attribute9,
hanvcv.bank_name,
hanvcv.bank_number,
hanvcv.batch_date,
hanvcv.batch_type,
hanvcv.branch_code,
hanvcv.branch_description,
hanvcv.cost_center_code,
hanvcv.cost_center_description,
hanvcv.crs_amount,
hanvcv.crs_number,
hanvcv.distribution_accounting_date,
hanvcv.distribution_amount,
hanvcv.distribution_description,
hanvcv.distribution_status,
hanvcv.dist_attribute_category,
hanvcv.expense_from,
hanvcv.expense_report_remarks,
hanvcv.expense_to,
hanvcv.expense_type,
hanvcv.gl_date,
hanvcv.hold_reason,
hanvcv.inputter_name,
hanvcv.inputter_vendor_name,
hanvcv.inputter_vendor_number,
hanvcv.invoice_amount,
hanvcv.invoice_classification,
hanvcv.invoice_date,
hanvcv.invoice_description,
hanvcv.invoice_number,
hanvcv.invoice_type,
hanvcv.inv_attribute_category,
hanvcv.inwarder_vendor_name,
hanvcv.inwarder_vendor_number,
hanvcv.line_number,
hanvcv.payment_currency_code,
hanvcv.payment_lookup_code,
hanvcv.pay_group,
hanvcv.pod_details,
hanvcv.quantity,
hanvcv.receipt_date,
hanvcv.requestor_location,
hanvcv.requestor_name,
hanvcv.requestor_number,
hanvcv.requestor_zone,
hanvcv.send_back_date,
hanvcv.tat_date,
hanvcv.tax_id,
hanvcv.tax_name,
hanvcv.tds_section,
hanvcv.tds_vendor_type,
hanvcv.terms_date,
hanvcv.terms_name,
hanvcv.vendor_site,
hanvcv.wct_id,
hanvcv.wct_tax_name,
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;dd&apos;),&apos;dd&apos;)||&apos;190001&apos;,&apos;ddyyyymm&apos;)) distribution_accounting_date_day,
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;mm&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)) distribution_accounting_date_month,
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;q&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)) distribution_accounting_date_quarter,
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;yyyy&apos;),&apos;yyyy&apos;)||&apos;01&apos;,&apos;yyyymm&apos;)) distribution_accounting_date_year,
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;dd&apos;),&apos;dd&apos;)||&apos;190001&apos;,&apos;ddyyyymm&apos;)) gl_date_day,
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;mm&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)) gl_date_month,
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;q&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)) gl_date_quarter,
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;yyyy&apos;),&apos;yyyy&apos;)||&apos;01&apos;,&apos;yyyymm&apos;)) gl_date_year,
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;dd&apos;),&apos;dd&apos;)||&apos;190001&apos;,&apos;ddyyyymm&apos;)) terms_date_day,
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;mm&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)) terms_date_month,
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;q&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)) terms_date_quarter,
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;yyyy&apos;),&apos;yyyy&apos;)||&apos;01&apos;,&apos;yyyymm&apos;)) terms_date_year,
hanvcv.pop,
hanvcv.pos,
hanvcv.supplier_tax_invoice_number,
hanvcv.supplier_tax_invoice_date,
hanvcv.line_type_lookup_code,
hanvcv.hsn_code,
hanvcv.gstn_bank,
hanvcv.sac_code,
hanvcv.original_line_number,
hanvcv.tax_percentage,
hanvcv.tax_type,
hanvcv.gstn_invoice_number,
hanvcv.nature_of_import,
hanvcv.nature_of_service,
hanvcv.itc_status,
hanvcv.pos_code,
hanvcv.reference_number,
hanvcv.release_reason,
hanvcv.supplier_pan_number,
hanvcv.supplier_gstn_number,
hanvcv.supplier_invoice_number,
sum(hanvcv.available_amount) available_amount,
sum(hanvcv.dist_line_num) dist_line_num
from
hdfc_ap_never_valid_combined_v hanvcv
where
1=1
group by
hanvcv.accounting_period,
hanvcv.account_code,
hanvcv.account_description,
hanvcv.applicable_tds_exemptions,
hanvcv.approver_name,
hanvcv.approver_number,
hanvcv.attribute1,
hanvcv.attribute10,
hanvcv.attribute11,
hanvcv.attribute12,
hanvcv.attribute13,
hanvcv.attribute14,
hanvcv.attribute15,
hanvcv.attribute2,
hanvcv.attribute3,
hanvcv.attribute4,
hanvcv.attribute5,
hanvcv.attribute6,
hanvcv.attribute7,
hanvcv.attribute8,
hanvcv.attribute9,
hanvcv.bank_name,
hanvcv.bank_number,
hanvcv.batch_date,
hanvcv.batch_type,
hanvcv.branch_code,
hanvcv.branch_description,
hanvcv.cost_center_code,
hanvcv.cost_center_description,
hanvcv.crs_amount,
hanvcv.crs_number,
hanvcv.distribution_accounting_date,
hanvcv.distribution_amount,
hanvcv.distribution_description,
hanvcv.distribution_status,
hanvcv.dist_attribute_category,
hanvcv.expense_from,
hanvcv.expense_report_remarks,
hanvcv.expense_to,
hanvcv.expense_type,
hanvcv.gl_date,
hanvcv.hold_reason,
hanvcv.inputter_name,
hanvcv.inputter_vendor_name,
hanvcv.inputter_vendor_number,
hanvcv.invoice_amount,
hanvcv.invoice_classification,
hanvcv.invoice_date,
hanvcv.invoice_description,
hanvcv.invoice_number,
hanvcv.invoice_type,
hanvcv.inv_attribute_category,
hanvcv.inwarder_vendor_name,
hanvcv.inwarder_vendor_number,
hanvcv.line_number,
hanvcv.payment_currency_code,
hanvcv.payment_lookup_code,
hanvcv.pay_group,
hanvcv.pod_details,
hanvcv.quantity,
hanvcv.receipt_date,
hanvcv.requestor_location,
hanvcv.requestor_name,
hanvcv.requestor_number,
hanvcv.requestor_zone,
hanvcv.send_back_date,
hanvcv.tat_date,
hanvcv.tax_id,
hanvcv.tax_name,
hanvcv.tds_section,
hanvcv.tds_vendor_type,
hanvcv.terms_date,
hanvcv.terms_name,
hanvcv.vendor_site,
hanvcv.wct_id,
hanvcv.wct_tax_name,
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;dd&apos;),&apos;dd&apos;)||&apos;190001&apos;,&apos;ddyyyymm&apos;)),
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;mm&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)),
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;q&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)),
decode(hanvcv.distribution_accounting_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.distribution_accounting_date,&apos;yyyy&apos;),&apos;yyyy&apos;)||&apos;01&apos;,&apos;yyyymm&apos;)),
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;dd&apos;),&apos;dd&apos;)||&apos;190001&apos;,&apos;ddyyyymm&apos;)),
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;mm&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)),
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;q&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)),
decode(hanvcv.gl_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.gl_date,&apos;yyyy&apos;),&apos;yyyy&apos;)||&apos;01&apos;,&apos;yyyymm&apos;)),
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;dd&apos;),&apos;dd&apos;)||&apos;190001&apos;,&apos;ddyyyymm&apos;)),
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;mm&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)),
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;q&apos;),&apos;mm&apos;)||&apos;1900&apos;,&apos;mmyyyy&apos;)),
decode(hanvcv.terms_date,null,to_date(null,&apos;mmddyyyy&apos;),to_date(to_char(trunc(hanvcv.terms_date,&apos;yyyy&apos;),&apos;yyyy&apos;)||&apos;01&apos;,&apos;yyyymm&apos;)),
hanvcv.pop,
hanvcv.pos,
hanvcv.supplier_tax_invoice_number,
hanvcv.supplier_tax_invoice_date,
hanvcv.line_type_lookup_code,
hanvcv.hsn_code,
hanvcv.gstn_bank,
hanvcv.sac_code,
hanvcv.original_line_number,
hanvcv.tax_percentage,
hanvcv.tax_type,
hanvcv.gstn_invoice_number,
hanvcv.nature_of_import,
hanvcv.nature_of_service,
hanvcv.itc_status,
hanvcv.pos_code,
hanvcv.reference_number,
hanvcv.release_reason,
hanvcv.supplier_pan_number,
hanvcv.supplier_gstn_number,
hanvcv.supplier_invoice_number</SQL_TEXT>
  <VERSION_COMMENTS>Initial version - migrated from the Oracle Discoverer worksheet on APPS.HDFC_AP_NEVER_VALID_COMBINED_V. Single exact GL Date parameter; the Discoverer Day/Month/Quarter/Year date buckets and the SUM(Available Amount)/SUM(Dist Line Num) aggregation over all other columns are retained.</VERSION_COMMENTS>
  <REQUIRED_PARAMETERS>:GL_Date is not null and
:GL_Date_From is not null or :GL_Date_To is not null</REQUIRED_PARAMETERS>
  <REPORT_TRANSLATIONS>
   <REPORT_TRANSLATIONS_ROW>
    <LANGUAGE>US</LANGUAGE>
    <REPORT_NAME>AP Never Validated Invoices</REPORT_NAME>
    <DESCRIPTION>AP invoices and distributions that were never validated, sourced from the HDFC combined view, with the full set of invoice, distribution, account, cost centre, branch, banking, requestor, expense, TDS and GST attributes.

Migrated from the Oracle Discoverer worksheet built on APPS.HDFC_AP_NEVER_VALID_COMBINED_V. Available Amount and Distribution Line Number are summed for each unique combination of all other columns, and the Discoverer Day/Month/Quarter/Year date buckets for Distribution Accounting Date, GL Date and Terms Date are retained.

Enter a GL Date to report on a single accounting day (exact match).</DESCRIPTION>
   </REPORT_TRANSLATIONS_ROW>
  </REPORT_TRANSLATIONS>
  <CATEGORY_ASSIGNMENTS>
   <CATEGORY_ASSIGNMENTS_ROW>
    <CATEGORY>Custom Reports HDFC</CATEGORY>
   </CATEGORY_ASSIGNMENTS_ROW>
  </CATEGORY_ASSIGNMENTS>
  <ANCHORS>
   <ANCHORS_ROW>
    <ANCHOR>1=1</ANCHOR>
   </ANCHORS_ROW>
  </ANCHORS>
  <PARAMETERS>
   <PARAMETERS_ROW>
    <SORT_ORDER>1</SORT_ORDER>
    <DISPLAY_SEQUENCE>10</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>hanvcv.gl_date=:gl_date</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL Date</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>hanvcv.gl_date&gt;=:gl_date_from</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL Date From</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
   <PARAMETERS_ROW>
    <SORT_ORDER>3</SORT_ORDER>
    <DISPLAY_SEQUENCE>30</DISPLAY_SEQUENCE>
    <ANCHOR>1=1</ANCHOR>
    <SQL_TEXT>hanvcv.gl_date&lt;:gl_date_to+1</SQL_TEXT>
    <PARAMETER_TYPE_DSP>Date</PARAMETER_TYPE_DSP>
    <DEFAULT_VALUE>last_day(:$flex$.gl_date_from)</DEFAULT_VALUE>
    <PARAMETER_TRANSLATIONS>
     <PARAMETER_TRANSLATIONS_ROW>
      <LANGUAGE>US</LANGUAGE>
      <PARAMETER_NAME>GL Date To</PARAMETER_NAME>
     </PARAMETER_TRANSLATIONS_ROW>
    </PARAMETER_TRANSLATIONS>
   </PARAMETERS_ROW>
  </PARAMETERS>
  <TEMPLATES>
  </TEMPLATES>
  <DEFAULT_TEMPLATES>
  </DEFAULT_TEMPLATES>
  <UPLOAD_COLUMNS>
  </UPLOAD_COLUMNS>
  <UPLOAD_PARAMETERS>
  </UPLOAD_PARAMETERS>
  <UPLOAD_SQLS>
  </UPLOAD_SQLS>
 </REPORTS_ROW>
</REPORTS>
</ROOT>
