DBA Data[Home] [Help]

PACKAGE: APPS.PAY_ETP_UPD

Source


1 Package pay_etp_upd AUTHID CURRENT_USER as
2 /* $Header: pyetprhi.pkh 120.3 2007/02/01 10:39:46 mshingan 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 raised.
50 --
51 -- Developer Implementation Notes:
52 --   None.
53 --
54 -- Access Status:
55 --   Internal Development Use Only.
56 --
57 -- ----------------------------------------------------------------------------
58 Procedure upd
59   (p_effective_date 			 in     date
60   ,p_datetrack_mode 			 in     varchar2
61   ,p_rec            			 in out nocopy pay_etp_shd.g_rec_type
62   ,p_processing_priority_warning            out nocopy boolean
63   );
64 --
65 -- ----------------------------------------------------------------------------
66 -- |-------------------------------< upd >------------------------------------|
67 -- ----------------------------------------------------------------------------
68 -- {Start Of Comments}
69 --
70 -- Description:
71 --   This procedure is the attribute interface for the datetrack update
72 --   process for the specified entity and is the outermost layer.
73 --   The role of this process is to update a fully validated row into the
74 --   HR schema passing back to the calling process, any system generated
75 --   values (e.g. object version number attributes). The processing of this
76 --   procedure is as follows:
77 --   1) The attributes are converted into a local record structure by
78 --      calling the convert_args function.
79 --   2) After the conversion has taken place, the corresponding record upd
80 --      interface process is executed.
81 --   3) OUT parameters are then set to their corresponding record attributes.
82 --
83 -- Prerequisites:
84 --
85 -- In Parameters:
86 --   p_effective_date
87 --     Specifies the date of the datetrack update operation.
88 --   p_datetrack_mode
89 --     Determines the datetrack update mode.
90 --
91 -- Post Success:
92 --   A fully validated row will be updated for the specified entity
93 --   without being committed.
94 --
95 -- Post Failure:
96 --   If an error has occurred, an error message will be raised.
97 --
98 -- Developer Implementation Notes:
99 --   None.
100 --
101 -- Access Status:
102 --   Internal Development Use Only.
103 --
104 -- {End Of Comments}
105 -- ----------------------------------------------------------------------------
106 Procedure upd
107   (p_effective_date               in     date
108   ,p_datetrack_mode               in     varchar2
109   ,p_element_type_id              in     number
110   ,p_object_version_number        in out nocopy number
111   ,p_classification_id            in     number    default hr_api.g_number
112   ,p_additional_entry_allowed_fla in     varchar2  default hr_api.g_varchar2
113   ,p_adjustment_only_flag         in     varchar2  default hr_api.g_varchar2
114   ,p_closed_for_entry_flag        in     varchar2  default hr_api.g_varchar2
115   ,p_element_name                 in     varchar2  default hr_api.g_varchar2
116   ,p_indirect_only_flag           in     varchar2  default hr_api.g_varchar2
117   ,p_multiple_entries_allowed_fla in     varchar2  default hr_api.g_varchar2
118   ,p_multiply_value_flag          in     varchar2  default hr_api.g_varchar2
119   ,p_post_termination_rule        in     varchar2  default hr_api.g_varchar2
120   ,p_process_in_run_flag          in     varchar2  default hr_api.g_varchar2
121   ,p_processing_priority          in     number    default hr_api.g_number
122   ,p_processing_type              in     varchar2  default hr_api.g_varchar2
123   ,p_standard_link_flag           in     varchar2  default hr_api.g_varchar2
124   ,p_business_group_id            in     number    default hr_api.g_number
125   ,p_legislation_code             in     varchar2  default hr_api.g_varchar2
126   ,p_formula_id                   in     number    default hr_api.g_number
127   ,p_input_currency_code          in     varchar2  default hr_api.g_varchar2
128   ,p_output_currency_code         in     varchar2  default hr_api.g_varchar2
129   ,p_benefit_classification_id    in     number    default hr_api.g_number
130   ,p_comments                     in     varchar2  default hr_api.g_varchar2
131   ,p_description                  in     varchar2  default hr_api.g_varchar2
132   ,p_legislation_subgroup         in     varchar2  default hr_api.g_varchar2
133   ,p_qualifying_age               in     number    default hr_api.g_number
134   ,p_qualifying_length_of_service in     number    default hr_api.g_number
135   ,p_qualifying_units             in     varchar2  default hr_api.g_varchar2
136   ,p_reporting_name               in     varchar2  default hr_api.g_varchar2
137   ,p_attribute_category           in     varchar2  default hr_api.g_varchar2
138   ,p_attribute1                   in     varchar2  default hr_api.g_varchar2
139   ,p_attribute2                   in     varchar2  default hr_api.g_varchar2
140   ,p_attribute3                   in     varchar2  default hr_api.g_varchar2
141   ,p_attribute4                   in     varchar2  default hr_api.g_varchar2
142   ,p_attribute5                   in     varchar2  default hr_api.g_varchar2
143   ,p_attribute6                   in     varchar2  default hr_api.g_varchar2
144   ,p_attribute7                   in     varchar2  default hr_api.g_varchar2
145   ,p_attribute8                   in     varchar2  default hr_api.g_varchar2
146   ,p_attribute9                   in     varchar2  default hr_api.g_varchar2
147   ,p_attribute10                  in     varchar2  default hr_api.g_varchar2
148   ,p_attribute11                  in     varchar2  default hr_api.g_varchar2
149   ,p_attribute12                  in     varchar2  default hr_api.g_varchar2
150   ,p_attribute13                  in     varchar2  default hr_api.g_varchar2
151   ,p_attribute14                  in     varchar2  default hr_api.g_varchar2
152   ,p_attribute15                  in     varchar2  default hr_api.g_varchar2
153   ,p_attribute16                  in     varchar2  default hr_api.g_varchar2
154   ,p_attribute17                  in     varchar2  default hr_api.g_varchar2
155   ,p_attribute18                  in     varchar2  default hr_api.g_varchar2
156   ,p_attribute19                  in     varchar2  default hr_api.g_varchar2
157   ,p_attribute20                  in     varchar2  default hr_api.g_varchar2
158   ,p_element_information_category in     varchar2  default hr_api.g_varchar2
159   ,p_element_information1         in     varchar2  default hr_api.g_varchar2
160   ,p_element_information2         in     varchar2  default hr_api.g_varchar2
161   ,p_element_information3         in     varchar2  default hr_api.g_varchar2
162   ,p_element_information4         in     varchar2  default hr_api.g_varchar2
163   ,p_element_information5         in     varchar2  default hr_api.g_varchar2
164   ,p_element_information6         in     varchar2  default hr_api.g_varchar2
165   ,p_element_information7         in     varchar2  default hr_api.g_varchar2
166   ,p_element_information8         in     varchar2  default hr_api.g_varchar2
167   ,p_element_information9         in     varchar2  default hr_api.g_varchar2
168   ,p_element_information10        in     varchar2  default hr_api.g_varchar2
169   ,p_element_information11        in     varchar2  default hr_api.g_varchar2
170   ,p_element_information12        in     varchar2  default hr_api.g_varchar2
171   ,p_element_information13        in     varchar2  default hr_api.g_varchar2
172   ,p_element_information14        in     varchar2  default hr_api.g_varchar2
173   ,p_element_information15        in     varchar2  default hr_api.g_varchar2
174   ,p_element_information16        in     varchar2  default hr_api.g_varchar2
175   ,p_element_information17        in     varchar2  default hr_api.g_varchar2
176   ,p_element_information18        in     varchar2  default hr_api.g_varchar2
177   ,p_element_information19        in     varchar2  default hr_api.g_varchar2
178   ,p_element_information20        in     varchar2  default hr_api.g_varchar2
179   ,p_third_party_pay_only_flag    in     varchar2  default hr_api.g_varchar2
180   ,p_iterative_flag               in     varchar2  default hr_api.g_varchar2
181   ,p_iterative_formula_id         in     number    default hr_api.g_number
182   ,p_iterative_priority           in     number    default hr_api.g_number
183   ,p_creator_type                 in     varchar2  default hr_api.g_varchar2
184   ,p_retro_summ_ele_id            in     number    default hr_api.g_number
185   ,p_grossup_flag                 in     varchar2  default hr_api.g_varchar2
186   ,p_process_mode                 in     varchar2  default hr_api.g_varchar2
187   ,p_advance_indicator            in     varchar2  default hr_api.g_varchar2
188   ,p_advance_payable              in     varchar2  default hr_api.g_varchar2
189   ,p_advance_deduction            in     varchar2  default hr_api.g_varchar2
190   ,p_process_advance_entry        in     varchar2  default hr_api.g_varchar2
191   ,p_proration_group_id           in     number    default hr_api.g_number
192   ,p_proration_formula_id         in     number    default hr_api.g_number
193   ,p_recalc_event_group_id        in     number    default hr_api.g_number
194   ,p_once_each_period_flag        in     varchar2  default hr_api.g_varchar2
195   ,p_time_definition_type         in     varchar2  default hr_api.g_varchar2
196   ,p_time_definition_id	          in     number    default hr_api.g_number
197   ,p_advance_element_type_id      in     number    default hr_api.g_number
198   ,p_deduction_element_type_id    in     number    default hr_api.g_number
199   ,p_effective_start_date            out nocopy date
200   ,p_effective_end_date              out nocopy date
201   ,p_comment_id                      out nocopy number
202   ,p_processing_priority_warning     out nocopy boolean
203   );
204 --
205 end pay_etp_upd;