Merge pull request 'ticket #167473 Hotfix' (!2191) from ticket167473-hotfix into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2191
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Guillermo Bonet 2024-03-21 12:45:28 +00:00
commit 6dff42a45d
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;