# Check whether or not the prices have changed. If they haven't
# then 'priceupdate' should not be updated.
my $previous_values = selectfirst_hashref_query($form, $dbh, qq|SELECT * FROM parts WHERE id = ?|, conv_i($form->{id})) || {};
# Check whether or not the prices have changed. If they haven't
# then 'priceupdate' should not be updated.
my $previous_values = selectfirst_hashref_query($form, $dbh, qq|SELECT * FROM parts WHERE id = ?|, conv_i($form->{id})) || {};