DBA Data[Home] [Help]

PACKAGE: APPS.HR_TMP_BUS

Source


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