12 lines
266 B
MySQL
12 lines
266 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`invoiceInDueDay_recalc`(vInvoiceInFk INT)
|
||
|
BEGIN
|
||
|
|
||
|
DELETE FROM invoiceInDueDay
|
||
|
WHERE invoiceInFk = vInvoiceInFk;
|
||
|
|
||
|
CALL invoiceInDueDay_calculate(vInvoiceInFk);
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|