BRED#86842 Problemen bij exporteren van relaties en contactpersonen in BRED

svn path=/Database/trunk/; revision=67443
This commit is contained in:
Erik Groener
2024-12-19 11:22:41 +00:00
parent 18e8eac398
commit 2fbc120baa

View File

@@ -64,7 +64,7 @@ SELECT b.prs_bedrijf_naam Bedrijfsnaam
, prs_v_aanwezigbedrijf b
, alg_v_aanweziglocatie l
WHERE c.prs_bedrijf_key = b.prs_bedrijf_key
AND c.prs_perslid_key = u.prs_perslid_key
AND c.prs_perslid_key = u.prs_perslid_key(+)
AND c.prs_contactpersoon_key = p.prs_contactpersoon_key(+)
AND p.alg_locatie_key = l.alg_locatie_key(+)
AND c.prs_contactpersoon_verwijder IS NULL
@@ -126,6 +126,7 @@ SELECT b.prs_bedrijf_naam Bedrijfsnaam
AND l.prs_dienst_key = d.prs_dienst_key(+)
AND b.prs_bedrijf_verwijder IS NULL
AND r.prs_relatietype_verwijder IS NULL
AND b.prs_bedrijf_intern IS NULL
;
-- import: FIP: 9-Aanvullen van inspectiedefinities