SELECT gs.period_name,
fa.application_name,
gs.closing_status,
DECODE (gs.closing_status,
'C',
'Closed',
'O',
'Open',
'F',
'Future',
'W',
'Closed Pending',
'N',
'Never Opened',
'P',
'Permanently Closed'
)
"PERIOD_CLOSING_STATUS"
FROM gl.gl_period_statuses gs, apps.fnd_application_tl fa
WHERE fa.application_id = gs.application_id
AND fa.application_name IN
('Payables', 'Receivables', 'General Ledger')
AND gs.set_of_books_id = :set_of_books_d -- your set of books id
AND gs.period_name in -- Period Name/s for which you want to check
and closing_status in ('O','W','C')
group by Period_name,application_name, gs.closing_status
order by Period_name desc
Kindle Wireless Reading Device, Wi-Fi, 6" Display, Graphite - Latest Generation
No comments:
Post a Comment