2024-04-04 13:04:23 +00:00
|
|
|
DELIMITER $$
|
2024-04-16 06:44:50 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`invoiceIn_beforeDelete`
|
|
|
|
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 ;
|