DBA Data[Home] [Help]

PACKAGE: APPS.BEN_EGD_UPD

Source


1 Package ben_egd_upd AUTHID CURRENT_USER as
2 /* $Header: beegdrhi.pkh 120.0.12000000.1 2007/01/19 04:51:25 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |-----------------------------< convert_defs >-----------------------------|
6 -- ----------------------------------------------------------------------------
7 Procedure convert_defs(p_rec in out nocopy ben_egd_shd.g_rec_type);
8 --
9 -- ----------------------------------------------------------------------------
10 -- |---------------------------------< upd >----------------------------------|
11 -- ----------------------------------------------------------------------------
12 -- {Start Of Comments}
13 --
14 -- Description:
15 --   This procedure is the record interface for the update
16 --   process for the specified entity. The role of this process is
17 --   to update a fully validated row for the HR schema passing back
18 --   to the calling process, any system generated values (e.g.
19 --   object version number attribute). This process is the main
20 --   backbone of the upd business process. The processing of this
21 --   procedure is as follows:
22 --   1) The row to be updated is locked and selected into the record
23 --      structure g_old_rec.
24 --   2) Because on update parameters which are not part of the update do not
25 --      have to be defaulted, we need to build up the updated row by
26 --      converting any system defaulted parameters to their corresponding
27 --      value.
28 --   3) The controlling validation process update_validate is then executed
29 --      which will execute all private and public validation business rule
30 --      processes.
34 --      specified entity.
31 --   4) The pre_update process is then executed which enables any
32 --      logic to be processed before the update dml process is executed.
33 --   5) The update_dml process will physical perform the update dml into the
35 --   6) The post_update process is then executed which enables any
36 --      logic to be processed after the update dml process.
37 --
38 -- Prerequisites:
39 --   The main parameters to the business process have to be in the record
40 --   format.
41 --
42 -- In Parameters:
43 --
44 -- Post Success:
45 --   The specified row will be fully validated and updated for the specified
46 --   entity without being committed.
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_effective_date               in date,
63   p_rec        in out nocopy ben_egd_shd.g_rec_type
64   );
65 --
66 -- ----------------------------------------------------------------------------
67 -- |---------------------------------< upd >----------------------------------|
68 -- ----------------------------------------------------------------------------
69 -- {Start Of Comments}
70 --
71 -- Description:
72 --   This procedure is the attribute interface for the update
73 --   process for the specified entity and is the outermost layer. The role
74 --   of this process is to update a fully validated row into the HR schema
75 --   passing back to the calling process, any system generated values
76 --   (e.g. object version number attributes). The processing of this
77 --   procedure is as follows:
78 --   1) The attributes are converted into a local record structure by
79 --      calling the convert_args function.
80 --   2) After the conversion has taken place, the corresponding record upd
81 --      interface process is executed.
82 --   3) OUT parameters are then set to their corresponding record attributes.
83 --
84 -- Prerequisites:
85 --
86 -- In Parameters:
87 --
88 -- Post Success:
89 --   A fully validated row will be updated for the specified entity
90 --   without being committed.
91 --
92 -- Post Failure:
93 --   If an error has occurred, an error message will be supplied with the work
94 --   rolled back.
95 --
96 -- Developer Implementation Notes:
97 --   None.
98 --
99 -- Access Status:
100 --   Internal Development Use Only.
101 --
102 -- {End Of Comments}
103 -- ----------------------------------------------------------------------------
104 Procedure upd
105   (
106   p_effective_date               in date,
107   p_elig_dpnt_id                 in number,
108   p_create_dt                    in date             default hr_api.g_date,
109   p_elig_strt_dt                 in date             default hr_api.g_date,
110   p_elig_thru_dt                 in date             default hr_api.g_date,
111   p_ovrdn_flag                   in varchar2         default hr_api.g_varchar2,
112   p_ovrdn_thru_dt                in date             default hr_api.g_date,
113   p_inelg_rsn_cd                 in varchar2         default hr_api.g_varchar2,
114   p_dpnt_inelig_flag             in varchar2         default hr_api.g_varchar2,
115   p_elig_per_elctbl_chc_id       in number           default hr_api.g_number,
116   p_per_in_ler_id                in number           default hr_api.g_number,
117   p_elig_per_id                  in number           default hr_api.g_number,
118   p_elig_per_opt_id              in number           default hr_api.g_number,
119   p_elig_cvrd_dpnt_id            in number           default hr_api.g_number,
120   p_dpnt_person_id               in number           default hr_api.g_number,
121   p_business_group_id            in number           default hr_api.g_number,
122   p_egd_attribute_category       in varchar2         default hr_api.g_varchar2,
123   p_egd_attribute1               in varchar2         default hr_api.g_varchar2,
124   p_egd_attribute2               in varchar2         default hr_api.g_varchar2,
125   p_egd_attribute3               in varchar2         default hr_api.g_varchar2,
126   p_egd_attribute4               in varchar2         default hr_api.g_varchar2,
127   p_egd_attribute5               in varchar2         default hr_api.g_varchar2,
128   p_egd_attribute6               in varchar2         default hr_api.g_varchar2,
129   p_egd_attribute7               in varchar2         default hr_api.g_varchar2,
130   p_egd_attribute8               in varchar2         default hr_api.g_varchar2,
131   p_egd_attribute9               in varchar2         default hr_api.g_varchar2,
132   p_egd_attribute10              in varchar2         default hr_api.g_varchar2,
133   p_egd_attribute11              in varchar2         default hr_api.g_varchar2,
134   p_egd_attribute12              in varchar2         default hr_api.g_varchar2,
135   p_egd_attribute13              in varchar2         default hr_api.g_varchar2,
136   p_egd_attribute14              in varchar2         default hr_api.g_varchar2,
137   p_egd_attribute15              in varchar2         default hr_api.g_varchar2,
138   p_egd_attribute16              in varchar2         default hr_api.g_varchar2,
139   p_egd_attribute17              in varchar2         default hr_api.g_varchar2,
140   p_egd_attribute18              in varchar2         default hr_api.g_varchar2,
141   p_egd_attribute19              in varchar2         default hr_api.g_varchar2,
142   p_egd_attribute20              in varchar2         default hr_api.g_varchar2,
143   p_egd_attribute21              in varchar2         default hr_api.g_varchar2,
144   p_egd_attribute22              in varchar2         default hr_api.g_varchar2,
145   p_egd_attribute23              in varchar2         default hr_api.g_varchar2,
146   p_egd_attribute24              in varchar2         default hr_api.g_varchar2,
147   p_egd_attribute25              in varchar2         default hr_api.g_varchar2,
148   p_egd_attribute26              in varchar2         default hr_api.g_varchar2,
149   p_egd_attribute27              in varchar2         default hr_api.g_varchar2,
150   p_egd_attribute28              in varchar2         default hr_api.g_varchar2,
151   p_egd_attribute29              in varchar2         default hr_api.g_varchar2,
152   p_egd_attribute30              in varchar2         default hr_api.g_varchar2,
153   p_request_id                   in number           default hr_api.g_number,
154   p_program_application_id       in number           default hr_api.g_number,
155   p_program_id                   in number           default hr_api.g_number,
156   p_program_update_date          in date             default hr_api.g_date,
157   p_object_version_number        in out nocopy number
158   );
159 --
160 end ben_egd_upd;