fixes #5259 Envío de factura electrónica en clientes sin el check "Factura electrónica" #1423

Merged
joan merged 3 commits from 5259-invoice-electronic-without-check into dev 2023-04-06 07:27:56 +00:00
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
DROP TRIGGER IF EXISTS `vn`.`invoiceOut_afterInsert`;
USE vn;
DELIMITER $$
$$
CREATE DEFINER=`root`@`localhost` TRIGGER `vn`.`invoiceOut_afterInsert`
AFTER INSERT ON `invoiceOut`
FOR EACH ROW
BEGIN
CALL clientRisk_update(NEW.clientFk, NEW.companyFk, NEW.amount);
END$$
DELIMITER ;