DBA Data[Home] [Help]

PACKAGE: APPS.BEN_RTS_UPD

Source


1 Package ben_rts_upd as
2 /* $Header: bertsrhi.pkh 120.1 2006/01/09 14:36 maagrawa 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 raised.
45 --
46 -- Developer Implementation Notes:
47 --   None.
48 --
49 -- Access Status:
50 --   Internal Development Use Only.
51 --
52 -- {End Of Comments}
53 -- ----------------------------------------------------------------------------
54 Procedure upd
55   (p_rec                          in out nocopy ben_rts_shd.g_rec_type
56   );
57 --
58 -- ----------------------------------------------------------------------------
59 -- |---------------------------------< upd >----------------------------------|
60 -- ----------------------------------------------------------------------------
61 -- {Start Of Comments}
62 --
63 -- Description:
64 --   This procedure is the attribute interface for the update
65 --   process for the specified entity and is the outermost layer. The role
66 --   of this process is to update a fully validated row into the HR schema
67 --   passing back to the calling process, any system generated values
68 --   (e.g. object version number attributes). The processing of this
69 --   procedure is as follows:
70 --   1) The attributes are converted into a local record structure by
71 --      calling the convert_args function.
72 --   2) After the conversion has taken place, the corresponding record upd
73 --      interface process is executed.
74 --   3) OUT parameters are then set to their corresponding record attributes.
75 --
76 -- Prerequisites:
77 --
78 -- In Parameters:
79 --
80 -- Post Success:
81 --   A fully validated row will be updated for the specified entity
82 --   without being committed.
83 --
84 -- Post Failure:
85 --   If an error has occurred, an error message will be raised.
86 --
87 -- Developer Implementation Notes:
88 --   Though the designated primary key is person_rate_id, update and delete
89 --   operations are performed based on group_per_in_ler_id, pl_id and oipl_id
90 --
91 -- Access Status:
92 --   Internal Development Use Only.
93 --
94 -- {End Of Comments}
95 -- ----------------------------------------------------------------------------
96 Procedure upd
97   (p_group_per_in_ler_id          in     number
98   ,p_pl_id                        in     number
99   ,p_oipl_id                      in     number
100   ,p_object_version_number        in out nocopy number
101   ,p_group_pl_id                  in     number    default hr_api.g_number
102   ,p_group_oipl_id                in     number    default hr_api.g_number
103   ,p_lf_evt_ocrd_dt               in     date      default hr_api.g_date
104   ,p_person_id                    in     number    default hr_api.g_number
105   ,p_assignment_id                in     number    default hr_api.g_number
106   ,p_elig_flag                    in     varchar2  default hr_api.g_varchar2
107   ,p_ws_val                       in     number    default hr_api.g_number
108   ,p_ws_mn_val                    in     number    default hr_api.g_number
109   ,p_ws_mx_val                    in     number    default hr_api.g_number
110   ,p_ws_incr_val                  in     number    default hr_api.g_number
111   ,p_elig_sal_val                 in     number    default hr_api.g_number
112   ,p_stat_sal_val                 in     number    default hr_api.g_number
113   ,p_oth_comp_val                 in     number    default hr_api.g_number
114   ,p_tot_comp_val                 in     number    default hr_api.g_number
115   ,p_misc1_val                    in     number    default hr_api.g_number
116   ,p_misc2_val                    in     number    default hr_api.g_number
117   ,p_misc3_val                    in     number    default hr_api.g_number
118   ,p_rec_val                      in     number    default hr_api.g_number
119   ,p_rec_mn_val                   in     number    default hr_api.g_number
120   ,p_rec_mx_val                   in     number    default hr_api.g_number
121   ,p_rec_incr_val                 in     number    default hr_api.g_number
122   ,p_ws_val_last_upd_date         in     date      default hr_api.g_date
123   ,p_ws_val_last_upd_by           in     number    default hr_api.g_number
124   ,p_pay_proposal_id              in     number    default hr_api.g_number
125   ,p_element_entry_value_id       in     number    default hr_api.g_number
126   ,p_inelig_rsn_cd                in     varchar2  default hr_api.g_varchar2
127   ,p_elig_ovrid_dt                in     date      default hr_api.g_date
128   ,p_elig_ovrid_person_id         in     number    default hr_api.g_number
129   ,p_copy_dist_bdgt_val           in     number    default hr_api.g_number
130   ,p_copy_ws_bdgt_val             in     number    default hr_api.g_number
131   ,p_copy_rsrv_val                in     number    default hr_api.g_number
132   ,p_copy_dist_bdgt_mn_val        in     number    default hr_api.g_number
133   ,p_copy_dist_bdgt_mx_val        in     number    default hr_api.g_number
134   ,p_copy_dist_bdgt_incr_val      in     number    default hr_api.g_number
135   ,p_copy_ws_bdgt_mn_val          in     number    default hr_api.g_number
136   ,p_copy_ws_bdgt_mx_val          in     number    default hr_api.g_number
137   ,p_copy_ws_bdgt_incr_val        in     number    default hr_api.g_number
138   ,p_copy_rsrv_mn_val             in     number    default hr_api.g_number
139   ,p_copy_rsrv_mx_val             in     number    default hr_api.g_number
140   ,p_copy_rsrv_incr_val           in     number    default hr_api.g_number
141   ,p_copy_dist_bdgt_iss_val       in     number    default hr_api.g_number
142   ,p_copy_ws_bdgt_iss_val         in     number    default hr_api.g_number
143   ,p_copy_dist_bdgt_iss_date      in     date      default hr_api.g_date
144   ,p_copy_ws_bdgt_iss_date        in     date      default hr_api.g_date
145   ,p_comp_posting_date            in     date      default hr_api.g_date
146   ,p_ws_rt_start_date             in     date      default hr_api.g_date
147   ,p_currency                     in     varchar2  default hr_api.g_varchar2
148   );
149 --
150 end ben_rts_upd;