PCHX#61916 -- Bedrijven zonder technisch adres ook synchroniseren

svn path=/Customer/trunk/; revision=46344
This commit is contained in:
Arthur Egberink
2020-03-24 08:44:07 +00:00
parent c2a08a2a46
commit 655caef14c

View File

@@ -1,4 +1,4 @@

-- $Id$
--
-- Script containing customer specific db-configuration for PCHD.
@@ -1332,7 +1332,7 @@ BEGIN
FOR recwerkplek IN cwerkplek
LOOP
BEGIN
-- Maximaal <20><>n werkplek per gebouw
-- Maximaal <20><>n werkplek per gebouw
prs.movetoruimte (recwerkplek.prs_perslid_key, recwerkplek.alg_ruimte_key, 'G', 0);
END;
END LOOP;
@@ -1838,7 +1838,7 @@ SELECT '"' || b.prs_bedrijf_key || '";"' ||
prs_kenmerklink kl,
prs_perslid lu,
mld_typeopdr ot
WHERE b.prs_bedrijf_key = ba.prs_bedrijf_key
WHERE b.prs_bedrijf_key = ba.prs_bedrijf_key(+)
AND b.prs_relatietype_key = rt.prs_relatietype_key(+)
AND ba.prs_bedrijfadres_lockuser_key = lu.prs_perslid_key(+)
AND ba.mld_typeopdr_key = ot.mld_typeopdr_key(+)
@@ -2096,8 +2096,8 @@ AS
--AND r.datum = SYSDATE
AND r.bostatus = 'Geregistreerd'
ORDER BY x.row_num;
--PCHD#61367: Rapportage met taken, ook niet geplande taken tonen
CREATE OR REPLACE VIEW pchd_v_rap_deelinspect
(