DBA Data[Home] [Help]

PACKAGE: APPS.PAY_PAP_UPD

Source


1 Package pay_pap_upd as
2 /* $Header: pypaprhi.pkh 120.0 2005/05/29 07:14:36 appldev 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 --   p_effective_date
39 --   A record structure
40 --
41 -- Post Success:
42 --   The specified row will be fully validated and updated for the specified
43 --   entity without being committed.
44 --
45 -- Post Failure:
46 --   If an error has occurred, an error message will be supplied with the work
47 --   rolled back.
48 --
49 -- Developer Implementation Notes:
50 --   None.
51 --
52 -- Access Status:
53 --   Internal Development Use Only.
54 --
55 -- {End Of Comments}
56 -- ----------------------------------------------------------------------------
57 PROCEDURE upd
58   (p_effective_date   IN     DATE
59   ,p_rec              IN OUT NOCOPY pay_pap_shd.g_rec_type
60   ,p_check_accrual_ff    OUT NOCOPY BOOLEAN);
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 --   p_effective_date
84 --   p_pto_input_value_id
85 --   p_accrual_category
86 --   p_accrual_units_of_measure
87 --   p_accrual_start
88 --   p_ineligible_period_length
89 --   p_ineligible_period_type
90 --   p_accrual_formula_id
91 --   p_co_formula_id
92 --   p_description
93 --   p_ineligibility_formula_id
94 --   p_payroll_formula_id
95 --   p_defined_balance_id
96 --   p_tagging_element_type_id
97 --   p_balance_element_type_id
98 --   p_information_category
99 --   p_information1..30
100 --
101 -- Post Success:
102 --   A fully validated row will be updated for the specified entity
103 --   without being committed.
104 --
105 -- Post Failure:
106 --   If an error has occurred, an error message will be supplied with the work
107 --   rolled back.
108 --
109 -- Developer Implementation Notes:
110 --   None.
111 --
112 -- Access Status:
113 --   Internal Development Use Only.
114 --
115 -- {End Of Comments}
116 -- ----------------------------------------------------------------------------
117 Procedure upd
118   (p_effective_date               IN     DATE
119   ,p_accrual_plan_id              IN     NUMBER
120   ,p_pto_input_value_id           IN     NUMBER   DEFAULT HR_API.G_NUMBER
121   ,p_accrual_category             IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
122   ,p_accrual_start                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
123   ,p_ineligible_period_length     IN     NUMBER   DEFAULT HR_API.G_NUMBER
124   ,p_ineligible_period_type       IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
125   ,p_accrual_formula_id           IN     NUMBER   DEFAULT HR_API.G_NUMBER
126   ,p_co_formula_id                IN     NUMBER   DEFAULT HR_API.G_NUMBER
127   ,p_description                  IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
128   ,p_ineligibility_formula_id     IN     NUMBER   DEFAULT HR_API.G_NUMBER
129   ,p_payroll_formula_id           IN     NUMBER   DEFAULT HR_API.G_NUMBER
130   ,p_defined_balance_id           IN     NUMBER   DEFAULT HR_API.G_NUMBER
131   ,p_tagging_element_type_id      IN     NUMBER   DEFAULT HR_API.G_NUMBER
132   ,p_balance_element_type_id      IN     NUMBER   DEFAULT HR_API.G_NUMBER
133   ,p_information_category         IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
134   ,p_information1                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
135   ,p_information2                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
136   ,p_information3                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
137   ,p_information4                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
138   ,p_information5                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
139   ,p_information6                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
140   ,p_information7                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
141   ,p_information8                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
142   ,p_information9                 IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
143   ,p_information10                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
144   ,p_information11                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
145   ,p_information12                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
146   ,p_information13                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
147   ,p_information14                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
148   ,p_information15                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
149   ,p_information16                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
150   ,p_information17                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
151   ,p_information18                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
152   ,p_information19                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
153   ,p_information20                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
154   ,p_information21                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
155   ,p_information22                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
156   ,p_information23                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
157   ,p_information24                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
158   ,p_information25                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
159   ,p_information26                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
160   ,p_information27                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
161   ,p_information28                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
162   ,p_information29                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
163   ,p_information30                IN     VARCHAR2 DEFAULT HR_API.G_VARCHAR2
164   ,p_object_version_number        IN OUT NOCOPY NUMBER
165   ,p_check_accrual_ff                OUT NOCOPY BOOLEAN);
166 --
167 end pay_pap_upd;