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