61: p_rec.object_version_number := 1; -- Initialise the object version
62: --
63: pqp_pvd_shd.g_api_dml := true; -- Set the api dml status
64: --
65: -- Insert the row into: pqp_vehicle_details
66: --
67: insert into pqp_vehicle_details
68: (vehicle_details_id
69: ,vehicle_type
63: pqp_pvd_shd.g_api_dml := true; -- Set the api dml status
64: --
65: -- Insert the row into: pqp_vehicle_details
66: --
67: insert into pqp_vehicle_details
68: (vehicle_details_id
69: ,vehicle_type
70: ,business_group_id
71: ,registration_number
263: ) is
264: --
265: l_proc varchar2(72) := g_package||'pre_insert';
266: --
267: Cursor C_Sel1 is select pqp_vehicle_details_s.nextval from sys.dual;
268: --
269: Begin
270: hr_utility.set_location('Entering:'||l_proc, 5);
271: --
458: --
459: when hr_api.cannot_find_prog_unit then
460: --
461: hr_api.cannot_find_prog_unit_error
462: (p_module_name => 'PQP_VEHICLE_DETAILS'
463: ,p_hook_type => 'AI');
464: --
465: end;
466: --