DBA Data[Home] [Help]

APPS.OTA_CPR_BUS dependencies on OTA_CPR_BUS

Line 1: Package Body ota_cpr_bus as

1: Package Body ota_cpr_bus as
2: /* $Header: otcprrhi.pkb 120.2 2006/10/09 11:33:40 sschauha noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_cpr_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 140: if (( nvl(ota_cpr_bus.g_activity_version_id, hr_api.g_number)

136: ,p_argument => 'prerequisite_course_id'
137: ,p_argument_value => p_prerequisite_course_id
138: );
139: --
140: if (( nvl(ota_cpr_bus.g_activity_version_id, hr_api.g_number)
141: = p_activity_version_id)
142: and ( nvl(ota_cpr_bus.g_prerequisite_course_id, hr_api.g_number)
143: = p_prerequisite_course_id)) then
144: --

Line 142: and ( nvl(ota_cpr_bus.g_prerequisite_course_id, hr_api.g_number)

138: );
139: --
140: if (( nvl(ota_cpr_bus.g_activity_version_id, hr_api.g_number)
141: = p_activity_version_id)
142: and ( nvl(ota_cpr_bus.g_prerequisite_course_id, hr_api.g_number)
143: = p_prerequisite_course_id)) then
144: --
145: -- The legislation code has already been found with a previous
146: -- call to this function. Just return the value in the global

Line 149: l_legislation_code := ota_cpr_bus.g_legislation_code;

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

Line 173: ota_cpr_bus.g_activity_version_id := p_activity_version_id;

169: -- Set the global variables so the values are
170: -- available for the next call to this function.
171: --
172: close csr_leg_code;
173: ota_cpr_bus.g_activity_version_id := p_activity_version_id;
174: ota_cpr_bus.g_prerequisite_course_id := p_prerequisite_course_id;
175: ota_cpr_bus.g_legislation_code := l_legislation_code;
176: end if;
177: hr_utility.set_location(' Leaving:'|| l_proc, 40);

Line 174: ota_cpr_bus.g_prerequisite_course_id := p_prerequisite_course_id;

170: -- available for the next call to this function.
171: --
172: close csr_leg_code;
173: ota_cpr_bus.g_activity_version_id := p_activity_version_id;
174: ota_cpr_bus.g_prerequisite_course_id := p_prerequisite_course_id;
175: ota_cpr_bus.g_legislation_code := l_legislation_code;
176: end if;
177: hr_utility.set_location(' Leaving:'|| l_proc, 40);
178: return l_legislation_code;

Line 175: ota_cpr_bus.g_legislation_code := l_legislation_code;

171: --
172: close csr_leg_code;
173: ota_cpr_bus.g_activity_version_id := p_activity_version_id;
174: ota_cpr_bus.g_prerequisite_course_id := p_prerequisite_course_id;
175: ota_cpr_bus.g_legislation_code := l_legislation_code;
176: end if;
177: hr_utility.set_location(' Leaving:'|| l_proc, 40);
178: return l_legislation_code;
179: end return_legislation_code;

Line 622: end ota_cpr_bus;

618: --
619: hr_utility.set_location(' Leaving:'||l_proc, 10);
620: End delete_validate;
621: --
622: end ota_cpr_bus;