diff --git a/entity/UnlinkedMailMappingLink_entity/recordcontainers/jdito/onInsert.js b/entity/UnlinkedMailMappingLink_entity/recordcontainers/jdito/onInsert.js index 9e1560a292a218d418788217d794c18114d11a7f..80412b871ce420582b9b7db8139983f9027ccdb5 100644 --- a/entity/UnlinkedMailMappingLink_entity/recordcontainers/jdito/onInsert.js +++ b/entity/UnlinkedMailMappingLink_entity/recordcontainers/jdito/onInsert.js @@ -1,9 +1,9 @@ -import("system.datetime"); +import("system.util"); +import("Sql_lib"); +import("system.db"); +import("DataPrivacy_lib"); +import("system.vars"); -/* In this process here basically nothing happens because everything is done within the UnlinkedMailMappingWrapper. - * To make the UnlinkedMailMappingLink_entity NOT read only we've to specify some code (comments excluded). This seems (and IS) odd but it's currenty - * the only way to do the job - * If you wan't more information about the entity and why it exists like this: See the documentation of the entity. - * - * Tl;dr; do not remove the following line: */ -datetime.date(); \ No newline at end of file +var rowdata = vars.get("$local.rowdata") +var contactId = rowdata["CONTACT_ID.value"] +DataPrivacyUtils.notifyNeedDataPrivacyUpdate(contactId); \ No newline at end of file