1 Package ben_cpd_ins as
2 /* $Header: becpdrhi.pkh 120.1 2006/01/04 01:45 steotia noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |------------------------< set_base_key_value >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of Comments}
7 -- Description:
8 -- This procedure is called to register the next ID value from the database
9 -- sequence.
10 --
11 -- Prerequisites:
12 --
13 -- In Parameters:
14 -- Primary Key
15 --
16 -- Post Success:
17 --
18 -- Post Failure:
19 --
20 -- Developer Implementation Notes:
21 -- None.
22 --
23 -- Access Status:
24 -- Internal Development Use Only.
25 --
26 -- {End of Comments}
27 -- ----------------------------------------------------------------------------
28 procedure set_base_key_value
29 (p_pl_id in number
30 ,p_oipl_id in number
31 ,p_lf_evt_ocrd_dt in date);
32 --
33 -- ----------------------------------------------------------------------------
34 -- |---------------------------------< ins >----------------------------------|
35 -- ----------------------------------------------------------------------------
36 -- {Start Of Comments}
37 --
38 -- Description:
39 -- This procedure is the record interface for the insert process
40 -- for the specified entity. The role of this process is to insert a fully
41 -- validated row, into the HR schema passing back to the calling process,
42 -- any system generated values (e.g. primary and object version number
43 -- attributes). This process is the main backbone of the ins
44 -- process. The processing of this procedure is as follows:
45 -- 1) The controlling validation process insert_validate is executed
46 -- which will execute all private and public validation business rule
47 -- processes.
48 -- 2) The pre_insert business process is then executed which enables any
49 -- logic to be processed before the insert dml process is executed.
50 -- 3) The insert_dml process will physical perform the insert dml into the
51 -- specified entity.
52 -- 4) The post_insert business process is then executed which enables any
53 -- logic to be processed after the insert dml process.
54 --
55 -- Prerequisites:
56 -- The main parameters to the this process have to be in the record
57 -- format.
58 --
59 -- In Parameters:
60 --
61 -- Post Success:
62 -- A fully validated row will be inserted into the specified entity
63 -- without being committed.
64 --
65 -- Post Failure:
66 -- If an error has occurred, an error message will be raised.
67 --
68 -- Developer Implementation Notes:
69 -- None.
70 --
71 -- Access Status:
72 -- Internal Development Use Only.
73 --
74 -- {End Of Comments}
75 -- ----------------------------------------------------------------------------
76 Procedure ins
77 (p_rec in out nocopy ben_cpd_shd.g_rec_type
78 );
79 --
80 -- ----------------------------------------------------------------------------
81 -- |---------------------------------< ins >----------------------------------|
82 -- ----------------------------------------------------------------------------
83 -- {Start Of Comments}
84 --
85 -- Description:
86 -- This procedure is the attribute interface for the insert
87 -- process for the specified entity and is the outermost layer. The role
88 -- of this process is to insert a fully validated row into the HR schema
89 -- passing back to the calling process, any system generated values
90 -- (e.g. object version number attributes).The processing of this
91 -- procedure is as follows:
92 -- 1) The attributes are converted into a local record structure by
93 -- calling the convert_args function.
94 -- 2) After the conversion has taken place, the corresponding record ins
95 -- interface process is executed.
96 -- 3) OUT parameters are then set to their corresponding record attributes.
97 --
98 -- Prerequisites:
99 --
100 -- In Parameters:
101 --
102 -- Post Success:
103 -- A fully validated row will be inserted for the specified entity
104 -- without being committed.
105 --
106 -- Post Failure:
107 -- If an error has occurred, an error message will be raised.
108 --
109 -- Developer Implementation Notes:
110 -- None.
111 --
112 -- Access Status:
113 -- Internal Development Use Only.
114 --
115 -- {End Of Comments}
116 -- ----------------------------------------------------------------------------
117 Procedure ins
118 (p_pl_id in number
119 ,p_oipl_id in number
120 ,p_lf_evt_ocrd_dt in date
121 ,p_effective_date in date default null
122 ,p_name in varchar2 default null
123 ,p_group_pl_id in number default null
124 ,p_group_oipl_id in number default null
125 ,p_opt_hidden_flag in varchar2 default null
126 ,p_opt_id in number default null
127 ,p_pl_uom in varchar2 default null
128 ,p_pl_ordr_num in number default null
129 ,p_oipl_ordr_num in number default null
130 ,p_pl_xchg_rate in number default null
131 ,p_opt_count in number default null
132 ,p_uses_bdgt_flag in varchar2 default null
133 ,p_prsrv_bdgt_cd in varchar2 default null
134 ,p_upd_start_dt in date default null
135 ,p_upd_end_dt in date default null
136 ,p_approval_mode in varchar2 default null
137 ,p_enrt_perd_start_dt in date default null
138 ,p_enrt_perd_end_dt in date default null
139 ,p_yr_perd_start_dt in date default null
140 ,p_yr_perd_end_dt in date default null
141 ,p_wthn_yr_start_dt in date default null
142 ,p_wthn_yr_end_dt in date default null
143 ,p_enrt_perd_id in number default null
144 ,p_yr_perd_id in number default null
145 ,p_business_group_id in number default null
146 ,p_perf_revw_strt_dt in date default null
147 ,p_asg_updt_eff_date in date default null
148 ,p_emp_interview_typ_cd in varchar2 default null
149 ,p_salary_change_reason in varchar2 default null
150 ,p_ws_abr_id in number default null
151 ,p_ws_nnmntry_uom in varchar2 default null
152 ,p_ws_rndg_cd in varchar2 default null
153 ,p_ws_sub_acty_typ_cd in varchar2 default null
154 ,p_dist_bdgt_abr_id in number default null
155 ,p_dist_bdgt_nnmntry_uom in varchar2 default null
156 ,p_dist_bdgt_rndg_cd in varchar2 default null
157 ,p_ws_bdgt_abr_id in number default null
158 ,p_ws_bdgt_nnmntry_uom in varchar2 default null
159 ,p_ws_bdgt_rndg_cd in varchar2 default null
160 ,p_rsrv_abr_id in number default null
161 ,p_rsrv_nnmntry_uom in varchar2 default null
162 ,p_rsrv_rndg_cd in varchar2 default null
163 ,p_elig_sal_abr_id in number default null
164 ,p_elig_sal_nnmntry_uom in varchar2 default null
165 ,p_elig_sal_rndg_cd in varchar2 default null
166 ,p_misc1_abr_id in number default null
167 ,p_misc1_nnmntry_uom in varchar2 default null
168 ,p_misc1_rndg_cd in varchar2 default null
169 ,p_misc2_abr_id in number default null
170 ,p_misc2_nnmntry_uom in varchar2 default null
171 ,p_misc2_rndg_cd in varchar2 default null
172 ,p_misc3_abr_id in number default null
173 ,p_misc3_nnmntry_uom in varchar2 default null
174 ,p_misc3_rndg_cd in varchar2 default null
175 ,p_stat_sal_abr_id in number default null
176 ,p_stat_sal_nnmntry_uom in varchar2 default null
177 ,p_stat_sal_rndg_cd in varchar2 default null
178 ,p_rec_abr_id in number default null
179 ,p_rec_nnmntry_uom in varchar2 default null
180 ,p_rec_rndg_cd in varchar2 default null
181 ,p_tot_comp_abr_id in number default null
182 ,p_tot_comp_nnmntry_uom in varchar2 default null
183 ,p_tot_comp_rndg_cd in varchar2 default null
184 ,p_oth_comp_abr_id in number default null
185 ,p_oth_comp_nnmntry_uom in varchar2 default null
186 ,p_oth_comp_rndg_cd in varchar2 default null
187 ,p_actual_flag in varchar2 default null
188 ,p_acty_ref_perd_cd in varchar2 default null
189 ,p_legislation_code in varchar2 default null
190 ,p_pl_annulization_factor in number default null
191 ,p_pl_stat_cd in varchar2 default null
192 ,p_uom_precision in number default null
193 ,p_ws_element_type_id in number default null
194 ,p_ws_input_value_id in number default null
195 ,p_data_freeze_date in date default null
196 ,p_ws_amt_edit_cd in varchar2 default null
197 ,p_ws_amt_edit_enf_cd_for_nul in varchar2 default null
198 ,p_ws_over_budget_edit_cd in varchar2 default null
199 ,p_ws_over_budget_tol_pct in number default null
200 ,p_bdgt_over_budget_edit_cd in varchar2 default null
201 ,p_bdgt_over_budget_tol_pct in number default null
202 ,p_auto_distr_flag in varchar2 default null
203 ,p_pqh_document_short_name in varchar2 default null
204 ,p_ovrid_rt_strt_dt in date default null
205 ,p_do_not_process_flag in varchar2 default null
206 ,p_ovr_perf_revw_strt_dt in date default null
207 ,p_object_version_number out nocopy number
208 );
209 --
210 end ben_cpd_ins;