1 PACKAGE HR_OTT_BUS as
2 /* $Header: hrottrhi.pkh 120.0 2005/05/31 01:55 appldev noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |---------------------------< insert_validate >----------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of comments}
7 --
8 -- Description:
9 -- This procedure controls the execution of all insert business rules
10 -- validation.
11 --
12 -- Prerequisites:
13 -- This private procedure is called from ins procedure.
14 --
15 -- In Parameters:
16 -- A Pl/Sql record structure.
17 --
18 -- Post Success:
19 -- Processing continues.
20 --
21 -- Post Failure:
22 -- If a business rules fails the error will not be handled by this procedure
23 -- unless explicity coded.
24 --
25 -- Developer Implementation Notes:
26 -- For insert, your business rules should be executed from this procedure
27 -- and should ideally (unless really necessary) just be straight procedure
28 -- or function calls. Try and avoid using conditional branching logic.
29 --
30 -- Access Status:
31 -- Internal Row Handler Use Only.
32 --
33 -- {End of comments}
34 -- ----------------------------------------------------------------------------
35 Procedure insert_validate
36 (p_rec in hr_ott_shd.g_rec_type
37 ,p_option_type_id in number
38 );
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 --
55 -- Post Success:
56 -- Processing continues.
57 --
58 -- Post Failure:
59 -- If a business rules fails the error will not be handled by this procedure
60 -- unless explicity coded.
61 --
62 -- Access Status:
63 -- Internal Row Handler Use Only.
64 --
65 -- {End Of Comments}
66 -- ----------------------------------------------------------------------------
67 Procedure update_validate
68 (p_rec in hr_ott_shd.g_rec_type
69 ,p_option_type_id in number
70 );
71 --
72 -- ----------------------------------------------------------------------------
73 -- |---------------------------< delete_validate >----------------------------|
74 -- ----------------------------------------------------------------------------
75 -- {Start Of Comments}
76 --
77 -- Description:
78 -- This procedure controls the execution of all delete business rules
79 -- validation.
80 --
81 -- Prerequisites:
82 -- This private procedure is called from del procedure.
83 --
84 -- In Parameters:
85 -- A Pl/Sql record structure.
86 --
87 -- Post Success:
88 -- Processing continues.
89 --
90 -- Post Failure:
91 -- If a business rules fails the error will not be handled by this procedure
92 -- unless explicity coded.
93 --
94 -- Developer Implementation Notes:
95 -- For delete, your business rules should be executed from this procedure
96 -- and should ideally (unless really necessary) just be straight procedure
97 -- or function calls. Try and avoid using conditional branching logic.
98 --
99 -- Access Status:
100 -- Internal Row Handler Use Only.
101 --
102 -- {End Of Comments}
103 -- ----------------------------------------------------------------------------
104 Procedure delete_validate
105 (p_rec in hr_ott_shd.g_rec_type
106 );
107 --
108 end hr_ott_bus;