DBA Data[Home] [Help]

PACKAGE: APPS.GHR_CCA_UPD

Source


1 Package ghr_cca_upd as
2 /* $Header: ghccarhi.pkh 120.0 2005/05/29 02:50:17 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 --
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 ghr_cca_shd.g_rec_type
57   );
58 --
59 -- ----------------------------------------------------------------------------
60 -- |---------------------------------< upd >----------------------------------|
61 -- ----------------------------------------------------------------------------
62 -- {Start Of Comments}
63 --
64 -- Description:
65 --   This procedure is the attribute interface for the update
66 --   process for the specified entity and is the outermost layer. The role
67 --   of this process is to update a fully validated row into the HR schema
68 --   passing back to the calling process, any system generated values
69 --   (e.g. object version number attributes). The processing of this
70 --   procedure is as follows:
71 --   1) The attributes are converted into a local record structure by
72 --      calling the convert_args function.
73 --   2) After the conversion has taken place, the corresponding record upd
74 --      interface process is executed.
75 --   3) OUT parameters are then set to their corresponding record attributes.
76 --
77 -- Prerequisites:
78 --
79 -- In Parameters:
80 --
81 -- Post Success:
82 --   A fully validated row will be updated for the specified entity
83 --   without being committed.
84 --
85 -- Post Failure:
86 --   If an error has occurred, an error message will be raised.
87 --
88 -- Developer Implementation Notes:
89 --   None.
90 --
91 -- Access Status:
92 --   Internal Development Use Only.
93 --
94 -- {End Of Comments}
95 -- ----------------------------------------------------------------------------
96 Procedure upd
97   (p_effective_date               in     date
98   ,p_compl_appeal_id              in     number
99   ,p_object_version_number        in out nocopy number
100   ,p_complaint_id                 in     number    default hr_api.g_number
101   ,p_appeal_date                  in     date      default hr_api.g_date
102   ,p_appealed_to                  in     varchar2  default hr_api.g_varchar2
103   ,p_reason_for_appeal            in     varchar2  default hr_api.g_varchar2
104   ,p_source_decision_date         in     date      default hr_api.g_date
105   ,p_docket_num                   in     varchar2  default hr_api.g_varchar2
106   ,p_org_notified_of_appeal       in     date      default hr_api.g_date
107   ,p_agency_recvd_req_for_files   in     date      default hr_api.g_date
108   ,p_files_due                    in     date      default hr_api.g_date
109   ,p_files_forwd                  in     date      default hr_api.g_date
110   ,p_agcy_recvd_appellant_brief   in     date      default hr_api.g_date
111   ,p_agency_brief_due             in     date      default hr_api.g_date
112   ,p_appellant_brief_forwd_org    in     date      default hr_api.g_date
113   ,p_org_forwd_brief_to_agency    in     date      default hr_api.g_date
114   ,p_agency_brief_forwd           in     date      default hr_api.g_date
115   ,p_decision_date                in     date      default hr_api.g_date
116   ,p_dec_recvd_by_agency          in     date      default hr_api.g_date
117   ,p_decision                     in     varchar2  default hr_api.g_varchar2
118   ,p_dec_forwd_to_org             in     date      default hr_api.g_date
119   ,p_agency_rfr_suspense          in     date      default hr_api.g_date
120   ,p_request_for_rfr              in     date      default hr_api.g_date
121   ,p_rfr_docket_num               in     varchar2  default hr_api.g_varchar2
122   ,p_rfr_requested_by             in     varchar2  default hr_api.g_varchar2
123   ,p_agency_rfr_due               in     date      default hr_api.g_date
124   ,p_rfr_forwd_to_org             in     date      default hr_api.g_date
125   ,p_org_forwd_rfr_to_agency      in     date      default hr_api.g_date
126   ,p_agency_forwd_rfr_ofo         in     date      default hr_api.g_date
127   ,p_rfr_decision                 in     varchar2  default hr_api.g_varchar2
128   ,p_rfr_decision_date            in     date      default hr_api.g_date
129   ,p_agency_recvd_rfr_dec         in     date      default hr_api.g_date
130   ,p_rfr_decision_forwd_to_org    in     date      default hr_api.g_date
131   );
132 --
133 end ghr_cca_upd;