12 lines
307 B
MySQL
12 lines
307 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`expeditionScan_Put`(vPalletFk INT, vExpeditionFk INT)
|
||
|
BEGIN
|
||
|
|
||
|
REPLACE vn.expeditionScan(expeditionFk, palletFk)
|
||
|
VALUES(vExpeditionFk, vPalletFk);
|
||
|
|
||
|
SELECT LAST_INSERT_ID() INTO vPalletFk;
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|