ARBO#87290 -- OpschonenNotAbsoluta.js vervangen voor 2025.1 Release

svn path=/Customer/trunk/; revision=67706
This commit is contained in:
Arthur Egberink
2025-01-23 12:54:44 +00:00
parent 7571a8e6de
commit 6683eab220

View File

@@ -2092,6 +2092,29 @@ AS
AND (fac.safe_to_date (ckc.cnt_kenmerkcontract_waarde, 'DD-MM-YYYY') BETWEEN
TRUNC (SYSDATE) AND TRUNC (SYSDATE+6));
CREATE OR REPLACE PROCEDURE arbo_pre_putorders
AS
BEGIN
-- Verwijder de notificaties van 1241 Catering en 1841 Geschenken Deze notificaties komen al via Absoluta. Melding ARBO#66539 vraagt
-- om een structurele oplossing.
DELETE fac_notificatie WHERE fac_notificatie_key IN (
SELECT DISTINCT fac_notificatie_key
FROM fac_notificatie n,
fac_srtnotificatie sn,
bes_bestelling_item bi,
bes_srtdeel sd,
bes_srtgroep sg
WHERE n.fac_srtnotificatie_key = sn.fac_srtnotificatie_key
AND sn.fac_srtnotificatie_xmlnode = 'bestelling'
AND n.fac_notificatie_refkey = bi.bes_bestelling_key
AND bi.bes_srtdeel_key = sd.bes_srtdeel_key
AND sd.bes_srtgroep_key = sg.bes_srtgroep_key
AND sg.ins_discipline_key IN (1241, 1841));
END arbo_pre_putorders;
/
------ payload end ------
SET DEFINE OFF