Merge DB40f patches

svn path=/Database/trunk/; revision=52715
This commit is contained in:
Jos Groot Lipman
2021-08-17 13:01:49 +00:00
parent c2073bb400
commit 1e210e11b4
4 changed files with 25 additions and 2 deletions

View File

@@ -553,6 +553,15 @@ CREATE OR REPLACE PACKAGE BODY cnt AS
flx.deleteflexbijlage (ref_bijlagen.fac_bijlagen_key);
END LOOP;
FOR ref_mldopdr IN (SELECT mld_opdr_key
FROM mld_opdr
WHERE cnt_contract_key = p_contract_key
)
LOOP
-- Verwijder melding-opdrachten die aan dit contract zitten.
mld.remove_opdr(ref_mldopdr.mld_opdr_key);
END LOOP;
DELETE FROM cnt_contract
WHERE cnt_contract_key = p_contract_key;