refactor(ti import): made a change to look at the loading date vs the delivery date
This commit is contained in:
@@ -139,7 +139,8 @@ on
|
||||
ac.pkgId = pkg.pkgId
|
||||
|
||||
WHERE AbrufStatus = 1
|
||||
and AbrufLiefertermin between DATEADD(HOUR, -[from], getdate()) and DATEADD(HOUR, [to], getdate())-- this number will be grabbed from the db with a default of 24hours
|
||||
--and AbrufLiefertermin between DATEADD(HOUR, -[from], getdate()) and DATEADD(HOUR, [to], getdate())-- this number will be grabbed from the db with a default of 24hours
|
||||
and AbrufLadeDatum between DATEADD(HOUR, -[from], getdate()) and DATEADD(HOUR, [to], getdate())-- this number will be grabbed from the db with a default of 24hours
|
||||
and deliveryContionAbv not in ('EXW')
|
||||
|
||||
--ORDER BY AbrufLiefertermin)
|
||||
|
||||
Reference in New Issue
Block a user