KFNS#56620 Rap+Noti/Openstaande NT-opdrachten
svn path=/Customer/trunk/; revision=42481
This commit is contained in:
@@ -10795,7 +10795,7 @@ AS
|
||||
prs_bedrijf b
|
||||
WHERE m.mld_stdmelding_key = sm.mld_stdmelding_key
|
||||
AND sm.mld_ins_discipline_key = md.ins_discipline_key
|
||||
AND md.ins_discipline_key IN (45, 53) -- Gebouw- & installatieonderhoud
|
||||
AND md.ins_discipline_key IN (45, 53) -- Gebouw- & installatieonderhoud (S+A)
|
||||
AND md.ins_srtdiscipline_key = sd.ins_srtdiscipline_key
|
||||
AND m.prs_perslid_key_voor = pm.prs_perslid_key
|
||||
--AND m.mld_melding_status = ms.mld_statuses_key
|
||||
@@ -10805,7 +10805,7 @@ AS
|
||||
AND ok.alg_kenmerk_key = 1580 -- WMT contactpersoon
|
||||
AND m.mld_melding_key = o.mld_melding_key
|
||||
AND o.mld_typeopdr_key = ot.mld_typeopdr_key
|
||||
AND ot.mld_typeopdr_key IN (281, 282, 284) -- Mandaatopdracht/Contractopdracht/Offerteopdracht
|
||||
AND ot.mld_typeopdr_key IN (281, 282, 284, 302) -- Mandaatopdracht/Contractopdracht/Offerteopdracht/Interne opdracht
|
||||
AND o.mld_statusopdr_key = os.mld_statusopdr_key
|
||||
AND os.mld_statusopdr_key IN (3, 4, 5, 8, 10)
|
||||
AND o.prs_perslid_key = pb.prs_perslid_key
|
||||
|
||||
Reference in New Issue
Block a user