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

RELATION -> CONTACT

(folder changes)
parent 7c14b857
No related branches found
No related tags found
No related merge requests found
Showing
with 11 additions and 11 deletions
......@@ -4378,8 +4378,8 @@
<idColumn>CONTACTID</idColumn>
<titleColumn>TITLECOLUMN</titleColumn>
<descriptionColumn>DESCCOLUMN</descriptionColumn>
<query>%aditoprj%/aliasDefinition/Data_alias/indexsearchgroups/org/query.js</query>
<subQueries>%aditoprj%/aliasDefinition/Data_alias/indexsearchgroups/org/subQueries.js</subQueries>
<query>%aditoprj%/aliasDefinition/Data_alias/indexsearchgroups/organisation/query.js</query>
<subQueries>%aditoprj%/aliasDefinition/Data_alias/indexsearchgroups/organisation/subQueries.js</subQueries>
<resultContextNeon>Organisation_context</resultContextNeon>
<affectedTables>
<element>ADDRESS</element>
......@@ -4387,7 +4387,7 @@
<element>CONTACT</element>
<element>ORGANISATION</element>
</affectedTables>
<affectedIds>%aditoprj%/aliasDefinition/Data_alias/indexsearchgroups/org/affectedIds.js</affectedIds>
<affectedIds>%aditoprj%/aliasDefinition/Data_alias/indexsearchgroups/organisation/affectedIds.js</affectedIds>
</indexSearchGroup>
<indexSearchGroup>
<name>PERS</name>
......
......@@ -3,7 +3,7 @@ import("system.vars");
import("system.result");
import("system.neon");
import("Keyword_lib");
import("Relation_lib");
import("Contact_lib");
if (vars.exists("$param.RelationType_param") && parseInt(vars.get("$param.RelationType_param"))) {
var type = parseInt(vars.get("$param.RelationType_param"));
......
......@@ -127,11 +127,11 @@
<name>ORGANISATION_ID</name>
<title>Firma</title>
<consumer>Organisations</consumer>
<linkedContextProcess>%aditoprj%/entity/Contact_entity/entityfields/org_id/linkedContextProcess.js</linkedContextProcess>
<linkedContextProcess>%aditoprj%/entity/Contact_entity/entityfields/organisation_id/linkedContextProcess.js</linkedContextProcess>
<mandatory v="false" />
<searchable v="false" />
<valueProcess>%aditoprj%/entity/Contact_entity/entityfields/org_id/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Contact_entity/entityfields/org_id/onValueChange.js</onValueChange>
<valueProcess>%aditoprj%/entity/Contact_entity/entityfields/organisation_id/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Contact_entity/entityfields/organisation_id/onValueChange.js</onValueChange>
</entityField>
<entityConsumer>
<name>PersAddresses</name>
......
import("system.result");
import("system.vars");
import("Relation_lib");
import("Contact_lib");
import("system.neon");
result.string(RelationUtils.getNameByPersOrgWithRelationId(vars.getString("$field.CONTACT_ID")));
\ No newline at end of file
import("system.vars");
import("system.result");
import("Relation_lib");
import("Contact_lib");
result.string(RelationUtils.getContextByRelationId(vars.getString("$field.CONTACT_ID")));
\ No newline at end of file
import("system.result");
import("system.vars");
import("Relation_lib");
import("Contact_lib");
import("system.neon");
......
import("system.vars");
import("system.result");
import("Relation_lib");
import("Contact_lib");
result.string(RelationUtils.getContextByRelationId(vars.getString("$field.CONTACT_ID")));
\ No newline at end of file
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