DBA Data[Home] [Help]

APPS.PAY_AIF_BUS dependencies on PAY_AIF_BUS

Line 1: Package Body pay_aif_bus as

1: Package Body pay_aif_bus as
2: /* $Header: pyaifrhi.pkb 120.3.12020000.2 2012/07/04 20:39:11 amnaraya ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pay_aif_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 145: if ( nvl(pay_aif_bus.g_action_information_id, hr_api.g_number)

141: ,p_argument => 'action_information_id'
142: ,p_argument_value => p_action_information_id
143: );
144: --
145: if ( nvl(pay_aif_bus.g_action_information_id, hr_api.g_number)
146: = p_action_information_id) then
147: --
148: -- The legislation code has already been found with a previous
149: -- call to this function. Just return the value in the global

Line 152: l_legislation_code := pay_aif_bus.g_legislation_code;

148: -- The legislation code has already been found with a previous
149: -- call to this function. Just return the value in the global
150: -- variable.
151: --
152: l_legislation_code := pay_aif_bus.g_legislation_code;
153: hr_utility.set_location(l_proc, 20);
154: else
155: --
156: -- The ID is different to the last call to this function

Line 176: pay_aif_bus.g_action_information_id := p_action_information_id;

172: -- Set the global variables so the values are
173: -- available for the next call to this function.
174: --
175: close csr_leg_code;
176: pay_aif_bus.g_action_information_id := p_action_information_id;
177: pay_aif_bus.g_legislation_code := l_legislation_code;
178: end if;
179: hr_utility.set_location(' Leaving:'|| l_proc, 40);
180: return l_legislation_code;

Line 177: pay_aif_bus.g_legislation_code := l_legislation_code;

173: -- available for the next call to this function.
174: --
175: close csr_leg_code;
176: pay_aif_bus.g_action_information_id := p_action_information_id;
177: pay_aif_bus.g_legislation_code := l_legislation_code;
178: end if;
179: hr_utility.set_location(' Leaving:'|| l_proc, 40);
180: return l_legislation_code;
181: end return_legislation_code;

Line 233: if ((nvl(pay_aif_bus.g_action_context_id,hr_api.g_number) = p_action_context_id)

229: ,p_argument => 'action_context_type'
230: ,p_argument_value => p_action_context_type
231: );
232: --
233: if ((nvl(pay_aif_bus.g_action_context_id,hr_api.g_number) = p_action_context_id)
234: and (nvl(pay_aif_bus.g_action_context_type,hr_api.g_varchar2) = p_action_context_type)) then
235: --
236: --
237: -- Legislation code is for same row as cached values therefore return

Line 234: and (nvl(pay_aif_bus.g_action_context_type,hr_api.g_varchar2) = p_action_context_type)) then

230: ,p_argument_value => p_action_context_type
231: );
232: --
233: if ((nvl(pay_aif_bus.g_action_context_id,hr_api.g_number) = p_action_context_id)
234: and (nvl(pay_aif_bus.g_action_context_type,hr_api.g_varchar2) = p_action_context_type)) then
235: --
236: --
237: -- Legislation code is for same row as cached values therefore return
238: -- cached legislation code

Line 240: l_legislation_code := pay_aif_bus.g_nonpk_leg_code;

236: --
237: -- Legislation code is for same row as cached values therefore return
238: -- cached legislation code
239: --
240: l_legislation_code := pay_aif_bus.g_nonpk_leg_code;
241: --
242: else
243: --
244: if (p_action_context_type = 'PA') then

Line 294: pay_aif_bus.g_action_context_id := p_action_context_id;

290: fnd_message.raise_error;
291: --
292: end if;
293: --
294: pay_aif_bus.g_action_context_id := p_action_context_id;
295: pay_aif_bus.g_action_context_type := p_action_context_type;
296: pay_aif_bus.g_nonpk_leg_code := l_legislation_code;
297: --
298: end if;

Line 295: pay_aif_bus.g_action_context_type := p_action_context_type;

291: --
292: end if;
293: --
294: pay_aif_bus.g_action_context_id := p_action_context_id;
295: pay_aif_bus.g_action_context_type := p_action_context_type;
296: pay_aif_bus.g_nonpk_leg_code := l_legislation_code;
297: --
298: end if;
299: --

Line 296: pay_aif_bus.g_nonpk_leg_code := l_legislation_code;

292: end if;
293: --
294: pay_aif_bus.g_action_context_id := p_action_context_id;
295: pay_aif_bus.g_action_context_type := p_action_context_type;
296: pay_aif_bus.g_nonpk_leg_code := l_legislation_code;
297: --
298: end if;
299: --
300: hr_utility.set_location(' Leaving:'|| l_proc, 20);

Line 852: pay_aif_bus.chk_action_context_type(p_rec.action_context_type);

848: hr_utility.set_location('Entering:'||l_proc, 5);
849: --
850: -- Call all supporting business operations
851: --
852: pay_aif_bus.chk_action_context_type(p_rec.action_context_type);
853: --
854: pay_aif_bus.chk_action_context_id(p_rec.action_context_id,p_rec.action_context_type);
855: --
856: pay_aif_bus.chk_assignment_id(p_rec.assignment_id);

Line 854: pay_aif_bus.chk_action_context_id(p_rec.action_context_id,p_rec.action_context_type);

850: -- Call all supporting business operations
851: --
852: pay_aif_bus.chk_action_context_type(p_rec.action_context_type);
853: --
854: pay_aif_bus.chk_action_context_id(p_rec.action_context_id,p_rec.action_context_type);
855: --
856: pay_aif_bus.chk_assignment_id(p_rec.assignment_id);
857: --
858: -- Removed call - assume trusted source (performance implications

Line 856: pay_aif_bus.chk_assignment_id(p_rec.assignment_id);

852: pay_aif_bus.chk_action_context_type(p_rec.action_context_type);
853: --
854: pay_aif_bus.chk_action_context_id(p_rec.action_context_id,p_rec.action_context_type);
855: --
856: pay_aif_bus.chk_assignment_id(p_rec.assignment_id);
857: --
858: -- Removed call - assume trusted source (performance implications
859: -- in calling this for large volumes)
860: -- pay_aif_bus.chk_ddf(p_rec);

Line 860: -- pay_aif_bus.chk_ddf(p_rec);

856: pay_aif_bus.chk_assignment_id(p_rec.assignment_id);
857: --
858: -- Removed call - assume trusted source (performance implications
859: -- in calling this for large volumes)
860: -- pay_aif_bus.chk_ddf(p_rec);
861: --
862: hr_utility.set_location(' Leaving:'||l_proc, 10);
863: --
864: End insert_validate;

Line 883: -- pay_aif_bus.chk_ddf(p_rec);

879: chk_non_updateable_args(p_rec);
880: --
881: -- Removed call - assume trusted source (performance implications
882: -- in calling this for large volumes)
883: -- pay_aif_bus.chk_ddf(p_rec);
884: --
885: hr_utility.set_location(' Leaving:'||l_proc, 10);
886: --
887: End update_validate;

Line 906: end pay_aif_bus;

902: --
903: hr_utility.set_location(' Leaving:'||l_proc, 10);
904: End delete_validate;
905: --
906: end pay_aif_bus;