1 Package ben_ecr_ins AUTHID CURRENT_USER as
2 /* $Header: beecrrhi.pkh 120.0 2005/05/28 01:53:27 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_rec in out nocopy ben_ecr_shd.g_rec_type,
52 p_effective_date in date
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_enrt_rt_id out nocopy NUMBER,
97 p_ordr_num in number DEFAULT NULL,
98 p_acty_typ_cd in VARCHAR2,
99 p_tx_typ_cd in VARCHAR2,
100 p_ctfn_rqd_flag in VARCHAR2,
101 p_dflt_flag in VARCHAR2,
102 p_dflt_pndg_ctfn_flag in VARCHAR2,
103 p_dsply_on_enrt_flag in VARCHAR2,
104 p_use_to_calc_net_flx_cr_flag in VARCHAR2,
105 p_entr_val_at_enrt_flag in VARCHAR2,
106 p_asn_on_enrt_flag in VARCHAR2,
107 p_rl_crs_only_flag in VARCHAR2,
108 p_dflt_val in NUMBER DEFAULT NULL,
109 p_ann_val in NUMBER DEFAULT NULL,
110 p_ann_mn_elcn_val in NUMBER DEFAULT NULL,
111 p_ann_mx_elcn_val in NUMBER DEFAULT NULL,
112 p_val in NUMBER DEFAULT NULL,
113 p_nnmntry_uom in VARCHAR2 DEFAULT NULL,
114 p_mx_elcn_val in NUMBER DEFAULT NULL,
115 p_mn_elcn_val in NUMBER DEFAULT NULL,
116 p_incrmt_elcn_val in NUMBER DEFAULT NULL,
117 p_cmcd_acty_ref_perd_cd in VARCHAR2 DEFAULT NULL,
118 p_cmcd_mn_elcn_val in NUMBER DEFAULT NULL,
119 p_cmcd_mx_elcn_val in NUMBER DEFAULT NULL,
120 p_cmcd_val in NUMBER DEFAULT NULL,
121 p_cmcd_dflt_val in NUMBER DEFAULT NULL,
122 p_rt_usg_cd in VARCHAR2 DEFAULT NULL,
123 p_ann_dflt_val in NUMBER DEFAULT NULL,
124 p_bnft_rt_typ_cd in VARCHAR2 DEFAULT NULL,
125 p_rt_mlt_cd in VARCHAR2 DEFAULT NULL,
126 p_dsply_mn_elcn_val in NUMBER DEFAULT NULL,
127 p_dsply_mx_elcn_val in NUMBER DEFAULT NULL,
128 p_entr_ann_val_flag in VARCHAR2,
129 p_rt_strt_dt in DATE DEFAULT NULL,
130 p_rt_strt_dt_cd in VARCHAR2 DEFAULT NULL,
131 p_rt_strt_dt_rl in NUMBER DEFAULT NULL,
132 p_rt_typ_cd in VARCHAR2 DEFAULT NULL,
133 p_elig_per_elctbl_chc_id in NUMBER DEFAULT NULL,
134 p_acty_base_rt_id in NUMBER DEFAULT NULL,
135 p_spcl_rt_enrt_rt_id in NUMBER DEFAULT NULL,
136 p_enrt_bnft_id in NUMBER DEFAULT NULL,
137 p_prtt_rt_val_id in NUMBER DEFAULT NULL,
138 p_decr_bnft_prvdr_pool_id in NUMBER DEFAULT NULL,
139 p_cvg_amt_calc_mthd_id in NUMBER DEFAULT NULL,
140 p_actl_prem_id in NUMBER DEFAULT NULL,
141 p_comp_lvl_fctr_id in NUMBER DEFAULT NULL,
142 p_ptd_comp_lvl_fctr_id in NUMBER DEFAULT NULL,
143 p_clm_comp_lvl_fctr_id in NUMBER DEFAULT NULL,
144 p_business_group_id in NUMBER,
145 --cwb
146 p_iss_val in number DEFAULT NULL,
147 p_val_last_upd_date in date DEFAULT NULL,
148 p_val_last_upd_person_id in number DEFAULT NULL,
149 --cwb
150 p_pp_in_yr_used_num in number DEFAULT NULL,
151 p_ecr_attribute_category in VARCHAR2 DEFAULT NULL,
152 p_ecr_attribute1 in VARCHAR2 DEFAULT NULL,
153 p_ecr_attribute2 in VARCHAR2 DEFAULT NULL,
154 p_ecr_attribute3 in VARCHAR2 DEFAULT NULL,
155 p_ecr_attribute4 in VARCHAR2 DEFAULT NULL,
156 p_ecr_attribute5 in VARCHAR2 DEFAULT NULL,
157 p_ecr_attribute6 in VARCHAR2 DEFAULT NULL,
158 p_ecr_attribute7 in VARCHAR2 DEFAULT NULL,
159 p_ecr_attribute8 in VARCHAR2 DEFAULT NULL,
160 p_ecr_attribute9 in VARCHAR2 DEFAULT NULL,
161 p_ecr_attribute10 in VARCHAR2 DEFAULT NULL,
162 p_ecr_attribute11 in VARCHAR2 DEFAULT NULL,
163 p_ecr_attribute12 in VARCHAR2 DEFAULT NULL,
164 p_ecr_attribute13 in VARCHAR2 DEFAULT NULL,
165 p_ecr_attribute14 in VARCHAR2 DEFAULT NULL,
166 p_ecr_attribute15 in VARCHAR2 DEFAULT NULL,
167 p_ecr_attribute16 in VARCHAR2 DEFAULT NULL,
168 p_ecr_attribute17 in VARCHAR2 DEFAULT NULL,
169 p_ecr_attribute18 in VARCHAR2 DEFAULT NULL,
170 p_ecr_attribute19 in VARCHAR2 DEFAULT NULL,
171 p_ecr_attribute20 in VARCHAR2 DEFAULT NULL,
172 p_ecr_attribute21 in VARCHAR2 DEFAULT NULL,
173 p_ecr_attribute22 in VARCHAR2 DEFAULT NULL,
174 p_ecr_attribute23 in VARCHAR2 DEFAULT NULL,
175 p_ecr_attribute24 in VARCHAR2 DEFAULT NULL,
176 p_ecr_attribute25 in VARCHAR2 DEFAULT NULL,
177 p_ecr_attribute26 in VARCHAR2 DEFAULT NULL,
178 p_ecr_attribute27 in VARCHAR2 DEFAULT NULL,
179 p_ecr_attribute28 in VARCHAR2 DEFAULT NULL,
180 p_ecr_attribute29 in VARCHAR2 DEFAULT NULL,
181 p_ecr_attribute30 in VARCHAR2 DEFAULT NULL,
182 p_last_update_login in NUMBER DEFAULT NULL,
183 p_created_by in NUMBER DEFAULT NULL,
184 p_creation_date in DATE DEFAULT NULL,
185 p_last_updated_by in NUMBER DEFAULT NULL,
186 p_last_update_date in DATE DEFAULT NULL,
187 p_request_id in NUMBER DEFAULT NULL,
188 p_program_application_id in NUMBER DEFAULT NULL,
189 p_program_id in NUMBER DEFAULT NULL,
190 p_program_update_date in DATE DEFAULT NULL,
191 p_object_version_number out nocopy NUMBER
192 );
193 --
194 end ben_ecr_ins;