VEBE#76143 Vraag over toevoeging extra kolom in rapport excl mutaties
svn path=/Customer/trunk/; revision=58739
This commit is contained in:
@@ -964,6 +964,7 @@ CREATE OR REPLACE VIEW vebe_rap_wagenpark
|
||||
cnt_lease_looptijd_van,
|
||||
cnt_lease_looptijd_tot,
|
||||
cnt_lease_looptijd_mnd,
|
||||
cnt_lease_eerstedatum,
|
||||
perc_lease_duur,
|
||||
lease_weken_tegaan,
|
||||
cnt_lease_rappeldatum,
|
||||
@@ -1045,6 +1046,14 @@ AS SELECT
|
||||
cnt_lease_looptijd_van,
|
||||
cnt_lease_looptijd_tot,
|
||||
cnt_lease_looptijd_mnd,
|
||||
(SELECT MIN (TRUNC (c.cnt_contract_aanmaak))
|
||||
FROM cnt_contract c, cnt_contract_object co
|
||||
WHERE c.cnt_contract_key = co.cnt_contract_key
|
||||
AND co.cnt_contract_object_verwijder IS NULL
|
||||
AND co.cnt_ins_deel_key = tmp.ins_deel_key
|
||||
AND c.cnt_contract_verwijder IS NULL
|
||||
AND c.ins_discipline_key = tmp.lease_disc_key)
|
||||
AS cnt_lease_eerstedatum,
|
||||
perc_lease_duur,
|
||||
lease_weken_tegaan,
|
||||
cnt_lease_rappeldatum,
|
||||
|
||||
Reference in New Issue
Block a user