Oracle ERPC: Query GL Beginning balance for "Assets" source only
Hello,
I need to write sql query to compare XLA balances and GL balances for the source "Assets" only. Using period_name as criteria (PTD) I can calculate them easily via DR-CR from the XLA and GL lines tables, using application_id=140 and je_source='Assets'. But in case of YTD criteria, it seems, I need to get and sum Beginning Balance as well. The question is if I can get Beginning Balance for the 'Assets' source only somehow? On XLA and on GL side.
Or is there other way to get YTD balances for 'Assets' source only from XLA and GL?