119: hr_utility.set_location('Entering:'||l_proc, 5);
120: --
121: -- Check if resource exists in allocations
122: --
123: ota_trb_api_procedures.check_tra_resource_exists(p_rec.resource_booking_id);
124: --
125: -- Check if trainer exists in allocations
126: --
127: ota_trb_api_procedures.check_tra_trainer_exists(p_rec.resource_booking_id);
123: ota_trb_api_procedures.check_tra_resource_exists(p_rec.resource_booking_id);
124: --
125: -- Check if trainer exists in allocations
126: --
127: ota_trb_api_procedures.check_tra_trainer_exists(p_rec.resource_booking_id);
128: --
129: -- check if finance lines exist.
130: --
131: ota_trb_api_procedures.check_if_tfl_exists(p_rec.resource_booking_id);
127: ota_trb_api_procedures.check_tra_trainer_exists(p_rec.resource_booking_id);
128: --
129: -- check if finance lines exist.
130: --
131: ota_trb_api_procedures.check_if_tfl_exists(p_rec.resource_booking_id);
132: --
133: --
134: hr_utility.set_location(' Leaving:'||l_proc, 10);
135: End pre_delete;