feat(datamart): new query to check if the city state will be valid to process in tms
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export const validateCityState = `
|
||||
select IdAdressen addressID,
|
||||
x.Bezeichnung as name,
|
||||
c.Bezeichnung as deliveryCondition,
|
||||
c.Kurzbezeichnung as Abbreviation,
|
||||
ort as cityState
|
||||
--,*
|
||||
from AlplaPROD_test1.dbo.t_Adressen (nolock) x
|
||||
left join
|
||||
AlplaPROD_test1.[dbo].[T_Lieferkonditionen] (nolock) c
|
||||
on x.IdLieferkondition = c.IdLieferkondition
|
||||
|
||||
WHERE c.Kurzbezeichnung not in ('exw') and ort not like '%,%'
|
||||
`;
|
||||
Reference in New Issue
Block a user