fix: refs #4948 expedition_selfConsumptionPackaging
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
65a4578e15
commit
01d8f15d2f
|
@ -54,7 +54,9 @@ proc:BEGIN
|
||||||
WHERE shipped BETWEEN vCreated AND util.dayEnd(vCreated)
|
WHERE shipped BETWEEN vCreated AND util.dayEnd(vCreated)
|
||||||
AND clientFk = vClientFk
|
AND clientFk = vClientFk
|
||||||
AND addressFk = vAddressFk
|
AND addressFk = vAddressFk
|
||||||
AND warehouseFk = vWarehouseFk;
|
AND warehouseFk = vWarehouseFk
|
||||||
|
AND nickname = 'CAJAS AUTOCONSUMO'
|
||||||
|
LIMIT 1;
|
||||||
|
|
||||||
IF vTicketFk IS NULL AND vAction = 'add' THEN
|
IF vTicketFk IS NULL AND vAction = 'add' THEN
|
||||||
INSERT INTO ticket(clientFk, warehouseFk, shipped, nickname, addressFk)
|
INSERT INTO ticket(clientFk, warehouseFk, shipped, nickname, addressFk)
|
||||||
|
|
Loading…
Reference in New Issue