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