Query to get alert details in oracle apps
Query to get alert details in oracle apps |
3 Important Tables to get alert details in oracle apps
1.alr_actions_v
2.alr_alerts
3.alr_lookups
Detail Query to get alert details in oracle apps
SELECT alr.alert_name,
alr.start_date_active "Alert Start Date", al.meaning "Alert Frequency Type",
DECODE (frequency_type,
'B', days_between_checks,
'W', weekly_check_day,
'M', monthly_check_day_num,
'C', days_between_checks,
NULL
) "Days",
alr_act.subject "Alert Subject" ,
alr_act.msg_body "Alert Message Body",
alr_act.to_recipients "Alert To Address",
alr_act.cc_recipients "Alert CC Address",
alr_act.bcc_recipients "Alert BCC Address"
FROM alr_actions_v alr_act,
alr_alerts alr,
alr_lookups al
WHERE 1 = 1
AND alr_act.alert_id = alr.alert_id
AND alr.enabled_flag = 'Y'
AND alr.frequency_type = al.lookup_code
AND al.lookup_type = 'ALERT_FREQUENCY_TYPE'
Query to get alert details in oracle apps |
0 comments:
Post a Comment