21 lines
549 B
SQL
21 lines
549 B
SQL
USE `vn`;
|
|
DROP procedure IF EXISTS `zoneGetLanded`;
|
|
|
|
DELIMITER $$
|
|
USE `vn`$$
|
|
CREATE DEFINER=`root`@`%` PROCEDURE `zoneGetLanded`(vShipped DATE, vAddress INT, vAgencyMode INT, vWarehouse INT)
|
|
BEGIN
|
|
/**
|
|
* Devuelve una tabla temporal con el dia de recepcion para vShipped.
|
|
*
|
|
* @param vShipped Fecha de preparacion de mercancia
|
|
* @param vAddress Id de consignatario, %NULL para recogida
|
|
* @param vAgencyMode Id agencia
|
|
* @table tmp.zoneGetLanded Datos de recepción
|
|
*/
|
|
CALL zone_getLanded(vShipped,vAddress,vAgencyMode,vWarehouse);
|
|
END$$
|
|
|
|
DELIMITER ;
|
|
|