From 86d0e9173f4ec2db2eb55caaf85fe75c5ef9d0a6 Mon Sep 17 00:00:00 2001 From: "j.goderbauer" <j.goderbauer@adito.de> Date: Mon, 4 Feb 2019 19:40:31 +0100 Subject: [PATCH] refactor dfo: Address_entity --- entity/Address_entity/Address_entity.aod | 5 +++-- .../entityfields/defaultaddressid_param/documentation.adoc | 3 ++- entity/Countries_Entity/Countries_Entity.aod | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/entity/Address_entity/Address_entity.aod b/entity/Address_entity/Address_entity.aod index a31af8e4a9..c1b0c2bc80 100644 --- a/entity/Address_entity/Address_entity.aod +++ b/entity/Address_entity/Address_entity.aod @@ -40,7 +40,7 @@ <entityField> <name>COUNTRY</name> <title>Country</title> - <consumer>Countries_dfo</consumer> + <consumer>Countries</consumer> <mandatory v="true" /> <displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/country/displayValueProcess.js</displayValueProcess> </entityField> @@ -119,7 +119,7 @@ <name>#PROVIDER</name> </entityProvider> <entityConsumer> - <name>Countries_dfo</name> + <name>Countries</name> <fieldType>DEPENDENCY_OUT</fieldType> <dependency> <name>dependency</name> @@ -151,6 +151,7 @@ <name>DefaultAddressId_param</name> <expose v="true" /> <triggerRecalculation v="false" /> + <mandatory v="false" /> <documentation>%aditoprj%/entity/Address_entity/entityfields/defaultaddressid_param/documentation.adoc</documentation> <description>provide a ADDRESSID-value of the standard address (of a RELATION)</description> </entityParameter> diff --git a/entity/Address_entity/entityfields/defaultaddressid_param/documentation.adoc b/entity/Address_entity/entityfields/defaultaddressid_param/documentation.adoc index d54b66e0af..b39ad624e7 100644 --- a/entity/Address_entity/entityfields/defaultaddressid_param/documentation.adoc +++ b/entity/Address_entity/entityfields/defaultaddressid_param/documentation.adoc @@ -1,3 +1,4 @@ `ADDRESSID`-value that specifies which ADDRESSID` is the standard addess of a record. [.small]#See: `IS_STANDARD` field# -There is no validation if the provided value is actually the value of an standard address or a valid `ADDRESSID` at all. \ No newline at end of file +There is no validation if the provided value is actually the value of an standard address or a valid `ADDRESSID` at all. +This param enables a fast determination of the standard-address-flag. \ No newline at end of file diff --git a/entity/Countries_Entity/Countries_Entity.aod b/entity/Countries_Entity/Countries_Entity.aod index 2496513d96..ebde897a1a 100644 --- a/entity/Countries_Entity/Countries_Entity.aod +++ b/entity/Countries_Entity/Countries_Entity.aod @@ -19,7 +19,7 @@ <entityDependency> <name>83e8a2e6-aa80-4b35-a0ad-8dad483ed428</name> <entityName>Address_entity</entityName> - <fieldName>Countries_dfo</fieldName> + <fieldName>Countries</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> -- GitLab