DBA Data[Home] [Help]

PACKAGE: APPS.PAY_AUD_BUS

Source


1 Package pay_aud_bus as
2 /* $Header: pyaudrhi.pkh 120.0 2005/05/29 03:04:51 appldev noship $ */
3 --
4 
5 --
6 -- ---------------------------------------------------------------------------
7 -- |---------------------< return_legislation_code >-------------------------|
8 -- ---------------------------------------------------------------------------
9 -- {Start Of Comments}
10 --
11 --  Description:
12 --    Return the legislation code for a specific primary key value
13 --
14 --  Prerequisites:
15 --    The primary key identified by p_stat_trans_audit_id
16 --     already exists.
17 --
18 --  In Arguments:
19 --    p_stat_trans_audit_id
20 --
21 --
22 --  Post Success:
23 --    The business group's legislation code will be returned.
24 --
25 --  Post Failure:
26 --    An error is raised if the value does not exist.
27 --
28 --  Access Status:
29 --    Internal Development Use Only.
30 --
31 -- {End Of Comments}
32 -- ---------------------------------------------------------------------------
33 FUNCTION return_legislation_code
34   (p_stat_trans_audit_id                 in     number
35   ) RETURN varchar2;
36 --
37 --
38 -- ----------------------------------------------------------------------------
39 -- |---------------------------< insert_validate >----------------------------|
40 -- ----------------------------------------------------------------------------
41 -- {Start of comments}
42 --
43 -- Description:
44 --   This procedure controls the execution of all insert business rules
45 --   validation.
46 --
47 -- Prerequisites:
48 --   This private procedure is called from ins procedure.
49 --
50 -- In Parameters:
51 --   A Pl/Sql record structure.
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 insert, 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 insert_validate
71   (p_effective_date               in date
72   ,p_rec                          in pay_aud_shd.g_rec_type
73   );
74 -- ----------------------------------------------------------------------------
75 -- |---------------------------< delete_validate >----------------------------|
76 -- ----------------------------------------------------------------------------
77 -- {Start Of Comments}
78 --
79 -- Description:
80 --   This procedure controls the execution of all delete business rules
81 --   validation.
82 --
83 -- Prerequisites:
84 --   This private procedure is called from del procedure.
85 --
86 -- In Parameters:
87 --   A Pl/Sql record structure.
88 --
89 -- Post Success:
90 --   Processing continues.
91 --
92 -- Post Failure:
93 --   If a business rules fails the error will not be handled by this procedure
94 --   unless explicity coded.
95 --
96 -- Developer Implementation Notes:
97 --   For delete, your business rules should be executed from this procedure and
98 --   should ideally (unless really necessary) just be straight procedure or
99 --   function calls. Try and avoid using conditional branching logic.
100 --
101 -- Access Status:
102 --   Internal Row Handler Use Only.
103 --
104 --
105 -- ----------------------------------------------------------------------------
106 Procedure delete_validate
107   (p_rec              in pay_aud_shd.g_rec_type
108   );
109 --
110 end pay_aud_bus;