diff --git a/entity/DSGVOInfo_entity/DSGVOInfo_entity.aod b/entity/DSGVOInfo_entity/DSGVOInfo_entity.aod index f02d4a258b934aad28c371e8616aece7b3dc9227..08596bfcc41d3f5c3bb5bfef632e612f12812a61 100644 --- a/entity/DSGVOInfo_entity/DSGVOInfo_entity.aod +++ b/entity/DSGVOInfo_entity/DSGVOInfo_entity.aod @@ -23,6 +23,7 @@ <consumer>KeywordGuarantee</consumer> <mandatoryProcess>%aditoprj%/entity/DSGVOInfo_entity/entityfields/guarantee/mandatoryProcess.js</mandatoryProcess> <stateProcess>%aditoprj%/entity/DSGVOInfo_entity/entityfields/guarantee/stateProcess.js</stateProcess> + <displayValueProcess>%aditoprj%/entity/DSGVOInfo_entity/entityfields/guarantee/displayValueProcess.js</displayValueProcess> </entityField> <entityField> <name>DATASOURCE</name> @@ -112,6 +113,7 @@ <title>Transmission</title> <consumer>KeywordTransmission</consumer> <mandatory v="true" /> + <displayValueProcess>%aditoprj%/entity/DSGVOInfo_entity/entityfields/transmission/displayValueProcess.js</displayValueProcess> <onValueChange>%aditoprj%/entity/DSGVOInfo_entity/entityfields/transmission/onValueChange.js</onValueChange> <onValueChangeTypes> <element>MASK</element> diff --git a/entity/DSGVOInfo_entity/entityfields/guarantee/displayValueProcess.js b/entity/DSGVOInfo_entity/entityfields/guarantee/displayValueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..a0b1a31ab4187bf910a39eee429d48379d84c430 --- /dev/null +++ b/entity/DSGVOInfo_entity/entityfields/guarantee/displayValueProcess.js @@ -0,0 +1,6 @@ +import("system.result"); +import("system.vars"); +import("Keyword_lib"); +import("KeywordRegistry_basic"); + +result.string(KeywordUtils.getViewValue($KeywordRegistry.dsgvoGuarantee(), vars.get("$field.GUARANTEE"))); diff --git a/entity/DSGVOInfo_entity/entityfields/transmission/displayValueProcess.js b/entity/DSGVOInfo_entity/entityfields/transmission/displayValueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..77d6d54a39f226790b7a161736c1325c093c5085 --- /dev/null +++ b/entity/DSGVOInfo_entity/entityfields/transmission/displayValueProcess.js @@ -0,0 +1,6 @@ +import("system.result"); +import("system.vars"); +import("Keyword_lib"); +import("KeywordRegistry_basic"); + +result.string(KeywordUtils.getViewValue($KeywordRegistry.dsgvoTransmission(), vars.get("$field.TRANSMISSION"))); diff --git a/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/guarantee.displayvalue/expression.js b/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/guarantee.displayvalue/expression.js index b51d9069c3f21fd773d59657203ad8d3f6bd4928..62c4b7fe22d6b2dd218a12fabc77bf9be3658fde 100644 --- a/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/guarantee.displayvalue/expression.js +++ b/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/guarantee.displayvalue/expression.js @@ -1,6 +1 @@ -import("system.result"); -import("Keyword_lib"); -import("KeywordRegistry_basic"); - -var sql = KeywordUtils.getResolvedTitleSqlPart($KeywordRegistry.dsgvoGuarantee(), "DSGVOINFO.GUARANTEE"); -result.string(sql); +//temporarly removed since this process woul'd cause problems when generating an GDPR report //TODO: reenable this process \ No newline at end of file diff --git a/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/transmission.displayvalue/expression.js b/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/transmission.displayvalue/expression.js index 1cd3f3f3f243503eed32b959c33a61c46004d277..62c4b7fe22d6b2dd218a12fabc77bf9be3658fde 100644 --- a/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/transmission.displayvalue/expression.js +++ b/entity/DSGVOInfo_entity/recordcontainers/db/recordfieldmappings/transmission.displayvalue/expression.js @@ -1,6 +1 @@ -import("system.result"); -import("Keyword_lib"); -import("KeywordRegistry_basic"); - -var sql = KeywordUtils.getResolvedTitleSqlPart($KeywordRegistry.dsgvoTransmission(), "DSGVOINFO.TRANSMISSION"); -result.string(sql); +//temporarly removed since this process woul'd cause problems when generating an GDPR report //TODO: reenable this process \ No newline at end of file