DBA Data[Home] [Help]

PACKAGE: APPS.PER_PML_UPD

Source


1 Package per_pml_upd as
2 /* $Header: pepmlrhi.pkh 120.1.12010000.1 2008/07/28 05:22:18 appldev ship $ */
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_effective_date               in date
56   ,p_rec                          in out nocopy per_pml_shd.g_rec_type
57   ,p_duplicate_name_warning          out nocopy boolean
58   ,p_weighting_over_100_warning      out nocopy boolean
59   ,p_weighting_appraisal_warning     out nocopy boolean
60   );
61 --
62 -- ----------------------------------------------------------------------------
63 -- |---------------------------------< upd >----------------------------------|
64 -- ----------------------------------------------------------------------------
65 -- {Start Of Comments}
66 --
67 -- Description:
68 --   This procedure is the attribute interface for the update
69 --   process for the specified entity and is the outermost layer. The role
70 --   of this process is to update a fully validated row into the HR schema
71 --   passing back to the calling process, any system generated values
72 --   (e.g. object version number attributes). The processing of this
73 --   procedure is as follows:
74 --   1) The attributes are converted into a local record structure by
75 --      calling the convert_args function.
76 --   2) After the conversion has taken place, the corresponding record upd
77 --      interface process is executed.
78 --   3) OUT parameters are then set to their corresponding record attributes.
79 --
80 -- Prerequisites:
81 --
82 -- In Parameters:
83 --
84 -- Post Success:
85 --   A fully validated row will be updated for the specified entity
86 --   without being committed.
87 --
88 -- Post Failure:
89 --   If an error has occurred, an error message will be raised.
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   (p_effective_date               in     date
101   ,p_objective_id                 in     number
102   ,p_object_version_number        in out nocopy number
103   ,p_objective_name               in     varchar2  default hr_api.g_varchar2
104   ,p_measurement_style_code       in     varchar2  default hr_api.g_varchar2
105   ,p_eligibility_type_code        in     varchar2  default hr_api.g_varchar2
106   ,p_valid_from                   in     date      default hr_api.g_date
107   ,p_valid_to                     in     date      default hr_api.g_date
108   ,p_target_date                  in     date      default hr_api.g_date
109   ,p_next_review_date             in     date      default hr_api.g_date
110   ,p_group_code                   in     varchar2  default hr_api.g_varchar2
111   ,p_priority_code                in     varchar2  default hr_api.g_varchar2
112   ,p_appraise_flag                in     varchar2  default hr_api.g_varchar2
113   ,p_weighting_percent            in     number    default hr_api.g_number
114   ,p_measure_name                 in     varchar2  default hr_api.g_varchar2
115   ,p_target_value                 in     number    default hr_api.g_number
116   ,p_uom_code                     in     varchar2  default hr_api.g_varchar2
117   ,p_measure_type_code            in     varchar2  default hr_api.g_varchar2
118   ,p_measure_comments             in     varchar2  default hr_api.g_varchar2
119   ,p_details                      in     varchar2  default hr_api.g_varchar2
120   ,p_success_criteria             in     varchar2  default hr_api.g_varchar2
121   ,p_comments                     in     varchar2  default hr_api.g_varchar2
122   ,p_attribute_category           in     varchar2  default hr_api.g_varchar2
123   ,p_attribute1                   in     varchar2  default hr_api.g_varchar2
124   ,p_attribute2                   in     varchar2  default hr_api.g_varchar2
125   ,p_attribute3                   in     varchar2  default hr_api.g_varchar2
126   ,p_attribute4                   in     varchar2  default hr_api.g_varchar2
127   ,p_attribute5                   in     varchar2  default hr_api.g_varchar2
128   ,p_attribute6                   in     varchar2  default hr_api.g_varchar2
129   ,p_attribute7                   in     varchar2  default hr_api.g_varchar2
130   ,p_attribute8                   in     varchar2  default hr_api.g_varchar2
131   ,p_attribute9                   in     varchar2  default hr_api.g_varchar2
132   ,p_attribute10                  in     varchar2  default hr_api.g_varchar2
133   ,p_attribute11                  in     varchar2  default hr_api.g_varchar2
134   ,p_attribute12                  in     varchar2  default hr_api.g_varchar2
135   ,p_attribute13                  in     varchar2  default hr_api.g_varchar2
136   ,p_attribute14                  in     varchar2  default hr_api.g_varchar2
137   ,p_attribute15                  in     varchar2  default hr_api.g_varchar2
138   ,p_attribute16                  in     varchar2  default hr_api.g_varchar2
139   ,p_attribute17                  in     varchar2  default hr_api.g_varchar2
140   ,p_attribute18                  in     varchar2  default hr_api.g_varchar2
141   ,p_attribute19                  in     varchar2  default hr_api.g_varchar2
142   ,p_attribute20                  in     varchar2  default hr_api.g_varchar2
143   ,p_attribute21                  in     varchar2  default hr_api.g_varchar2
144   ,p_attribute22                  in     varchar2  default hr_api.g_varchar2
145   ,p_attribute23                  in     varchar2  default hr_api.g_varchar2
146   ,p_attribute24                  in     varchar2  default hr_api.g_varchar2
147   ,p_attribute25                  in     varchar2  default hr_api.g_varchar2
148   ,p_attribute26                  in     varchar2  default hr_api.g_varchar2
149   ,p_attribute27                  in     varchar2  default hr_api.g_varchar2
150   ,p_attribute28                  in     varchar2  default hr_api.g_varchar2
151   ,p_attribute29                  in     varchar2  default hr_api.g_varchar2
152   ,p_attribute30                  in     varchar2  default hr_api.g_varchar2
153   ,p_duplicate_name_warning          out nocopy boolean
154   ,p_weighting_over_100_warning      out nocopy boolean
155   ,p_weighting_appraisal_warning     out nocopy boolean
156   );
157 --
158 end per_pml_upd;