<?xml version="1.0" encoding="UTF-8"?> <entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.9" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.9"> <name>Offeritem_entity</name> <majorModelMode>DISTRIBUTED</majorModelMode> <documentation>%aditoprj%/entity/Offeritem_entity/documentation.adoc</documentation> <title>Offeritem</title> <grantUpdateProcess>%aditoprj%/entity/Offeritem_entity/grantUpdateProcess.js</grantUpdateProcess> <grantDeleteProcess>%aditoprj%/entity/Offeritem_entity/grantDeleteProcess.js</grantDeleteProcess> <afterOperatingState>%aditoprj%/entity/Offeritem_entity/afterOperatingState.js</afterOperatingState> <titlePlural>Offeritems</titlePlural> <recordContainer>db</recordContainer> <entityFields> <entityProvider> <name>#PROVIDER</name> </entityProvider> <entityField> <name>ASSIGNEDTO</name> </entityField> <entityField> <name>DISCOUNT</name> <title>Discount</title> <contentType>NUMBER</contentType> <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> </entityField> <entityField> <name>ITEMSORT</name> </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> <dropDownProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/dropDownProcess.js</dropDownProcess> <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> <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> <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> </onValueChangeTypes> </entityField> <entityField> <name>QUANTITY</name> <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/documentation.adoc</documentation> <title>Quantity</title> <contentType>NUMBER</contentType> <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> <outputFormat>0.00'%'</outputFormat> <inputFormat>0.00</inputFormat> <state>READONLY</state> </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> <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> <title></title> <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> <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> </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> </entityConsumer> <entityParameter> <name>Language_param</name> <expose v="true" /> </entityParameter> </entityFields> <recordContainers> <dbRecordContainer> <name>db</name> <alias>Data_alias</alias> <maximumDbRows v="0" /> <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> <linkInformation> <linkInformation> <name>1894a7fa-bc31-43c2-9ba9-d432892efdaa</name> <tableName>OFFERITEM</tableName> <primaryKey>OFFERITEMID</primaryKey> <isUIDTable v="true" /> <readonly v="false" /> </linkInformation> </linkInformation> <recordFieldMappings> <dbRecordFieldMapping> <name>ASSIGNEDTO.value</name> <recordfield>OFFERITEM.ASSIGNEDTO</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>DISCOUNT.value</name> <recordfield>OFFERITEM.DISCOUNT</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>GROUPCODEID.value</name> <recordfield>OFFERITEM.GROUPCODEID</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>ITEMNAME.value</name> <recordfield>OFFERITEM.ITEMNAME</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>ITEMPOSITION.value</name> <recordfield>OFFERITEM.ITEMPOSITION</recordfield> </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> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PRICE.value</name> <recordfield>OFFERITEM.PRICE</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>PRODUCT_ID.value</name> <recordfield>OFFERITEM.PRODUCT_ID</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>QUANTITY.value</name> <recordfield>OFFERITEM.QUANTITY</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>UNIT.value</name> <recordfield>OFFERITEM.UNIT</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>VAT.value</name> <recordfield>OFFERITEM.VAT</recordfield> </dbRecordFieldMapping> <dbRecordFieldMapping> <name>INFO.value</name> <recordfield>OFFERITEM.INFO</recordfield> </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> </dbRecordContainer> </recordContainers> </entity>