DBA Data[Home] [Help]

PACKAGE: APPS.PQH_ATL_UPD

Source


1 Package pqh_atl_upd as
2 /* $Header: pqatlrhi.pkh 120.1 2005/08/06 13:15:43 srajakum 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 --
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 supplied with the work
45 --   rolled back.
46 --
47 -- Developer Implementation Notes:
48 --   None.
49 --
50 -- Access Status:
51 --   Internal Development Use Only.
52 --
53 -- {End Of Comments}
54 -- ----------------------------------------------------------------------------
55 /**
56 Procedure upd
57   (
58   p_rec        in out nocopy pqh_atl_shd.g_rec_type
59   );
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 supplied with the work
90 --   rolled back.
91 --
92 -- Developer Implementation Notes:
93 --   None.
94 --
95 -- Access Status:
96 --   Internal Development Use Only.
97 --
98 -- {End Of Comments}
99 -- ----------------------------------------------------------------------------
100 /**
101 Procedure upd
102   (
103   p_attribute_id                 in number,
104   p_attribute_name               in varchar2         default hr_api.g_varchar2,
105   p_language                     in varchar2,
106   p_source_lang                  in varchar2         default hr_api.g_varchar2
107   );
108 **/
109 procedure upd_tl (
110     p_language_code               in varchar2,
111     p_attribute_id                in number,
112     p_attribute_name              in varchar2 );
113 --
114 Procedure translate_row (
115     p_attribute_name                in varchar2,
116     p_att_col_name                  in varchar2,
117     p_att_master_table_alias_name   in varchar2,
118     p_legislation_code              in varchar2,
119     p_owner                         in varchar2);
120 --
121 end pqh_atl_upd;