DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`itemTaxCountry_beforeUpdate`
	BEFORE UPDATE ON `itemTaxCountry`
	FOR EACH ROW
BEGIN
	SET NEW.editorFk = account.myUser_getId();

	IF NOT(NEW.countryFk <=> OLD.countryFk) THEN
		CALL util.throw('Only the VAT can be modified');
	END IF;
END$$
DELIMITER ;
