select aia.invoice_id, aia.invoice_num, aia.invoice_date, aia.invoice_amount, aial.line_number, fit.description line_type, aial.amount line_amount, aial.po_header_id, aial.po_line_id, aial.po_line_location_id, aial.po_distribution_id, aial.po_release_id, aida.distribution_line_number, aida.line_type_lookup_code, aida.dist_code_combination_id, aida.amount distribution_amount from ap_invoices_all aia, ap_invoice_lines_all aial, fnd_lookup_values fit, ap_invoice_distributions_all aida WHERE 1 = 1 AND aia.invoice_id = aial.invoice_id AND aial.invoice_id = aida.invoice_id AND aial.line_number = aida.invoice_line_number AND aial.line_type_lookup_code = fit.lookup_code AND fit.lookup_type = 'INVOICE LINE TYPE' AND aia.invoice_date > sysdate - 60 -- AND aia.creation_date >= trunc(sysdate)-10; -- AND aia.invoice_id = 12344454 order by aial.line_number;
Popular Posts
-
AutoInvoice is used to generate invoices from a wide variety of sources. Oracle Applications such as OKS (Contracts), Projects, Order M...
-
Here is query to Fetch QUERY: Supplier Sites - Payment Details. select s.segment1 "Supplier Number...
-
In Oracle R12, we have E-Business Tax module to maintain the Tax Details. Every TAX_RATE_CODE is attached to a TAX_REGIME and in-turn a T...
-
select s.segment1 "Supplier Number", hps.party_site_name "Address Na...
-
HERE IS SQL QUERY RETRIEVES LIST OF JURISDICTIONS' FOR WHICH TAX RATES HAS BEEN DEFINED IN EBTAX SELECT TAX, TAX_JURISDICTIO...
-
SELECT NVL (SUM (ps.amount_due_remaining), 0) total_uncleared_receipts FROM hz_cust_accounts_all cust_acct, ar_payment_schedu...
-
Here is query to get the Cost History fotr particular asset select fb.book_type_code "Book", fa.asset_number...
-
Full retirement asset select asset_id, a.book_type_code from fa_transaction_headers a where transaction_type_code = 'FULL RETIREMENT...
-
SELECT apt.template_id, apt.template_name, ipmv.payment_method_name pmt_method_name, cba.bank_account_name ...
-
If you need to troubleshoot ebTax setup , you should use the Following query . These are retrived from the main E-Business tax tables that...
Recent Posts
Categories
Unordered List
Text Widget
Blog Archive
Powered by Blogger.