1 Package hxc_tkg_ins AUTHID CURRENT_USER as
2 /* $Header: hxctkgrhi.pkh 120.0 2005/05/29 06:01:55 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_rec in out nocopy hxc_tkg_shd.g_rec_type
47 );
48 --
49 -- ----------------------------------------------------------------------------
50 -- |---------------------------------< ins >----------------------------------|
51 -- ----------------------------------------------------------------------------
52 --
53 -- Description:
54 -- This procedure is the attribute interface for the insert
55 -- process for the specified entity and is the outermost layer. The role
56 -- of this process is to insert a fully validated row into the HR schema
57 -- passing back to the calling process, any system generated values
58 -- (e.g. object version number attributes).The processing of this
59 -- procedure is as follows:
60 -- 1) The attributes are converted into a local record structure by
61 -- calling the convert_args function.
62 -- 2) After the conversion has taken place, the corresponding record ins
63 -- interface process is executed.
64 -- 3) OUT parameters are then set to their corresponding record attributes.
65 --
66 -- Prerequisites:
67 --
68 -- In Parameters:
69 --
70 -- Post Success:
71 -- A fully validated row will be inserted for the specified entity
72 -- without being committed.
73 --
74 -- Post Failure:
75 -- If an error has occurred, an error message will be raised.
76 --
77 -- Developer Implementation Notes:
78 -- None.
79 --
80 -- Access Status:
81 -- Internal Development Use Only.
82 --
83 -- ----------------------------------------------------------------------------
84 Procedure ins
85 (p_tk_group_name in varchar2
86 ,p_tk_resource_id in number
87 ,p_tk_group_id out nocopy number
88 ,p_object_version_number out nocopy number
89 ,p_business_group_id in number
90 );
91 --
92 end hxc_tkg_ins;