Payables and Cash Management - EBS (MOSC)

MOSC Banner

SQL query to get AP spend by each country to determine top 5 countries

edited Feb 14, 2014 12:00PM in Payables and Cash Management - EBS (MOSC) 1 commentAnswered

I am trying to run a query to get payables spend by each country/set of books for my customer in order to determine top 5 countries.

The challenge I am running into is that each set of books/country has invoices in different currencies(foreign currency invoices)

How do I arrive a total number to compare across set of books

This is the query I was using but obviously it doesn't include any logic to handle currency or currency conversions

SELECT SUM(APIA.amount_PAID) Amount , APIA.set_of_books_id,apia.invoice_currency_code

         FROM APPS.ap_invoice_payments_all API,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center