fix: refs #6861 duplicatedTicketsInReserve #3053
No reviewers
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#3053
Loading…
Reference in New Issue
No description provided.
Delete Branch "6861-itemShelvingSaleDelete"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consultat en Santi i ok per a poder borrar que estiguen desmacades abans. Provat i OK
@ -0,0 +15,4 @@
BEGIN
ROLLBACK;
RESIGNAL;
END;
Sobra una tabulación de
BEGIN
aEND
.@ -0,0 +20,4 @@
SELECT iss.saleFk INTO vSaleFk
FROM itemShelvingSale iss
JOIN sale s ON s.id = iss.saleFk
WHERE iss.id = vSelf AND s.isAdded ;
START TRANSACTION
antes delSELECT
FOR UPDATE
@ -0,0 +31,4 @@
WHERE saleFk = vSaleFk AND isPicked;
IF vHasSalesPicked THEN
CALL util.throw('The sale can not be deleted with sales picked');
A sale with picked sales cannot be deleted