fix: acls #2999

Merged
jsegarra merged 4 commits from hotfix-postCodeACLS into master 2024-09-20 12:40:29 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8523ec1b8a - Show all commits

View File

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