diff --git a/db/routines/vn/procedures/entry_splitByShelving.sql b/db/routines/vn/procedures/entry_splitByShelving.sql index 9c8b093cc..eb07c12b7 100644 --- a/db/routines/vn/procedures/entry_splitByShelving.sql +++ b/db/routines/vn/procedures/entry_splitByShelving.sql @@ -51,7 +51,7 @@ BEGIN quantity = stickers * packing WHERE id = vBuyFk; - INSERT INTO vn.buy(entryFk, + INSERT INTO buy(entryFk, itemFk, quantity, buyingValue,