Hotfix ticketStateUpdate to ticket_setState
This commit is contained in:
parent
2e1ab3af20
commit
82118ae933
|
@ -1,5 +1,5 @@
|
|||
DELIMITER $$
|
||||
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticket_DelayTruckSplit`(vTicketFk INT)
|
||||
DELIMITER $$
|
||||
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticket_DelayTruckSplit`(vTicketFk INT)
|
||||
BEGIN
|
||||
/**
|
||||
* Splita las lineas de ticket que no estan ubicadas
|
||||
|
@ -50,8 +50,8 @@ BEGIN
|
|||
SET s.ticketFk = vNewTicketFk;
|
||||
END IF;
|
||||
|
||||
CALL ticketStateUpdate(vNewTicketFk, 'FIXING');
|
||||
CALL ticket_setState(vNewTicketFk, 'FIXING');
|
||||
|
||||
DROP TEMPORARY TABLE tmp.SalesToSplit;
|
||||
END$$
|
||||
DELIMITER ;
|
||||
END$$
|
||||
DELIMITER ;
|
||||
|
|
|
@ -189,7 +189,7 @@ BEGIN
|
|||
IF NOT vIsDuplicateMail THEN
|
||||
CALL mail_insert(vSalesPersonEmail, NULL, vSubject, vMessage);
|
||||
END IF;
|
||||
CALL ticketStateUpdate (vNewTicket, 'FIXING');
|
||||
CALL ticket_setState(vNewTicket, 'FIXING');
|
||||
ELSE
|
||||
CALL ticketCalculateClon(vNewTicket, vTicketFk);
|
||||
END IF;
|
||||
|
|
|
@ -69,7 +69,7 @@ proc:BEGIN
|
|||
s.concept = CONCAT('(s) ', s.concept)
|
||||
WHERE sts.ticketFk = vTicketFk;
|
||||
|
||||
CALL vn.ticketStateUpdate(vTicketFutureFk, 'FIXING');
|
||||
CALL ticket_setState(vTicketFutureFk, 'FIXING');
|
||||
|
||||
SELECT "new" message,vTicketFutureFk ticketFuture;
|
||||
END$$
|
||||
|
|
Loading…
Reference in New Issue