DBA Data[Home] [Help]

APPS.OTA_CUS_BUS dependencies on OTA_CUS_BUS

Line 1: Package Body ota_cus_bus as

1: Package Body ota_cus_bus as
2: /* $Header: otcusrhi.pkb 120.0 2005/06/24 07:53 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

154: ,p_argument => 'contact_id'
155: ,p_argument_value => p_contact_id
156: );
157: --
158: if (( nvl(ota_cus_bus.g_chat_id, hr_api.g_number)
159: = p_chat_id)
160: and ( nvl(ota_cus_bus.g_person_id, hr_api.g_number)
161: = p_person_id)
162: and ( nvl(ota_cus_bus.g_contact_id, hr_api.g_number)

Line 160: and ( nvl(ota_cus_bus.g_person_id, hr_api.g_number)

156: );
157: --
158: if (( nvl(ota_cus_bus.g_chat_id, hr_api.g_number)
159: = p_chat_id)
160: and ( nvl(ota_cus_bus.g_person_id, hr_api.g_number)
161: = p_person_id)
162: and ( nvl(ota_cus_bus.g_contact_id, hr_api.g_number)
163: = p_contact_id)) then
164: --

Line 162: and ( nvl(ota_cus_bus.g_contact_id, hr_api.g_number)

158: if (( nvl(ota_cus_bus.g_chat_id, hr_api.g_number)
159: = p_chat_id)
160: and ( nvl(ota_cus_bus.g_person_id, hr_api.g_number)
161: = p_person_id)
162: and ( nvl(ota_cus_bus.g_contact_id, hr_api.g_number)
163: = p_contact_id)) then
164: --
165: -- The legislation code has already been found with a previous
166: -- call to this function. Just return the value in the global

Line 169: l_legislation_code := ota_cus_bus.g_legislation_code;

165: -- The legislation code has already been found with a previous
166: -- call to this function. Just return the value in the global
167: -- variable.
168: --
169: l_legislation_code := ota_cus_bus.g_legislation_code;
170: hr_utility.set_location(l_proc, 20);
171: else
172: --
173: -- The ID is different to the last call to this function

Line 193: ota_cus_bus.g_chat_id := p_chat_id;

189: -- Set the global variables so the values are
190: -- available for the next call to this function.
191: --
192: close csr_leg_code;
193: ota_cus_bus.g_chat_id := p_chat_id;
194: ota_cus_bus.g_person_id := p_person_id;
195: ota_cus_bus.g_contact_id := p_contact_id;
196: ota_cus_bus.g_legislation_code := l_legislation_code;
197: end if;

Line 194: ota_cus_bus.g_person_id := p_person_id;

190: -- available for the next call to this function.
191: --
192: close csr_leg_code;
193: ota_cus_bus.g_chat_id := p_chat_id;
194: ota_cus_bus.g_person_id := p_person_id;
195: ota_cus_bus.g_contact_id := p_contact_id;
196: ota_cus_bus.g_legislation_code := l_legislation_code;
197: end if;
198: hr_utility.set_location(' Leaving:'|| l_proc, 40);

Line 195: ota_cus_bus.g_contact_id := p_contact_id;

191: --
192: close csr_leg_code;
193: ota_cus_bus.g_chat_id := p_chat_id;
194: ota_cus_bus.g_person_id := p_person_id;
195: ota_cus_bus.g_contact_id := p_contact_id;
196: ota_cus_bus.g_legislation_code := l_legislation_code;
197: end if;
198: hr_utility.set_location(' Leaving:'|| l_proc, 40);
199: return l_legislation_code;

Line 196: ota_cus_bus.g_legislation_code := l_legislation_code;

192: close csr_leg_code;
193: ota_cus_bus.g_chat_id := p_chat_id;
194: ota_cus_bus.g_person_id := p_person_id;
195: ota_cus_bus.g_contact_id := p_contact_id;
196: ota_cus_bus.g_legislation_code := l_legislation_code;
197: end if;
198: hr_utility.set_location(' Leaving:'|| l_proc, 40);
199: return l_legislation_code;
200: end return_legislation_code;

Line 347: end ota_cus_bus;

343: --
344: hr_utility.set_location(' Leaving:'||l_proc, 10);
345: End delete_validate;
346: --
347: end ota_cus_bus;