Query Check JV Approve
Query Check JV Approve
gjh.ledger_id
,led.name ledger_name
,gjb.approver_employee_id
,usr.username approved_login
,gjb.je_batch_id
,gjb.name je_batch_name
,gjb.default_effective_date
-- ,gjb.last_updated_by
,gjh.je_header_id
,gjh.name je_header_name
,gjh.description je_header_desc
,gjh.je_category
,cat.user_je_category_name
,gjh.je_source
,gjh.currency_code
,gjh.period_name
,gjh.date_created
,gjh.posted_date
,gjl.je_line_num
,gjl.code_combination_id
,nvl(gjl.accounted_cr, 0) accounted_cr
,nvl(gjl.accounted_dr, 0) accounted_dr
,gjl.description je_line_desc
FROM
gl_je_headers gjh
,gl_je_batches gjb
,per_users usr
,gl_je_lines gjl
,gl_code_combinations gcc
,gl_ledgers led
,gl_je_categories_tl cat
WHERE 1=1
ORDER BY
gjh.ledger_id
,gjb.approver_employee_id
,gjb.je_batch_id
,gjh.je_header_id
,gjl.je_line_num