6358-boxPicking_blueMammut #2230
|
@ -238,7 +238,7 @@ w1: WHILE vQuantity >= vPacking DO
|
||||||
)
|
)
|
||||||
SELECT vAgencyModeFk,
|
SELECT vAgencyModeFk,
|
||||||
vNewTicketFk,
|
vNewTicketFk,
|
||||||
i.id,
|
pc.defaultFreightItemFk,
|
||||||
vUserFk,
|
vUserFk,
|
||||||
vPackagingFk,
|
vPackagingFk,
|
||||||
ps.code,
|
ps.code,
|
||||||
|
@ -249,9 +249,8 @@ w1: WHILE vQuantity >= vPacking DO
|
||||||
NOW()
|
NOW()
|
||||||
FROM packingSite ps
|
FROM packingSite ps
|
||||||
JOIN host h ON h.id = ps.hostFk
|
JOIN host h ON h.id = ps.hostFk
|
||||||
JOIN item i ON i.name = 'Porte Caja'
|
JOIN productionConfig pc
|
||||||
WHERE ps.id = vPackingSiteFk
|
WHERE ps.id = vPackingSiteFk;
|
||||||
LIMIT 1;
|
|
||||||
|
|
||||||
SET vExpeditionFk = LAST_INSERT_ID();
|
SET vExpeditionFk = LAST_INSERT_ID();
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- Place your SQL code here
|
||||||
|
ALTER TABLE vn.productionConfig ADD defaultFreightItemFk INT UNSIGNED DEFAULT 71 NOT NULL COMMENT 'Default value for expedition table';
|
Loading…
Reference in New Issue