AAEY#41952 voorbije contracten niet versturen
svn path=/Database/trunk/; revision=35298
This commit is contained in:
@@ -557,6 +557,8 @@ AS
|
||||
AND c.cnt_contract_key = cp.cnt_contract_key(+)
|
||||
AND cp.cnt_alg_plaats_key = l.alg_locatie_key(+)
|
||||
AND EXISTS (SELECT '' FROM prs_bedrijfadres ba WHERE ba.prs_bedrijf_key = b.prs_bedrijf_key AND ba.prs_bedrijfadres_type = 'C')
|
||||
AND cnt_contract_verwijder IS NULL
|
||||
AND cnt_contract_looptijd_tot > SYSDATE
|
||||
AND c.cnt_contract_teverzenden = 1;
|
||||
|
||||
// PLANMATIG ONDERHOUDS views (OPROGNOSE)
|
||||
|
||||
Reference in New Issue
Block a user