DBA Data[Home] [Help]

PACKAGE: APPS.GHR_CAD_BUS

Source


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