DBA Data[Home] [Help]

PACKAGE: APPS.BEN_CPP_UPD

Source


1 Package ben_cpp_upd as
2 /* $Header: becpprhi.pkh 120.0 2005/05/28 01:17:02 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------------< upd >----------------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 --   This procedure is the record interface for the update
11 --   process for the specified entity. The role of this process is
12 --   to perform the datetrack update mode, fully validating the row
13 --   for the HR schema passing back to the calling process, any system
14 --   generated values (e.g. object version number attribute). This process
15 --   is the main backbone of the upd process. The processing of
16 --   this procedure is as follows:
17 --   1) Ensure that the datetrack update mode is valid.
18 --   2) The row to be updated is then locked and selected into the record
19 --      structure g_old_rec.
20 --   3) Because on update parameters which are not part of the update do not
21 --      have to be defaulted, we need to build up the updated row by
22 --      converting any system defaulted parameters to their corresponding
23 --      value.
24 --   4) The controlling validation process update_validate is then executed
25 --      which will execute all private and public validation business rule
26 --      processes.
27 --   5) The pre_update process is then executed which enables any
28 --      logic to be processed before the update dml process is executed.
29 --   6) The update_dml process will physical perform the update dml into the
30 --      specified entity.
31 --   7) The post_update process is then executed which enables any
32 --      logic to be processed after the update dml process.
33 --
34 -- Prerequisites:
35 --   The main parameters to the process have to be in the record
36 --   format.
37 --
38 -- In Parameters:
39 --   p_effective_date
40 --     Specifies the date of the datetrack update operation.
41 --   p_datetrack_mode
42 --     Determines the datetrack update mode.
43 --
44 -- Post Success:
45 --   The specified row will be fully validated and datetracked updated for
46 --   the specified entity without being committed for the datetrack mode.
47 --
48 -- Post Failure:
49 --   If an error has occurred, an error message will be supplied with the work
50 --   rolled back.
51 --
52 -- Developer Implementation Notes:
53 --   None.
54 --
55 -- Access Status:
56 --   Internal Development Use Only.
57 --
58 -- {End Of Comments}
59 -- ----------------------------------------------------------------------------
60 Procedure upd
61   (
62   p_rec			in out nocopy 	ben_cpp_shd.g_rec_type,
63   p_effective_date	in 	date,
64   p_datetrack_mode	in 	varchar2
65   );
66 --
67 -- ----------------------------------------------------------------------------
68 -- |---------------------------------< upd >----------------------------------|
69 -- ----------------------------------------------------------------------------
70 -- {Start Of Comments}
71 --
72 -- Description:
73 --   This procedure is the attribute interface for the datetrack update
74 --   process for the specified entity and is the outermost layer.
75 --   The role of this process is to update a fully validated row into the
76 --   HR schema passing back to the calling process, any system generated
77 --   values (e.g. object version number attributes). The processing of this
78 --   procedure is as follows:
79 --   1) The attributes are converted into a local record structure by
80 --      calling the convert_args function.
81 --   2) After the conversion has taken place, the corresponding record upd
82 --      interface process is executed.
83 --   3) OUT parameters are then set to their corresponding record attributes.
84 --
85 -- Prerequisites:
86 --
87 -- In Parameters:
88 --   p_effective_date
89 --     Specifies the date of the datetrack update operation.
90 --   p_datetrack_mode
91 --     Determines the datetrack update mode.
92 --
93 -- Post Success:
94 --   A fully validated row will be updated for the specified entity
95 --   without being committed.
96 --
97 -- Post Failure:
98 --   If an error has occurred, an error message will be supplied with the work
99 --   rolled back.
100 --
101 -- Developer Implementation Notes:
102 --   None.
103 --
104 -- Access Status:
105 --   Internal Development Use Only.
106 --
107 -- {End Of Comments}
108 -- ----------------------------------------------------------------------------
109 Procedure upd
110   (
111   p_plip_id                      in number,
112   p_effective_start_date         out nocopy date,
113   p_effective_end_date           out nocopy date,
114   p_business_group_id            in number           default hr_api.g_number,
115   p_pgm_id                       in number           default hr_api.g_number,
116   p_pl_id                        in number           default hr_api.g_number,
117   p_cmbn_plip_id                 in number           default hr_api.g_number,
118   p_dflt_flag                    in varchar2         default hr_api.g_varchar2,
119   p_plip_stat_cd                 in varchar2         default hr_api.g_varchar2,
120   p_dflt_enrt_cd                 in varchar2         default hr_api.g_varchar2,
121   p_dflt_enrt_det_rl             in number           default hr_api.g_number,
122   p_ordr_num                     in number           default hr_api.g_number,
123   p_alws_unrstrctd_enrt_flag     in varchar2         default hr_api.g_varchar2,
124   p_auto_enrt_mthd_rl            in number           default hr_api.g_number,
125   p_enrt_cd                      in varchar2         default hr_api.g_varchar2,
126   p_enrt_mthd_cd                 in varchar2         default hr_api.g_varchar2,
127   p_enrt_rl                      in number           default hr_api.g_number,
128   p_ivr_ident                    in varchar2         default hr_api.g_varchar2,
129   p_url_ref_name                 in varchar2         default hr_api.g_varchar2,
130   p_enrt_cvg_strt_dt_cd          in varchar2         default hr_api.g_varchar2,
131   p_enrt_cvg_strt_dt_rl          in number           default hr_api.g_number,
132   p_enrt_cvg_end_dt_cd           in varchar2         default hr_api.g_varchar2,
133   p_enrt_cvg_end_dt_rl           in number           default hr_api.g_number,
134   p_rt_strt_dt_cd                in varchar2         default hr_api.g_varchar2,
135   p_rt_strt_dt_rl                in number           default hr_api.g_number,
136   p_rt_end_dt_cd                 in varchar2         default hr_api.g_varchar2,
137   p_rt_end_dt_rl                 in number           default hr_api.g_number,
138   p_drvbl_fctr_apls_rts_flag     in varchar2         default hr_api.g_varchar2,
139   p_drvbl_fctr_prtn_elig_flag    in varchar2         default hr_api.g_varchar2,
140   p_elig_apls_flag               in varchar2         default hr_api.g_varchar2,
141   p_prtn_elig_ovrid_alwd_flag    in varchar2         default hr_api.g_varchar2,
142   p_trk_inelig_per_flag          in varchar2         default hr_api.g_varchar2,
143   p_postelcn_edit_rl             in number           default hr_api.g_number,
144   p_dflt_to_asn_pndg_ctfn_cd     in varchar2	     default hr_api.g_varchar2,
145   p_dflt_to_asn_pndg_ctfn_rl     in number           default hr_api.g_number,
146   p_mn_cvg_amt                   in number           default hr_api.g_number,
147   p_mn_cvg_rl                    in number           default hr_api.g_number,
148   p_mx_cvg_alwd_amt              in number  	     default hr_api.g_number,
149   p_mx_cvg_incr_alwd_amt         in number           default hr_api.g_number,
150   p_mx_cvg_incr_wcf_alwd_amt     in number           default hr_api.g_number,
151   p_mx_cvg_mlt_incr_num          in number           default hr_api.g_number,
152   p_mx_cvg_mlt_incr_wcf_num	 in number           default hr_api.g_number,
153   p_mx_cvg_rl            	 in number           default hr_api.g_number,
154   p_mx_cvg_wcfn_amt              in number           default hr_api.g_number,
155   p_mx_cvg_wcfn_mlt_num          in number           default hr_api.g_number,
156   p_no_mn_cvg_amt_apls_flag      in varchar2         default hr_api.g_varchar2,
157   p_no_mn_cvg_incr_apls_flag     in varchar2         default hr_api.g_varchar2,
158   p_no_mx_cvg_amt_apls_flag      in varchar2         default hr_api.g_varchar2,
159   p_no_mx_cvg_incr_apls_flag     in varchar2         default hr_api.g_varchar2,
160   p_unsspnd_enrt_cd              in varchar2         default hr_api.g_varchar2,
161   p_prort_prtl_yr_cvg_rstrn_cd   in varchar2         default hr_api.g_varchar2,
162   p_prort_prtl_yr_cvg_rstrn_rl   in number           default hr_api.g_number,
163   p_cvg_incr_r_decr_only_cd      in varchar2         default hr_api.g_varchar2,
164   p_bnft_or_option_rstrctn_cd    in varchar2         default hr_api.g_varchar2,
165   p_per_cvrd_cd                  in varchar2         default hr_api.g_varchar2,
166   p_short_name                  in varchar2         default hr_api.g_varchar2,
167   p_short_code                  in varchar2         default hr_api.g_varchar2,
168     p_legislation_code                  in varchar2         default hr_api.g_varchar2,
169     p_legislation_subgroup                  in varchar2         default hr_api.g_varchar2,
170   P_vrfy_fmly_mmbr_rl            in number           default hr_api.g_number,
171   P_vrfy_fmly_mmbr_cd            in varchar2         default hr_api.g_varchar2,
172   P_use_csd_rsd_prccng_cd        in varchar2         default hr_api.g_varchar2,
173   p_cpp_attribute_category       in varchar2         default hr_api.g_varchar2,
174   p_cpp_attribute1               in varchar2         default hr_api.g_varchar2,
175   p_cpp_attribute2               in varchar2         default hr_api.g_varchar2,
176   p_cpp_attribute3               in varchar2         default hr_api.g_varchar2,
177   p_cpp_attribute4               in varchar2         default hr_api.g_varchar2,
178   p_cpp_attribute5               in varchar2         default hr_api.g_varchar2,
179   p_cpp_attribute6               in varchar2         default hr_api.g_varchar2,
180   p_cpp_attribute7               in varchar2         default hr_api.g_varchar2,
181   p_cpp_attribute8               in varchar2         default hr_api.g_varchar2,
182   p_cpp_attribute9               in varchar2         default hr_api.g_varchar2,
183   p_cpp_attribute10              in varchar2         default hr_api.g_varchar2,
184   p_cpp_attribute11              in varchar2         default hr_api.g_varchar2,
185   p_cpp_attribute12              in varchar2         default hr_api.g_varchar2,
186   p_cpp_attribute13              in varchar2         default hr_api.g_varchar2,
187   p_cpp_attribute14              in varchar2         default hr_api.g_varchar2,
188   p_cpp_attribute15              in varchar2         default hr_api.g_varchar2,
189   p_cpp_attribute16              in varchar2         default hr_api.g_varchar2,
190   p_cpp_attribute17              in varchar2         default hr_api.g_varchar2,
191   p_cpp_attribute18              in varchar2         default hr_api.g_varchar2,
192   p_cpp_attribute19              in varchar2         default hr_api.g_varchar2,
193   p_cpp_attribute20              in varchar2         default hr_api.g_varchar2,
194   p_cpp_attribute21              in varchar2         default hr_api.g_varchar2,
195   p_cpp_attribute22              in varchar2         default hr_api.g_varchar2,
196   p_cpp_attribute23              in varchar2         default hr_api.g_varchar2,
197   p_cpp_attribute24              in varchar2         default hr_api.g_varchar2,
198   p_cpp_attribute25              in varchar2         default hr_api.g_varchar2,
199   p_cpp_attribute26              in varchar2         default hr_api.g_varchar2,
200   p_cpp_attribute27              in varchar2         default hr_api.g_varchar2,
201   p_cpp_attribute28              in varchar2         default hr_api.g_varchar2,
202   p_cpp_attribute29              in varchar2         default hr_api.g_varchar2,
203   p_cpp_attribute30              in varchar2         default hr_api.g_varchar2,
204   p_object_version_number        in out nocopy number,
205   p_effective_date		 in date,
206   p_datetrack_mode		 in varchar2
207   );
208 --
209 end ben_cpp_upd;