DBA Data[Home] [Help]

PACKAGE: APPS.HR_QSV_INS

Source


1 Package hr_qsv_ins AUTHID CURRENT_USER as
2 /* $Header: hrqsvrhi.pkh 120.0.12020000.2 2013/01/31 10:11:19 sussuman ship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |------------------------< set_base_key_value >----------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start of Comments}
8 -- Description:
9 --   This procedure is called to register the next ID value from the database
10 --   sequence.
11 --
12 -- Prerequisites:
13 --
14 -- In Parameters:
15 --   Primary Key
16 --
17 -- Post Success:
18 --
19 -- Post Failure:
20 --
21 -- Developer Implementation Notes:
22 --   None.
23 --
24 -- Access Status:
25 --   Internal Development Use Only.
26 --
27 -- {End of Comments}
28 -- ----------------------------------------------------------------------------
29 procedure set_base_key_value
30   (p_quest_answer_val_id  in  number);
31 --
32 -- ----------------------------------------------------------------------------
33 -- |---------------------------------< ins >----------------------------------|
34 -- ----------------------------------------------------------------------------
35 -- {Start Of Comments}
36 --
37 -- Description:
38 --   This procedure is the record interface for the insert process
39 --   for the specified entity. The role of this process is to insert a fully
40 --   validated row, into the HR schema passing back to  the calling process,
41 --   any system generated values (e.g. primary and object version number
42 --   attributes). This process is the main backbone of the ins
43 --   process. The processing of this procedure is as follows:
44 --   1) The controlling validation process insert_validate is executed
45 --      which will execute all private and public validation business rule
46 --      processes.
47 --   2) The pre_insert business process is then executed which enables any
48 --      logic to be processed before the insert dml process is executed.
49 --   3) The insert_dml process will physical perform the insert dml into the
50 --      specified entity.
51 --   4) The post_insert business process is then executed which enables any
52 --      logic to be processed after the insert dml process.
53 --
54 -- Prerequisites:
55 --   The main parameters to the this process have to be in the record
56 --   format.
57 --
58 -- In Parameters:
59 --
60 -- Post Success:
61 --   A fully validated row will be inserted into the specified entity
62 --   without being committed.
63 --
64 -- Post Failure:
65 --   If an error has occurred, an error message will be supplied with the work
66 --   rolled back.
67 --
68 -- Developer Implementation Notes:
69 --   None.
70 --
71 -- Access Status:
72 --   Internal Development Use Only.
73 --
74 -- {End Of Comments}
75 -- ----------------------------------------------------------------------------
76 Procedure ins
77   (
78   p_rec        in out nocopy hr_qsv_shd.g_rec_type
79   );
80 --
81 -- ----------------------------------------------------------------------------
82 -- |---------------------------------< ins >----------------------------------|
83 -- ----------------------------------------------------------------------------
84 -- {Start Of Comments}
85 --
86 -- Description:
87 --   This procedure is the attribute interface for the insert
88 --   process for the specified entity and is the outermost layer. The role
89 --   of this process is to insert a fully validated row into the HR schema
90 --   passing back to the calling process, any system generated values
91 --   (e.g. object version number attributes).The processing of this
92 --   procedure is as follows:
93 --   1) The attributes are converted into a local record structure by
94 --      calling the convert_args function.
95 --   2) After the conversion has taken place, the corresponding record ins
96 --      interface process is executed.
97 --   3) OUT parameters are then set to their corresponding record attributes.
98 --
99 -- Prerequisites:
100 --
101 -- In Parameters:
102 --
103 -- Post Success:
104 --   A fully validated row will be inserted for the specified entity
105 --   without being committed.
106 --
107 -- Post Failure:
108 --   If an error has occurred, an error message will be supplied with the work
109 --   rolled back.
110 --
111 -- Developer Implementation Notes:
112 --   None.
113 --
114 -- Access Status:
115 --   Internal Development Use Only.
116 --
117 -- {End Of Comments}
118 -- ----------------------------------------------------------------------------
119 Procedure ins
120   (
121   p_quest_answer_val_id          out nocopy number,
122   p_questionnaire_answer_id      in number,
123   p_field_id                     in number,
124   p_object_version_number        out nocopy number,
125   p_value                        in varchar2         default null
126   );
127 --
128 end hr_qsv_ins;