fix: refs #7611 & ticket195937 incoterms #2613
Labels
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2613
Loading…
Reference in New Issue
No description provided.
Delete Branch "195937-icoterms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -48,5 +48,10 @@ SELECT pack.packages,
FROM ticket
WHERE refFk = ?
) pack
JOIN (
Por que creas otro JOIN si lo puedes añadir en:
Cambiale el nombre al alias
fix: refs #195937 icotermsto WIP: fix: refs #195937 icotermsWIP: fix: refs #195937 icotermsto fix: refs #195937 icoterms@ -53,0 +1,4 @@
WITH tickets AS(
SELECT id, packages, addressFk, weight
FROM ticket
WHERE refFk='E12400228'
refFk a pel??
@ -53,0 +34,4 @@
LEFT JOIN vn.customsAgent ca ON ca.id = a.customsAgentFk
JOIN volume v
JOIN intrastat i
LEFT JOIN weight w ON TRUE
Per que no gastes JOIN?
Aixina no tens que ficar ON true
@ -53,0 +32,4 @@
JOIN vn.address a ON a.id = t.addressFk
JOIN vn.incoterms ic ON ic.code = a.incotermsFk
LEFT JOIN vn.customsAgent ca ON ca.id = a.customsAgentFk
JOIN volume v
ací no hi ha un ON? ara esta agafant tots els registres de la taula ticket
Las tablas volume y instrastat no son tablas reales son del WITH
@ -53,0 +33,4 @@
JOIN vn.incoterms ic ON ic.code = a.incotermsFk
LEFT JOIN vn.customsAgent ca ON ca.id = a.customsAgentFk
JOIN volume v
JOIN intrastat i
ací no hi ha un ON? ara esta agafant tots els registres de la taula ticket
Las tablas volume y instrastat no son tablas reales son del WITH
fix: refs #195937 icotermsto fix: refs #7611 & ticket195937 icotermsfix: refs #7611 & ticket195937 icotermsto fix: refs #7611 & ticket195937 incoterms