11 lines
299 B
SQL
11 lines
299 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`orderRow_afterUpdate`
|
|
AFTER UPDATE ON `orderRow`
|
|
FOR EACH ROW
|
|
BEGIN
|
|
CALL stock.log_add('orderRow', NEW.id, OLD.id);
|
|
CALL order_requestRecalc(OLD.orderFk);
|
|
CALL order_requestRecalc(NEW.orderFk);
|
|
END$$
|
|
DELIMITER ;
|