PZEE#90571 Mailfout bij leveringen: Bestellingen niet doorgestuurd naar leverancier
svn path=/Customer/trunk/; revision=70254
This commit is contained in:
@@ -1306,23 +1306,12 @@ AS
|
||||
res_disc_params_expire_tijd,
|
||||
1))
|
||||
bestelling_voor_originieel, --- we bestellen na de wijzigingshorizon! Dus trekken we er weer een dag vanaf
|
||||
CASE
|
||||
WHEN (TO_CHAR (rar.res_rsv_artikel_levering, 'd') = 2) --- zie PZEE#90449 de bestellingen voor maandag gaan nu een dag te laat de deur uit, dus indien maandag dan moeten we (tijdelijk) een dag extra terug
|
||||
THEN
|
||||
(TRUNC (fac.datumtijdplusuitvoertijd (SYSDATE,
|
||||
res_disc_params_expire_dagen - 2,
|
||||
'DAGEN',
|
||||
t1,
|
||||
res_disc_params_expire_tijd,
|
||||
1)))
|
||||
ELSE
|
||||
TRUNC (fac.datumtijdplusuitvoertijd (SYSDATE,
|
||||
res_disc_params_expire_dagen - 1,
|
||||
'DAGEN',
|
||||
t1,
|
||||
res_disc_params_expire_tijd,
|
||||
1))
|
||||
END
|
||||
TRUNC (fac.datumtijdplusuitvoertijd (TRUNC (SYSDATE + 1), ---- zie PZEE#90449
|
||||
res_disc_params_expire_dagen - 1,
|
||||
'DAGEN',
|
||||
t1,
|
||||
res_disc_params_expire_tijd,
|
||||
1))
|
||||
AS bestelling_voor
|
||||
FROM res_rsv_artikel rar,
|
||||
res_artikel art,
|
||||
|
||||
Reference in New Issue
Block a user