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

some description fixes

parent 4dde0e4a
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@
<consumer>Products</consumer>
<linkedContext>Product</linkedContext>
<mandatory v="true" />
<state>READONLY</state>
<stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/stateProcess.js</stateProcess>
<displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/onValueChange.js</onValueChange>
<onValueChangeTypes>
......
import("system.result");
import("system.neon");
import("system.vars");
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
{
result.string(neon.COMPONENTSTATE_EDITABLE);
}
else
{
result.string(neon.COMPONENTSTATE_READONLY);
}
\ No newline at end of file
<?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>ContractEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>Edit</name>
<editMode v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>5f2ef7a7-d7b5-49a8-86f3-3644036232fb</name>
<entityField>CONTRACTCODE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>3177f8e9-24e9-441f-8c19-b004935a86a9</name>
<entityField>CONTACT_ID</entityField>
</entityFieldLink>
<entityFieldLink>
<name>ac160ded-1a06-4664-b8bd-333e01468f61</name>
<entityField>CONTRACTTYPE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>f741bfda-5434-42ab-a5e9-ea1f7e4aaf79</name>
<entityField>CONTRACTSTATUS</entityField>
</entityFieldLink>
<entityFieldLink>
<name>b4a51794-f04c-4cc5-b0bd-ff89d8f5ada9</name>
<entityField>CONTRACTSTART</entityField>
</entityFieldLink>
<entityFieldLink>
<name>2fb49607-d34c-4a19-8c4e-2ec3db395fa9</name>
<entityField>CONTRACTEND</entityField>
</entityFieldLink>
<entityFieldLink>
<name>02d4e542-f7ed-4900-82b3-b096958e1473</name>
<entityField>PAYMENT</entityField>
</entityFieldLink>
<entityFieldLink>
<name>e66d7b82-5b48-46f3-b780-06a5f107faca</name>
<entityField>CONTRACTDUE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>4390abcd-d47e-40b2-85a9-655d39b17e82</name>
<entityField>REMARK</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<neonViewReference>
<name>49eafd04-4d72-4a11-8818-97407e0fe154</name>
<entityField>Attributes</entityField>
<view>AttributeRelationMultiEdit_view</view>
</neonViewReference>
</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.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>ContractEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>Edit</name>
<editMode v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>5f2ef7a7-d7b5-49a8-86f3-3644036232fb</name>
<entityField>CONTRACTCODE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>3177f8e9-24e9-441f-8c19-b004935a86a9</name>
<entityField>CONTACT_ID</entityField>
</entityFieldLink>
<entityFieldLink>
<name>ac160ded-1a06-4664-b8bd-333e01468f61</name>
<entityField>CONTRACTTYPE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>f741bfda-5434-42ab-a5e9-ea1f7e4aaf79</name>
<entityField>CONTRACTSTATUS</entityField>
</entityFieldLink>
<entityFieldLink>
<name>b4a51794-f04c-4cc5-b0bd-ff89d8f5ada9</name>
<entityField>CONTRACTSTART</entityField>
</entityFieldLink>
<entityFieldLink>
<name>2fb49607-d34c-4a19-8c4e-2ec3db395fa9</name>
<entityField>CONTRACTEND</entityField>
</entityFieldLink>
<entityFieldLink>
<name>02d4e542-f7ed-4900-82b3-b096958e1473</name>
<entityField>PAYMENT</entityField>
</entityFieldLink>
<entityFieldLink>
<name>e66d7b82-5b48-46f3-b780-06a5f107faca</name>
<entityField>CONTRACTDUE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>4390abcd-d47e-40b2-85a9-655d39b17e82</name>
<entityField>REMARK</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<genericViewTemplate>
<name>Description</name>
<editMode v="true" />
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<hideLabels v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>d16e9cd4-a41d-43b8-ae79-9c30eb3cad73</name>
<entityField>REMARK</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<neonViewReference>
<name>49eafd04-4d72-4a11-8818-97407e0fe154</name>
<entityField>Attributes</entityField>
<view>AttributeRelationMultiEdit_view</view>
</neonViewReference>
</children>
</neonView>
......@@ -6,6 +6,7 @@
<layout>
<boxLayout>
<name>layout</name>
<autoHeight v="true" />
</boxLayout>
</layout>
<children>
......@@ -18,8 +19,17 @@
<name>9f8ad216-e4da-4973-bf3f-1d24dca765f3</name>
<entityField>LANG</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<genericViewTemplate>
<name>Description</name>
<editMode v="true" />
<drawerCaption>Description</drawerCaption>
<hideLabels v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>64dde5e6-d8f7-42f7-bea9-104210ebf08f</name>
<name>aacd9212-d267-4ff2-ac4c-b0362bd9b09c</name>
<entityField>DESCRIPTION</entityField>
</entityFieldLink>
</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>DescriptionTranslationPreview_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>TranslationInfo</name>
<showDrawer v="true" />
<drawerCaption></drawerCaption>
<hideLabels v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>5e432839-ca9a-4a29-8006-0a1673d94c92</name>
<entityField>LANG</entityField>
</entityFieldLink>
<entityFieldLink>
<name>1348a3ee-b372-4091-a0d5-5ab45fcb58a9</name>
<entityField>DESCRIPTION</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</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.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>DescriptionTranslationPreview_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout>
<boxLayout>
<name>layout</name>
<autoHeight v="true" />
</boxLayout>
</layout>
<children>
<genericViewTemplate>
<name>TranslationInfo</name>
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<hideLabels v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>5e432839-ca9a-4a29-8006-0a1673d94c92</name>
<entityField>LANG</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<genericViewTemplate>
<name>Description</name>
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<hideLabels v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>d7b004c9-354a-4648-9e41-ed18335370ad</name>
<entityField>DESCRIPTION</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</children>
</neonView>
......@@ -55,6 +55,7 @@
</genericViewTemplate>
<genericViewTemplate>
<name>Description</name>
<editMode v="true" />
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<hideLabels v="true" />
......
......@@ -65,6 +65,7 @@
</genericViewTemplate>
<genericViewTemplate>
<name>Info</name>
<editMode v="true" />
<showDrawer v="true" />
<drawerCaption>Description</drawerCaption>
<hideLabels 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