feat: previas con sitema de reservas refs #6861 #2176
|
@ -3,8 +3,7 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`itemShelving_afterIns
|
|||
AFTER INSERT ON `itemShelving`
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
|
||||
INSERT INTO vn.itemShelvingLog(
|
||||
INSERT INTO vn.itemShelvingLog(
|
||||
itemShelvingFk,
|
||||
carlosap marked this conversation as resolved
Outdated
|
||||
workerFk,
|
||||
accion,
|
||||
|
@ -13,8 +12,10 @@ BEGIN
|
|||
visible,
|
||||
`grouping`,
|
||||
packing,
|
||||
available)
|
||||
VALUES( NEW.id,
|
||||
available
|
||||
)
|
||||
VALUES (
|
||||
NEW.id,
|
||||
NEW.userFk,
|
||||
'CREA REGISTRO',
|
||||
NEW.itemFk,
|
||||
|
@ -22,6 +23,7 @@ BEGIN
|
|||
NEW.visible,
|
||||
NEW.`grouping`,
|
||||
NEW.packing,
|
||||
NEW.available);
|
||||
NEW.available
|
||||
);
|
||||
END$$
|
||||
DELIMITER ;
|
Loading…
Reference in New Issue
açò no ho pot fer el procés del log automàtic