1 Package ben_bft_ins AUTHID CURRENT_USER as
2 /* $Header: bebftrhi.pkh 120.0 2005/05/28 00:40:56 appldev noship $ */
3
4 --
5 -- ----------------------------------------------------------------------------
6 -- |---------------------------------< ins >----------------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 -- Description:
11 -- This procedure is the record interface for the insert process
12 -- for the specified entity. The role of this process is to insert a fully
13 -- validated row, into the HR schema passing back to the calling process,
14 -- any system generated values (e.g. primary and object version number
15 -- attributes). This process is the main backbone of the ins
16 -- process. The processing of this procedure is as follows:
17 -- 1) The controlling validation process insert_validate is executed
18 -- which will execute all private and public validation business rule
19 -- processes.
20 -- 2) The pre_insert business process is then executed which enables any
21 -- logic to be processed before the insert dml process is executed.
22 -- 3) The insert_dml process will physical perform the insert dml into the
23 -- specified entity.
24 -- 4) The post_insert business process is then executed which enables any
25 -- logic to be processed after the insert dml process.
26 --
27 -- Prerequisites:
28 -- The main parameters to the this process have to be in the record
29 -- format.
30 --
31 -- In Parameters:
32 --
33 -- Post Success:
34 -- A fully validated row will be inserted into the specified entity
35 -- without being committed.
36 --
37 -- Post Failure:
38 -- If an error has occurred, an error message will be supplied with the work
39 -- rolled back.
40 --
41 -- Developer Implementation Notes:
42 -- None.
43 --
44 -- Access Status:
45 -- Internal Development Use Only.
46 --
47 -- {End Of Comments}
48 -- ----------------------------------------------------------------------------
49 Procedure ins
50 (
51 p_effective_date in date,
52 p_rec in out nocopy ben_bft_shd.g_rec_type
53 );
54 --
55 -- ----------------------------------------------------------------------------
56 -- |---------------------------------< ins >----------------------------------|
57 -- ----------------------------------------------------------------------------
58 -- {Start Of Comments}
59 --
60 -- Description:
61 -- This procedure is the attribute interface for the insert
62 -- process for the specified entity and is the outermost layer. The role
63 -- of this process is to insert a fully validated row into the HR schema
64 -- passing back to the calling process, any system generated values
65 -- (e.g. object version number attributes).The processing of this
66 -- procedure is as follows:
67 -- 1) The attributes are converted into a local record structure by
68 -- calling the convert_args function.
69 -- 2) After the conversion has taken place, the corresponding record ins
70 -- interface process is executed.
71 -- 3) OUT parameters are then set to their corresponding record attributes.
72 --
73 -- Prerequisites:
74 --
75 -- In Parameters:
76 --
77 -- Post Success:
78 -- A fully validated row will be inserted for the specified entity
79 -- without being committed.
80 --
81 -- Post Failure:
82 -- If an error has occurred, an error message will be supplied with the work
83 -- rolled back.
84 --
85 -- Developer Implementation Notes:
86 -- None.
87 --
88 -- Access Status:
89 -- Internal Development Use Only.
90 --
91 -- {End Of Comments}
92 -- ----------------------------------------------------------------------------
93 Procedure ins
94 (
95 p_effective_date in date,
96 p_benefit_action_id out nocopy number,
97 p_process_date in date,
98 p_uneai_effective_date in date,
99 p_mode_cd in varchar2,
100 p_derivable_factors_flag in varchar2,
101 p_close_uneai_flag in varchar2,
102 p_validate_flag in varchar2,
103 p_person_id in number default null,
104 p_person_type_id in number default null,
105 p_pgm_id in number default null,
106 p_business_group_id in number,
107 p_pl_id in number default null,
108 p_popl_enrt_typ_cycl_id in number default null,
109 p_no_programs_flag in varchar2,
110 p_no_plans_flag in varchar2,
111 p_comp_selection_rl in number default null,
112 p_person_selection_rl in number default null,
113 p_ler_id in number default null,
114 p_organization_id in number default null,
115 p_benfts_grp_id in number default null,
116 p_location_id in number default null,
117 p_pstl_zip_rng_id in number default null,
118 p_rptg_grp_id in number default null,
119 p_pl_typ_id in number default null,
120 p_opt_id in number default null,
121 p_eligy_prfl_id in number default null,
122 p_vrbl_rt_prfl_id in number default null,
123 p_legal_entity_id in number default null,
124 p_payroll_id in number default null,
125 p_debug_messages_flag in varchar2,
126 p_cm_trgr_typ_cd in varchar2 default null,
127 p_cm_typ_id in number default null,
128 p_age_fctr_id in number default null,
129 p_min_age in number default null,
130 p_max_age in number default null,
131 p_los_fctr_id in number default null,
132 p_min_los in number default null,
133 p_max_los in number default null,
134 p_cmbn_age_los_fctr_id in number default null,
135 p_min_cmbn in number default null,
136 p_max_cmbn in number default null,
137 p_date_from in date default null,
138 p_elig_enrol_cd in varchar2 default null,
139 p_actn_typ_id in number default null,
140 p_use_fctr_to_sel_flag in varchar2 default 'N',
141 p_los_det_to_use_cd in varchar2 default null,
142 p_audit_log_flag in varchar2 default 'N',
143 p_lmt_prpnip_by_org_flag in varchar2 default 'N',
144 p_lf_evt_ocrd_dt in date default null,
145 p_ptnl_ler_for_per_stat_cd in varchar2 default null,
146 p_bft_attribute_category in varchar2 default null,
147 p_bft_attribute1 in varchar2 default null,
148 p_bft_attribute3 in varchar2 default null,
149 p_bft_attribute4 in varchar2 default null,
150 p_bft_attribute5 in varchar2 default null,
151 p_bft_attribute6 in varchar2 default null,
152 p_bft_attribute7 in varchar2 default null,
153 p_bft_attribute8 in varchar2 default null,
154 p_bft_attribute9 in varchar2 default null,
155 p_bft_attribute10 in varchar2 default null,
156 p_bft_attribute11 in varchar2 default null,
157 p_bft_attribute12 in varchar2 default null,
158 p_bft_attribute13 in varchar2 default null,
159 p_bft_attribute14 in varchar2 default null,
160 p_bft_attribute15 in varchar2 default null,
161 p_bft_attribute16 in varchar2 default null,
162 p_bft_attribute17 in varchar2 default null,
163 p_bft_attribute18 in varchar2 default null,
164 p_bft_attribute19 in varchar2 default null,
165 p_bft_attribute20 in varchar2 default null,
166 p_bft_attribute21 in varchar2 default null,
167 p_bft_attribute22 in varchar2 default null,
168 p_bft_attribute23 in varchar2 default null,
169 p_bft_attribute24 in varchar2 default null,
170 p_bft_attribute25 in varchar2 default null,
171 p_bft_attribute26 in varchar2 default null,
172 p_bft_attribute27 in varchar2 default null,
173 p_bft_attribute28 in varchar2 default null,
174 p_bft_attribute29 in varchar2 default null,
175 p_bft_attribute30 in varchar2 default null,
176 p_request_id in number default null,
177 p_program_application_id in number default null,
178 p_program_id in number default null,
179 p_program_update_date in date default null,
180 p_enrt_perd_id in number default null,
181 p_inelg_action_cd in varchar2 default null,
182 p_org_hierarchy_id in number default null,
183 p_org_starting_node_id in number default null,
184 p_grade_ladder_id in number default null,
185 p_asg_events_to_all_sel_dt in varchar2 default null,
186 p_rate_id in number default null,
187 p_per_sel_dt_cd in varchar2 default null,
188 p_per_sel_freq_cd in varchar2 default null,
189 p_per_sel_dt_from in date default null,
190 p_per_sel_dt_to in date default null,
191 p_year_from in number default null,
192 p_year_to in number default null,
193 p_cagr_id in number default null,
194 p_qual_type in number default null,
195 p_qual_status in varchar2 default null,
196 p_concat_segs in varchar2 default null,
197 p_grant_price_val in number default null,
198 p_object_version_number out nocopy number
199 );
200 --
201 end ben_bft_ins;