General Ledger - EBS (MOSC)

MOSC Banner

Opening Bal. of Debtor

edited Feb 19, 2010 10:27PM in General Ledger - EBS (MOSC) 2 commentsAnswered
Hi

We have a customised report in Apps to get the opening Balance of a Debtor as :

SELECT NVL(SUM(rac.acctd_amount),0) open_amt

FROM gl_je_headers glh,

gl_je_lines gll,

GL_CODE_COMBINATIONS cc,

gl_import_references gir,

ra_cust_trx_line_gl_dist_all rac,

ra_customer_trx_all trx

WHERE glh.DEFAULT_EFFECTIVE_DATE < :P_FROM_DATE

AND glh.je_source = 'Receivables'

AND gll.je_header_id = glh.je_header_id

AND gll.set_of_books_id = glh.set_of_books_id

AND gll.status = 'P'

AND cc.CODE_COMBINATION_ID= gll.code_combination_id

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