fix: refs 197934 add alias #2643

Merged
jorgep merged 1 commits from 195937-hotfix-addAlias into master 2024-06-26 15:25:15 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ SELECT GROUP_CONCAT(DISTINCT ir.description ORDER BY ir.description SEPARATOR '
JOIN vn.sale s ON t.id = s.ticketFk JOIN vn.sale s ON t.id = s.ticketFk
JOIN vn.item i ON i.id = s.itemFk JOIN vn.item i ON i.id = s.itemFk
JOIN vn.intrastat ir ON ir.id = i.intrastatFk JOIN vn.intrastat ir ON ir.id = i.intrastatFk
)SELECT SUM(t.packages), )SELECT SUM(t.packages) packages,
a.incotermsFk, a.incotermsFk,
ic.name incotermsName, ic.name incotermsName,
MAX(t.weight) weight, MAX(t.weight) weight,