GDZW#65520 Grenswaarde van 5% ingesteld bij de personen import

svn path=/Customer/trunk/; revision=49643
This commit is contained in:
Sander Schepers
2021-02-02 15:24:58 +00:00
parent 7b42d098bd
commit f7efd28ffa

View File

@@ -442,7 +442,7 @@ IS
-- LET OP: moet idem zijn als declaratie bij gdzw_IMPORT_PRS
c_persoon_inactief VARCHAR2 (30) := 'INACTIEF: ';
-- Maximaal percentage aan nieuwe medewerkers tov. actieve medewerkers met een nummer
c_max_delta_percentage NUMBER (10) := 20;
c_max_delta_percentage NUMBER (10) := 5;
-- Ruimte waar personen in geplaatst worden (indien nog geen ruimte in opgegeven gebouw)
c_gebouw_code VARCHAR2 (10) := 'ZAVUR';
c_ruimte_nr VARCHAR2 (10) := '999';
@@ -596,9 +596,11 @@ BEGIN
WHERE prs_perslid_oslogin IS NOT NULL;
IF ( (TRUNC ( (v_count_prs_import / v_count_prs_actual) * 100) >=
(100 - c_max_delta_percentage))--OR (TRUNC ( (v_count_prs_import / v_count_prs_actual) * 100) <=
-- (100 + c_max_delta_percentage))
)
(100 - c_max_delta_percentage)
AND v_count_prs_import <= v_count_prs_actual)
OR (TRUNC ( (v_count_prs_import / v_count_prs_actual) * 100) <=
(100 + c_max_delta_percentage)
AND v_count_prs_import >= v_count_prs_actual))
THEN
-- v_errorhint := 'Fout bij bepalen standaardgebouw';