1 Package hr_ahk_bus AUTHID CURRENT_USER as
2 /* $Header: hrahkrhi.pkh 115.2 2002/12/03 16:44:14 apholt ship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------< insert_validate >----------------------------|
6 -- ----------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 -- Description:
10 -- This procedure controls the execution of all insert business rules
11 -- validation.
12 --
13 -- Prerequisites:
14 -- This private procedure is called from ins procedure.
15 --
16 -- In Parameters:
17 -- A Pl/Sql record structure.
18 -- An Effective Date
19 --
20 -- Post Success:
21 -- Processing continues.
22 --
23 -- Post Failure:
24 -- If a business rules fails the error will not be handled by this procedure
25 -- unless explicity coded.
26 --
27 -- Developer Implementation Notes:
28 -- For insert, your business rules should be executed from this procedure and
29 -- should ideally (unless really necessary) just be straight procedure or
30 -- function calls. Try and avoid using conditional branching logic.
31 --
32 -- Access Status:
33 -- Internal Row Handler Use Only.
34 --
35 -- {End Of Comments}
36 -- ----------------------------------------------------------------------------
37 Procedure insert_validate(p_rec in hr_ahk_shd.g_rec_type,
38 p_effective_date in date);
39 --
40 -- ----------------------------------------------------------------------------
41 -- |---------------------------< update_validate >----------------------------|
42 -- ----------------------------------------------------------------------------
43 -- {Start Of Comments}
44 --
45 -- Description:
46 -- This procedure controls the execution of all update business rules
47 -- validation.
48 --
49 -- Prerequisites:
50 -- This private procedure is called from upd procedure.
51 --
52 -- In Parameters:
53 -- A Pl/Sql record structure.
54 -- An Effective Date.
55 --
56 -- Post Success:
57 -- Processing continues.
58 --
59 -- Post Failure:
60 -- If a business rules fails the error will not be handled by this procedure
61 -- unless explicity coded.
62 --
63 -- Developer Implementation Notes:
64 -- For update, your business rules should be executed from this procedure and
65 -- should ideally (unless really necessary) just be straight procedure or
66 -- function calls. Try and avoid using conditional branching logic.
67 --
68 -- Access Status:
69 -- Internal Row Handler Use Only.
70 --
71 -- {End Of Comments}
72 -- ----------------------------------------------------------------------------
73 Procedure update_validate(p_rec in hr_ahk_shd.g_rec_type,
74 p_effective_date in date);
75 --
76 -- ----------------------------------------------------------------------------
77 -- |---------------------------< delete_validate >----------------------------|
78 -- ----------------------------------------------------------------------------
79 -- {Start Of Comments}
80 --
81 -- Description:
82 -- This procedure controls the execution of all delete business rules
83 -- validation.
84 --
85 -- Prerequisites:
86 -- This private procedure is called from del procedure.
87 --
88 -- In Parameters:
89 -- A Pl/Sql record structre.
90 --
91 -- Post Success:
92 -- Processing continues.
93 --
94 -- Post Failure:
95 -- If a business rules fails the error will not be handled by this procedure
96 -- unless explicity coded.
97 --
98 -- Developer Implementation Notes:
99 -- For delete, your business rules should be executed from this procedure and
100 -- should ideally (unless really necessary) just be straight procedure or
101 -- function calls. Try and avoid using conditional branching logic.
102 --
103 -- Access Status:
104 -- Internal Row Handler Use Only.
105 --
106 -- {End Of Comments}
107 -- ----------------------------------------------------------------------------
108 Procedure delete_validate(p_rec in hr_ahk_shd.g_rec_type);
109 --
110 end hr_ahk_bus;