DBA Data[Home] [Help]

APPS.PAY_PBA_BUS dependencies on PAY_PBA_BUS

Line 1: Package Body pay_pba_bus as

1: Package Body pay_pba_bus as
2: /* $Header: pypbarhi.pkb 120.1 2005/09/05 06:39:03 adkumar noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pay_pba_bus.'; -- Global package name
9: --
10: -- The following two global variables are only to be
11: -- used by the return_legislation_code function.
12: --

Line 115: if ( nvl(pay_pba_bus.g_balance_attribute_id, hr_api.g_number)

111: ,p_argument => 'balance_attribute_id'
112: ,p_argument_value => p_balance_attribute_id
113: );
114: --
115: if ( nvl(pay_pba_bus.g_balance_attribute_id, hr_api.g_number)
116: = p_balance_attribute_id) then
117: --
118: -- The legislation code has already been found with a previous
119: -- call to this function. Just return the value in the global

Line 122: l_legislation_code := pay_pba_bus.g_legislation_code;

118: -- The legislation code has already been found with a previous
119: -- call to this function. Just return the value in the global
120: -- variable.
121: --
122: l_legislation_code := pay_pba_bus.g_legislation_code;
123: hr_utility.set_location(l_proc, 20);
124: else
125: --
126: -- The ID is different to the last call to this function

Line 146: pay_pba_bus.g_balance_attribute_id := p_balance_attribute_id;

142: -- Set the global variables so the values are
143: -- available for the next call to this function.
144: --
145: close csr_leg_code;
146: pay_pba_bus.g_balance_attribute_id := p_balance_attribute_id;
147: pay_pba_bus.g_legislation_code := l_legislation_code;
148: end if;
149: hr_utility.set_location(' Leaving:'|| l_proc, 40);
150: return l_legislation_code;

Line 147: pay_pba_bus.g_legislation_code := l_legislation_code;

143: -- available for the next call to this function.
144: --
145: close csr_leg_code;
146: pay_pba_bus.g_balance_attribute_id := p_balance_attribute_id;
147: pay_pba_bus.g_legislation_code := l_legislation_code;
148: end if;
149: hr_utility.set_location(' Leaving:'|| l_proc, 40);
150: return l_legislation_code;
151: end return_legislation_code;

Line 400: l_legislation_code := pay_pba_bus.return_legislation_code

396: ELSIF hr_startup_data_api_support.g_startup_mode = 'USER' THEN
397: hr_utility.set_location(l_proc, 25);
398: --
399: if p_balance_attribute_id is not null then
400: l_legislation_code := pay_pba_bus.return_legislation_code
401: (p_balance_attribute_id);
402: else
403: l_legislation_code := hr_api.return_legislation_code
404: (p_business_group_id);

Line 556: l_legislation_code := pay_pba_bus.return_legislation_code

552: ELSIF hr_startup_data_api_support.g_startup_mode = 'USER' THEN
553: hr_utility.set_location(l_proc, 25);
554: --
555: if p_balance_attribute_id is not null then
556: l_legislation_code := pay_pba_bus.return_legislation_code
557: (p_balance_attribute_id);
558: else
559: l_legislation_code := hr_api.return_legislation_code
560: (p_business_group_id);

Line 746: pay_pba_bus.chk_attribute_id

742: END IF;
743: --
744: -- Validate Dependent Attributes
745: --
746: pay_pba_bus.chk_attribute_id
747: (p_balance_attribute_id => p_rec.balance_attribute_id
748: ,p_attribute_id => p_rec.attribute_id
749: ,p_business_group_id => p_rec.business_group_id
750: ,p_legislation_code => p_rec.legislation_code

Line 755: if not pay_pba_bus.chk_alterable

751: );
752: --
753: hr_utility.set_location(l_proc, 10);
754: --
755: if not pay_pba_bus.chk_alterable
756: (p_balance_attribute_id => p_rec.balance_attribute_id
757: ,p_attribute_id => p_rec.attribute_id
758: ,p_business_group_id => p_rec.business_group_id
759: ,p_legislation_code => p_rec.legislation_code

Line 767: pay_pba_bus.chk_def_bal_id

763: end if;
764: --
765: hr_utility.set_location(l_proc, 15);
766: --
767: pay_pba_bus.chk_def_bal_id
768: (p_balance_attribute_id => p_rec.balance_attribute_id
769: ,p_defined_balance_id => p_rec.defined_balance_id
770: ,p_business_group_id => p_rec.business_group_id
771: ,p_legislation_code => p_rec.legislation_code

Line 811: if not pay_pba_bus.chk_alterable

807: END IF;
808: --
809: -- Call all supporting business operations
810: --
811: if not pay_pba_bus.chk_alterable
812: (p_balance_attribute_id => p_rec.balance_attribute_id
813: ,p_attribute_id => pay_pba_shd.g_old_rec.attribute_id
814: ,p_business_group_id => pay_pba_shd.g_old_rec.business_group_id
815: ,p_legislation_code => pay_pba_shd.g_old_rec.legislation_code

Line 824: end pay_pba_bus;

820: --
821: hr_utility.set_location(' Leaving:'||l_proc, 10);
822: End delete_validate;
823: --
824: end pay_pba_bus;