select * from apps.gl_period_statuses a,apps.hr_operating_units b where 1=1 and application_id = 222 and a.set_of_books_id = b.set_of_books_id and period_name = 'MAR-20' and short_code = 'IM FR OU' /