Skip to content
Snippets Groups Projects
Commit 2c66b3a1 authored by S.Listl's avatar S.Listl
Browse files

Task preset editor

parent 775a27c4
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@
<consumer>ContactEditors</consumer>
<linkedContext>Person</linkedContext>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/Task_entity/entityfields/editor_contact_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Task_entity/entityfields/editor_contact_id/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
......
import("system.result");
import("system.neon");
import("system.vars");
import("Employee_lib");
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null)
result.string(EmployeeUtils.getCurrentContactId());
\ No newline at end of file
import("system.result");
import("system.neon");
import("system.vars");
import("Employee_lib");
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
import("system.result");
import("system.neon");
import("system.vars");
import("Employee_lib");
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null)
result.string(EmployeeUtils.getCurrentContactId());
\ No newline at end of file
......@@ -4893,6 +4893,9 @@
<entry>
<key>Download template</key>
</entry>
<entry>
<key>Theme</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
<sqlModels>
......@@ -4914,7 +4917,9 @@ select SCORETYPE from CLASSIFICATIONTYPE
union
select distinct CLASSIFICATIONGROUP from CLASSIFICATIONTYPE
union
select AB_ATTRIBUTE.ATTRIBUTE_NAME from AB_ATTRIBUTE</element>
select AB_ATTRIBUTE.ATTRIBUTE_NAME from AB_ATTRIBUTE
union
select AB_KEYWORD_ATTRIBUTE.NAME from AB_KEYWORD_ATTRIBUTE</element>
</statements>
</languageSql>
</sqlModels>
......
......@@ -4943,6 +4943,9 @@
<entry>
<key>Download template</key>
</entry>
<entry>
<key>Theme</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.2" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.2">
<name>AppointmentFilter_view</name>
<title>Linked Appointments</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="false" />
<layout>
<drawerLayout>
<name>layout</name>
<layoutCaption>Linked Appointments</layoutCaption>
</drawerLayout>
</layout>
<children>
<tableViewTemplate>
<name>Table</name>
<hideActions v="true" />
<entityField>#ENTITY</entityField>
<columns>
<neonTableColumn>
<name>dfc5cdb0-6ff6-4089-b0e7-6ebcab5061e6</name>
<entityField>SUMMARY</entityField>
</neonTableColumn>
<neonTableColumn>
<name>65d462d0-e685-4493-bb73-c32c7ffe393b</name>
<entityField>BEGIN</entityField>
</neonTableColumn>
<neonTableColumn>
<name>ba6f5f7a-7ae4-41cb-940b-c115561c0a71</name>
<entityField>END</entityField>
</neonTableColumn>
<neonTableColumn>
<name>0a591a05-1efe-4e33-9a59-363a5e423802</name>
<entityField>LOCATION</entityField>
</neonTableColumn>
</columns>
</tableViewTemplate>
</children>
</neonView>
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.2" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.2">
<name>AppointmentFilter_view</name>
<title>Linked Appointments</title>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="false" />
<layout>
<drawerLayout>
<name>layout</name>
<layoutCaption>Linked Appointments</layoutCaption>
</drawerLayout>
</layout>
<children>
<tableViewTemplate>
<name>Table</name>
<hideActions v="true" />
<entityField>#ENTITY</entityField>
<columns>
<neonTableColumn>
<name>dfc5cdb0-6ff6-4089-b0e7-6ebcab5061e6</name>
<entityField>SUMMARY</entityField>
</neonTableColumn>
<neonTableColumn>
<name>65d462d0-e685-4493-bb73-c32c7ffe393b</name>
<entityField>BEGIN</entityField>
</neonTableColumn>
<neonTableColumn>
<name>ba6f5f7a-7ae4-41cb-940b-c115561c0a71</name>
<entityField>END</entityField>
</neonTableColumn>
<neonTableColumn>
<name>0a591a05-1efe-4e33-9a59-363a5e423802</name>
<entityField>LOCATION</entityField>
</neonTableColumn>
</columns>
</tableViewTemplate>
</children>
</neonView>
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