7 lines
217 B
MySQL
7 lines
217 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`receipt_afterInsert`
|
||
|
AFTER INSERT ON `receipt`
|
||
|
FOR EACH ROW
|
||
|
CALL clientRisk_update(NEW.clientFk, NEW.companyFk, -NEW.amountPaid)$$
|
||
|
DELIMITER ;
|