10 lines
254 B
MySQL
10 lines
254 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `hedera`.`orderRow_afterInsert`
|
||
|
AFTER INSERT ON `orderRow`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL stock.log_add('orderRow', NEW.id, NULL);
|
||
|
CALL order_requestRecalc(NEW.orderFk);
|
||
|
END$$
|
||
|
DELIMITER ;
|