DBA Data[Home] [Help]

APPS.PAY_PAY_BUS dependencies on PAY_PAY_BUS

Line 1: Package Body pay_pay_bus as

1: Package Body pay_pay_bus as
2: /* $Header: pypayrhi.pkb 120.0.12000000.3 2007/03/08 09:23:27 mshingan noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' pay_pay_bus.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pay_pay_bus.'; -- Global package name
9: g_exists varchar2(1);
10:
11: --
12: -- The following two global variables are only to be

Line 124: if ( nvl(pay_pay_bus.g_payroll_id, hr_api.g_number) = p_payroll_id) then

120: ,p_argument => 'payroll_id'
121: ,p_argument_value => p_payroll_id
122: );
123: --
124: if ( nvl(pay_pay_bus.g_payroll_id, hr_api.g_number) = p_payroll_id) then
125: --
126: -- The legislation code has already been found with a previous
127: -- call to this function. Just return the value in the global
128: -- variable.

Line 130: l_legislation_code := pay_pay_bus.g_legislation_code;

126: -- The legislation code has already been found with a previous
127: -- call to this function. Just return the value in the global
128: -- variable.
129: --
130: l_legislation_code := pay_pay_bus.g_legislation_code;
131: hr_utility.set_location(l_proc, 20);
132: --
133: else
134: --

Line 157: pay_pay_bus.g_payroll_id := p_payroll_id;

153: -- Set the global variables so the values are
154: -- available for the next call to this function.
155: --
156: close csr_leg_code;
157: pay_pay_bus.g_payroll_id := p_payroll_id;
158: pay_pay_bus.g_legislation_code := l_legislation_code;
159: --
160: end if;
161: hr_utility.set_location(' Leaving:'|| l_proc, 40);

Line 158: pay_pay_bus.g_legislation_code := l_legislation_code;

154: -- available for the next call to this function.
155: --
156: close csr_leg_code;
157: pay_pay_bus.g_payroll_id := p_payroll_id;
158: pay_pay_bus.g_legislation_code := l_legislation_code;
159: --
160: end if;
161: hr_utility.set_location(' Leaving:'|| l_proc, 40);
162: return l_legislation_code;

Line 1725: pay_pay_bus.chk_consolidation_set_id(p_rec.consolidation_set_id,

1721: -- Call all supporting business operations
1722: --
1723: -- Check the consolidation_set_id and get the respective business group.
1724: --
1725: pay_pay_bus.chk_consolidation_set_id(p_rec.consolidation_set_id,
1726: l_business_group_id);
1727: p_rec.business_group_id := l_business_group_id;
1728:
1729: hr_api.validate_bus_grp_id

Line 1843: pay_pay_bus.chk_ddf(p_rec);

1839: chk_workload_shifting_level
1840: (p_effective_date => p_effective_date
1841: ,p_workload_shifting_level => p_rec.workload_shifting_level);
1842: --
1843: pay_pay_bus.chk_ddf(p_rec);
1844: --
1845: pay_pay_bus.chk_df(p_rec);
1846: --
1847: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 1845: pay_pay_bus.chk_df(p_rec);

1841: ,p_workload_shifting_level => p_rec.workload_shifting_level);
1842: --
1843: pay_pay_bus.chk_ddf(p_rec);
1844: --
1845: pay_pay_bus.chk_df(p_rec);
1846: --
1847: hr_utility.set_location(' Leaving:'||l_proc, 10);
1848: End insert_validate;
1849: --

Line 1881: pay_pay_bus.chk_default_payment_method_id

1877: hr_multi_message.end_validation_set;
1878: --
1879: if p_rec.default_payment_method_id <>
1880: nvl(pay_pay_shd.g_old_rec.default_payment_method_id, hr_api.g_number) then
1881: pay_pay_bus.chk_default_payment_method_id
1882: (p_effective_date => p_effective_date
1883: ,p_business_group_id => p_rec.business_group_id
1884: ,p_default_payment_method_id => p_rec.default_payment_method_id
1885: );

Line 1891: pay_pay_bus.chk_consolidation_set_id( p_rec.consolidation_set_id,

1887: --
1888: if p_rec.consolidation_set_id <>
1889: nvl(pay_pay_shd.g_old_rec.consolidation_set_id, hr_api.g_number) then
1890: --
1891: pay_pay_bus.chk_consolidation_set_id( p_rec.consolidation_set_id,
1892: l_business_group_id );
1893: if (l_business_group_id <> p_rec.business_group_id) then
1894: --
1895: fnd_message.set_name('PAY', 'PAY_KR_INV_CS_BG');

Line 1906: pay_pay_bus.chk_negative_pay_allowed_flag

1902: --
1903: if p_rec.negative_pay_allowed_flag <>
1904: nvl(pay_pay_shd.g_old_rec.negative_pay_allowed_flag, hr_api.g_varchar2) then
1905: --
1906: pay_pay_bus.chk_negative_pay_allowed_flag
1907: (p_effective_date => p_effective_date
1908: ,p_negative_pay_allowed_flag => p_rec.negative_pay_allowed_flag
1909: );
1910: --

Line 1915: pay_pay_bus.chk_number_of_years

1911: end if;
1912: --
1913: if p_rec.number_of_years <> pay_pay_shd.g_old_rec.number_of_years then
1914: --
1915: pay_pay_bus.chk_number_of_years
1916: (p_effective_date => p_effective_date
1917: ,p_number_of_years => p_rec.number_of_years
1918: ,p_payroll_id => p_rec.payroll_id
1919: );

Line 1925: pay_pay_bus.chk_payroll_name

1921: end if;
1922: --
1923: if p_rec.payroll_name <> pay_pay_shd.g_old_rec.payroll_name then
1924: --
1925: pay_pay_bus.chk_payroll_name
1926: (p_payroll_name => p_rec.payroll_name
1927: ,p_business_group_id => p_rec.business_group_id
1928: ,p_payroll_id => p_rec.payroll_id
1929: );

Line 1933: pay_pay_bus.get_legislation_rules

1929: );
1930: --
1931: end if;
1932: --
1933: pay_pay_bus.get_legislation_rules
1934: (p_legislation_code => g_legislation_code
1935: ,p_rule_type => 'ADVANCE'
1936: ,p_cutoff_date_rule => l_dummy
1937: ,p_dd_date_rule => l_dummy

Line 1945: pay_pay_bus.chk_arrears_flag

1941: );
1942: --
1943: if p_rec.arrears_flag <> nvl(pay_pay_shd.g_old_rec.arrears_flag, hr_api.g_varchar2) then
1944: --
1945: pay_pay_bus.chk_arrears_flag
1946: (p_effective_date => p_effective_date
1947: ,p_arrears_flag => p_rec.arrears_flag
1948: ,p_arrears_flag_rule => l_arrears_flag_rule
1949: );

Line 1956: pay_pay_bus.chk_multi_assignments_flag

1952: --
1953: if p_rec.multi_assignments_flag <>
1954: nvl(pay_pay_shd.g_old_rec.multi_assignments_flag, hr_api.g_varchar2) then
1955: --
1956: pay_pay_bus.chk_multi_assignments_flag
1957: (p_effective_date => p_effective_date
1958: ,p_multi_assignments_flag => p_rec.multi_assignments_flag
1959: ,p_legislation_code => g_legislation_code
1960: );

Line 1964: pay_pay_bus.chk_keyflex_and_other_ids

1960: );
1961: --
1962: end if;
1963: --
1964: pay_pay_bus.chk_keyflex_and_other_ids
1965: (p_cost_allocation_keyflex_id => p_rec.cost_allocation_keyflex_id
1966: ,p_suspense_account_keyflex_id => p_rec.suspense_account_keyflex_id
1967: ,p_soft_coding_keyflex_id => p_rec.soft_coding_keyflex_id
1968: ,p_datetrack_mode => p_datetrack_mode

Line 1986: pay_pay_bus.dt_update_validate

1982: -- Validate Dependent Attributes
1983: --
1984: -- Call the datetrack update integrity operation
1985: --
1986: pay_pay_bus.dt_update_validate
1987: (p_org_payment_method_id => p_rec.default_payment_method_id
1988: ,p_datetrack_mode => p_datetrack_mode
1989: ,p_validation_start_date => p_validation_start_date
1990: ,p_validation_end_date => p_validation_end_date

Line 1993: pay_pay_bus.chk_non_updateable_args

1989: ,p_validation_start_date => p_validation_start_date
1990: ,p_validation_end_date => p_validation_end_date
1991: );
1992: --
1993: pay_pay_bus.chk_non_updateable_args
1994: (p_effective_date => p_effective_date
1995: ,p_rec => p_rec
1996: );
1997: --

Line 2000: pay_pay_bus.chk_ddf(p_rec);

1996: );
1997: --
1998: hr_multi_message.end_validation_set;
1999: --
2000: pay_pay_bus.chk_ddf(p_rec);
2001: --
2002: pay_pay_bus.chk_df(p_rec);
2003: --
2004: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 2002: pay_pay_bus.chk_df(p_rec);

1998: hr_multi_message.end_validation_set;
1999: --
2000: pay_pay_bus.chk_ddf(p_rec);
2001: --
2002: pay_pay_bus.chk_df(p_rec);
2003: --
2004: hr_utility.set_location(' Leaving:'||l_proc, 10);
2005: End update_validate;
2006: --

Line 2047: end pay_pay_bus;

2043: --
2044: End delete_validate;
2045: --
2046:
2047: end pay_pay_bus;