diff --git a/entity/Communication_entity/Communication_entity.aod b/entity/Communication_entity/Communication_entity.aod index 8d4c2d12bf3f1106654379178294d8763a240b7f..3e09f37f88e80934bfd8e783a94186b303391355 100644 --- a/entity/Communication_entity/Communication_entity.aod +++ b/entity/Communication_entity/Communication_entity.aod @@ -47,8 +47,8 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact <recordContainer>db</recordContainer> </entityProvider> <entityParameter> - <name>RelationsMainCountry_param</name> - <code>%aditoprj%/entity/Communication_entity/entityfields/relationsmaincountry_param/code.js</code> + <name>ContactsMainCountry_param</name> + <code>%aditoprj%/entity/Communication_entity/entityfields/contactsmaincountry_param/code.js</code> <mandatory v="false" /> <description>PARAMETER</description> </entityParameter> diff --git a/entity/Communication_entity/entityfields/addr/onValidation.js b/entity/Communication_entity/entityfields/addr/onValidation.js index 9a76546b124bf22a16326db9db6a6d7b30a49b41..d891aa3a27aa5b3ba45191d69a6121292efbc544 100644 --- a/entity/Communication_entity/entityfields/addr/onValidation.js +++ b/entity/Communication_entity/entityfields/addr/onValidation.js @@ -16,7 +16,7 @@ var fn = CommValidationUtil.makeValidationFn(commCategory); if (fn != null){ var commAddr = ProcessHandlingUtils.getOnValidationValue(vars.get("$field.ADDR")); var additional = CommValidationUtil.getExtensionsBlueprint(); - additional.countryCode = vars.get("$param.RelationsMainCountry_param");//TODO: try to use users language first and then the companies + additional.countryCode = vars.get("$param.ContactsMainCountry_param");//TODO: try to use users language first and then the companies var res = fn.call(null, commAddr, additional); if (res != null) result.string(res); diff --git a/entity/Communication_entity/entityfields/relationsmaincountry_param/code.js b/entity/Communication_entity/entityfields/contactsmaincountry_param/code.js similarity index 100% rename from entity/Communication_entity/entityfields/relationsmaincountry_param/code.js rename to entity/Communication_entity/entityfields/contactsmaincountry_param/code.js diff --git a/entity/Keyword_entity/Keyword_entity.aod b/entity/Keyword_entity/Keyword_entity.aod index 920e333669a79b60051990c828aa31ab57ba3c3b..9e906046725a5b39a2a2632016d04a4d348e4cbe 100644 --- a/entity/Keyword_entity/Keyword_entity.aod +++ b/entity/Keyword_entity/Keyword_entity.aod @@ -73,7 +73,7 @@ <entityDependency> <name>bb48a3ee-f340-4fd4-8c80-ef73b765ab58</name> <entityName>Organisation_entity</entityName> - <fieldName>KeywordRelationStates</fieldName> + <fieldName>KeywordContactStates</fieldName> <isConsumer v="false" /> </entityDependency> <entityDependency> diff --git a/entity/Organisation_entity/Organisation_entity.aod b/entity/Organisation_entity/Organisation_entity.aod index 22b12517d2f2fa0ec5210091e58abab144d6427d..31e7d4c19452828cff5ac3cd6402c298fed47720 100644 --- a/entity/Organisation_entity/Organisation_entity.aod +++ b/entity/Organisation_entity/Organisation_entity.aod @@ -48,7 +48,7 @@ <entityField> <name>STATUS</name> <title>Status</title> - <consumer>KeywordRelationStates</consumer> + <consumer>KeywordContactStates</consumer> <searchable v="false" /> </entityField> <entityField> @@ -426,7 +426,7 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact </children> </entityConsumer> <entityConsumer> - <name>KeywordRelationStates</name> + <name>KeywordContactStates</name> <fieldType>DEPENDENCY_OUT</fieldType> <dependency> <name>dependency</name> @@ -436,7 +436,7 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact <children> <entityParameter> <name>containerName_param</name> - <code>%aditoprj%/entity/Organisation_entity/entityfields/keywordrelationstates/children/containername_param/code.js</code> + <code>%aditoprj%/entity/Organisation_entity/entityfields/keywordcontactstates/children/containername_param/code.js</code> </entityParameter> </children> </entityConsumer> diff --git a/entity/Organisation_entity/entityfields/keywordrelationstates/children/containername_param/code.js b/entity/Organisation_entity/entityfields/keywordcontactstates/children/containername_param/code.js similarity index 100% rename from entity/Organisation_entity/entityfields/keywordrelationstates/children/containername_param/code.js rename to entity/Organisation_entity/entityfields/keywordcontactstates/children/containername_param/code.js