DBA Data[Home] [Help]

PACKAGE: APPS.HR_TMT_BUS

Source


1 Package hr_tmt_bus as
2 /* $Header: hrtmtrhi.pkh 120.0 2005/05/31 03:22:56 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   ,p_language                             in     varchar2
65   ) RETURN varchar2;
66 --
67 --
68 -- ----------------------------------------------------------------------------
69 -- |---------------------------< insert_validate >----------------------------|
70 -- ----------------------------------------------------------------------------
71 -- {Start of comments}
72 --
73 -- Description:
74 --   This procedure controls the execution of all insert business rules
75 --   validation.
76 --
77 -- Prerequisites:
78 --   This private procedure is called from ins procedure.
79 --
80 -- In Parameters:
81 --   A Pl/Sql record structure.
82 --
83 -- Post Success:
84 --   Processing continues.
85 --
86 -- Post Failure:
87 --   If a business rules fails the error will not be handled by this procedure
88 --   unless explicity coded.
89 --
90 -- Developer Implementation Notes:
91 --   For insert, your business rules should be executed from this procedure and
92 --   should ideally (unless really necessary) just be straight procedure or
93 --   function calls. Try and avoid using conditional branching logic.
94 --
95 -- Access Status:
96 --   Internal Row Handler Use Only.
97 --
98 -- {End of comments}
99 -- ----------------------------------------------------------------------------
100 Procedure insert_validate
101   (p_rec                          in hr_tmt_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_rec                          in hr_tmt_shd.g_rec_type
138   );
139 --
140 -- ----------------------------------------------------------------------------
141 -- |---------------------------< delete_validate >----------------------------|
142 -- ----------------------------------------------------------------------------
143 -- {Start Of Comments}
144 --
145 -- Description:
146 --   This procedure controls the execution of all delete business rules
147 --   validation.
148 --
149 -- Prerequisites:
150 --   This private procedure is called from del procedure.
151 --
152 -- In Parameters:
153 --   A Pl/Sql record structure.
154 --
155 -- Post Success:
156 --   Processing continues.
157 --
158 -- Post Failure:
159 --   If a business rules fails the error will not be handled by this procedure
160 --   unless explicity coded.
161 --
162 -- Developer Implementation Notes:
163 --   For delete, your business rules should be executed from this procedure and
164 --   should ideally (unless really necessary) just be straight procedure or
165 --   function calls. Try and avoid using conditional branching logic.
166 --
167 -- Access Status:
168 --   Internal Row Handler Use Only.
169 --
170 --
171 -- ----------------------------------------------------------------------------
172 Procedure delete_validate
173   (p_rec              in hr_tmt_shd.g_rec_type
174   );
175 --
176 end hr_tmt_bus;