DBA Data[Home] [Help]

APPS.SSP_ERN_BUS dependencies on STANDARD

Line 11: -- procedure do_standard_calculation, to the form SSPWSENT.

7: --
8: g_package varchar2(33) := ' ssp_ern_bus.'; -- Global package name
9: --
10: -- global variable used to pass the number of payment_periods, calculated in
11: -- procedure do_standard_calculation, to the form SSPWSENT.
12: form_variable number := null;
13: --
14: --
15: -- Business Validation Rules

Line 168: -- Payroll_id not returned as causes do_standard_calculation /

164: -- Retrieve a row for each assignment/payroll combination so that we can
165: -- treat payroll transfers effectively as if they were separate
166: -- assignments.
167: --
168: -- Payroll_id not returned as causes do_standard_calculation /
169: -- do_monthly_calculation to be called twice if there has been a change
170: -- of payroll, and the relevant period ends up being calculated
171: -- incorrectly.
172: --

Line 687: procedure do_standard_calculation is

683: hr_utility.set_location('Leaving :'||l_proc,100);
684: --
685: end do_monthly_calculation;
686: --
687: procedure do_standard_calculation is
688: --
689: -- Calculate average weekly earnings for an assignment with any payroll
690: -- frequency other than monthly, ie those consisting of equal numbers
691: -- of days.

Line 693: l_proc varchar2 (72) := g_package||'do_standard_calculation';

689: -- Calculate average weekly earnings for an assignment with any payroll
690: -- frequency other than monthly, ie those consisting of equal numbers
691: -- of days.
692: --
693: l_proc varchar2 (72) := g_package||'do_standard_calculation';
694: l_days_covered number := (l_end_of_relevant_period
695: - greatest (l_start_of_relevant_period,
696: l_hire_date))
697: +1;

Line 740: -- payroll and as such are calculated using do_standard_calculation,

736: --
737: -- csr_number_of_days returns the payroll frequency that an assignment
738: -- is on during the relevant period. If a person changes payroll within
739: -- the relevant period, then they are considered to be on an irregular
740: -- payroll and as such are calculated using do_standard_calculation,
741: -- even if the person was on a Monthly payroll as some stage during the
742: -- relevant period. Thus, if do_standard_calculation is being executed
743: -- it is not for a Monthly payroll and so we never want csr_number_of
744: -- _days to return a fiscal_year value of 12 (i.e. Monthly).

Line 742: -- relevant period. Thus, if do_standard_calculation is being executed

738: -- is on during the relevant period. If a person changes payroll within
739: -- the relevant period, then they are considered to be on an irregular
740: -- payroll and as such are calculated using do_standard_calculation,
741: -- even if the person was on a Monthly payroll as some stage during the
742: -- relevant period. Thus, if do_standard_calculation is being executed
743: -- it is not for a Monthly payroll and so we never want csr_number_of
744: -- _days to return a fiscal_year value of 12 (i.e. Monthly).
745: --
746: cursor csr_number_of_days is

Line 846: end do_standard_calculation;

842: ||to_char (l_assignment_average));
843: --
844: hr_utility.set_location('Leaving :'||l_proc,100);
845: --
846: end do_standard_calculation;
847: --
848: begin
849: --
850: hr_utility.set_location('Entering:'||l_proc, 1);

Line 889: do_standard_calculation;

885: if l_payroll_frequency = 'MONTHLY' and not l_new_employee
886: then
887: do_monthly_calculation;
888: else -- any other payroll frequency or new employee
889: do_standard_calculation;
890: end if;
891: --
892: -- Increment the person's average earnings by the average earnings for the
893: -- assignment just calculated.