AAIT#38900 -- Afhandelen meldingen vorig jaar IT

svn path=/Customer/trunk/; revision=32283
This commit is contained in:
Arthur Egberink
2017-01-09 16:10:55 +00:00
parent 61a6626e8c
commit e8ef815211

View File

@@ -1881,13 +1881,10 @@ AS
),
'IT', DECODE (coalesce (to_char(o.mld_opdr_datumbegin, 'yyyy'), coalesce(to_char(c.cnt_contract_looptijd_tot,'yyyy'), to_char(bo.bes_bestelopdr_datum, 'yyyy'))),
'2017', k.prs_kostensoort_refcode,
DECODE (lk.prs_kostenplaats_nr,
'2000700',
DECODE (substr(k.prs_kostensoort_upper,1,2), 'CF', '1350822',
'CV', '1350823',
'NC', DECODE (substr(k.prs_kostensoort_upper,1,7), 'NC PROJ', '1350817', '1350824'),
'Onbekend'),
'1350800')
DECODE (substr(k.prs_kostensoort_upper,1,2), 'CF', '1350822',
'CV', '1350823',
'NC', DECODE (substr(k.prs_kostensoort_upper,1,7), 'NC PROJ', '1350817', '1350824'),
k.prs_kostensoort_refcode)
),
'LB', DECODE (coalesce (to_char(o.mld_opdr_datumbegin, 'yyyy'), coalesce(to_char(c.cnt_contract_looptijd_tot,'yyyy'), to_char(bo.bes_bestelopdr_datum, 'yyyy'))),
'2017', k.prs_kostensoort_refcode,