Skip to content
Snippets Groups Projects
Commit 0c8fc0b5 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

object relation fixes

parent 895cc940
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,7 @@
<entityParameter>
<name>ObjectType_param</name>
<code>%aditoprj%/entity/ActivityLink_entity/entityfields/objects/children/objecttype_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
</entityConsumer>
......
......@@ -164,10 +164,12 @@
<entityParameter>
<name>Object1Rowid_param</name>
<code>%aditoprj%/entity/Activity_entity/entityfields/objectrelations/children/object1rowid_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
<entityParameter>
<name>Object1Type_param</name>
<code>%aditoprj%/entity/Activity_entity/entityfields/objectrelations/children/object1type_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
</entityConsumer>
......
......@@ -143,11 +143,13 @@
<name>AnyObjectRowid_param</name>
<code>%aditoprj%/entity/Appointment_entity/entityfields/objectrelations/children/anyobjectrowid_param/code.js</code>
<expose v="true" />
<triggerRecalculation v="true" />
<mandatory v="false" />
</entityParameter>
<entityParameter>
<name>AnyObjectType_param</name>
<code>%aditoprj%/entity/Appointment_entity/entityfields/objectrelations/children/anyobjecttype_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
</entityConsumer>
......
......@@ -31,6 +31,7 @@
</entityField>
<entityField>
<name>AB_OBJECTRELATIONID</name>
<valueProcess>%aditoprj%/entity/ObjectRelation_entity/entityfields/ab_objectrelationid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>OBJECT2_ROWID</name>
......@@ -66,7 +67,7 @@
<recordContainer>db</recordContainer>
<dependencies>
<entityDependency>
<name>8eb3187c-07cb-4b51-8b7e-d63e83959bdb</name>
<name>637d4127-8eba-42e3-9857-a2869668f94c</name>
<entityName>Activity_entity</entityName>
<fieldName>ObjectRelations</fieldName>
<isConsumer v="false" />
......
import("system.neon");
import("system.util");
import("system.vars");
import("system.result");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string(util.getNewUUID());
\ No newline at end of file
......@@ -418,10 +418,12 @@ Usually this is used for filtering COMMUNICATION-entires by a specified contact
<entityParameter>
<name>AnyObjectRowid_param</name>
<code>%aditoprj%/entity/Organisation_entity/entityfields/objectrelations/children/anyobjectrowid_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
<entityParameter>
<name>AnyObjectType_param</name>
<code>%aditoprj%/entity/Organisation_entity/entityfields/objectrelations/children/anyobjecttype_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
</entityConsumer>
......
......@@ -296,10 +296,12 @@
<entityParameter>
<name>AnyObjectRowid_param</name>
<code>%aditoprj%/entity/Salesproject_entity/entityfields/objectrelations/children/anyobjectrowid_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
<entityParameter>
<name>AnyObjectType_param</name>
<code>%aditoprj%/entity/Salesproject_entity/entityfields/objectrelations/children/anyobjecttype_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children>
</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