Merge branch 'master' into hotfix-postCodeACLS
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-09-20 12:38:35 +00:00
commit 8523ec1b8a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ BEGIN
DECLARE vTicketLines INT;
WITH ticketData AS(
SELECT s.ticketFk
SELECT DISTINCT s.ticketFk
FROM vn.saleGroupDetail sgd
JOIN vn.sale s ON s.id = sgd.saleFk
WHERE sgd.saleGroupFk = vSaleGroupFk