Merge pull request '7760-tmp.ticketIPT' (!2973) from 7760-tmp.ticketIPT into test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2973 Reviewed-by: Sergio De la torre <sergiodt@verdnatura.es>
This commit is contained in:
commit
9d50b228f6
|
@ -10,6 +10,7 @@ BEGIN
|
|||
*
|
||||
* @param vSelf Id ticket
|
||||
* @param vOriginalItemPackingTypeFk Tipo empaquetado al que se mantiene el ticket original
|
||||
* @return table tmp.ticketIPT(ticketFk, itemPackingTypeFk)
|
||||
*/
|
||||
DECLARE vDone INT DEFAULT FALSE;
|
||||
DECLARE vHasItemPackingType BOOL;
|
||||
|
@ -73,5 +74,13 @@ BEGIN
|
|||
WHERE stm.ticketFk;
|
||||
|
||||
DROP TEMPORARY TABLE tSalesToMove;
|
||||
|
||||
CREATE OR REPLACE TEMPORARY TABLE tmp.ticketIPT(
|
||||
ticketFk INT,
|
||||
itemPackingTypeFk VARCHAR(1)
|
||||
) ENGINE=MEMORY;
|
||||
SELECT ticketFk, itemPackingTypeFk
|
||||
FROM tSalesToMove
|
||||
GROUP BY ticketFk;
|
||||
END$$
|
||||
DELIMITER ;
|
Loading…
Reference in New Issue