2024-04-04 13:04:23 +00:00
|
|
|
DELIMITER $$
|
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`invoiceInTax_beforeDelete`
|
|
|
|
BEFORE DELETE ON `invoiceInTax`
|
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
2024-04-04 16:05:45 +00:00
|
|
|
CALL invoiceIn_checkIsBooked(OLD.invoiceInFk);
|
2024-04-04 13:04:23 +00:00
|
|
|
END$$
|
|
|
|
DELIMITER ;
|