2024-04-04 13:04:23 +00:00
|
|
|
DELIMITER $$
|
2024-08-20 08:06:10 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`invoiceIn_beforeDelete`
|
2024-04-16 06:44:50 +00:00
|
|
|
BEFORE DELETE ON `invoiceIn`
|
2024-04-04 13:04:23 +00:00
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
2024-04-16 06:44:50 +00:00
|
|
|
CALL invoiceIn_checkBooked(OLD.id);
|
2024-04-04 13:04:23 +00:00
|
|
|
END$$
|
|
|
|
DELIMITER ;
|