$obj_rate_table->option_type = "service";
 $obj_rate_table->option_type_id = $obj_service->id;
 /*
 	Verify Data
 */
 // make sure a valid service ID has been supplied
 if (!$obj_service->verify_id()) {
     log_write("error", "process", "The service you have requested - " . $obj_service->id . " - does not exist in this system");
 }
 // check the option id values
 if (!$obj_rate_table->verify_id_override()) {
     // TODO: seriously need a better error message here, this means almost nothing to me and I wrote it....
     log_write("error", "process", "The service and rate ids do not correct match any known override");
 }
 // verify that the prefix is unique
 if (!$obj_rate_table->verify_rate_prefix_override()) {
     log_write("error", "process", "Another rate override already exists with the supplied prefix - unable to add another one with the same prefix");
     error_flag_field("rate_prefix");
 }
 /*
 	Check for any errors
 */
 if (error_check()) {
     header("Location: ../index.php?page=services/cdr-override.php&id_service=" . $obj_service->id);
     exit(0);
 } else {
     /*
     	Delete Rate Override
     */
     $obj_rate_table->action_rate_delete_override();
     /*