DBA Data[Home] [Help]

PACKAGE: APPS.BEN_PEL_UPD

Source


1 Package ben_pel_upd as
2 /* $Header: bepelrhi.pkh 120.1 2007/05/13 23:00:03 rtagarra 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 update a fully validated row for the HR schema passing back
13 --   to the calling process, any system generated values (e.g.
14 --   object version number attribute). This process is the main
15 --   backbone of the upd business process. The processing of this
16 --   procedure is as follows:
17 --   1) The row to be updated is locked and selected into the record
18 --      structure g_old_rec.
19 --   2) Because on update parameters which are not part of the update do not
20 --      have to be defaulted, we need to build up the updated row by
21 --      converting any system defaulted parameters to their corresponding
22 --      value.
23 --   3) The controlling validation process update_validate is then executed
24 --      which will execute all private and public validation business rule
25 --      processes.
26 --   4) The pre_update process is then executed which enables any
27 --      logic to be processed before the update dml process is executed.
28 --   5) The update_dml process will physical perform the update dml into the
29 --      specified entity.
30 --   6) The post_update process is then executed which enables any
31 --      logic to be processed after the update dml process.
32 --
33 -- Prerequisites:
34 --   The main parameters to the business process have to be in the record
35 --   format.
36 --
37 -- In Parameters:
38 --
39 -- Post Success:
40 --   The specified row will be fully validated and updated for the specified
41 --   entity without being committed.
42 --
43 -- Post Failure:
44 --   If an error has occurred, an error message will be supplied with the work
45 --   rolled back.
46 --
47 -- Developer Implementation Notes:
48 --   None.
49 --
50 -- Access Status:
51 --   Internal Development Use Only.
52 --
53 -- {End Of Comments}
54 -- ----------------------------------------------------------------------------
55 Procedure upd
56   (
57   p_effective_date               in date,
58   p_rec        in out nocopy ben_pel_shd.g_rec_type
59   );
60 --
61 -- ----------------------------------------------------------------------------
62 -- |---------------------------------< upd >----------------------------------|
63 -- ----------------------------------------------------------------------------
64 -- {Start Of Comments}
65 --
66 -- Description:
67 --   This procedure is the attribute interface for the update
68 --   process for the specified entity and is the outermost layer. The role
69 --   of this process is to update a fully validated row into the HR schema
70 --   passing back to the calling process, any system generated values
71 --   (e.g. object version number attributes). The processing of this
72 --   procedure is as follows:
73 --   1) The attributes are converted into a local record structure by
74 --      calling the convert_args function.
75 --   2) After the conversion has taken place, the corresponding record upd
76 --      interface process is executed.
77 --   3) OUT parameters are then set to their corresponding record attributes.
78 --
79 -- Prerequisites:
80 --
81 -- In Parameters:
82 --
83 -- Post Success:
84 --   A fully validated row will be updated for the specified entity
85 --   without being committed.
86 --
87 -- Post Failure:
88 --   If an error has occurred, an error message will be supplied with the work
89 --   rolled back.
90 --
91 -- Developer Implementation Notes:
92 --   None.
93 --
94 -- Access Status:
95 --   Internal Development Use Only.
96 --
97 -- {End Of Comments}
98 -- ----------------------------------------------------------------------------
99 Procedure upd
100   (
101   p_effective_date               in date,
102   p_pil_elctbl_chc_popl_id       in number,
103   p_dflt_enrt_dt                 in date             default hr_api.g_date,
104   p_dflt_asnd_dt                 in date             default hr_api.g_date,
105   p_elcns_made_dt                in date             default hr_api.g_date,
106   p_cls_enrt_dt_to_use_cd        in varchar2         default hr_api.g_varchar2,
107   p_enrt_typ_cycl_cd             in varchar2         default hr_api.g_varchar2,
108   p_enrt_perd_end_dt             in date             default hr_api.g_date,
109   p_enrt_perd_strt_dt            in date             default hr_api.g_date,
110   p_procg_end_dt                 in date             default hr_api.g_date,
111   p_pil_elctbl_popl_stat_cd      in varchar2         default hr_api.g_varchar2,
112   p_acty_ref_perd_cd             in varchar2         default hr_api.g_varchar2,
113   p_uom                          in varchar2         default hr_api.g_varchar2,
114   p_comments                          in varchar2         default hr_api.g_varchar2,
115   p_mgr_ovrid_dt                          in date         default hr_api.g_date,
116   p_ws_mgr_id                          in number         default hr_api.g_number,
117   p_mgr_ovrid_person_id                          in number         default hr_api.g_number,
118   p_assignment_id                          in number         default hr_api.g_number,
119   --cwb
120   p_bdgt_acc_cd                  in varchar2         default hr_api.g_varchar2,
121   p_pop_cd                       in varchar2         default hr_api.g_varchar2,
122   p_bdgt_due_dt                  in date             default hr_api.g_date,
123   p_bdgt_export_flag             in varchar2         default hr_api.g_varchar2,
124   p_bdgt_iss_dt                  in date             default hr_api.g_date,
125   p_bdgt_stat_cd                 in varchar2         default hr_api.g_varchar2,
126   p_ws_acc_cd                    in varchar2         default hr_api.g_varchar2,
127   p_ws_due_dt                    in date             default hr_api.g_date,
128   p_ws_export_flag               in varchar2         default hr_api.g_varchar2,
129   p_ws_iss_dt                    in date             default hr_api.g_date,
130   p_ws_stat_cd                   in varchar2         default hr_api.g_varchar2,
131   --cwb
132   p_reinstate_cd                 in varchar2         default hr_api.g_varchar2,
133   p_reinstate_ovrdn_cd           in varchar2         default hr_api.g_varchar2,
134   p_auto_asnd_dt                 in date             default hr_api.g_date,
135   p_cbr_elig_perd_strt_dt        in date             default hr_api.g_date,
136   p_cbr_elig_perd_end_dt         in date             default hr_api.g_date,
137   p_lee_rsn_id                   in number           default hr_api.g_number,
138   p_enrt_perd_id                 in number           default hr_api.g_number,
139   p_per_in_ler_id                in number           default hr_api.g_number,
140   p_pgm_id                       in number           default hr_api.g_number,
141   p_pl_id                        in number           default hr_api.g_number,
142   p_business_group_id            in number           default hr_api.g_number,
143   p_pel_attribute_category       in varchar2         default hr_api.g_varchar2,
144   p_pel_attribute1               in varchar2         default hr_api.g_varchar2,
145   p_pel_attribute2               in varchar2         default hr_api.g_varchar2,
146   p_pel_attribute3               in varchar2         default hr_api.g_varchar2,
147   p_pel_attribute4               in varchar2         default hr_api.g_varchar2,
148   p_pel_attribute5               in varchar2         default hr_api.g_varchar2,
149   p_pel_attribute6               in varchar2         default hr_api.g_varchar2,
150   p_pel_attribute7               in varchar2         default hr_api.g_varchar2,
151   p_pel_attribute8               in varchar2         default hr_api.g_varchar2,
152   p_pel_attribute9               in varchar2         default hr_api.g_varchar2,
153   p_pel_attribute10              in varchar2         default hr_api.g_varchar2,
154   p_pel_attribute11              in varchar2         default hr_api.g_varchar2,
155   p_pel_attribute12              in varchar2         default hr_api.g_varchar2,
156   p_pel_attribute13              in varchar2         default hr_api.g_varchar2,
157   p_pel_attribute14              in varchar2         default hr_api.g_varchar2,
158   p_pel_attribute15              in varchar2         default hr_api.g_varchar2,
159   p_pel_attribute16              in varchar2         default hr_api.g_varchar2,
160   p_pel_attribute17              in varchar2         default hr_api.g_varchar2,
161   p_pel_attribute18              in varchar2         default hr_api.g_varchar2,
162   p_pel_attribute19              in varchar2         default hr_api.g_varchar2,
163   p_pel_attribute20              in varchar2         default hr_api.g_varchar2,
164   p_pel_attribute21              in varchar2         default hr_api.g_varchar2,
165   p_pel_attribute22              in varchar2         default hr_api.g_varchar2,
166   p_pel_attribute23              in varchar2         default hr_api.g_varchar2,
167   p_pel_attribute24              in varchar2         default hr_api.g_varchar2,
168   p_pel_attribute25              in varchar2         default hr_api.g_varchar2,
169   p_pel_attribute26              in varchar2         default hr_api.g_varchar2,
170   p_pel_attribute27              in varchar2         default hr_api.g_varchar2,
171   p_pel_attribute28              in varchar2         default hr_api.g_varchar2,
172   p_pel_attribute29              in varchar2         default hr_api.g_varchar2,
173   p_pel_attribute30              in varchar2         default hr_api.g_varchar2,
174   p_request_id                   in number           default hr_api.g_number,
175   p_program_application_id       in number           default hr_api.g_number,
176   p_program_id                   in number           default hr_api.g_number,
177   p_program_update_date          in date             default hr_api.g_date,
178   p_object_version_number        in out nocopy number ,
179   p_defer_deenrol_flag           in varchar2         default hr_api.g_varchar2,
180   p_deenrol_made_dt              in date             default hr_api.g_date
181   );
182 --
183 end ben_pel_upd;