1: Package Body pay_ppe_bus as
2: /* $Header: pypperhi.pkb 115.2 2000/10/10 04:48:04 pkm ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pay_ppe_bus.'; -- Global package name
9: --
10: -- The following two global variables are only to be
11: -- used by the return_legislation_code function.
12: --
114: ,p_argument => 'process_event_id'
115: ,p_argument_value => p_process_event_id
116: );
117: --
118: if ( nvl(pay_ppe_bus.g_process_event_id, hr_api.g_number)
119: = p_process_event_id) then
120: --
121: -- The legislation code has already been found with a previous
122: -- call to this function. Just return the value in the global
121: -- The legislation code has already been found with a previous
122: -- call to this function. Just return the value in the global
123: -- variable.
124: --
125: l_legislation_code := pay_ppe_bus.g_legislation_code;
126: hr_utility.set_location(l_proc, 20);
127: else
128: --
129: -- The ID is different to the last call to this function
145: -- Set the global variables so the values are
146: -- available for the next call to this function.
147: --
148: close csr_leg_code;
149: pay_ppe_bus.g_process_event_id := p_process_event_id;
150: pay_ppe_bus.g_legislation_code := l_legislation_code;
151: end if;
152: hr_utility.set_location(' Leaving:'|| l_proc, 40);
153: return l_legislation_code;
146: -- available for the next call to this function.
147: --
148: close csr_leg_code;
149: pay_ppe_bus.g_process_event_id := p_process_event_id;
150: pay_ppe_bus.g_legislation_code := l_legislation_code;
151: end if;
152: hr_utility.set_location(' Leaving:'|| l_proc, 40);
153: return l_legislation_code;
154: end return_legislation_code;
422: --
423: -- Call all supporting business operations
424: --
425: -- dont have PK at this point on insert
426: -- pay_ppe_bus.set_security_group_id
427: -- (p_process_event_id => p_rec.process_event_id
428: -- );
429: --
430: --
456: hr_utility.set_location('Entering:'||l_proc, 5);
457: --
458: -- Call all supporting business operations
459: --
460: pay_ppe_bus.set_security_group_id
461: (p_process_event_id => p_rec.process_event_id
462: );
463: --
464: chk_non_updateable_args
496: --
497: hr_utility.set_location(' Leaving:'||l_proc, 10);
498: End delete_validate;
499: --
500: end pay_ppe_bus;