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`.`invoiceInIntrastat_beforeInsert`
|
|
|
|
BEFORE INSERT ON `invoiceInIntrastat`
|
2024-04-04 13:04:23 +00:00
|
|
|
FOR EACH ROW
|
|
|
|
BEGIN
|
2024-04-16 06:44:50 +00:00
|
|
|
CALL invoiceIn_checkBooked(NEW.invoiceInFk);
|
2024-04-04 13:04:23 +00:00
|
|
|
END$$
|
|
|
|
DELIMITER ;
|