DBA Data[Home] [Help]

TYPE BODY: APPS.HZ_CONTACT_PREF_OBJ

Source


1 TYPE BODY HZ_CONTACT_PREF_OBJ AS
2 
3   STATIC FUNCTION create_object(
4     p_contact_preference_id       IN NUMBER := NULL,
5     p_contact_type                IN VARCHAR2 := NULL,
6     p_preference_code             IN VARCHAR2 := NULL,
7     p_preference_topic_type       IN VARCHAR2 := NULL,
8     p_preference_topic_type_id    IN NUMBER := NULL,
9     p_preference_topic_type_code  IN VARCHAR2 := NULL,
10     p_preference_start_date       IN DATE := NULL,
11     p_preference_end_date         IN DATE := NULL,
12     p_preference_start_time_hr    IN NUMBER := NULL,
13     p_preference_end_time_hr      IN NUMBER := NULL,
14     p_preference_start_time_mi    IN NUMBER := NULL,
15     p_preference_end_time_mi      IN NUMBER := NULL,
16     p_max_no_of_interactions      IN NUMBER := NULL,
17     p_max_no_of_interact_uom_code IN VARCHAR2 := NULL,
18     p_requested_by                IN VARCHAR2 := NULL,
19     p_reason_code                 IN VARCHAR2 := NULL,
20     p_status                      IN VARCHAR2 := NULL
21   ) RETURN hz_contact_pref_obj AS
22   BEGIN
23     RETURN HZ_CONTACT_PREF_OBJ(
24       action_type => NULL,
25       common_obj_id => NULL,
26       contact_preference_id => p_contact_preference_id,
27       parent_object_type => NULL,
28       parent_object_id => NULL,
29       contact_type => p_contact_type,
30       preference_code => p_preference_code,
31       preference_topic_type => p_preference_topic_type,
32       preference_topic_type_id => p_preference_topic_type_id,
33       preference_topic_type_code => p_preference_topic_type_code,
34       preference_start_date => p_preference_start_date,
35       preference_end_date => p_preference_end_date,
36       preference_start_time_hr => p_preference_start_time_hr,
37       preference_end_time_hr => p_preference_end_time_hr,
38       preference_start_time_mi => p_preference_start_time_mi,
39       preference_end_time_mi => p_preference_end_time_mi,
40       max_no_of_interactions => p_max_no_of_interactions,
41       max_no_of_interact_uom_code => p_max_no_of_interact_uom_code,
42       requested_by => p_requested_by,
43       reason_code => p_reason_code,
44       status => p_status,
45       program_update_date => NULL,
46       created_by_module => NULL,
47       created_by_name => NULL,
48       creation_date => NULL,
49       last_update_date => NULL,
50       last_updated_by_name => NULL
51     );
52   END create_object;
53 END;