primer prototipo #2205

Merged
pako merged 8 commits from 6358-boxPicking_YellowZebra into dev 2024-03-28 07:20:37 +00:00
Member
No description provided.
pako added 1 commit 2024-03-25 12:06:26 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
10a16fccd8
primer prototipo
pako requested review from jgallego 2024-03-25 12:07:35 +00:00
jgallego requested changes 2024-03-25 13:19:06 +00:00
Dismissed
@ -0,0 +1,286 @@
DROP PROCEDURE IF EXISTS vn.boxPicking_print;
Owner

si es fa un drop es perden el privilegis, per això els procs a dia de hui tots tenen create or replace

si es fa un drop es perden el privilegis, per això els procs a dia de hui tots tenen create or replace
pako marked this conversation as resolved
@ -0,0 +2,4 @@
DELIMITER $$
$$
CREATE PROCEDURE vn.boxPicking_print(
Owner

el nom del proc ha de fer referencia a la taula principal amb la que treballa

jo mirant-ho veig que s'agafa una sale i es meneja a un altre ticket.

CREATE OR REPLACE PROCEDURE vn.sale_splitAndPrint

Encara que es molt probable que si en el futur alguna etiqueta no s'imprimeix necesitem separa la part d'imprimir, per a que ho valores.

el nom del proc ha de fer referencia a la taula principal amb la que treballa jo mirant-ho veig que s'agafa una sale i es meneja a un altre ticket. CREATE OR REPLACE PROCEDURE vn.sale_splitAndPrint Encara que es molt probable que si en el futur alguna etiqueta no s'imprimeix necesitem separa la part d'imprimir, per a que ho valores.
pako marked this conversation as resolved
@ -0,0 +64,4 @@
w1: WHILE vQuantity >= vPacking DO
SET vItemShelvingFk = 0;
Owner

vItemShelvingFk = NULL

vItemShelvingFk = NULL
pako marked this conversation as resolved
@ -0,0 +163,4 @@
UPDATE itemShelving SET visible = visible - vPacking WHERE id = vItemShelvingFk;
SET vNewSaleFk = 0;
Owner

millor gastar null per a dir que no hi ha un valor real

millor gastar null per a dir que no hi ha un valor real
pako marked this conversation as resolved
@ -0,0 +266,4 @@
JOIN parking p ON p.id = sh.parkingFk
WHERE ish.id = vItemShelvingFk;
UPDATE dipole.expedition_PrintOut SET
Owner

SET en este cas votaria de linea

SET en este cas votaria de linea
pako marked this conversation as resolved
pako added 1 commit 2024-03-26 13:22:50 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
5d813784b4
Merge branch 'dev' into 6358-boxPicking_YellowZebra
pako added 1 commit 2024-03-26 14:01:57 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
861d9b3135
javi's proposals
pako requested review from jgallego 2024-03-26 14:02:49 +00:00
pako added 1 commit 2024-03-27 06:55:44 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
b1a91ab7d3
Merge branch 'dev' into 6358-boxPicking_YellowZebra
jgallego requested changes 2024-03-27 08:26:22 +00:00
Dismissed
@ -0,0 +36,4 @@
s.itemFk,
s.concept
INTO vQuantity,
vRest,
Owner

el resto de les divisions es diu remainder
vRemainder

el resto de les divisions es diu remainder vRemainder
pako marked this conversation as resolved
@ -0,0 +46,4 @@
IF vRest THEN
UPDATE sale SET quantity = quantity - vRest WHERE id = vSaleFk;
INSERT INTO vn.sale(ticketFk, itemFk, quantity, price, discount, concept)
Owner

sense vn.
Señale este pero hi ha mes.

sense vn. Señale este pero hi ha mes.
pako marked this conversation as resolved
@ -0,0 +68,4 @@
FROM vn.productionConfig pc
JOIN (
SELECT ish.id,
ish.visible - ifnull(SUM(iss.quantity),0) available,
Owner

IFNULL

IFNULL
pako marked this conversation as resolved
@ -0,0 +242,4 @@
h.code,
vPackingSiteFk,
ps.monitorId,
IFNULL(vLastExpeditionTimeStamp, Now()),
Owner

NOW

NOW
pako marked this conversation as resolved
pako added 2 commits 2024-03-27 11:25:51 +00:00
pako added 1 commit 2024-03-27 11:28:48 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
09c9a3d7ef
vRest
pako requested review from jgallego 2024-03-27 11:30:39 +00:00
jgallego approved these changes 2024-03-28 07:00:00 +00:00
pako added 1 commit 2024-03-28 07:19:14 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
8396b8cd64
Merge branch 'dev' into 6358-boxPicking_YellowZebra
pako merged commit d1809c4087 into dev 2024-03-28 07:20:37 +00:00
pako deleted branch 6358-boxPicking_YellowZebra 2024-03-28 07:20:37 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#2205
No description provided.