7: --hr_standard.event('BEFORE REPORT');
8: p_org_structure_version_id_1:= p_org_structure_version_id;
9: insert into fnd_sessions (session_id, effective_date)
10: select userenv('sessionid'), trunc(sysdate)
11: from dual
12: where not exists
13: (select 1
14: from fnd_sessions fs
15: where fs.session_id = userenv('sessionid'));