45: close csr_session_date;
46:
47: insert into fnd_sessions (session_id, effective_date)
48: select userenv('sessionid'), trunc(l_session_date) 49: from dual 50: where not exists
51: (select 1
52: from fnd_sessions fs
53: where fs.session_id = userenv('sessionid'));