diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index ddac26985b..05b4b6e4e9 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1974,9 +1974,10 @@ sub TransferOrder { foreach my $afv ( $order->additional_field_values->as_list ) { Koha::AdditionalFieldValue->new( { - field_id => $afv->field_id, - record_id => $newordernumber, - value => $afv->value, + field_id => $afv->field_id, + record_id => $newordernumber, + record_table => 'aqorders', + value => $afv->value, } )->store; }