Skip to content
Snippets Groups Projects
Commit 30c0fd40 authored by a.schindlbeck's avatar a.schindlbeck
Browse files

#1060647 Favorites: Viewtemplate for Sales contexts

parent d0ddfbed
No related branches found
No related tags found
No related merge requests found
Showing
with 96 additions and 7 deletions
......@@ -383,6 +383,10 @@
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/Contract_entity/entityfields/openadminview/stateProcess.js</stateProcess>
</entityActionField>
<entityField>
<name>CONTRACT_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/Contract_entity/entityfields/contract_objecttype/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
result.string("Contract");
\ No newline at end of file
......@@ -1023,6 +1023,10 @@
<name>NET_aggregate</name>
<parentField>NET</parentField>
</entityAggregateField>
<entityField>
<name>OFFER_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offer_objecttype/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
result.string("Offer");
\ No newline at end of file
......@@ -987,6 +987,10 @@
<fieldName>Contacts</fieldName>
</dependency>
</entityConsumer>
<entityField>
<name>ORDER_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/Order_entity/entityfields/order_objecttype/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
result.string("Order");
\ No newline at end of file
......@@ -457,6 +457,10 @@
<iconId>VAADIN:CURLY_BRACKETS</iconId>
<stateProcess>%aditoprj%/entity/Product_entity/entityfields/openadminview/stateProcess.js</stateProcess>
</entityActionField>
<entityField>
<name>PRODUCT_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/Product_entity/entityfields/product_objecttype/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
result.string("Product");
\ No newline at end of file
......@@ -229,6 +229,10 @@
<fieldName>#PROVIDER</fieldName>
</dependency>
</entityConsumer>
<entityField>
<name>PRODUCTPRICE_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/Productprice_entity/entityfields/productprice_objecttype/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
result.string("Productprice");
\ No newline at end of file
......@@ -749,6 +749,10 @@
<iconId>VAADIN:PLAY</iconId>
<stateProcess>%aditoprj%/entity/Salesproject_entity/entityfields/startworkflow/stateProcess.js</stateProcess>
</entityActionField>
<entityField>
<name>SALESPROJECT_OBJECTTYPE</name>
<valueProcess>%aditoprj%/entity/Salesproject_entity/entityfields/salesproject_objecttype/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
result.string("Salesproject");
\ No newline at end of file
......@@ -17,6 +17,13 @@
<favoriteAction1>newActivity</favoriteAction1>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
<favoriteViewTemplate>
<name>Favorites</name>
<objectType>CONTRACT_OBJECTTYPE</objectType>
<rowId>#UID</rowId>
<entityField>#ENTITY</entityField>
<title>favorites</title>
</favoriteViewTemplate>
<genericViewTemplate>
<name>Details</name>
<showDrawer v="true" />
......
......@@ -17,6 +17,13 @@
<favoriteAction1>newActivity</favoriteAction1>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
<favoriteViewTemplate>
<name>Favorites</name>
<objectType>OFFER_OBJECTTYPE</objectType>
<rowId>#UID</rowId>
<entityField>#ENTITY</entityField>
<title>favorites</title>
</favoriteViewTemplate>
<genericViewTemplate>
<name>Details</name>
<editMode v="false" />
......
......@@ -17,6 +17,13 @@
<favoriteAction1>newActivity</favoriteAction1>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
<favoriteViewTemplate>
<name>Favorites</name>
<objectType>ORDER_OBJECTTYPE</objectType>
<rowId>#UID</rowId>
<entityField>#ENTITY</entityField>
<title>favorites</title>
</favoriteViewTemplate>
<genericViewTemplate>
<name>Details</name>
<editMode v="false" />
......
......@@ -17,6 +17,13 @@
<favoriteAction1>newActivity</favoriteAction1>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
<favoriteViewTemplate>
<name>Favorites</name>
<objectType>PRODUCT_OBJECTTYPE</objectType>
<rowId>#UID</rowId>
<entityField>#ENTITY</entityField>
<title>favorites</title>
</favoriteViewTemplate>
<genericViewTemplate>
<name>Info</name>
<showDrawer v="true" />
......
......@@ -9,6 +9,20 @@
</headerFooterLayout>
</layout>
<children>
<cardViewTemplate>
<name>Header</name>
<iconField>IMAGE</iconField>
<titleField>PRICELIST</titleField>
<subtitleField>PRODUCT_ID</subtitleField>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
<favoriteViewTemplate>
<name>Favorites</name>
<objectType>PRODUCTPRICE_OBJECTTYPE</objectType>
<rowId>#UID</rowId>
<entityField>#ENTITY</entityField>
<title>favorites</title>
</favoriteViewTemplate>
<genericViewTemplate>
<name>PriceInfo</name>
<showDrawer v="true" />
......@@ -45,12 +59,5 @@
</entityFieldLink>
</fields>
</genericViewTemplate>
<cardViewTemplate>
<name>Header</name>
<iconField>IMAGE</iconField>
<titleField>PRICELIST</titleField>
<subtitleField>PRODUCT_ID</subtitleField>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
</children>
</neonView>
......@@ -19,6 +19,18 @@
<favoriteAction1>newActivity</favoriteAction1>
<entityField>#ENTITY</entityField>
</cardViewTemplate>
<favoriteViewTemplate>
<name>Favorites</name>
<objectType>SALESPROJECT_OBJECTTYPE</objectType>
<rowId>#UID</rowId>
<entityField>#ENTITY</entityField>
<title>favorites</title>
<devices>
<element>MOBILE</element>
<element>TABLET</element>
<element>DESKTOP</element>
</devices>
</favoriteViewTemplate>
<genericViewTemplate>
<name>Details</name>
<showDrawer v="true" />
......
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