DBA Data[Home] [Help]

PACKAGE: APPS.OTA_FTU_INS

Source


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