9 lines
228 B
MySQL
9 lines
228 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`invoiceInIntrastat_beforeUpdate`
|
||
|
BEFORE UPDATE ON `invoiceInIntrastat`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL invoiceIn_checkBooked(OLD.invoiceInFk);
|
||
|
END$$
|
||
|
DELIMITER ;
|