DBA Data[Home] [Help]

APPS.OTA_COI_BUS dependencies on OTA_COI_BUS

Line 1: Package Body ota_coi_bus as

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

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_coi_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_coi_bus.g_chat_id, hr_api.g_number)

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

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

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

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

170: if (( nvl(ota_coi_bus.g_chat_id, hr_api.g_number)
171: = p_chat_id)
172: and ( nvl(ota_coi_bus.g_object_id, hr_api.g_number)
173: = p_object_id)
174: and ( nvl(ota_coi_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_coi_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_coi_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_coi_bus.g_chat_id := p_chat_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_coi_bus.g_chat_id := p_chat_id;
206: ota_coi_bus.g_object_id := p_object_id;
207: ota_coi_bus.g_object_type := p_object_type;
208: ota_coi_bus.g_legislation_code := l_legislation_code;
209: end if;

Line 206: ota_coi_bus.g_object_id := p_object_id;

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

Line 207: ota_coi_bus.g_object_type := p_object_type;

203: --
204: close csr_leg_code;
205: ota_coi_bus.g_chat_id := p_chat_id;
206: ota_coi_bus.g_object_id := p_object_id;
207: ota_coi_bus.g_object_type := p_object_type;
208: ota_coi_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_coi_bus.g_legislation_code := l_legislation_code;

204: close csr_leg_code;
205: ota_coi_bus.g_chat_id := p_chat_id;
206: ota_coi_bus.g_object_id := p_object_id;
207: ota_coi_bus.g_object_type := p_object_type;
208: ota_coi_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 658: end ota_coi_bus;

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