1 Package irc_iid_bus as
2 /* $Header: iriidrhi.pkh 120.1.12010000.1 2008/07/28 12:42:53 appldev ship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |---------------------------< chk_status >---------------------------------|
6 -- ----------------------------------------------------------------------------
7 Procedure chk_status
8 (p_rec in irc_iid_shd.g_rec_type
9 ,p_effective_date in date
10 );
11 --
12 --
13 -- ----------------------------------------------------------------------------
14 -- |---------------------------< chk_result >---------------------------------|
15 -- ----------------------------------------------------------------------------
16 Procedure chk_result
17 (p_rec in irc_iid_shd.g_rec_type
18 ,p_effective_date in date
19 );
20 --
21 ---- ----------------------------------------------------------------------------
22 -- |---------------------------< chk_completed >--------------------------------|
23 -- ----------------------------------------------------------------------------
24 Procedure chk_completed
25 (p_rec in irc_iid_shd.g_rec_type
26 ,p_effective_date in date
27 );
28 ---
29 ----------------------------------------------------------------------------
30 -- |---------------------------< chk_updated_status >--------------------------------|
31 -- ----------------------------------------------------------------------------
32 Procedure chk_updated_status
33 (p_old_status in varchar2
34 ,p_new_status in varchar2
35 );
36 --
37 -- ----------------------------------------------------------------------------
38 -- |---------------------------< chk_event_id >-------------------------------|
39 -- ----------------------------------------------------------------------------
40 Procedure chk_event_id
41 (p_rec in irc_iid_shd.g_rec_type
42 );
43 --
44 -- ----------------------------------------------------------------------------
45 -- |---------------------------< insert_validate >----------------------------|
46 -- ----------------------------------------------------------------------------
47 -- {Start Of Comments}
48 --
49 -- Description:
50 -- This procedure controls the execution of all insert business rules
51 -- validation.
52 --
53 -- Prerequisites:
54 -- This private procedure is called from ins procedure.
55 --
56 -- In Parameters:
57 -- A Pl/Sql record structre.
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 -- Developer Implementation Notes:
67 -- For insert, your business rules should be executed from this procedure and
68 -- should ideally (unless really necessary) just be straight procedure or
69 -- function calls. Try and avoid using conditional branching logic.
70 --
71 -- Access Status:
72 -- Internal Row Handler Use Only.
73 --
74 -- {End Of Comments}
75 -- ----------------------------------------------------------------------------
76 Procedure insert_validate
77 (p_rec in irc_iid_shd.g_rec_type
78 ,p_effective_date in date
79 ,p_datetrack_mode in varchar2
80 ,p_validation_start_date in date
81 ,p_validation_end_date in date
82 );
83 --
84 -- ----------------------------------------------------------------------------
85 -- |---------------------------< update_validate >----------------------------|
86 -- ----------------------------------------------------------------------------
87 -- {Start Of Comments}
88 --
89 -- Description:
90 -- This procedure controls the execution of all update business rules
91 -- validation.
92 --
93 -- Prerequisites:
94 -- This private procedure is called from upd procedure.
95 --
96 -- In Parameters:
97 -- A Pl/Sql record structre.
98 --
99 -- Post Success:
100 -- Processing continues.
101 --
102 -- Post Failure:
103 -- If a business rules fails the error will not be handled by this procedure
104 -- unless explicity coded.
105 --
106 -- Developer Implementation Notes:
107 -- For update, your business rules should be executed from this procedure and
108 -- should ideally (unless really necessary) just be straight procedure or
109 -- function calls. Try and avoid using conditional branching logic.
110 --
111 -- Access Status:
112 -- Internal Row Handler Use Only.
113 --
114 -- {End Of Comments}
115 -- ----------------------------------------------------------------------------
116 Procedure update_validate
117 (p_rec in irc_iid_shd.g_rec_type
118 ,p_effective_date in date
119 ,p_datetrack_mode in varchar2
120 ,p_validation_start_date in date
121 ,p_validation_end_date in date
122 );
123 --
124 end irc_iid_bus;