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.2.12000000.2 2007/03/30 05:34:36 ttagawa noship $ */
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 848: pay_aif_bus.chk_action_context_type(p_rec.action_context_type);

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

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

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

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

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

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

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

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

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

Line 902: end pay_aif_bus;

898: --
899: hr_utility.set_location(' Leaving:'||l_proc, 10);
900: End delete_validate;
901: --
902: end pay_aif_bus;