2024-01-15 11:31:03 +00:00
|
|
|
DELIMITER $$
|
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `hedera`.`order_requestRecalc`(vSelf INT)
|
|
|
|
proc: BEGIN
|
|
|
|
/**
|
|
|
|
* Adds a request to recalculate the order total.
|
|
|
|
*
|
|
|
|
* @param vSelf The order identifier
|
|
|
|
*/
|
|
|
|
IF vSelf IS NULL THEN
|
|
|
|
LEAVE proc;
|
|
|
|
END IF;
|
|
|
|
|
2024-04-15 09:32:44 +00:00
|
|
|
-- #4409 Disable order recalc
|
|
|
|
-- INSERT INTO orderRecalc SET orderFk = vSelf;
|
2024-01-15 11:31:03 +00:00
|
|
|
END$$
|
|
|
|
DELIMITER ;
|