How to Retrieve Period to Date (PTD) and Year to Date (YTD) Balances of GL Account in Oracle R12
select
*
from
(
SELECT
gb.currency_code,
gcc.concatenated_segments "Chart_Of_Accounts",
SUM(
nvl(gb.begin_balance_dr, 0) - nvl(gb.begin_balance_cr, 0)
) o...