DBA Data[Home] [Help]

PACKAGE: APPS.HXC_TAT_UPD

Source


1 package hxc_tat_upd as
2 /* $Header: hxtatrhi.pkh 120.0.12010000.2 2008/08/05 12:11:28 ubhat ship $ */
3 -- --------------------------------------------------------------------------
4 -- |----------------------------------< upd >-------------------------------|
5 -- --------------------------------------------------------------------------
6 -- {Start Of Comments}
7 --
8 -- Description:
9 --   This procedure is the record interface for the update
10 --   process for the specified entity. The role of this process is
11 --   to update a fully validated row for the HR schema passing back
12 --   to the calling process, any system generated values (e.g.
13 --   object version number attribute). This process is the main
14 --   backbone of the upd business process. The processing of this
15 --   procedure is as follows:
16 --   1) The row to be updated is locked and selected into the record
17 --      structure g_old_rec.
18 --   2) Because on update parameters which are not part of the update do not
19 --      have to be defaulted, we need to build up the updated row by
20 --      converting any system defaulted parameters to their corresponding
21 --      value.
22 --   3) The controlling validation process update_validate is then executed
23 --      which will execute all private and public validation business rule
24 --      processes.
25 --   4) The pre_update process is then executed which enables any
26 --      logic to be processed before the update dml process is executed.
27 --   5) The update_dml process will physical perform the update dml into the
28 --      specified entity.
29 --   6) The post_update process is then executed which enables any
30 --      logic to be processed after the update dml process.
31 --
32 -- Prerequisites:
33 --   The main parameters to the business process have to be in the record
34 --   format.
35 --
36 -- In Parameters:
37 --
38 -- Post Success:
39 --   The specified row will be fully validated and updated for the specified
40 --   entity without being committed.
41 --
42 -- Post Failure:
43 --   If an error has occurred, an error message will be raised.
44 --
45 -- Developer Implementation Notes:
46 --   None.
47 --
48 -- Access Status:
49 --   Internal Development Use Only.
50 --
51 -- {End Of Comments}
52 -- --------------------------------------------------------------------------
53 procedure upd
54   (p_effective_date in date
55   ,p_rec            in out nocopy hxc_tat_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 --   None.
89 --
90 -- Access Status:
91 --   Internal Development Use Only.
92 --
93 -- {End Of Comments}
94 -- --------------------------------------------------------------------------
95 procedure upd
96   (p_effective_date               in     date
97   ,p_time_attribute_id            in     number
98   ,p_object_version_number        in out nocopy number
99   ,p_attribute_category           in     varchar2  default hr_api.g_varchar2
100   ,p_attribute1                   in     varchar2  default hr_api.g_varchar2
101   ,p_attribute2                   in     varchar2  default hr_api.g_varchar2
102   ,p_attribute3                   in     varchar2  default hr_api.g_varchar2
103   ,p_attribute4                   in     varchar2  default hr_api.g_varchar2
104   ,p_attribute5                   in     varchar2  default hr_api.g_varchar2
105   ,p_attribute6                   in     varchar2  default hr_api.g_varchar2
106   ,p_attribute7                   in     varchar2  default hr_api.g_varchar2
107   ,p_attribute8                   in     varchar2  default hr_api.g_varchar2
108   ,p_attribute9                   in     varchar2  default hr_api.g_varchar2
109   ,p_attribute10                  in     varchar2  default hr_api.g_varchar2
110   ,p_attribute11                  in     varchar2  default hr_api.g_varchar2
111   ,p_attribute12                  in     varchar2  default hr_api.g_varchar2
112   ,p_attribute13                  in     varchar2  default hr_api.g_varchar2
113   ,p_attribute14                  in     varchar2  default hr_api.g_varchar2
114   ,p_attribute15                  in     varchar2  default hr_api.g_varchar2
115   ,p_attribute16                  in     varchar2  default hr_api.g_varchar2
116   ,p_attribute17                  in     varchar2  default hr_api.g_varchar2
117   ,p_attribute18                  in     varchar2  default hr_api.g_varchar2
118   ,p_attribute19                  in     varchar2  default hr_api.g_varchar2
119   ,p_attribute20                  in     varchar2  default hr_api.g_varchar2
120   ,p_attribute21                  in     varchar2  default hr_api.g_varchar2
121   ,p_attribute22                  in     varchar2  default hr_api.g_varchar2
122   ,p_attribute23                  in     varchar2  default hr_api.g_varchar2
123   ,p_attribute24                  in     varchar2  default hr_api.g_varchar2
124   ,p_attribute25                  in     varchar2  default hr_api.g_varchar2
125   ,p_attribute26                  in     varchar2  default hr_api.g_varchar2
126   ,p_attribute27                  in     varchar2  default hr_api.g_varchar2
127   ,p_attribute28                  in     varchar2  default hr_api.g_varchar2
128   ,p_attribute29                  in     varchar2  default hr_api.g_varchar2
129   ,p_attribute30                  in     varchar2  default hr_api.g_varchar2
130   ,p_bld_blk_info_type_id         in     varchar2  default hr_api.g_number
131   ,p_data_set_id                  in     number    default hr_api.g_number
132   );
133 
134 end hxc_tat_upd;