SGGR#69045 save-before-test
svn path=/Customer/trunk/; revision=53503
This commit is contained in:
@@ -551,15 +551,15 @@ AS
|
||||
x.cnt_contract_termijnkosten,
|
||||
x.cnt_prs_bedrijf_key,
|
||||
DECODE (x.cnt_prs_bedrijf_key,
|
||||
1062, 0.7,
|
||||
1901, 0.7,
|
||||
1061, 0.7,
|
||||
2901, 0.7,
|
||||
1073, 3.3,
|
||||
0.7) indexpct -- Voor 2020: 0,7%, voor AAFM (1062) 0,7%, voor YASKS(1901)/(1061)/VEBE (2901) 0,7%, UWVA (1073) 3,3%
|
||||
1062, 2,
|
||||
1901, 2,
|
||||
1061, 2,
|
||||
2901, 2,
|
||||
1073, 2,
|
||||
2) indexpct -- Voor 2021: 2%, voor AAFM (1062), YASKS(1901)/(1061)/VEBE(2901), UWVA (1073)
|
||||
FROM (SELECT c.*
|
||||
FROM cnt_v_aanwezigcontract c
|
||||
WHERE c.ins_discipline_key IN (481, 482, 501) -- SaaS/Onderhoud/Care
|
||||
WHERE c.ins_discipline_key IN (481, 482, 501, 661) -- SaaS/Onderhoud/Care/Specials
|
||||
AND c.cnt_contract_status = 0 -- NIET Gesloten!
|
||||
AND NOT EXISTS -- Beschouw alleen laatste versie van contracten
|
||||
(SELECT 1
|
||||
@@ -586,7 +586,7 @@ AS
|
||||
|
||||
|
||||
|
||||
c_splitsindexdatum DATE := TO_DATE ('01012021', 'ddmmyyyy');
|
||||
c_splitsindexdatum DATE := TO_DATE ('01012022', 'ddmmyyyy');
|
||||
v_errorhint VARCHAR2 (1000);
|
||||
v_errormsg VARCHAR2 (1000);
|
||||
oracle_err_num NUMBER;
|
||||
@@ -730,10 +730,10 @@ BEGIN
|
||||
AND ( sk.cnt_srtkenmerk_key = 241 -- Hosting
|
||||
OR ( sk.cnt_srtkenmerk_key = 221 -- Tarief Consultant
|
||||
AND rc.cnt_contract_nummer_intern NOT IN
|
||||
(42, 16)) -- ...behalve voor AAFM/AAIT, UWVA=> handmatig
|
||||
(16)) -- ...behalve voor UWVA=> handmatig
|
||||
OR ( sk.cnt_srtkenmerk_key = 222 -- Tarief Specialist
|
||||
AND rc.cnt_contract_nummer_intern NOT IN
|
||||
(42, 16)) -- ...behalve voor AAFM/AAIT, UWVA=> handmatig
|
||||
(16)) -- ...behalve voor UWVA=> handmatig
|
||||
OR sk.cnt_srtkenmerk_upper LIKE '%PRIJS%')
|
||||
ORDER BY k.cnt_kenmerk_volgnummer)
|
||||
LOOP
|
||||
@@ -800,12 +800,14 @@ BEGIN
|
||||
DECODE (ins_discipline_key,
|
||||
481, 12,
|
||||
501, 12,
|
||||
661, 12,
|
||||
482, 1)
|
||||
* cnt_contract_termijnkosten,
|
||||
cnt_contract_termijntermijn =
|
||||
DECODE (ins_discipline_key,
|
||||
481, 3,
|
||||
501, 3,
|
||||
661, 3,
|
||||
482, 10) -- mnd/mnd/jr
|
||||
WHERE cnt_contract_key = v_new_contract_key;
|
||||
|
||||
@@ -814,7 +816,7 @@ BEGIN
|
||||
-- 481=Totaal contractbedrag/mnd
|
||||
-- 482=Totaal contractbedrag/jaar
|
||||
v_errorhint := 'Fout bij bijwerken berekende velden.';
|
||||
|
||||
-- alleen bij 481??
|
||||
IF rc.ins_discipline_key = 481 -- FACILITOR SaaS
|
||||
THEN
|
||||
upsert_cntkenmerk (v_new_contract_key, 481, -- Totaal contractbedrag/mnd
|
||||
|
||||
Reference in New Issue
Block a user