DBA Data[Home] [Help]

PACKAGE: APPS.HR_CAL_BUS

Source


1 Package hr_cal_bus AUTHID CURRENT_USER as
2 /*$Header: hrcalrhi.pkh 115.2 99/10/07 08:14:04 porting 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 Parameters:
17 --   A Pl/Sql record structre.
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 and
28 --   should ideally (unless really necessary) just be straight procedure or
29 --   function calls. Try and avoid using conditional branching logic.
30 --
31 -- Access Status:
32 --   Internal Table Handler Use Only.
33 --
34 -- {End Of Comments}
35 -- ----------------------------------------------------------------------------
36 Procedure insert_validate(p_rec in hr_cal_shd.g_rec_type);
37 --
38 -- ----------------------------------------------------------------------------
39 -- |---------------------------< update_validate >----------------------------|
40 -- ----------------------------------------------------------------------------
41 -- {Start Of Comments}
42 --
43 -- Description:
44 --   This procedure controls the execution of all update business rules
45 --   validation.
46 --
47 -- Pre Conditions:
48 --   This private procedure is called from upd procedure.
49 --
50 -- In Parameters:
51 --   A Pl/Sql record structre.
52 --
53 -- Post Success:
54 --   Processing continues.
55 --
56 -- Post Failure:
57 --   If a business rules fails the error will not be handled by this procedure
58 --   unless explicity coded.
59 --
60 -- Developer Implementation Notes:
61 --   For update, your business rules should be executed from this procedure and
62 --   should ideally (unless really necessary) just be straight procedure or
63 --   function calls. Try and avoid using conditional branching logic.
64 --
65 -- Access Status:
66 --   Internal Table Handler Use Only.
67 --
68 -- {End Of Comments}
69 -- ----------------------------------------------------------------------------
70 Procedure update_validate(p_rec in hr_cal_shd.g_rec_type);
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 -- Pre Conditions:
82 --   This private procedure is called from del procedure.
83 --
84 -- In Parameters:
85 --   A Pl/Sql record structre.
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 and
96 --   should ideally (unless really necessary) just be straight procedure or
97 --   function calls. Try and avoid using conditional branching logic.
98 --
99 -- Access Status:
100 --   Internal Table Handler Use Only.
101 --
102 -- {End Of Comments}
103 -- ----------------------------------------------------------------------------
104 Procedure delete_validate(p_rec in hr_cal_shd.g_rec_type);
105 --
106 -- ----------------------------------------------------------------------------
107 -- |---------------------------< CHK_CALENDAR_NAME >--------------------------|
108 -- ----------------------------------------------------------------------------
109 procedure CHK_CALENDAR_NAME (
110 --
111 p_calendar_name         in varchar2,
112 p_calendar_id           in number default null,
113 p_object_version_number in number default null);
114 -- ----------------------------------------------------------------------------
115 -- |---------------------------< CHK_PATTERN_START_POSITION >-----------------|
116 -- ----------------------------------------------------------------------------
117 procedure CHK_PATTERN_START_POSITION (
118 --
119 p_pattern_start_position        in number,
120 p_pattern_id                    in number);
121 -- ----------------------------------------------------------------------------
122 -- |---------------------------< CHK_CALENDAR_START_TIME >--------------------|
123 -- ----------------------------------------------------------------------------
124 procedure CHK_CALENDAR_START_TIME (
125 --
126 p_calendar_start_time           in date,
127 p_pattern_start_position        in number,
128 p_pattern_id                    in number);
129 
130 end hr_cal_bus;