DBA Data[Home] [Help]

PACKAGE: APPS.IRC_VCE_BUS

Source


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