BRED#86842 Problemen bij exporteren van relaties en contactpersonen in BRED
svn path=/Database/trunk/; revision=67443
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user