Payment : QUery to get Payment Documents – Setup data, by internal disbursing Bank Account

SELECT
   acct.bank_account_name,
   acct.bank_account_num,
   acct.currency_code,
   acct.multi_currency_allowed_flag multi_curr,
   acct.payment_multi_currency_flag pmt_mc,
   pmtdoc.payment_document_name pmt_doc_name,
   fmt.format_name,
   pmtdoc.first_available_document_num first_avail_docno,
   pmtdoc.last_available_document_number last_avail_docno,
   pmtdoc.last_issued_document_number last_issued_docno,
   pmtdoc.payment_document_id pmt_doc_id,
   pmtdoc.internal_bank_account_id,
   pmtdoc.paper_stock_type,
   pmtdoc.attached_remittance_stub_flag attchd_stub,
   pmtdoc.number_of_lines_per_remit_stub lines_per_stub,
   pmtdoc.format_code,
   pmtdoc.inactive_date,
   fu1.user_name created_by,
   pmtdoc.creation_date,
   fu2.user_name last_updated_by,
   pmtdoc.last_update_date,
   DECODE (inactive_date,
   NULL,
   'Y',
   'N') status 
FROM
   ce_payment_documents pmtdoc,
   iby_formats_vl fmt,
   ce_bank_accounts acct,
   fnd_user fu1,
   fnd_user fu2 
WHERE
   pmtdoc.format_code = fmt.format_code 
   AND pmtdoc.internal_bank_account_id = acct.bank_account_id 
   AND pmtdoc.created_by = fu1.user_id 
   AND pmtdoc.last_updated_by = fu2.user_id 
   AND payment_document_name LIKE '%' 
ORDER BY
   acct.bank_account_name,
   pmtdoc.payment_document_name;