+ # Link this record to the records it was created from.
+ $form->{convert_from_oe_ids} =~ s/^\s+//;
+ $form->{convert_from_oe_ids} =~ s/\s+$//;
+ my @convert_from_oe_ids = split m/\s+/, $form->{convert_from_oe_ids};
+ delete $form->{convert_from_oe_ids};
+
+ if (scalar @convert_from_oe_ids) {
+ RecordLinks->create_links('dbh' => $dbh,
+ 'mode' => 'ids',
+ 'from_table' => 'oe',
+ 'from_ids' => \@convert_from_oe_ids,
+ 'to_table' => 'oe',
+ 'to_id' => $form->{id},
+ );
+
+ $self->_close_quotations_rfqs('dbh' => $dbh,
+ 'from_id' => \@convert_from_oe_ids,
+ 'to_id' => $form->{id});
+ }
+