DBA Data[Home] [Help]

PACKAGE: APPS.GHR_CUSTOM_PAY_CALC

Source


1 Package ghr_custom_pay_calc AUTHID CURRENT_USER as
2 /* $Header: ghcustpc.pkh 115.1 99/10/18 00:34:26 porting ship  $ */
3 --
4 -- -----------------------------------------------------------------------------
5 -- |-------------------------------< custum_pay_calc >--------------------------|
6 -- -----------------------------------------------------------------------------
7 -- {Start of Comments}
8 --
9 --  Description:
10 --    This procedure is provided for the customer to update to allow them to
11 --    add there own pay calculation routines. It is called from the main pay calc
12 --    procedure.
13 --
14 --  Pre Conditions:
15 --    A fully validated entity record structure.
16 --
17 --  In Arguments:
18 --    p_pay_data_rec (Record structure for all in data used to calculate pay ).
19 --    p_message_set  BOOLEAN set to TRUE if we want to display a message to the user
20 --    p_calculated   BOOLEAN set to TRUE if we calculated it otherwise FALSE
21 --    If p_calcaulated is set to TRUE the values of the calcuated pay will also
22 --    be given.
23 --
24 --  OUT Arguments:
25 --  If the user can calculate pay (or wishes to overide our pay calc!) they must set
26 --  the p_calculated parameter to TRUE
27 --
28 --  Post Success:
29 --    Processing goes back to the main pay calc process.
30 --    If the customer calculated pay they must set ALL the OUT parameters and the
31 --    p_calculated to TRUE and p_message to FALSE. The out parameters are
32 --     p_basic_pay
33 --     p_locality_adj
34 --     p_adj_basic_pay
35 --     p_total_salary
36 --     p_other_pay_amount
37 --     p_au_overtime
38 --     p_availability_pay
39 --
40 --  Post Failure:
41 --    SQL failure:
42 --      Processing goes back to the main pay calc process:
43 --    Unable to calculate:
44 --      If the customer cannot calculate pay either given the same in parameters
45 --      set p_calculated to FALSE and if you also want a message to be given set
46 --      p_message to TRUE and use fnd_message.set_name to put the message you want
47 --      on the stack
48 --
49 --  Developer Implementation Notes:
50 --    Customer defined.
51 --
52 --  {End of Comments}
53 -- -----------------------------------------------------------------------------
54 procedure custom_pay_calc
55   (p_pay_data_rec              IN     ghr_pay_calc.pay_calc_in_rec_type
56   ,p_pay_data_out_rec          IN OUT ghr_pay_calc.pay_calc_out_rec_type
57   ,p_message_set               IN OUT BOOLEAN
58   ,p_calculated                IN OUT BOOLEAN
59   );
60 --
61 end ghr_custom_pay_calc;