# Remove the 'shelving cart' location status if it is being used.
CartToShelf( $itemnumber ) if ( C4::Context->preference("ReturnToShelvingCart") );
# Remove any previous branch transfers
$dbh->do("DELETE FROM branchtransfers WHERE itemnumber = ? AND datearrived IS NULL", undef, $itemnumber );
#new entry in branchtransfers....
my $sth = $dbh->prepare(
"INSERT INTO branchtransfers (itemnumber, frombranch, datesent, tobranch)
-