Newer
Older
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.18" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.18">
<majorModelMode>DISTRIBUTED</majorModelMode>
<documentation>%aditoprj%/entity/Offeritem_entity/documentation.adoc</documentation>
<siblings>
<element>Offer_entity</element>
</siblings>
<grantCreateProcess>%aditoprj%/entity/Offeritem_entity/grantCreateProcess.js</grantCreateProcess>
<grantUpdateProcess>%aditoprj%/entity/Offeritem_entity/grantUpdateProcess.js</grantUpdateProcess>
<grantDeleteProcess>%aditoprj%/entity/Offeritem_entity/grantDeleteProcess.js</grantDeleteProcess>
<titlePlural>Offeritems</titlePlural>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
<name>#PROVIDER</name>
</entityProvider>
<entityField>
<name>ASSIGNEDTO</name>
</entityField>
<entityField>
<name>DISCOUNT</name>
<title>Discount</title>
<maxValue v="100" />
<minValue v="0" />
<outputFormat>0.00'%'</outputFormat>
<inputFormat>0.00</inputFormat>
<onValidation>%aditoprj%/entity/Offeritem_entity/entityfields/discount/onValidation.js</onValidation>
</entityField>
<entityField>
<name>GROUPCODEID</name>
<title>Commodity group</title>
<consumer>KeywordProductGroupcodes</consumer>
<state>READONLY</state>
<displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/groupcodeid/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>ITEMNAME</name>
<title>Designation</title>
</entityField>
<entityField>
<name>ITEMPOSITION</name>
<title>Position</title>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/itemposition/valueProcess.js</valueProcess>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/itemsort/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>OFFERITEMID</name>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/offeritemid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>OFFER_ID</name>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/offer_id/valueProcess.js</valueProcess>
<onValueChangeTypes>
<element>MASK</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>OPTIONAL</name>
<title>Optional</title>
<contentType>BOOLEAN</contentType>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>PRICE</name>
<title>Unit price</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/price/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/price/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>PRODUCT_ID</name>
<documentation>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/documentation.adoc</documentation>
<title>Article</title>
<consumer>Products</consumer>
<linkedContext>Product</linkedContext>
<mandatory v="true" />
<stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/stateProcess.js</stateProcess>
Jessica Luginger
committed
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
Jessica Luginger
committed
<element>PROCESS</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>QUANTITY</name>
<documentation>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/documentation.adoc</documentation>
<title>Quantity</title>
<contentType>NUMBER</contentType>
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<outputFormat>#</outputFormat>
<inputFormat>#</inputFormat>
<mandatory v="true" />
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/valueProcess.js</valueProcess>
<onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
</onValueChangeTypes>
<onValidation>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/onValidation.js</onValidation>
</entityField>
<entityField>
<name>UNIT</name>
<title>Unit</title>
<consumer>KeywordQuantityUnits</consumer>
<state>READONLY</state>
<displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/unit/displayValueProcess.js</displayValueProcess>
<onValueChangeTypes>
<element>PROCESS</element>
<element>MASK</element>
<element>PROCESS_SETVALUE</element>
</onValueChangeTypes>
</entityField>
<entityField>
<name>VAT</name>
<title>VAT</title>
<contentType>NUMBER</contentType>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/vat/valueProcess.js</valueProcess>
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
</entityField>
<entityParameter>
<name>OfferId_param</name>
<expose v="true" />
<mandatory v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>ContactId_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityParameter>
<name>Currency_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityField>
<name>TotalPrice</name>
<documentation>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/documentation.adoc</documentation>
<title>Sum</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>IMAGE</name>
<contentType>IMAGE</contentType>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/image/valueProcess.js</valueProcess>
</entityField>
<entityParameter>
<name>OfferStatus_param</name>
<expose v="true" />
<description>PARAMETER</description>
</entityParameter>
<entityProvider>
<name>OfferItems</name>
<recordContainer>db</recordContainer>
Pascal Neub
committed
<dependencies>
<entityDependency>
<name>7810e350-d011-4d95-8d0b-883f3a0e519c</name>
<entityName>Offer_entity</entityName>
<fieldName>Offeritems</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
<name>ContactId_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>Currency_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>OfferId_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>OfferStatus_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>Language_param</name>
<expose v="true" />
</entityParameter>
</children>
</entityProvider>
<entityField>
<name>INFO</name>
<documentation>%aditoprj%/entity/Offeritem_entity/entityfields/info/documentation.adoc</documentation>
<title>Description</title>
<contentType>LONG_TEXT</contentType>
<state>AUTO</state>
</entityField>
<entityConsumer>
<name>KeywordProductGroupcodes</name>
Pascal Neub
committed
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/keywordproductgroupcodes/children/containername_param/valueProcess.js</valueProcess>
<expose v="false" />
</entityParameter>
</children>
Pascal Neub
committed
</entityConsumer>
<entityConsumer>
<name>KeywordQuantityUnits</name>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/keywordquantityunits/children/containername_param/valueProcess.js</valueProcess>
<expose v="false" />
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>Products</name>
<dependency>
<name>dependency</name>
<entityName>Product_entity</entityName>
<fieldName>#PROVIDER</fieldName>
</dependency>
<children>
<entityParameter>
<name>ProductIds_param</name>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/products/children/productids_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityParameter>
<name>Language_param</name>
<expose v="true" />
</entityParameter>
<entityProvider>
<name>#PROVIDER_AGGREGATES</name>
<useAggregates v="true" />
</entityProvider>
Jessica Luginger
committed
<entityParameter>
<name>ProductId_param</name>
<expose v="true" />
</entityParameter>
s.garb
committed
<entityParameter>
<name>Discount_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>IgnoreOnUpdateProcess_param</name>
<expose v="true" />
<documentation>%aditoprj%/entity/Offeritem_entity/entityfields/ignoreonupdateprocess_param/documentation.adoc</documentation>
</entityParameter>
Pascal Neub
committed
<entityActionGroup>
<name>group</name>
<children>
<entityActionField>
<name>moveUp</name>
<onActionProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/moveup/onActionProcess.js</onActionProcess>
<iconId>VAADIN:ARROW_UP</iconId>
<state>DISABLED</state>
<stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/moveup/stateProcess.js</stateProcess>
</entityActionField>
<entityActionField>
<name>moveDown</name>
<onActionProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/movedown/onActionProcess.js</onActionProcess>
<iconId>VAADIN:ARROW_DOWN</iconId>
<state>DISABLED</state>
<stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/movedown/stateProcess.js</stateProcess>
</entityActionField>
</children>
</entityActionGroup>
<entityField>
<name>itemInsertStatements</name>
<documentation>%aditoprj%/entity/Offeritem_entity/entityfields/iteminsertstatements/documentation.adoc</documentation>

Benjamin Ulrich
committed
</entityField>
<entityField>
<name>currency</name>
<title>Currency</title>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/currency/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
<name>db</name>
<maximumDbRows v="0" />

Daniel Tran
committed
<hasDependentRecords v="true" />
<conditionProcess>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBInsert>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
<onDBUpdate>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
<onDBDelete>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<recordFieldMappings>
<dbRecordFieldMapping>
<name>ASSIGNEDTO.value</name>
<recordfield>OFFERITEM.ASSIGNEDTO</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>DISCOUNT.value</name>
<recordfield>OFFERITEM.DISCOUNT</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>GROUPCODEID.value</name>
<recordfield>OFFERITEM.GROUPCODEID</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ITEMNAME.value</name>
<recordfield>OFFERITEM.ITEMNAME</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ITEMPOSITION.value</name>
<recordfield>OFFERITEM.ITEMPOSITION</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ITEMSORT.value</name>
<recordfield>OFFERITEM.ITEMSORT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>OFFERITEMID.value</name>
<recordfield>OFFERITEM.OFFERITEMID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>OFFER_ID.value</name>
<recordfield>OFFERITEM.OFFER_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>OPTIONAL.value</name>
<recordfield>OFFERITEM.OPTIONAL</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PRICE.value</name>
<recordfield>OFFERITEM.PRICE</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PRODUCT_ID.value</name>
<recordfield>OFFERITEM.PRODUCT_ID</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>QUANTITY.value</name>
<recordfield>OFFERITEM.QUANTITY</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>UNIT.value</name>
<recordfield>OFFERITEM.UNIT</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>VAT.value</name>
<recordfield>OFFERITEM.VAT</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>INFO.value</name>
<recordfield>OFFERITEM.INFO</recordfield>
Johannes Goderbauer
committed
<isLookupFilter v="false" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>GROUPCODEID.displayValue</name>
<expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/groupcodeid.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>UNIT.displayValue</name>
<expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/unit.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PRODUCT_ID.displayValue</name>
<expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/product_id.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
</recordFieldMappings>
<linkInformation>
<linkInformation>
<name>1894a7fa-bc31-43c2-9ba9-d432892efdaa</name>
<tableName>OFFERITEM</tableName>
<primaryKey>OFFERITEMID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
</linkInformation>