DBA Data[Home] [Help]

PACKAGE: APPS.BEN_CPD_BUS

Source


1 Package ben_cpd_bus AUTHID CURRENT_USER as
2 /* $Header: becpdrhi.pkh 120.3.12020000.4 2013/01/02 07:14:24 kmsuresh ship $ */
3 /* commented
4 --
5 -- ---------------------------------------------------------------------------
6 -- |----------------------< set_security_group_id >--------------------------|
7 -- ---------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 --  Description:
11 --    Sets the security_group_id in CLIENT_INFO for the appropriate business
12 --    group context.
13 --    It is only valid to call this procedure when the primary key
14 --    is within a buisiness group context.
15 --
16 --  Prerequisites:
17 --    The primary key identified by p_pl_id
18 --    p_lf_evt_ocrd_dt
19 --    p_oipl_id
20 --     already exists.
21 --
22 --  In Arguments:
23 --    p_pl_id
24 --    p_lf_evt_ocrd_dt
25 --    p_oipl_id
26 --
27 --
28 --  Post Success:
29 --    The security_group_id will be set in CLIENT_INFO.
30 --
31 --  Post Failure:
32 --    An error is raised if the value does not exist.
33 --    An error is also raised when the primary key data is outside
34 --    of a buisiness group context.
35 --
36 --  Access Status:
37 --    Internal Development Use Only.
38 --
39 -- {End Of Comments}
40 -- ---------------------------------------------------------------------------
41 procedure set_security_group_id
42   (p_pl_id                                in number
43   ,p_lf_evt_ocrd_dt                       in date
44   ,p_oipl_id                              in number
45   ,p_associated_column1                   in varchar2 default null
46   ,p_associated_column2                   in varchar2 default null
47   ,p_associated_column3                   in varchar2 default null
48   );
49 --
50 --
51 -- ---------------------------------------------------------------------------
52 -- |---------------------< return_legislation_code >-------------------------|
53 -- ---------------------------------------------------------------------------
54 -- {Start Of Comments}
55 --
56 --  Description:
57 --    Return the legislation code for a specific primary key value
58 --
59 --  Prerequisites:
60 --    The primary key identified by p_pl_id
61 --    p_lf_evt_ocrd_dt
62 --    p_oipl_id
63 --     already exists.
64 --
65 --  In Arguments:
66 --    p_pl_id
67 --    p_lf_evt_ocrd_dt
68 --    p_oipl_id
69 --
70 --
71 --  Post Success:
72 --    The business group's legislation code will be returned.
73 --
74 --  Post Failure:
75 --    An error is raised if the value does not exist.
76 --
77 --  Access Status:
78 --    Internal Development Use Only.
79 --
80 -- {End Of Comments}
81 -- ---------------------------------------------------------------------------
82 FUNCTION return_legislation_code
83   (p_pl_id                                in     number
84   ,p_lf_evt_ocrd_dt                       in     date
85   ,p_oipl_id                              in     number
86   ) RETURN varchar2;
87     End of commented code*/
88 --
89 --
90 -- ----------------------------------------------------------------------------
91 -- |---------------------------< insert_validate >----------------------------|
92 -- ----------------------------------------------------------------------------
93 -- {Start of comments}
94 --
95 -- Description:
96 --   This procedure controls the execution of all insert business rules
97 --   validation.
98 --
99 -- Prerequisites:
100 --   This private procedure is called from ins procedure.
101 --
102 -- In Parameters:
103 --   A Pl/Sql record structure.
104 --
105 -- Post Success:
106 --   Processing continues.
107 --
108 -- Post Failure:
109 --   If a business rules fails the error will not be handled by this procedure
110 --   unless explicity coded.
111 --
112 -- Developer Implementation Notes:
113 --   For insert, your business rules should be executed from this procedure
114 --   and should ideally (unless really necessary) just be straight procedure
115 --   or function calls. Try and avoid using conditional branching logic.
116 --
117 -- Access Status:
118 --   Internal Row Handler Use Only.
119 --
120 -- {End of comments}
121 -- ----------------------------------------------------------------------------
122 Procedure insert_validate
123   (p_rec                          in ben_cpd_shd.g_rec_type
124   );
125 --
126 -- ----------------------------------------------------------------------------
127 -- |---------------------------< update_validate >----------------------------|
128 -- ----------------------------------------------------------------------------
129 -- {Start Of Comments}
130 --
131 -- Description:
132 --   This procedure controls the execution of all update business rules
133 --   validation.
134 --
135 -- Prerequisites:
136 --   This private procedure is called from upd procedure.
137 --
138 -- In Parameters:
139 --   A Pl/Sql record structure.
140 --
141 -- Post Success:
142 --   Processing continues.
143 --
144 -- Post Failure:
145 --   If a business rules fails the error will not be handled by this procedure
146 --   unless explicity coded.
147 --
148 -- Access Status:
149 --   Internal Row Handler Use Only.
150 --
151 -- {End Of Comments}
152 -- ----------------------------------------------------------------------------
153 Procedure update_validate
154   (p_rec                          in ben_cpd_shd.g_rec_type
155   );
156 --
157 -- ----------------------------------------------------------------------------
158 -- |---------------------------< delete_validate >----------------------------|
159 -- ----------------------------------------------------------------------------
160 -- {Start Of Comments}
161 --
162 -- Description:
163 --   This procedure controls the execution of all delete business rules
164 --   validation.
165 --
166 -- Prerequisites:
167 --   This private procedure is called from del procedure.
168 --
169 -- In Parameters:
170 --   A Pl/Sql record structure.
171 --
172 -- Post Success:
173 --   Processing continues.
174 --
175 -- Post Failure:
176 --   If a business rules fails the error will not be handled by this procedure
177 --   unless explicity coded.
178 --
179 -- Developer Implementation Notes:
180 --   For delete, your business rules should be executed from this procedure
181 --   and should ideally (unless really necessary) just be straight procedure
182 --   or function calls. Try and avoid using conditional branching logic.
183 --
184 -- Access Status:
185 --   Internal Row Handler Use Only.
186 --
187 -- {End Of Comments}
188 -- ----------------------------------------------------------------------------
189 Procedure delete_validate
190   (p_rec              in ben_cpd_shd.g_rec_type
191   );
192 --
193 end ben_cpd_bus;