Merge pull request 'fix: refs 197934 add alias' (!2643) from 195937-hotfix-addAlias into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2643
Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
Jorge Penadés 2024-06-26 15:25:14 +00:00
commit cdcb347b05
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.item i ON i.id = s.itemFk
JOIN vn.intrastat ir ON ir.id = i.intrastatFk
)SELECT SUM(t.packages),
)SELECT SUM(t.packages) packages,
a.incotermsFk,
ic.name incotermsName,
MAX(t.weight) weight,