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

Order: fix relation-contact change

parent 716a4d6d
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,7 @@
<consumer>Relations</consumer>
<linkedContextProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Order_entity/entityfields/contact_id/onValueChange.js</onValueChange>
<onValueChangeTypes>
......@@ -218,7 +219,7 @@
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
<entityName>AnyContact_entity</entityName>
<entityName>Relation_entity</entityName>
<fieldName>#PROVIDER</fieldName>
</dependency>
</entityConsumer>
......
import("system.result");
import("system.vars");
if (vars.exists("$param.RelationId_param"))
{
result.string(vars.get("$param.RelationId_param"));
import("system.result");
import("system.vars");
if (vars.exists("$param.RelationId_param"))
{
result.string(vars.get("$param.RelationId_param"));
}
\ 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