1 Package per_kad_bus AUTHID CURRENT_USER as
2 /* $Header: pekadrhi.pkh 115.4 2002/12/06 11:27:33 pkakar 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 -- Pre Conditions:
14 -- This private procedure is called from ins procedure.
15 --
16 -- In Arguments:
17 -- A Pl/Sql record structure.
18 -- 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 coded within 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 Table Handler Use Only.
34 --
35 -- {End Of Comments}
36 -- ----------------------------------------------------------------------------
37 Procedure insert_validate
38 (p_rec in out nocopy per_kad_shd.g_rec_type
39 ,p_effective_date in date
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 -- Pre Conditions:
52 -- This private procedure is called from upd procedure.
53 --
54 -- In Arguments:
55 -- A Pl/Sql record structure.
56 -- effective_date.
57 --
58 -- Post Success:
59 -- Processing continues.
60 --
61 -- Post Failure:
62 -- If a business rules fails the error will not be handled by this procedure
63 -- unless explicity coded.
64 --
65 -- Developer Implementation Notes:
66 -- For update, your business rules should be coded within this procedure and
67 -- should ideally (unless really necessary) just be straight procedure or
68 -- function calls. Try and avoid using conditional branching logic.
69 --
70 -- Access Status:
71 -- Internal Table Handler Use Only.
72 --
73 -- {End Of Comments}
74 -- ----------------------------------------------------------------------------
75 Procedure update_validate
76 (p_rec in out nocopy per_kad_shd.g_rec_type
77 ,p_effective_date in date
78 );
79 --
80 -- ----------------------------------------------------------------------------
81 -- |---------------------------< delete_validate >----------------------------|
82 -- ----------------------------------------------------------------------------
83 -- {Start Of Comments}
84 --
85 -- Description:
86 -- This procedure controls the execution of all delete business rules
87 -- validation.
88 --
89 -- Pre Conditions:
90 -- This private procedure is called from del procedure.
91 --
92 -- In Arguments:
93 -- A Pl/Sql record structre.
94 --
95 -- Post Success:
96 -- Processing continues.
97 --
98 -- Post Failure:
99 -- If a business rules fails the error will not be handled by this procedure
100 -- unless explicity coded.
101 --
102 -- Developer Implementation Notes:
103 -- For delete, your business rules should be coded within this procedure and
104 -- should ideally (unless really necessary) just be straight procedure or
105 -- function calls. Try and avoid using conditional branching logic.
106 --
107 -- Access Status:
108 -- Internal Table Handler Use Only.
109 --
110 -- {End Of Comments}
111 -- ----------------------------------------------------------------------------
112 Procedure delete_validate(p_rec in out nocopy per_kad_shd.g_rec_type);
113 --
114 end per_kad_bus;