DBA Data[Home] [Help]

APPS.OTA_FOI_BUS dependencies on OTA_FOI_BUS

Line 1: Package Body ota_foi_bus as

1: Package Body ota_foi_bus as
2: /* $Header: otfoirhi.pkb 120.3 2005/08/12 02:45 pchandra noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_foi_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 170: if (( nvl(ota_foi_bus.g_forum_id, hr_api.g_number)

166: ,p_argument => 'object_type'
167: ,p_argument_value => p_object_type
168: );
169: --
170: if (( nvl(ota_foi_bus.g_forum_id, hr_api.g_number)
171: = p_forum_id)
172: and ( nvl(ota_foi_bus.g_object_id, hr_api.g_number)
173: = p_object_id)
174: and ( nvl(ota_foi_bus.g_object_type, hr_api.g_varchar2)

Line 172: and ( nvl(ota_foi_bus.g_object_id, hr_api.g_number)

168: );
169: --
170: if (( nvl(ota_foi_bus.g_forum_id, hr_api.g_number)
171: = p_forum_id)
172: and ( nvl(ota_foi_bus.g_object_id, hr_api.g_number)
173: = p_object_id)
174: and ( nvl(ota_foi_bus.g_object_type, hr_api.g_varchar2)
175: = p_object_type)) then
176: --

Line 174: and ( nvl(ota_foi_bus.g_object_type, hr_api.g_varchar2)

170: if (( nvl(ota_foi_bus.g_forum_id, hr_api.g_number)
171: = p_forum_id)
172: and ( nvl(ota_foi_bus.g_object_id, hr_api.g_number)
173: = p_object_id)
174: and ( nvl(ota_foi_bus.g_object_type, hr_api.g_varchar2)
175: = p_object_type)) then
176: --
177: -- The legislation code has already been found with a previous
178: -- call to this function. Just return the value in the global

Line 181: l_legislation_code := ota_foi_bus.g_legislation_code;

177: -- The legislation code has already been found with a previous
178: -- call to this function. Just return the value in the global
179: -- variable.
180: --
181: l_legislation_code := ota_foi_bus.g_legislation_code;
182: hr_utility.set_location(l_proc, 20);
183: else
184: --
185: -- The ID is different to the last call to this function

Line 205: ota_foi_bus.g_forum_id := p_forum_id;

201: -- Set the global variables so the values are
202: -- available for the next call to this function.
203: --
204: close csr_leg_code;
205: ota_foi_bus.g_forum_id := p_forum_id;
206: ota_foi_bus.g_object_id := p_object_id;
207: ota_foi_bus.g_object_type := p_object_type;
208: ota_foi_bus.g_legislation_code := l_legislation_code;
209: end if;

Line 206: ota_foi_bus.g_object_id := p_object_id;

202: -- available for the next call to this function.
203: --
204: close csr_leg_code;
205: ota_foi_bus.g_forum_id := p_forum_id;
206: ota_foi_bus.g_object_id := p_object_id;
207: ota_foi_bus.g_object_type := p_object_type;
208: ota_foi_bus.g_legislation_code := l_legislation_code;
209: end if;
210: hr_utility.set_location(' Leaving:'|| l_proc, 40);

Line 207: ota_foi_bus.g_object_type := p_object_type;

203: --
204: close csr_leg_code;
205: ota_foi_bus.g_forum_id := p_forum_id;
206: ota_foi_bus.g_object_id := p_object_id;
207: ota_foi_bus.g_object_type := p_object_type;
208: ota_foi_bus.g_legislation_code := l_legislation_code;
209: end if;
210: hr_utility.set_location(' Leaving:'|| l_proc, 40);
211: return l_legislation_code;

Line 208: ota_foi_bus.g_legislation_code := l_legislation_code;

204: close csr_leg_code;
205: ota_foi_bus.g_forum_id := p_forum_id;
206: ota_foi_bus.g_object_id := p_object_id;
207: ota_foi_bus.g_object_type := p_object_type;
208: ota_foi_bus.g_legislation_code := l_legislation_code;
209: end if;
210: hr_utility.set_location(' Leaving:'|| l_proc, 40);
211: return l_legislation_code;
212: end return_legislation_code;

Line 657: end ota_foi_bus;

653:
654: hr_utility.set_location(' Leaving:'||l_proc, 10);
655: End delete_validate;
656: --
657: end ota_foi_bus;