DBA Data[Home] [Help]

PACKAGE: APPS.HXC_EGC_INS

Source


1 Package hxc_egc_ins AUTHID CURRENT_USER as
2 /* $Header: hxcegcrhi.pkh 120.0 2005/05/29 05:30:26 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------------< ins >----------------------------------|
6 -- ----------------------------------------------------------------------------
7 --
8 -- Description:
9 --   This procedure is the record interface for the insert process
10 --   for the specified entity. The role of this process is to insert a fully
11 --   validated row, into the HR schema passing back to  the calling process,
12 --   any system generated values (e.g. primary and object version number
13 --   attributes). This process is the main backbone of the ins
14 --   process. The processing of this procedure is as follows:
15 --   1) The controlling validation process insert_validate is executed
16 --      which will execute all private and public validation business rule
17 --      processes.
18 --   2) The pre_insert business process is then executed which enables any
19 --      logic to be processed before the insert dml process is executed.
20 --   3) The insert_dml process will physical perform the insert dml into the
21 --      specified entity.
22 --   4) The post_insert business process is then executed which enables any
23 --      logic to be processed after the insert dml process.
24 --
25 -- Prerequisites:
26 --   The main parameters to the this process have to be in the record
27 --   format.
28 --
29 -- In Parameters:
30 --
31 -- Post Success:
32 --   A fully validated row will be inserted into the specified entity
33 --   without being committed.
34 --
35 -- Post Failure:
36 --   If an error has occurred, an error message will be raised.
37 --
38 -- Developer Implementation Notes:
39 --   None.
40 --
41 -- Access Status:
42 --   Internal Development Use Only.
43 --
44 -- ----------------------------------------------------------------------------
45 Procedure ins
46   (p_effective_date               in date
47   ,p_rec                          in out nocopy hxc_egc_shd.g_rec_type
48   ,p_called_from_form             in varchar2
49   );
50 --
51 -- ----------------------------------------------------------------------------
52 -- |---------------------------------< ins >----------------------------------|
53 -- ----------------------------------------------------------------------------
54 --
55 -- Description:
56 --   This procedure is the attribute interface for the insert
57 --   process for the specified entity and is the outermost layer. The role
58 --   of this process is to insert a fully validated row into the HR schema
59 --   passing back to the calling process, any system generated values
60 --   (e.g. object version number attributes).The processing of this
61 --   procedure is as follows:
62 --   1) The attributes are converted into a local record structure by
63 --      calling the convert_args function.
64 --   2) After the conversion has taken place, the corresponding record ins
65 --      interface process is executed.
66 --   3) OUT parameters are then set to their corresponding record attributes.
67 --
68 -- Prerequisites:
69 --
70 -- In Parameters:
71 --
72 -- Post Success:
73 --   A fully validated row will be inserted for the specified entity
74 --   without being committed.
75 --
76 -- Post Failure:
77 --   If an error has occurred, an error message will be raised.
78 --
79 -- Developer Implementation Notes:
80 --   None.
81 --
82 -- Access Status:
83 --   Internal Development Use Only.
84 --
85 -- ----------------------------------------------------------------------------
86 Procedure ins
87   (p_effective_date               in     date
88   ,p_entity_group_id                in     number
89   ,p_entity_id                      in     number
90   ,p_entity_type                    in     varchar2
91   ,p_attribute_category             in     varchar2 default null
92   ,p_attribute1                     in     varchar2 default null
93   ,p_attribute2                     in     varchar2 default null
94   ,p_attribute3                     in     varchar2 default null
95   ,p_attribute4                     in     varchar2 default null
96   ,p_attribute5                     in     varchar2 default null
97   ,p_attribute6                     in     varchar2 default null
98   ,p_attribute7                     in     varchar2 default null
99   ,p_attribute8                     in     varchar2 default null
100   ,p_attribute9                     in     varchar2 default null
101   ,p_attribute10                    in     varchar2 default null
102   ,p_attribute11                    in     varchar2 default null
103   ,p_attribute12                    in     varchar2 default null
104   ,p_attribute13                    in     varchar2 default null
105   ,p_attribute14                    in     varchar2 default null
106   ,p_attribute15                    in     varchar2 default null
107   ,p_attribute16                    in     varchar2 default null
108   ,p_attribute17                    in     varchar2 default null
109   ,p_attribute18                    in     varchar2 default null
110   ,p_attribute19                    in     varchar2 default null
111   ,p_attribute20                    in     varchar2 default null
112   ,p_attribute21                    in     varchar2 default null
113   ,p_attribute22                    in     varchar2 default null
114   ,p_attribute23                    in     varchar2 default null
115   ,p_attribute24                    in     varchar2 default null
116   ,p_attribute25                    in     varchar2 default null
117   ,p_attribute26                    in     varchar2 default null
118   ,p_attribute27                    in     varchar2 default null
119   ,p_attribute28                    in     varchar2 default null
120   ,p_attribute29                    in     varchar2 default null
121   ,p_attribute30                    in     varchar2 default null
122   ,p_entity_group_comp_id              out nocopy number
123   ,p_object_version_number             out nocopy number
124   ,p_called_from_form               in     varchar2
125   );
126 --
127 end hxc_egc_ins;