Skip to content
Snippets Groups Projects
Verified Commit 72e469ae authored by Pascal Neub's avatar Pascal Neub
Browse files

[Projekt: xRM-Sales][TicketNr.: 2001283][Allg. Bugs Sales]

parent df2e9e0d
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@
<title>Article</title>
<consumer>Products</consumer>
<linkedContext>Product</linkedContext>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/Orderitem_entity/entityfields/product_id/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Orderitem_entity/entityfields/product_id/onValueChange.js</onValueChange>
<onValueChangeTypes>
......@@ -85,6 +86,7 @@
<contentType>NUMBER</contentType>
<minValue v="1" />
<outputFormat>#</outputFormat>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/Orderitem_entity/entityfields/quantity/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Orderitem_entity/entityfields/quantity/onValueChange.js</onValueChange>
<onValueChangeTypes>
......
......@@ -134,6 +134,7 @@
<maxValue v="100" />
<minValue v="0" />
<outputFormat>0'%'</outputFormat>
<inputFormat>0'%'</inputFormat>
<groupable v="true" />
</entityField>
<entityConsumer>
......@@ -1079,6 +1080,10 @@
<name>USER_NEW.value</name>
<recordfield>SALESPROJECT.USER_NEW</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PROBABILITY.displayValue</name>
<expression>%aditoprj%/entity/Salesproject_entity/recordcontainers/db/recordfieldmappings/probability.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
</recordFieldMappings>
<linkInformation>
<linkInformation>
......
import("system.result");
import("Sql_lib");
import("system.SQLTYPES");
var maskingUtils = new SqlMaskingUtils();
var probability = maskingUtils.cast("SALESPROJECT.PROBABILITY", SQLTYPES.CHAR, 2);
result.string(maskingUtils.concatenate([probability, "'%'"]));
......@@ -39,5 +39,13 @@
<name>bcc36a52-f97f-4883-b1eb-21b9daef82f4</name>
<view>ProductOfferOrder_view</view>
</neonViewReference>
<neonViewReference>
<name>d4a89117-5f6d-4fdf-ad1b-546deb45f497</name>
<view>ProductKnowledgeManagementDrawer_view</view>
</neonViewReference>
<neonViewReference>
<name>97ada610-725f-4636-a812-4da364a41636</name>
<view>ProductDescriptionTranslationDrawer_view</view>
</neonViewReference>
</references>
</neonContext>
<?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.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>ProductDescriptionTranslationDrawer_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<drawerLayout>
<name>layout</name>
<layoutCaption>Descriptions</layoutCaption>
</drawerLayout>
</layout>
<children>
<neonViewReference>
<name>59ca667d-68c8-40c4-a8cb-a9d98eeb0237</name>
<entityField>DescriptionTranslations</entityField>
<view>DescriptionTranslationFilter_view</view>
</neonViewReference>
</children>
</neonView>
......@@ -10,14 +10,14 @@
</layout>
<children>
<neonViewReference>
<name>d1bc2777-ee77-4604-8d7e-735ec79ed551</name>
<entityField>KnowledgeManagements</entityField>
<view>KnowledgeManagementFilter_view</view>
<name>74824d62-9767-4196-89fc-92a1fc432d34</name>
<entityField>#ENTITY</entityField>
<view>ProductKnowledgeManagementDrawer_view</view>
</neonViewReference>
<neonViewReference>
<name>1871fa72-d36b-43bd-937b-822ea7c2a08d</name>
<entityField>DescriptionTranslations</entityField>
<view>DescriptionTranslationFilter_view</view>
<name>325ad9fb-801b-4462-9899-22d07747c93f</name>
<entityField>#ENTITY</entityField>
<view>ProductDescriptionTranslationDrawer_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.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.8">
<name>ProductKnowledgeManagementDrawer_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<drawerLayout>
<name>layout</name>
<layoutCaption>Knowledge entries</layoutCaption>
</drawerLayout>
</layout>
<children>
<neonViewReference>
<name>b322e599-ccda-47c1-8f5c-42264d9d362e</name>
<entityField>KnowledgeManagements</entityField>
<view>KnowledgeManagementFilter_view</view>
</neonViewReference>
</children>
</neonView>
......@@ -11,7 +11,7 @@
<children>
<cardViewTemplate>
<name>Header</name>
<iconField>PICTURE</iconField>
<iconField>#IMAGE</iconField>
<titleField>PRODUCTCODE</titleField>
<descriptionField>PRODUCTNAME</descriptionField>
<favoriteAction1>newActivity</favoriteAction1>
......
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