SELECT DISTINCT a.form_name, a.enabled, c.user_form_name, d.application_name,
a.trigger_event, a.trigger_object, a.condition
FROM fnd_form_custom_rules a,
fnd_form b,
fnd_form_tl c,
fnd_application_tl d
WHERE enabled = 'Y'
AND a.form_name = b.form_name
AND b.form_id = c.form_id
AND b.application_id = d.application_id
a.trigger_event, a.trigger_object, a.condition
FROM fnd_form_custom_rules a,
fnd_form b,
fnd_form_tl c,
fnd_application_tl d
WHERE enabled = 'Y'
AND a.form_name = b.form_name
AND b.form_id = c.form_id
AND b.application_id = d.application_id