ticket #167473 Hotfix #2191

Merged
guillermo merged 2 commits from ticket167473-hotfix into master 2024-03-21 12:45:29 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ BEGIN
ENGINE = MEMORY
SELECT Id_Ticket
FROM vn2008.Tickets t
JOIN vn.invoiceOut io ON io.id = t.Factura
JOIN vn.invoiceOut io ON io.`ref` = t.Factura
WHERE year(io.issued) = vYear
AND month(io.issued) = vMonth;