DPHM#89651 -- Import personen update met leidinggevende, functie, afdeling kenmerken mapping
svn path=/Customer/trunk/; revision=69958
This commit is contained in:
@@ -148,29 +148,29 @@ BEGIN
|
||||
WHERE prs_perslid_oslogin IS NOT NULL;
|
||||
|
||||
/* ASTE#82955 Afsplitsing Astellas Meppel --> Delpharm het aantal zal veel minder zijn, dus deze controle tijdelijk eruit! */
|
||||
-- IF (TRUNC ( (v_count_prs_import / v_count_prs_actual) * 100) <
|
||||
-- (100 - c_max_delta_percentage))
|
||||
-- THEN
|
||||
-- fac.imp_writelog (
|
||||
-- p_import_key,
|
||||
-- 'E',
|
||||
-- 'Verschil tussen huidig aantal en te importeren aantal personen te groot; zie specificatie!',
|
||||
-- '- max. verschilpercentage = ['
|
||||
-- || TO_CHAR (c_max_delta_percentage)
|
||||
-- || '%]'
|
||||
-- || CHR (13)
|
||||
-- || CHR (10)
|
||||
-- || '- #personen/import = ['
|
||||
-- || TO_CHAR (v_count_prs_import)
|
||||
-- || ']'
|
||||
-- || CHR (13)
|
||||
-- || CHR (10)
|
||||
-- || '- #personen/huidig = ['
|
||||
-- || TO_CHAR (v_count_prs_actual)
|
||||
-- || ']');
|
||||
--
|
||||
-- RETURN;
|
||||
-- END IF;
|
||||
IF (TRUNC ( (v_count_prs_import / v_count_prs_actual) * 100) <
|
||||
(100 - c_max_delta_percentage))
|
||||
THEN
|
||||
fac.imp_writelog (
|
||||
p_import_key,
|
||||
'E',
|
||||
'Verschil tussen huidig aantal en te importeren aantal personen te groot; zie specificatie!',
|
||||
'- max. verschilpercentage = ['
|
||||
|| TO_CHAR (c_max_delta_percentage)
|
||||
|| '%]'
|
||||
|| CHR (13)
|
||||
|| CHR (10)
|
||||
|| '- #personen/import = ['
|
||||
|| TO_CHAR (v_count_prs_import)
|
||||
|| ']'
|
||||
|| CHR (13)
|
||||
|| CHR (10)
|
||||
|| '- #personen/huidig = ['
|
||||
|| TO_CHAR (v_count_prs_actual)
|
||||
|| ']');
|
||||
|
||||
RETURN;
|
||||
END IF;
|
||||
|
||||
-- Generieke update.
|
||||
-- Match op 'e-mail'
|
||||
@@ -202,7 +202,7 @@ BEGIN
|
||||
END LOOP;
|
||||
|
||||
|
||||
Verwijder personen die niet meer in de import voorkomen.
|
||||
-- Verwijder personen die niet meer in de import voorkomen.
|
||||
FOR rec IN c_del
|
||||
LOOP
|
||||
prs.delete_perslid (p_import_key, rec.prs_perslid_key);
|
||||
|
||||
Reference in New Issue
Block a user