DBA Data[Home] [Help]

PACKAGE: APPS.PER_COT_BUS

Source


1 Package per_cot_bus as
2 /* $Header: pecotrhi.pkh 120.0 2005/05/31 07:09 appldev noship $ */
3 --
4 -- ---------------------------------------------------------------------------
5 -- |----------------------< set_security_group_id >--------------------------|
6 -- ---------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 --  Description:
10 --    Sets the security_group_id in CLIENT_INFO for the appropriate business
11 --    group context.
12 --
13 --  Prerequisites:
14 --    The primary key identified by p_outcome_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_outcome_id
19 --
20 --
21 --  Post Success:
22 --    The security_group_id will be set in CLIENT_INFO.
23 --
24 --  Post Failure:
25 --    An error is raised if the value does not exist.
26 --
27 --  Access Status:
28 --    Internal Development Use Only.
29 --
30 -- {End Of Comments}
31 -- ---------------------------------------------------------------------------
32 procedure set_security_group_id
33   (p_outcome_id                           in number
34   ,p_associated_column1                   in varchar2 default null
35   );
36 --
37 -- ----------------------------------------------------------------------------
38 -- |---------------------------< insert_validate >----------------------------|
39 -- ----------------------------------------------------------------------------
40 -- {Start of comments}
41 --
42 -- Description:
43 --   This procedure controls the execution of all insert business rules
44 --   validation.
45 --
46 -- Prerequisites:
47 --   This private procedure is called from ins procedure.
48 --
49 -- In Parameters:
50 --   A Pl/Sql record structure.
51 --
52 -- Post Success:
53 --   Processing continues.
54 --
55 -- Post Failure:
56 --   If a business rules fails the error will not be handled by this procedure
57 --   unless explicity coded.
58 --
59 -- Developer Implementation Notes:
60 --   For insert, your business rules should be executed from this procedure
61 --   and should ideally (unless really necessary) just be straight procedure
62 --   or function calls. Try and avoid using conditional branching logic.
63 --
64 -- Access Status:
65 --   Internal Row Handler Use Only.
66 --
67 -- {End of comments}
68 -- ----------------------------------------------------------------------------
69 Procedure insert_validate
70   (p_rec                          in per_cot_shd.g_rec_type
71   );
72 --
73 -- ----------------------------------------------------------------------------
74 -- |---------------------------< update_validate >----------------------------|
75 -- ----------------------------------------------------------------------------
76 -- {Start Of Comments}
77 --
78 -- Description:
79 --   This procedure controls the execution of all update business rules
80 --   validation.
81 --
82 -- Prerequisites:
83 --   This private procedure is called from upd procedure.
84 --
85 -- In Parameters:
86 --   A Pl/Sql record structure.
87 --
88 -- Post Success:
89 --   Processing continues.
90 --
91 -- Post Failure:
92 --   If a business rules fails the error will not be handled by this procedure
93 --   unless explicity coded.
94 --
95 -- Access Status:
96 --   Internal Row Handler Use Only.
97 --
98 -- {End Of Comments}
99 -- ----------------------------------------------------------------------------
100 Procedure update_validate
101   (p_rec                          in per_cot_shd.g_rec_type
102   );
103 --
104 -- ----------------------------------------------------------------------------
105 -- |---------------------------< delete_validate >----------------------------|
106 -- ----------------------------------------------------------------------------
107 -- {Start Of Comments}
108 --
109 -- Description:
110 --   This procedure controls the execution of all delete business rules
111 --   validation.
112 --
113 -- Prerequisites:
114 --   This private procedure is called from del procedure.
115 --
116 -- In Parameters:
117 --   A Pl/Sql record structure.
118 --
119 -- Post Success:
120 --   Processing continues.
121 --
122 -- Post Failure:
123 --   If a business rules fails the error will not be handled by this procedure
124 --   unless explicity coded.
125 --
126 -- Developer Implementation Notes:
127 --   For delete, your business rules should be executed from this procedure
128 --   and should ideally (unless really necessary) just be straight procedure
129 --   or function calls. Try and avoid using conditional branching logic.
130 --
131 -- Access Status:
132 --   Internal Row Handler Use Only.
133 --
134 -- {End Of Comments}
135 -- ----------------------------------------------------------------------------
136 Procedure delete_validate
137   (p_rec              in per_cot_shd.g_rec_type
138   );
139 --
140 end per_cot_bus;