Skip to content
Snippets Groups Projects
Commit 470cedef authored by Sophia Leierseder's avatar Sophia Leierseder
Browse files

additional changes salesproject

parent d9e11fcc
No related branches found
No related tags found
No related merge requests found
Showing
with 120 additions and 26 deletions
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
</entityField> </entityField>
<entityField> <entityField>
<name>OBJECT_ROWID</name> <name>OBJECT_ROWID</name>
<title>Connection</title>
<consumer>Objects</consumer> <consumer>Objects</consumer>
<linkedContextProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_rowid/linkedContextProcess.js</linkedContextProcess> <linkedContextProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_rowid/linkedContextProcess.js</linkedContextProcess>
<valueProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_rowid/valueProcess.js</valueProcess> <valueProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_rowid/valueProcess.js</valueProcess>
...@@ -63,6 +64,7 @@ ...@@ -63,6 +64,7 @@
</entityConsumer> </entityConsumer>
<entityField> <entityField>
<name>OBJECT_TYPE</name> <name>OBJECT_TYPE</name>
<title>Type</title>
<consumer>Contexts</consumer> <consumer>Contexts</consumer>
<valueProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_type/valueProcess.js</valueProcess> <valueProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_type/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess> <displayValueProcess>%aditoprj%/entity/Forecast_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess>
......
...@@ -224,6 +224,11 @@ TODO: intuitive möglichkeit, auf dend Stand aus Relation zurückzusetzen... akt ...@@ -224,6 +224,11 @@ TODO: intuitive möglichkeit, auf dend Stand aus Relation zurückzusetzen... akt
<contentType>BOOLEAN</contentType> <contentType>BOOLEAN</contentType>
<dropDownProcess>%aditoprj%/entity/Member_entity/entityfields/decider/dropDownProcess.js</dropDownProcess> <dropDownProcess>%aditoprj%/entity/Member_entity/entityfields/decider/dropDownProcess.js</dropDownProcess>
</entityField> </entityField>
<entityField>
<name>IMAGE</name>
<contentType>IMAGE</contentType>
<valueProcess>%aditoprj%/entity/Member_entity/entityfields/image/valueProcess.js</valueProcess>
</entityField>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
......
import("system.logging");
import("system.vars"); import("system.vars");
import("system.result"); import("system.result");
import("system.neon"); import("system.neon");
...@@ -6,6 +7,7 @@ import("KeywordRegistry_basic"); ...@@ -6,6 +7,7 @@ import("KeywordRegistry_basic");
var role = vars.get("$field.ROLE"); var role = vars.get("$field.ROLE");
var isIntern = false, icon; var isIntern = false, icon;
if(role) if(role)
{ {
var keywordAttributes = KeywordUtils.getAttributeRelationsByKey(role, $KeywordRegistry.MemberRole()) var keywordAttributes = KeywordUtils.getAttributeRelationsByKey(role, $KeywordRegistry.MemberRole())
...@@ -15,4 +17,10 @@ if(role) ...@@ -15,4 +17,10 @@ if(role)
if(isIntern) if(isIntern)
result.string("VAADIN:STAR"); result.string("VAADIN:STAR");
else result.string("VAADIN:AIRPLANE"); else result.string("VAADIN:AIRPLANE");
\ No newline at end of file
//var keywordAttributes = KeywordUtils.getAttributeRelationsByKey(role, $KeywordRegistry.MemberRole());
//
//logging.log(keywordAttributes);
//
//result.string("VAADIN:AIRPLANE");
\ No newline at end of file
import("system.vars");
import("system.result");
result.string("TEXT:" + vars.get("$field.PERSON_FULL_NAME"));
\ No newline at end of file
...@@ -101,6 +101,12 @@ ...@@ -101,6 +101,12 @@
<fieldName>Employees</fieldName> <fieldName>Employees</fieldName>
</dependency> </dependency>
</entityConsumer> </entityConsumer>
<entityField>
<name>TOTALTIME</name>
<title>Total time</title>
<valueProcess>%aditoprj%/entity/Timetracking_entity/entityfields/totaltime/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Timetracking_entity/entityfields/totaltime/displayValueProcess.js</displayValueProcess>
</entityField>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
......
import("system.vars");
import("system.result");
import("Timetracking_lib");
result.string(Timetracking.minutesToReadableHour(parseInt(vars.getString("$field.TOTALTIME"))));
\ No newline at end of file
import("system.logging");
import("system.vars");
import("system.result");
var minutes = vars.get("$field.MINUTES");
logging.log(minutes);
result.string("120");
\ No newline at end of file
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>d878f3b7-1de6-4319-93c7-0fff621c0458</name> <name>d878f3b7-1de6-4319-93c7-0fff621c0458</name>
<view>SalesprojectTimeDocComp_view</view> <view>SalesprojectFurtherInfo_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>68e9257b-d402-4edc-8345-7da46c3b63f9</name> <name>68e9257b-d402-4edc-8345-7da46c3b63f9</name>
......
...@@ -23,5 +23,9 @@ ...@@ -23,5 +23,9 @@
<name>1afcd6f9-1692-4df7-b514-32c1db2f7dd1</name> <name>1afcd6f9-1692-4df7-b514-32c1db2f7dd1</name>
<view>TimetrackingDrawer_view</view> <view>TimetrackingDrawer_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference>
<name>069607bf-ed69-494c-bbe4-399bb51298ca</name>
<view>TimetrackingScore_view</view>
</neonViewReference>
</references> </references>
</neonContext> </neonContext>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</layout> </layout>
<children> <children>
<neonViewReference> <neonViewReference>
<name>be8f5d17-80ab-49c4-8153-f90aa23667cd</name> <name>ddde18ed-2617-4f7e-9a6b-71e4625e2cdc</name>
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
<view>ClassificationTree_view</view> <view>ClassificationTree_view</view>
</neonViewReference> </neonViewReference>
......
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
<autoNewRow v="true" /> <autoNewRow v="true" />
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
<columns> <columns>
<neonTableColumn>
<name>dd971a3f-297e-4055-9961-77faea60236e</name>
<entityField>IMAGE</entityField>
</neonTableColumn>
<neonTableColumn> <neonTableColumn>
<name>47821fb3-d178-4a54-9ec4-d78232e9b4de</name> <name>47821fb3-d178-4a54-9ec4-d78232e9b4de</name>
<entityField>CONTACT_ID</entityField> <entityField>CONTACT_ID</entityField>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
</cardViewTemplate> </cardViewTemplate>
<genericViewTemplate> <genericViewTemplate>
<name>Info</name> <name>Detail</name>
<showDrawer v="true" /> <showDrawer v="true" />
<drawerCaption>Details</drawerCaption> <drawerCaption>Details</drawerCaption>
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
...@@ -26,7 +26,23 @@ ...@@ -26,7 +26,23 @@
<entityField>VOLUME</entityField> <entityField>VOLUME</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink> <entityFieldLink>
<name>745f1f28-49a0-4c35-9c1a-e442d15716dc</name> <name>7261d58e-7534-4877-b5cd-f05201823711</name>
<entityField>OBJECT_TYPE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>af76713a-9f84-4f5c-965f-eba5c5ca3abc</name>
<entityField>OBJECT_ROWID</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<genericViewTemplate>
<name>Info</name>
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>c2c10cf6-0ae8-4895-8160-766a845b5d17</name>
<entityField>INFO</entityField> <entityField>INFO</entityField>
</entityFieldLink> </entityFieldLink>
</fields> </fields>
......
...@@ -14,17 +14,17 @@ ...@@ -14,17 +14,17 @@
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
<columns> <columns>
<neonTableColumn> <neonTableColumn>
<name>8bdd903b-0cd0-4327-bd24-3643d61d3de0</name> <name>8b6b6eeb-6246-414f-95f6-453b71e4a9db</name>
<entityField>ICON</entityField> <entityField>IMAGE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>27e658bc-c134-4fef-a3a5-b172852d606e</name>
<entityField>ORGANISATION_NAME</entityField>
</neonTableColumn> </neonTableColumn>
<neonTableColumn> <neonTableColumn>
<name>59e6aea1-9752-48b5-9d91-43edd0c1d670</name> <name>59e6aea1-9752-48b5-9d91-43edd0c1d670</name>
<entityField>PERSON_FULL_NAME</entityField> <entityField>PERSON_FULL_NAME</entityField>
</neonTableColumn> </neonTableColumn>
<neonTableColumn>
<name>27e658bc-c134-4fef-a3a5-b172852d606e</name>
<entityField>ORGANISATION_NAME</entityField>
</neonTableColumn>
<neonTableColumn> <neonTableColumn>
<name>bea82980-0639-405a-ab3f-92e45f97090e</name> <name>bea82980-0639-405a-ab3f-92e45f97090e</name>
<entityField>ROLE</entityField> <entityField>ROLE</entityField>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1"> <neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>PersonSimpleList_view</name> <name>PersonSimpleList_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout> <layout>
<boxLayout> <boxLayout>
<name>layout</name> <name>layout</name>
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
<view>ClassificationDrawer_view</view> <view>ClassificationDrawer_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>e54114a1-3031-47f5-b27b-9774fc5225c5</name> <name>ead8bff9-3870-4956-a89b-19cafecf39fb</name>
<entityField>Attributes</entityField> <entityField>AttributeTree</entityField>
<view>AttributeRelationTreeDrawer_view</view> <view>AttributeRelationTreeDrawer_view</view>
</neonViewReference> </neonViewReference>
</children> </children>
......
<?xml version="1.0" encoding="UTF-8"?> <?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.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1"> <neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>SalesprojectTimeDocComp_view</name> <name>SalesprojectFurtherInfo_view</name>
<title>Further informations</title> <title>Further informations</title>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
<layout> <layout>
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
<view>TimetrackingDrawer_view</view> <view>TimetrackingDrawer_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>baccab92-37f1-4a33-9662-771323996adf</name> <name>afe207b5-475c-4471-b561-3d93487cdf1f</name>
<entityField>Documents</entityField> <entityField>Timetrackings</entityField>
<view>DocumentDrawer_view</view> <view>TimetrackingScore_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>4dcc3fdd-6683-435c-95c1-a59597fc3e71</name> <name>4dcc3fdd-6683-435c-95c1-a59597fc3e71</name>
......
...@@ -35,9 +35,14 @@ ...@@ -35,9 +35,14 @@
<view>SalesprojectOfferForecast_view</view> <view>SalesprojectOfferForecast_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>1ff890f4-58e1-441f-a714-1faabbf3744b</name> <name>aa801bbd-df49-419b-959a-1664b2c31274</name>
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
<view>SalesprojectTimeDocComp_view</view> <view>SalesprojectFurtherInfo_view</view>
</neonViewReference>
<neonViewReference>
<name>ccdbb3f1-6b18-4cdd-a0cb-22d8bddd7150</name>
<entityField>Documents</entityField>
<view>DocumentFilter_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference> <neonViewReference>
<name>6ed5fc92-1056-418f-a0b7-3d55414efe3a</name> <name>6ed5fc92-1056-418f-a0b7-3d55414efe3a</name>
......
...@@ -9,25 +9,33 @@ ...@@ -9,25 +9,33 @@
</layout> </layout>
<children> <children>
<genericViewTemplate> <genericViewTemplate>
<name>TimetrackingInfo_template</name> <name>Details</name>
<showDrawer v="true" /> <showDrawer v="true" />
<drawerCaption>Information</drawerCaption> <drawerCaption>Details</drawerCaption>
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
<fields> <fields>
<entityFieldLink>
<name>64005996-e735-4c5d-bdb7-29aaf8851107</name>
<entityField>DATE</entityField>
</entityFieldLink>
<entityFieldLink> <entityFieldLink>
<name>835197c0-2e0c-4989-8d5b-80ccd064d55e</name> <name>835197c0-2e0c-4989-8d5b-80ccd064d55e</name>
<entityField>CONTACT_ID</entityField> <entityField>CONTACT_ID</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink>
<name>64005996-e735-4c5d-bdb7-29aaf8851107</name>
<entityField>DATE</entityField>
</entityFieldLink>
<entityFieldLink> <entityFieldLink>
<name>25921a31-5563-4a74-aa7e-67d660c60f0b</name> <name>25921a31-5563-4a74-aa7e-67d660c60f0b</name>
<entityField>MINUTES</entityField> <entityField>MINUTES</entityField>
</entityFieldLink> </entityFieldLink>
</fields>
</genericViewTemplate>
<genericViewTemplate>
<name>Info</name>
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink> <entityFieldLink>
<name>54123bdf-3008-4597-9f30-fc2877a274f7</name> <name>76a33027-65cc-4943-8e96-20b35880a3cd</name>
<entityField>INFO</entityField> <entityField>INFO</entityField>
</entityFieldLink> </entityFieldLink>
</fields> </fields>
......
<?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.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>TimetrackingScore_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<children>
<scoreCardViewTemplate>
<name>time</name>
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>56f043bf-6ff2-45c0-af48-1c4bf16456cf</name>
<entityField>TOTALTIME</entityField>
</entityFieldLink>
</fields>
</scoreCardViewTemplate>
</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