HMOD#58494 -- Managementrapport voor Telefoongids toevoegen
svn path=/Customer/trunk/; revision=45637
This commit is contained in:
@@ -1230,7 +1230,7 @@ AS
|
||||
b.prs_bedrijf_email AS contact_email,
|
||||
'nvt' AS functie
|
||||
FROM prs_bedrijf b
|
||||
WHERE b.prs_bedrijf_ingids IS NOT NULL
|
||||
WHERE b.prs_bedrijf_ingids IS NULL
|
||||
AND b.prs_bedrijf_verwijder IS NULL
|
||||
UNION ALL
|
||||
SELECT 1 AS soort,
|
||||
@@ -1241,7 +1241,7 @@ AS
|
||||
c.prs_contactpersoon_email AS contact_email,
|
||||
c.prs_contactpersoon_functie AS functie
|
||||
FROM prs_bedrijf b, prs_contactpersoon c
|
||||
WHERE b.prs_bedrijf_ingids IS NOT NULL
|
||||
WHERE b.prs_bedrijf_ingids IS NULL
|
||||
AND b.prs_bedrijf_verwijder IS NULL
|
||||
AND b.prs_bedrijf_key = c.prs_bedrijf_key
|
||||
AND c.prs_contactpersoon_verwijder IS NULL) v
|
||||
|
||||
Reference in New Issue
Block a user