DBA Data[Home] [Help]

APPS.OTA_TRB_BUS dependencies on OTA_TRB_BUS

Line 1: Package Body ota_trb_bus as

1: Package Body ota_trb_bus as
2: /* $Header: ottrbrhi.pkb 120.6.12000000.3 2007/07/05 09:22:53 aabalakr noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_trb_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 130: if ( nvl(ota_trb_bus.g_resource_booking_id, hr_api.g_number)

126: ,p_argument => 'resource_booking_id'
127: ,p_argument_value => p_resource_booking_id
128: );
129: --
130: if ( nvl(ota_trb_bus.g_resource_booking_id, hr_api.g_number)
131: = p_resource_booking_id) then
132: --
133: -- The legislation code has already been found with a previous
134: -- call to this function. Just return the value in the global

Line 137: l_legislation_code := ota_trb_bus.g_legislation_code;

133: -- The legislation code has already been found with a previous
134: -- call to this function. Just return the value in the global
135: -- variable.
136: --
137: l_legislation_code := ota_trb_bus.g_legislation_code;
138: hr_utility.set_location(l_proc, 20);
139: else
140: --
141: -- The ID is different to the last call to this function

Line 161: ota_trb_bus.g_resource_booking_id := p_resource_booking_id;

157: -- Set the global variables so the values are
158: -- available for the next call to this function.
159: --
160: close csr_leg_code;
161: ota_trb_bus.g_resource_booking_id := p_resource_booking_id;
162: ota_trb_bus.g_legislation_code := l_legislation_code;
163: end if;
164: hr_utility.set_location(' Leaving:'|| l_proc, 40);
165: return l_legislation_code;

Line 162: ota_trb_bus.g_legislation_code := l_legislation_code;

158: -- available for the next call to this function.
159: --
160: close csr_leg_code;
161: ota_trb_bus.g_resource_booking_id := p_resource_booking_id;
162: ota_trb_bus.g_legislation_code := l_legislation_code;
163: end if;
164: hr_utility.set_location(' Leaving:'|| l_proc, 40);
165: return l_legislation_code;
166: end return_legislation_code;

Line 569: ota_trb_bus.chk_ddf(p_rec);

565: ,p_rec.required_end_time
566: ,p_rec.book_entire_period_flag);
567:
568: --
569: ota_trb_bus.chk_ddf(p_rec);
570: hr_utility.set_location(' Leaving:'||l_proc, 10);
571: --
572: End insert_validate;
573: --

Line 823: ota_trb_bus.chk_ddf(p_rec);

819: check_timezone(p_rec.timezone_code);
820: END IF;
821:
822: --
823: ota_trb_bus.chk_ddf(p_rec);
824: hr_utility.set_location(' Leaving:'||l_proc, 10); End update_validate;
825: --
826: -- ----------------------------------------------------------------------------
827: -- |---------------------------< delete_validate >----------------------------|

Line 869: end ota_trb_bus;

865: --
866: hr_utility.set_location(' Leaving:'||l_proc, 10);
867: End delete_validate;
868: --
869: end ota_trb_bus;