Including header and action details
SELECT ffcr.function_name
, ffcr.form_name
, fft.user_form_name
, fat.application_name application
, ffcr.sequence seq
, ffcr.description
, DECODE (ffcr.rule_type, 'A', 'Function', 'F', 'Form') level_
, ffcr.enabled
, ffcr.creation_date
, fu.description created_by
, ffcr.trigger_event condition_trigger_event
, ffcr.trigger_object condition_trigger_object
, ffcr.condition
, DECODE (ffcr.fire_in_enter_query
, 'N', 'Not in Enter-Query Mode'
, 'O', 'Only in Enter-Query Mode'
, 'Y', 'Both')
condition_processing_mode
, ffca.summary
, ffca.sequence action_seq
, ffca.object_type action_object_type
, CASE
WHEN ffca.action_type = 'P' THEN 'Property'
WHEN ffca.action_type = 'M' THEN 'Message'
WHEN ffca.action_type = 'B' THEN 'Bultin'
WHEN ffca.action_type = 'S' THEN 'Menu'
ELSE ffca.action_type
END
action_type
, ffca.summary action_desc
, ffca.enabled action_enabled
, CASE
WHEN ffca.action_type = 'P'
THEN
ffca.target_object
WHEN ffca.action_type = 'M'
THEN
CASE
WHEN ffca.MESSAGE_TYPE = 'S' THEN 'Show'
WHEN ffca.MESSAGE_TYPE = 'H' THEN 'Hint'
WHEN ffca.MESSAGE_TYPE = 'E' THEN 'Error'
WHEN ffca.MESSAGE_TYPE = 'D' THEN 'Debug'
WHEN ffca.MESSAGE_TYPE = 'W' THEN 'Warn'
ELSE ffca.MESSAGE_TYPE
END
WHEN ffca.action_type = 'B'
THEN
CASE
WHEN ffca.builtin_type = 'U'
THEN
'Launch URL'
WHEN ffca.builtin_type = 'C'
THEN
'Launch SRS Form'
WHEN ffca.builtin_type = 'E'
THEN
'Launch a Function'
WHEN ffca.builtin_type = 'D'
THEN
'Do Key'
WHEN ffca.builtin_type = 'P'
THEN
'Exceute a Procedure'
WHEN ffca.builtin_type = 'G'
THEN
'Go Item'
WHEN ffca.builtin_type = 'B'
THEN
'Go Block'
WHEN ffca.builtin_type = 'F'
THEN
'Forms DDL'
WHEN ffca.builtin_type = 'R'
THEN
'Raise Forms Trigger Failure'
WHEN ffca.builtin_type = 'T'
THEN
'Execute Trigger'
WHEN ffca.builtin_type = 'S'
THEN
'Synchronize'
ELSE
ffca.builtin_type
END
WHEN ffca.action_type = 'S'
THEN
ffca.menu_entry
END
action_target_object
, CASE
WHEN ffca.action_type = 'P' THEN ffcpl.property_name
WHEN ffca.action_type = 'M' THEN ffca.MESSAGE_TEXT
WHEN ffca.action_type = 'B' THEN ffca.builtin_arguments
WHEN ffca.action_type = 'S' THEN ffca.menu_label
END
action_property_name
, CASE
WHEN ffca.action_type = 'P'
THEN
CASE
WHEN ffca.property_value = '4' THEN 'True'
WHEN ffca.property_value = '5' THEN 'False'
ELSE ffca.property_value
END
WHEN ffca.action_type = 'B'
THEN
ffca.menu_argument_short
WHEN ffca.action_type = 'S'
THEN
ffca.menu_argument_short
END
action_value
FROM applsys.fnd_form_custom_rules ffcr
, applsys.fnd_form_custom_actions ffca
, applsys.fnd_form_custom_prop_list ffcpl
, applsys.fnd_application_tl fat
, applsys.fnd_form ff
, applsys.fnd_form_tl fft
, applsys.fnd_user fu
WHERE ffcr.id = ffca.rule_id
AND ffcr.form_name = ff.form_name
AND ff.form_id = fft.form_id
AND ff.application_id = fat.application_id
AND ffca.property_name = ffcpl.property_id(+)
AND ffca.object_type = ffcpl.field_type(+)
AND ffcr.created_by = fu.user_id
AND ff.form_name = 'INVTTMTX'
-- AND ffcr.creation_date > '02-JAN-2013'
ORDER BY ffcr.function_name
, ffcr.form_name
, ffcr.sequence;
SELECT ffcr.function_name
SELECT ffcr.function_name
, ffcr.form_name
, fft.user_form_name
, fat.application_name application
, ffcr.sequence seq
, ffcr.description
, DECODE (ffcr.rule_type, 'A', 'Function', 'F', 'Form') level_
, ffcr.enabled
, ffcr.creation_date
, fu.description created_by
, ffcr.trigger_event condition_trigger_event
, ffcr.trigger_object condition_trigger_object
, ffcr.condition
, DECODE (ffcr.fire_in_enter_query
, 'N', 'Not in Enter-Query Mode'
, 'O', 'Only in Enter-Query Mode'
, 'Y', 'Both')
condition_processing_mode
, ffca.summary
, ffca.sequence action_seq
, ffca.object_type action_object_type
, CASE
WHEN ffca.action_type = 'P' THEN 'Property'
WHEN ffca.action_type = 'M' THEN 'Message'
WHEN ffca.action_type = 'B' THEN 'Bultin'
WHEN ffca.action_type = 'S' THEN 'Menu'
ELSE ffca.action_type
END
action_type
, ffca.summary action_desc
, ffca.enabled action_enabled
, CASE
WHEN ffca.action_type = 'P'
THEN
ffca.target_object
WHEN ffca.action_type = 'M'
THEN
CASE
WHEN ffca.MESSAGE_TYPE = 'S' THEN 'Show'
WHEN ffca.MESSAGE_TYPE = 'H' THEN 'Hint'
WHEN ffca.MESSAGE_TYPE = 'E' THEN 'Error'
WHEN ffca.MESSAGE_TYPE = 'D' THEN 'Debug'
WHEN ffca.MESSAGE_TYPE = 'W' THEN 'Warn'
ELSE ffca.MESSAGE_TYPE
END
WHEN ffca.action_type = 'B'
THEN
CASE
WHEN ffca.builtin_type = 'U'
THEN
'Launch URL'
WHEN ffca.builtin_type = 'C'
THEN
'Launch SRS Form'
WHEN ffca.builtin_type = 'E'
THEN
'Launch a Function'
WHEN ffca.builtin_type = 'D'
THEN
'Do Key'
WHEN ffca.builtin_type = 'P'
THEN
'Exceute a Procedure'
WHEN ffca.builtin_type = 'G'
THEN
'Go Item'
WHEN ffca.builtin_type = 'B'
THEN
'Go Block'
WHEN ffca.builtin_type = 'F'
THEN
'Forms DDL'
WHEN ffca.builtin_type = 'R'
THEN
'Raise Forms Trigger Failure'
WHEN ffca.builtin_type = 'T'
THEN
'Execute Trigger'
WHEN ffca.builtin_type = 'S'
THEN
'Synchronize'
ELSE
ffca.builtin_type
END
WHEN ffca.action_type = 'S'
THEN
ffca.menu_entry
END
action_target_object
, CASE
WHEN ffca.action_type = 'P' THEN ffcpl.property_name
WHEN ffca.action_type = 'M' THEN ffca.MESSAGE_TEXT
WHEN ffca.action_type = 'B' THEN ffca.builtin_arguments
WHEN ffca.action_type = 'S' THEN ffca.menu_label
END
action_property_name
, CASE
WHEN ffca.action_type = 'P'
THEN
CASE
WHEN ffca.property_value = '4' THEN 'True'
WHEN ffca.property_value = '5' THEN 'False'
ELSE ffca.property_value
END
WHEN ffca.action_type = 'B'
THEN
ffca.menu_argument_short
WHEN ffca.action_type = 'S'
THEN
ffca.menu_argument_short
END
action_value
FROM applsys.fnd_form_custom_rules ffcr
, applsys.fnd_form_custom_actions ffca
, applsys.fnd_form_custom_prop_list ffcpl
, applsys.fnd_application_tl fat
, applsys.fnd_form ff
, applsys.fnd_form_tl fft
, applsys.fnd_user fu
WHERE ffcr.id = ffca.rule_id
AND ffcr.form_name = ff.form_name
AND ff.form_id = fft.form_id
AND ff.application_id = fat.application_id
AND ffca.property_name = ffcpl.property_id(+)
AND ffca.object_type = ffcpl.field_type(+)
AND ffcr.created_by = fu.user_id
AND ff.form_name = 'INVTTMTX'
-- AND ffcr.creation_date > '02-JAN-2013'
ORDER BY ffcr.function_name
, ffcr.form_name
, ffcr.sequence;
No comments:
Post a Comment