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

Merge branch '#1052905-HandlingInactiveContacts' into '2020.1.0'

1052905: Added state process to disable actions for inactive contacts.

See merge request xrm/basic!219
parents 689ad924 9c66b536
No related branches found
No related tags found
No related merge requests found
......@@ -1080,12 +1080,14 @@
<title>New Visit Recommendation</title>
<onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newvisitrecommendation/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CALENDAR</iconId>
<stateProcess>%aditoprj%/entity/Organisation_entity/entityfields/newvisitrecommendation/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>newVisitPlanEntry</name>
<title>New Weekplanentry</title>
<onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newvisitplanentry/onActionProcess.js</onActionProcess>
<iconId>VAADIN:CAR</iconId>
<stateProcess>%aditoprj%/entity/Organisation_entity/entityfields/newvisitplanentry/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>openLocation</name>
......
import("system.result");
import("system.neon");
import("system.vars");
import("KeywordRegistry_basic");
if (vars.get("$field.STATUS") == $KeywordRegistry.contactStatus$inactive())
result.string(neon.COMPONENTSTATE_DISABLED);
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
import("KeywordRegistry_basic");
if (vars.get("$field.STATUS") == $KeywordRegistry.contactStatus$inactive())
result.string(neon.COMPONENTSTATE_DISABLED);
\ 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