DBA Data[Home] [Help]

PACKAGE: APPS.GHR_PAR_BUS

Source


1 Package ghr_par_bus as
2 /* $Header: ghparrhi.pkh 120.5.12010000.1 2008/07/28 10:35:39 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 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 Row Handler Use Only.
33 --
34 -- {End Of Comments}
35 -- ----------------------------------------------------------------------------
36 Procedure insert_validate(p_rec in ghr_par_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 -- Prerequisites:
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 Row Handler Use Only.
67 --
68 -- {End Of Comments}
69 -- ----------------------------------------------------------------------------
70 Procedure update_validate(p_rec in ghr_par_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 -- Prerequisites:
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 Row Handler Use Only.
101 --
102 -- {End Of Comments}
103 -- ----------------------------------------------------------------------------
104 Procedure delete_validate(p_rec in ghr_par_shd.g_rec_type);
105 --
106 
107 
108 -- ----------------------------------------------------------------------------
109 -- |---------------------------< convert_defaults>----------------------------|
110 -- ----------------------------------------------------------------------------
111 -- {Start Of Comments}
112 --
113 -- Description:
114 --   The Convert_Defaults procedure is the same as the private procedure
115 --   convert_defs. This has been included here to make it publically callable
116 --   from the ghr_sf52_api business process
117 --
118 --
119 -- In Parameters:
120 --   A Pl/Sql record structre.
121 --
122 -- Post Success:
123 --   The record structure will be returned with all system defaulted parameter
124 --   values converted into its current row attribute value.
125 --
126 -- Post Failure:
127 --   No direct error handling is required within this function. Any possible
128 --   errors within this procedure will be a PL/SQL value error due to conversion
129 
130 --   of datatypes or data lengths.
131 --
132 -- Developer Implementation Notes:
133 --   None.
134 --
135 -- Access Status:
136 --   Internal Row Handler Use Only.
137 --
138 -- {End Of Comments}
139 -- ----------------------------------------------------------------------------
140 Procedure convert_defaults(p_rec in out nocopy ghr_pa_requests%rowtype) ;
141 
142 --
143 
144 end ghr_par_bus;