From 11e6242a7f9aa1a6f17f91fab1660f73d144034b Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Tue, 12 Sep 2017 12:38:58 +0000 Subject: [PATCH] KFSG#41905 Veld actief toevoegen aan personen svn path=/Database/trunk/; revision=35278 --- FAC/FAC_IND.SRC | 3 +++ FAC/FAC_LCL.SRC | 6 ++++++ PRS/PRS_IND.SRC | 4 ++-- PRS/PRS_TAB.SRC | 4 +++- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/FAC/FAC_IND.SRC b/FAC/FAC_IND.SRC index ec7e4039..6c5e1f09 100644 --- a/FAC/FAC_IND.SRC +++ b/FAC/FAC_IND.SRC @@ -7,6 +7,8 @@ CREATE INDEX fac_i_audit_tabel1 ON fac_audit(fac_audit_tabelnaam, fac_audit_tabe CREATE UNIQUE INDEX fac_i_fac_bookmark1 ON fac_bookmark(fac_bookmark_id); +CREATE INDEX fac_i_fac_groep1 ON fac_groep(fac_groep_externid); + CREATE UNIQUE INDEX fac_i_fac_gebruikersgroep1 ON fac_gebruikersgroep(prs_perslid_key, fac_groep_key); CREATE INDEX fac_i_fac_selectie1 ON fac_selectie(fac_selectie_node,fac_selectie_tabel); @@ -20,6 +22,7 @@ create index fac_i_fac_perfmon_sample2 on fac_perfmon_sample(fac_perfmon_sample_ create index fac_i_fac_perfmon_sample3 on fac_perfmon_sample(prs_perslid_key); CREATE UNIQUE INDEX fac_i_srtnotificatie_code1 ON fac_srtnotificatie(fac_srtnotificatie_code); +CREATE UNIQUE INDEX fac_i_srtnotificatie_code2 on fac_srtnotificatie(fac_srtnotificatie_key, fac_srtnotificatie_xmlnode); CREATE INDEX fac_i_notificatie1 ON fac_notificatie(prs_perslid_key_receiver, fac_notificatie_status); CREATE INDEX fac_i_notificatie2 ON fac_notificatie(fac_srtnotificatie_key); diff --git a/FAC/FAC_LCL.SRC b/FAC/FAC_LCL.SRC index 58fc80a4..f1d99888 100644 --- a/FAC/FAC_LCL.SRC +++ b/FAC/FAC_LCL.SRC @@ -2598,6 +2598,7 @@ FAC_LCL('lcl_prs_bedrijfadres_type_o', 'Opdrachten', 'Orders') FAC_LCL('lcl_prs_bedrijfadres_type_o_other', 'Geen/Overige opdrachten', 'No/Misc. Orders') FAC_LCL('lcl_prs_bedrijfadres_type_c', 'Contracten', 'Contracts') FAC_LCL('lcl_prs_bedrijfadres_type_v', 'Voorraad info', 'Stock info') +FAC_LCL('lcl_prs_bedrijfadres_type_n', 'Notificaties', 'Notifications') FAC_LCL('lcl_prs_bedrijfadres_authmethod', 'Authenticatie mode', 'Authenticatie mode') FAC_LCL('lcl_prs_bedrijfadres_authmethodLOV', '0;Automatisch;1;Geforceerd Basic;2;Eigen HTTP header;3;Aan xml toevoegen', '0;Automatic;1;Forced Basic;2;Custom HTTP header;3;Add to xml') @@ -2618,7 +2619,9 @@ FAC_LCL('lcl_prs_bedrijfadres_encoding', 'Encoding', 'Encoding') FAC_LCL('lcl_prs_bedrijfadres_loglevel', 'Log level', 'Log level') FAC_LCL('lcl_prs_relatietype', 'Relatietype', 'Relation type') FAC_LCL('lcl_encoding_text_xml', 'text/xml', 'text/xml') +FAC_LCL('lcl_encoding_text_html', 'text/html', 'text/html') FAC_LCL('lcl_encoding_multipart_form', 'multipart/formdata', 'multipart/formdata') +FAC_LCL('lcl_encoding_application_json', 'application/json', 'application/json') COMMIT; @@ -2663,6 +2666,7 @@ FAC_LCL('lcl_prs_dept_name', 'Code', 'Code') FAC_LCL('lcl_prs_dept_desc', 'Omschrijving', 'Description') FAC_LCL('lcl_prs_dept_kosten', 'Kostenplaats', 'Account nr') FAC_LCL('lcl_prs_dept_company', 'Bedrijf', 'Company') +FAC_LCL('prs_afdeling_externid', 'Extern id', 'External id') FAC_LCL('lcl_prs_person_name', 'Naam', 'Name') FAC_LCL('lcl_prs_person_achternaam', 'Achternaam', 'Last name') FAC_LCL('lcl_prs_person_initials', 'Initialen', 'Initials') @@ -5520,6 +5524,7 @@ FAC_LCL('fac_groep', 'Autorisatiegroep', 'Authorisation group') FAC_LCL('fac_groep_m', 'Autorisatiegroepen', 'Authorisation groups') FAC_LCL('fac_groep_edit', 'Bewerk', 'Adjust') FAC_LCL('fac_groep_nn_leden', 'Aantal leden', 'Number of members') +FAC_LCL('fac_groep_externid', 'Extern id', 'External id') FAC_LCL('fac_gebruikersgroep', 'Groepslid', 'Group member') FAC_LCL('fac_gebruikersgroep_m', 'Groepsleden', 'Group members') @@ -5538,6 +5543,7 @@ FAC_LCL('prs_perslid', 'Persoon', 'Person') FAC_LCL('prs_perslid_m', 'Personen', 'Persons') FAC_LCL('prs_perslid_aanmaak', 'Aanmaakdatum', 'Creation date') FAC_LCL('prs_perslid_externid', 'Extern id', 'External id') +FAC_LCL('prs_perslid_inactief', 'Gedeactiveerd', 'Deactivated') FAC_LCL('fac_groeprechten', 'Rechten', 'Authorisations') diff --git a/PRS/PRS_IND.SRC b/PRS/PRS_IND.SRC index 3ff9aa53..333cac83 100644 --- a/PRS/PRS_IND.SRC +++ b/PRS/PRS_IND.SRC @@ -7,7 +7,7 @@ CREATE INDEX prs_i_prs_afdeling1 ON prs_afdeling(prs_afdeling_parentkey); CREATE INDEX prs_i_prs_afdeling2 ON prs_afdeling(prs_kostenplaats_key); -CREATE UNIQUE INDEX prs_i_prs_afdeling3 ON prs_afdeling(prs_afdeling_externid); +CREATE INDEX prs_i_prs_afdeling3 ON prs_afdeling(prs_afdeling_externid); CREATE INDEX prs_i_prs_bedrijfadres1 ON prs_bedrijfadres(prs_bedrijf_key); CREATE UNIQUE INDEX prs_i_prs_bedrijfadres2 ON prs_bedrijfadres(prs_bedrijf_key, prs_bedrijfadres_type, mld_typeopdr_key, alg_locatie_key, alg_district_key); @@ -19,7 +19,7 @@ CREATE INDEX prs_i_prs_perslid3 ON prs_perslid(prs_perslid_init_upper); CREATE INDEX prs_i_prs_perslid5 ON prs_perslid(prs_perslid_upper); CREATE INDEX prs_i_prs_perslid6 ON prs_perslid(prs_perslid_nr); CREATE UNIQUE INDEX prs_i_prs_perslid7 ON prs_perslid(prs_perslid_apikey); -CREATE UNIQUE INDEX prs_i_prs_perslid8 ON prs_perslid(prs_perslid_externid); +CREATE INDEX prs_i_prs_perslid8 ON prs_perslid(prs_perslid_externid); CREATE UNIQUE INDEX prs_i_prs_bedrijfbedrijf1 ON prs_bedrijf_bedrijf(prs_bedrijf_key1, prs_bedrijf_key2); CREATE INDEX prs_i_prscontactpersoon1 ON prs_contactpersoon(prs_bedrijf_key); diff --git a/PRS/PRS_TAB.SRC b/PRS/PRS_TAB.SRC index f725b46f..00507154 100644 --- a/PRS/PRS_TAB.SRC +++ b/PRS/PRS_TAB.SRC @@ -260,7 +260,7 @@ CREATE_TABLE(prs_bedrijfadres, 0) ( NUMBER(3) DEFAULT 0 NOT NULL, - prs_bedrijfadres_encoding /* 0=text/xml, 1=multipart/form-data */ + prs_bedrijfadres_encoding /* 0=text/xml, 1=multipart/form-data, 2=application/json, , 3=text/html */ NUMBER(3) DEFAULT 0 NOT NULL, @@ -634,6 +634,8 @@ CREATE_TABLE(prs_perslid,0) prs_perslid_verwijder DATE DEFAULT NULLDATUM, + prs_perslid_inactief + DATE, prs_perslid_options // JSON VARCHAR2(4000), prs_perslid_credentials_datum /* wanneer voor het laatst gewijzigd. Oudere sessie ongeldig */