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