Skip to content
Snippets Groups Projects
Commit acb67821 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

relation -> contact

parent 0ef9385e
No related branches found
No related tags found
No related merge requests found
...@@ -47,8 +47,8 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact ...@@ -47,8 +47,8 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact
<recordContainer>db</recordContainer> <recordContainer>db</recordContainer>
</entityProvider> </entityProvider>
<entityParameter> <entityParameter>
<name>RelationsMainCountry_param</name> <name>ContactsMainCountry_param</name>
<code>%aditoprj%/entity/Communication_entity/entityfields/relationsmaincountry_param/code.js</code> <code>%aditoprj%/entity/Communication_entity/entityfields/contactsmaincountry_param/code.js</code>
<mandatory v="false" /> <mandatory v="false" />
<description>PARAMETER</description> <description>PARAMETER</description>
</entityParameter> </entityParameter>
......
...@@ -16,7 +16,7 @@ var fn = CommValidationUtil.makeValidationFn(commCategory); ...@@ -16,7 +16,7 @@ var fn = CommValidationUtil.makeValidationFn(commCategory);
if (fn != null){ if (fn != null){
var commAddr = ProcessHandlingUtils.getOnValidationValue(vars.get("$field.ADDR")); var commAddr = ProcessHandlingUtils.getOnValidationValue(vars.get("$field.ADDR"));
var additional = CommValidationUtil.getExtensionsBlueprint(); 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); var res = fn.call(null, commAddr, additional);
if (res != null) if (res != null)
result.string(res); result.string(res);
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<entityDependency> <entityDependency>
<name>bb48a3ee-f340-4fd4-8c80-ef73b765ab58</name> <name>bb48a3ee-f340-4fd4-8c80-ef73b765ab58</name>
<entityName>Organisation_entity</entityName> <entityName>Organisation_entity</entityName>
<fieldName>KeywordRelationStates</fieldName> <fieldName>KeywordContactStates</fieldName>
<isConsumer v="false" /> <isConsumer v="false" />
</entityDependency> </entityDependency>
<entityDependency> <entityDependency>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<entityField> <entityField>
<name>STATUS</name> <name>STATUS</name>
<title>Status</title> <title>Status</title>
<consumer>KeywordRelationStates</consumer> <consumer>KeywordContactStates</consumer>
<searchable v="false" /> <searchable v="false" />
</entityField> </entityField>
<entityField> <entityField>
...@@ -426,7 +426,7 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact ...@@ -426,7 +426,7 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact
</children> </children>
</entityConsumer> </entityConsumer>
<entityConsumer> <entityConsumer>
<name>KeywordRelationStates</name> <name>KeywordContactStates</name>
<fieldType>DEPENDENCY_OUT</fieldType> <fieldType>DEPENDENCY_OUT</fieldType>
<dependency> <dependency>
<name>dependency</name> <name>dependency</name>
...@@ -436,7 +436,7 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact ...@@ -436,7 +436,7 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact
<children> <children>
<entityParameter> <entityParameter>
<name>containerName_param</name> <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> </entityParameter>
</children> </children>
</entityConsumer> </entityConsumer>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment