diff --git a/REPORTS/OBHOISTLK/IFS_User_Log_In_(IEE_Client).sql b/REPORTS/OBHOISTLK/IFS_User_Log_In_(IEE_Client).sql new file mode 100644 index 0000000..c3a5d6a --- /dev/null +++ b/REPORTS/OBHOISTLK/IFS_User_Log_In_(IEE_Client).sql @@ -0,0 +1,21 @@ +SELECT NVL(logat.new_value, logat.old_value) IFS_USER, + ifsapp.Fnd_User_API.Get_Description(NVL(logat.new_value, + logat.old_value)) User_Name, + hist.Username, + + DECODE(history_type, 'Insert', 'Log On', 'Delete', 'Log Off') AS Action, + hist.time_stamp + + FROM ifsapp.history_log_attribute logat, ifsapp.history_log hist + + WHERE hist.log_id = logat.log_id + + AND column_name = 'DIRECTORY_ID' + + AND ifsapp.Report_SYS.Parse_Parameter(NVL(logat.new_value, + logat.old_value), + NVL('&Identity', + '%')) = 'TRUE' + + AND hist.time_stamp >= to_date('&DATE_FROM', 'YYYY-MM-DD') + ORDER BY NVL(logat.new_value, logat.old_value), hist.time_stamp ASC \ No newline at end of file