FCLT#77389 Facilitor reserveringen herkennen, en niet verwijderen als zijnde niet bestaand bij een import
FCLT#77314 Kleine aanpassingen svn path=/Database/branches/DB44/; revision=59732
This commit is contained in:
@@ -1575,13 +1575,10 @@ AS
|
||||
AND gelukt IS NULL;
|
||||
|
||||
fac.imp_writelog (p_import_key,
|
||||
'E',
|
||||
'W',
|
||||
v_aanduiding,
|
||||
'Deze exacte reservering is al bekend in Facilitor -> Geen boeking.');
|
||||
CONTINUE;
|
||||
WHEN OTHERS
|
||||
THEN
|
||||
RAISE;
|
||||
END;
|
||||
|
||||
IF (v_debug)
|
||||
@@ -1731,7 +1728,12 @@ AS
|
||||
res_rsv_ruimte_volgnr
|
||||
FROM res_rsv_ruimte rr, res_ruimte_opstelling ro, res_ruimte r
|
||||
WHERE rr.res_rsv_ruimte_externnr IS NOT NULL
|
||||
AND INSTR(rr.res_rsv_ruimte_externnr, rr.res_rsv_ruimte_externnr2) IS NULL -- Sluit Facilitor reserveringen uit bij S(msgraph_sync_level) = 3
|
||||
AND ( (SELECT BITAND ( COALESCE (fac_setting_pvalue, fac_setting_default), 6)
|
||||
FROM fac_setting
|
||||
WHERE fac_setting_name = 'msgraph_sync_level') = 4
|
||||
OR ( rr.res_rsv_ruimte_externnr IS NOT NULL
|
||||
AND rr.res_rsv_ruimte_externnr2 IS NULL
|
||||
AND rr.res_rsv_ruimte_externsyncdate IS NOT NULL))
|
||||
AND rr.res_rsv_ruimte_verwijder IS NULL
|
||||
AND rr.res_rsv_ruimte_van >=
|
||||
(SELECT MIN (starttime) FROM this_import)
|
||||
|
||||
Reference in New Issue
Block a user