1 Package per_pml_bus as
2 /* $Header: pepmlrhi.pkh 120.1.12010000.1 2008/07/28 05:22:18 appldev 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 --
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 per_pml_shd.g_rec_type
39 ,p_duplicate_name_warning out nocopy boolean
40 ,p_weighting_over_100_warning out nocopy boolean
41 ,p_weighting_appraisal_warning out nocopy boolean
42 );
43 --
44 -- ----------------------------------------------------------------------------
45 -- |---------------------------< update_validate >----------------------------|
46 -- ----------------------------------------------------------------------------
47 -- {Start Of Comments}
48 --
49 -- Description:
50 -- This procedure controls the execution of all update business rules
51 -- validation.
52 --
53 -- Prerequisites:
54 -- This private procedure is called from upd procedure.
55 --
56 -- In Parameters:
57 -- A Pl/Sql record structure.
58 --
59 -- Post Success:
60 -- Processing continues.
61 --
62 -- Post Failure:
63 -- If a business rules fails the error will not be handled by this procedure
64 -- unless explicity coded.
65 --
66 -- Access Status:
67 -- Internal Row Handler Use Only.
68 --
69 -- {End Of Comments}
70 -- ----------------------------------------------------------------------------
71 Procedure update_validate
72 (p_effective_date in date
73 ,p_rec in per_pml_shd.g_rec_type
74 ,p_duplicate_name_warning out nocopy boolean
75 ,p_weighting_over_100_warning out nocopy boolean
76 ,p_weighting_appraisal_warning out nocopy boolean
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
103 -- and should ideally (unless really necessary) just be straight procedure
104 -- or function calls. Try and avoid using conditional branching logic.
105 --
106 -- Access Status:
107 -- Internal Row Handler Use Only.
108 --
109 -- {End Of Comments}
110 -- ----------------------------------------------------------------------------
111 Procedure delete_validate
112 (p_rec in per_pml_shd.g_rec_type
113 );
114 --
115 end per_pml_bus;