DBA Data[Home] [Help]

PACKAGE: APPS.PER_FDL_UPD

Source


1 Package per_fdl_upd AUTHID CURRENT_USER as
2 /* $Header: pefdlrhi.pkh 120.0.12020000.1 2013/02/27 12:34:38 shpatro noship $ */
3 
4 --
5 -- ----------------------------------------------------------------------------
6 -- |----------------------------------< upd >---------------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 -- Description:
11 --   This procedure is the record interface for the update
12 --   process for the specified entity. The role of this process is
13 --   to update a fully validated row for the HR schema passing back
14 --   to the calling process, any system generated values (e.g.
15 --   object version number attribute). This process is the main
16 --   backbone of the upd business process. The processing of this
17 --   procedure is as follows:
18 --   1) The row to be updated is locked and selected into the record
19 --      structure g_old_rec.
20 --   2) 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 --   3) The controlling validation process update_validate is then executed
25 --      which will execute all private and public validation business rule
26 --      processes.
27 --   4) The pre_update process is then executed which enables any
28 --      logic to be processed before the update dml process is executed.
29 --   5) The update_dml process will physical perform the update dml into the
30 --      specified entity.
31 --   6) 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 business process have to be in the record
36 --   format.
37 --
38 -- In Parameters:
39 --
40 -- Post Success:
41 --   The specified row will be fully validated and updated for the specified
42 --   entity without being committed.
43 --
44 -- Post Failure:
45 --   If an error has occurred, an error message will be raised.
46 --
47 -- Developer Implementation Notes:
48 --   None.
49 --
50 -- Access Status:
51 --   Internal Development Use Only.
52 --
53 -- {End Of Comments}
54 -- ----------------------------------------------------------------------------
55 Procedure upd
56   (p_rec                          in out nocopy per_fdl_shd.g_rec_type
57   );
58 
59 --
60 -- ----------------------------------------------------------------------------
61 -- |---------------------------------< upd >----------------------------------|
62 -- ----------------------------------------------------------------------------
63 -- {Start Of Comments}
64 --
65 -- Description:
66 --   This procedure is the attribute interface for the update
67 --   process for the specified entity and is the outermost layer. The role
68 --   of this process is to update a fully validated row into the HR schema
69 --   passing back to the calling process, any system generated values
70 --   (e.g. object version number attributes). The processing of this
71 --   procedure is as follows:
72 --   1) The attributes are converted into a local record structure by
73 --      calling the convert_args function.
74 --   2) After the conversion has taken place, the corresponding record upd
75 --      interface process is executed.
76 --   3) OUT parameters are then set to their corresponding record attributes.
77 --
78 -- Prerequisites:
79 --
80 -- In Parameters:
81 --
82 -- Post Success:
83 --   A fully validated row will be updated for the specified entity
84 --   without being committed.
85 --
86 -- Post Failure:
87 --   If an error has occurred, an error message will be raised.
88 --
89 -- Developer Implementation Notes:
90 --   None.
91 --
92 -- Access Status:
93 --   Internal Development Use Only.
94 --
95 -- {End Of Comments}
96 -- ----------------------------------------------------------------------------
97 Procedure upd
98   (p_fnd_doc_link_id              in     number
99   ,p_object_version_number        in out nocopy number
100   ,p_entity_name                  in     varchar2  default hr_api.g_varchar2
101   ,p_sub_entity_name              in     varchar2  default hr_api.g_varchar2
102   ,p_person_id                    in     number    default hr_api.g_number
103   ,p_doc_upload_date              in     date      default hr_api.g_date
104   ,p_transaction_type             in     varchar2  default hr_api.g_varchar2
105   ,p_transaction_status           in     varchar2  default hr_api.g_varchar2
106   ,p_status                       in     varchar2  default hr_api.g_varchar2
107   ,p_entity_doc_id                in     number    default hr_api.g_number
108   ,p_fnd_doc_id                   in     number    default hr_api.g_number
109   ,p_assignment_id                in     number    default hr_api.g_number
110   ,p_application_id               in     number    default hr_api.g_number
111   ,p_fdl_information_category     in     varchar2  default hr_api.g_varchar2
112   ,p_fdl_information1             in     varchar2  default hr_api.g_varchar2
113   ,p_fdl_information2             in     varchar2  default hr_api.g_varchar2
114   ,p_fdl_information3             in     varchar2  default hr_api.g_varchar2
115   ,p_fdl_information4             in     varchar2  default hr_api.g_varchar2
116   ,p_fdl_information5             in     varchar2  default hr_api.g_varchar2
117   ,p_fdl_information6             in     varchar2  default hr_api.g_varchar2
118   ,p_fdl_information7             in     varchar2  default hr_api.g_varchar2
119   ,p_fdl_information8             in     varchar2  default hr_api.g_varchar2
120   ,p_fdl_information9             in     varchar2  default hr_api.g_varchar2
121   ,p_fdl_information10            in     varchar2  default hr_api.g_varchar2
122   );
123 
124 --
125 end per_fdl_upd;