1 Package hr_opt_bus AUTHID CURRENT_USER as
2 /* $Header: hroptrhi.pkh 120.0 2005/05/31 01:47 appldev noship $ */
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 --
19 -- Post Success:
20 -- Processing continues.
21 --
22 -- Post Failure:
23 -- If a business rules fails the error will not be handled by this procedure
24 -- unless explicity coded.
25 --
26 -- Developer Implementation Notes:
27 -- For insert, your business rules should be executed from this procedure
28 -- and should ideally (unless really necessary) just be straight procedure
29 -- or function calls. Try and avoid using conditional branching logic.
30 --
31 -- Access Status:
32 -- Internal Row Handler Use Only.
33 --
34 -- {End of comments}
35 -- ----------------------------------------------------------------------------
36 Procedure insert_validate
37 (p_effective_date in date
38 ,p_rec in hr_opt_shd.g_rec_type
39 );
40 --
41 -- ----------------------------------------------------------------------------
42 -- |---------------------------< update_validate >----------------------------|
43 -- ----------------------------------------------------------------------------
44 -- {Start Of Comments}
45 --
46 -- Description:
47 -- This procedure controls the execution of all update business rules
48 -- validation.
49 --
50 -- Prerequisites:
51 -- This private procedure is called from upd procedure.
52 --
53 -- In Parameters:
54 -- A Pl/Sql record structure.
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 -- Access Status:
64 -- Internal Row Handler Use Only.
65 --
66 -- {End Of Comments}
67 -- ----------------------------------------------------------------------------
68 Procedure update_validate
69 (
70 p_rec in hr_opt_shd.g_rec_type
71 );
72 --
73 -- ----------------------------------------------------------------------------
74 -- |---------------------------< delete_validate >----------------------------|
75 -- ----------------------------------------------------------------------------
76 -- {Start Of Comments}
77 --
78 -- Description:
79 -- This procedure controls the execution of all delete business rules
80 -- validation.
81 --
82 -- Prerequisites:
83 -- This private procedure is called from del 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 delete, 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 delete_validate
106 (p_rec in hr_opt_shd.g_rec_type
107 );
108 --
109 end hr_opt_bus;