Alerts For Employee Birthday
Alerts For Employee Birthday
Alerts For Employee Birthday
xxcust_hrms_general.get_supervisor_email (papf.person_id),
xxcust_hrms_general.get_roles_person_mail(‘XX_HR_Manager’),
xxcust_hrms_general.get_roles_person_mail(‘XX_Payroll_Exe’)
&manager_email,
&hr_mail,
&hr_mail1
WHERE 1 = 1
AND paaf.person_id=papf.person_id
AND paaf.assignment_type=’E’
AND paaf.primary_flag=’Y’
AND paaf.position_id=pap.position_id
Introduction:
Oracle Alerts is something that can be used to Notify/Alert to one or multiple persons about an
activity or change that occurs in the system. The alerts can also be used to call a procedure, run
some sql script etc.
There are 2 types of alert
1) Periodic Alert
2) Event Alert
Periodic Alerts:
These alerts are trigger periodically, hourly, daily, weekly, monthly etc based upon how it is setup to
be triggered. When alert runs and the condition(SQL Query etc.) in the alerts fetches record, then
the events specified in the alert are triggered.
Ex. 1) Daily alert to send notification on the sales order on which credit check hold is applied for a
day
2) Hourly alert to send notification on all the concurrent request that completed with error
Event Alerts:
These Alerts are fired/triggered based on some change in data in the database. This is very similar
to the triggers written on the table. Unlikely, event alerts can only fire on After Insert or After Update.
Ex. 1) An alert that sends notification when new item is created