feat: previas con sitema de reservas refs #6861 #2176
|
@ -3,7 +3,6 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`itemShelving_afterIns
|
||||||
AFTER INSERT ON `itemShelving`
|
AFTER INSERT ON `itemShelving`
|
||||||
FOR EACH ROW
|
FOR EACH ROW
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
||||||
INSERT INTO vn.itemShelvingLog(
|
INSERT INTO vn.itemShelvingLog(
|
||||||
itemShelvingFk,
|
itemShelvingFk,
|
||||||
workerFk,
|
workerFk,
|
||||||
|
@ -13,8 +12,10 @@ BEGIN
|
||||||
visible,
|
visible,
|
||||||
`grouping`,
|
`grouping`,
|
||||||
packing,
|
packing,
|
||||||
available)
|
available
|
||||||
VALUES( NEW.id,
|
)
|
||||||
|
VALUES (
|
||||||
|
NEW.id,
|
||||||
NEW.userFk,
|
NEW.userFk,
|
||||||
'CREA REGISTRO',
|
'CREA REGISTRO',
|
||||||
NEW.itemFk,
|
NEW.itemFk,
|
||||||
|
@ -22,6 +23,7 @@ BEGIN
|
||||||
NEW.visible,
|
NEW.visible,
|
||||||
NEW.`grouping`,
|
NEW.`grouping`,
|
||||||
NEW.packing,
|
NEW.packing,
|
||||||
NEW.available);
|
NEW.available
|
||||||
|
);
|
||||||
END$$
|
END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
Loading…
Reference in New Issue