DBA Data[Home] [Help]

PACKAGE: APPS.PER_PDS_BUS

Source


1 Package per_pds_bus AUTHID CURRENT_USER as
2 /* $Header: pepdsrhi.pkh 120.2 2011/11/17 09:33:49 sidsaxen 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 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 coded within 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 Development Use Only.
33 --
34 -- {End Of Comments}
35 -- ----------------------------------------------------------------------------
36 Procedure insert_validate(p_rec              in per_pds_shd.g_rec_type
37                          ,p_effective_date   in date
38                          ,p_validate_df_flex in boolean);
39 --
40 -- ----------------------------------------------------------------------------
41 -- |---------------------------< update_validate >----------------------------|
42 -- ----------------------------------------------------------------------------
43 -- {Start Of Comments}
44 --
45 -- Description:
46 --   This procedure controls the execution of all update business rules
47 --   validation.
48 --
49 -- Pre Conditions:
50 --   This private procedure is called from upd procedure.
51 --
52 -- In Arguments:
53 --   A Pl/Sql record structre.
54 --
55 -- Post Success:
56 --   Processing continues.
57 --
58 -- Post Failure:
59 --   If a business rules fails the error will not be handled by this procedure
60 --   unless explicity coded.
61 --
62 -- Developer Implementation Notes:
63 --   For update, your business rules should be coded within this procedure and
64 --   should ideally (unless really necessary) just be straight procedure or
65 --   function calls. Try and avoid using conditional branching logic.
66 --
67 -- Access Status:
68 --   Internal Development Use Only.
69 --
70 -- {End Of Comments}
71 -- ----------------------------------------------------------------------------
72 Procedure update_validate(p_rec in per_pds_shd.g_rec_type
73 			 ,p_effective_date in date);
74 --
75 -- ----------------------------------------------------------------------------
76 -- |---------------------------< delete_validate >----------------------------|
77 -- ----------------------------------------------------------------------------
78 -- {Start Of Comments}
79 --
80 -- Description:
81 --   This procedure controls the execution of all delete business rules
82 --   validation.
83 --
84 -- Pre Conditions:
85 --   This private procedure is called from del procedure.
86 --
87 -- In Arguments:
88 --   A Pl/Sql record structre.
89 --
90 -- Post Success:
91 --   Processing continues.
92 --
93 -- Post Failure:
94 --   If a business rules fails the error will not be handled by this procedure
95 --   unless explicity coded.
96 --
97 -- Developer Implementation Notes:
98 --   For delete, your business rules should be coded within this procedure and
99 --   should ideally (unless really necessary) just be straight procedure or
100 --   function calls. Try and avoid using conditional branching logic.
101 --
102 -- Access Status:
103 --   Internal Development Use Only.
104 --
105 -- {End Of Comments}
106 -- ----------------------------------------------------------------------------
107 Procedure delete_validate(p_rec in per_pds_shd.g_rec_type);
108 --
109 --
110 --  ---------------------------------------------------------------------------
111 --  |---------------------< return_legislation_code >-------------------------|
112 --  ---------------------------------------------------------------------------
113 --
114 --  Description:
115 --    Return the legislation code for a specific period_of_service
116 --
117 --  Prerequisites:
118 --    The person identified by p_period_of_service_id already exists.
119 --
120 --  In Arguments:
121 --    p_period_of_service_id
122 --
123 --  Post Success:
124 --    If the period_of_service is found this function will return the
125 --    period_of_service's business group legislation code.
126 --
127 --  Post Failure:
128 --    An error is raised if the period_of_service does not exist.
129 --
130 --  Access Status:
131 --    Internal Development Use Only.
132 --
133 function return_legislation_code
134   (p_period_of_service_id              in number
135   ) return varchar2;
136 --
137 end per_pds_bus;