Skip to content
Snippets Groups Projects
Order_entity.aod 58.27 KiB
<?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.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
  <name>Order_entity</name>
  <title>Receipt</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Order_entity/documentation.adoc</documentation>
  <grantUpdateProcess>%aditoprj%/entity/Order_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/Order_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Order_entity/contentTitleProcess.js</contentTitleProcess>
  <contentDescriptionProcess>%aditoprj%/entity/Order_entity/contentDescriptionProcess.js</contentDescriptionProcess>
  <afterUiInit>%aditoprj%/entity/Order_entity/afterUiInit.js</afterUiInit>
  <useFavorites v="true" />
  <iconId>VAADIN:DOLLAR</iconId>
  <imageProcess>%aditoprj%/entity/Order_entity/imageProcess.js</imageProcess>
  <titlePlural>Receipts</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>CURRENCY</name>
      <title>Currency</title>
      <consumer>KeywordCurrencies</consumer>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/currency/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/currency/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>SALESORDERCODE</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/salesordercode/documentation.adoc</documentation>
      <title>Receipt number</title>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/salesordercode/valueProcess.js</valueProcess>
      <onValidation>%aditoprj%/entity/Order_entity/entityfields/salesordercode/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>SALESORDERDATE</name>
      <title>Order date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <outputFormat>dd.MM.yyyy</outputFormat>
      <inputFormat>dd.MM.yyyy</inputFormat>
      <groupable v="true" />
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/salesorderdate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALESORDERID</name>
      <title>SALESORDERID (UID)</title>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/salesorderid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>CONTACT_ID</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/contact_id/documentation.adoc</documentation>
      <title>Recipient</title>
      <consumer>AnyContacts</consumer>
      <linkedContextProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Order_entity/entityfields/contact_id/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>VAT</name>
      <title>Total VAT</title>
      <contentType>NUMBER</contentType>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/vat/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/vat/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>HEADER</name>
      <title>Header text</title>
      <contentType>LONG_TEXT</contentType>
    </entityField>
    <entityField>
      <name>FOOTER</name>
      <title>Footer text</title>
      <contentType>LONG_TEXT</contentType>
    </entityField>
    <entityConsumer>
      <name>Orderitems</name>
      <description></description>
      <dependency>
        <name>dependency</name>
        <entityName>Orderitem_entity</entityName>
        <fieldName>Orderitems</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OrderId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/orderitems/children/orderid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Currency_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/orderitems/children/currency_param/valueProcess.js</valueProcess>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/orderitems/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrderStatus_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/orderitems/children/orderstatus_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Discount_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/orderitems/children/discount_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>NET</name>
      <title>Total net</title>
      <contentType>NUMBER</contentType>
      <groupable v="true" />
      <state>READONLY</state>
      <valueProcess></valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/net/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>TotalGross</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/totalgross/documentation.adoc</documentation>
      <title>Total gross</title>
      <contentType>NUMBER</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/totalgross/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/totalgross/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>ISOLANGUAGE</name>
      <title>Language</title>
      <consumer>Languages</consumer>
      <groupable v="true" />
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/isolanguage/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/isolanguage/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>SALESORDER_ID</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/salesorder_id/documentation.adoc</documentation>
      <title>SALESORDER_ID</title>
    </entityField>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>CONTACT_ORG_ID</name>
      <title>Company</title>
      <consumer>Organisations</consumer>
      <groupable v="true" />
    </entityField>
    <entityField>
      <name>CONTACT_PERSON_ID</name>
      <title>Person</title>
      <consumer>Persons</consumer>
      <groupable v="true" />
    </entityField>
    <entityConsumer>
      <name>AnyContacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>AnyContact_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>IgnoreContactStates_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/anycontacts/children/ignorecontactstates_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Documents</name>
      <selectionMode>MULTI</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>Documents</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>MainDocuments</name>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/maindocuments/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>MainDocuments</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/maindocuments/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/maindocuments/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Salesprojects</name>
      <dependency>
        <name>dependency</name>
        <entityName>Salesproject_entity</entityName>
        <fieldName>Salesprojects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/salesprojects/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordCurrencies</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/keywordcurrencies/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordStates</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/keywordstates/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Languages</name>
      <dependency>
        <name>dependency</name>
        <entityName>Language_entity</entityName>
        <fieldName>ISO3Name</fieldName>
      </dependency>
    </entityConsumer>
    <entityParameter>
      <name>OfferId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <documentation>%aditoprj%/entity/Order_entity/entityfields/offerid_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>Activities</name>
      <dependency>
        <name>dependency</name>
        <entityName>Activity_entity</entityName>
        <fieldName>LinkedObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/activities/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/activities/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/activities/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>OFFER_ID</name>
      <title>Offer</title>
      <consumer>Offers</consumer>
      <groupable v="true" />
      <linkedContext>Offer</linkedContext>
      <state>AUTO</state>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/offer_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>Tasks</name>
      <dependency>
        <name>dependency</name>
        <entityName>Task_entity</entityName>
        <fieldName>Tasks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/tasks/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Attributes</name>
      <onValidation>%aditoprj%/entity/Order_entity/entityfields/attributes/onValidation.js</onValidation>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>AttributeRelations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>AttributeTree</name>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/attributetree/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/attributetree/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>LogHistories</name>
      <dependency>
        <name>dependency</name>
        <entityName>LogHistory_entity</entityName>
        <fieldName>LogHistoryProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>tablenames_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ORDERTYPE</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/ordertype/documentation.adoc</documentation>
      <title>Order Type</title>
      <consumer>KeywordOrderTypes</consumer>
      <groupable v="true" />
      <mandatory v="true" />
      <usePermissions v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/ordertype/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/ordertype/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>ORDERSTATUS</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/orderstatus/documentation.adoc</documentation>
      <title>Sent</title>
      <contentType>BOOLEAN</contentType>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/orderstatus/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PAID</name>
      <title>Paid</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00</outputFormat>
      <inputFormat>#,##0.00</inputFormat>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/paid/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/paid/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>CANCELLATION</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/cancellation/documentation.adoc</documentation>
      <title>${ORDER_CANCELLED}</title>
      <contentType>BOOLEAN</contentType>
      <groupable v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/cancellation/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DUNNINGDATE</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/dunningdate/documentation.adoc</documentation>
      <title>Dunning date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/dunningdate/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/dunningdate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DUNNINGLEVEL</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/dunninglevel/documentation.adoc</documentation>
      <title>Dunning level</title>
      <consumer>KeywordDunningLevels</consumer>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/dunninglevel/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/dunninglevel/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>PAYDATE</name>
      <title>Pay date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <groupable v="true" />
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/paydate/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/paydate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PAYDUEDATE</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/payduedate/documentation.adoc</documentation>
      <title>Pay due date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <mandatory v="true" />
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/payduedate/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordOrderTypes</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/keywordordertypes/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordDunningLevels</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/keyworddunninglevels/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>OBJECT_ROWID</name>
      <title>Link</title>
      <consumer>Objects</consumer>
      <linkedContextProcess>%aditoprj%/entity/Order_entity/entityfields/object_rowid/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <mandatoryProcess>%aditoprj%/entity/Order_entity/entityfields/object_rowid/mandatoryProcess.js</mandatoryProcess>
      <titleProcess>%aditoprj%/entity/Order_entity/entityfields/object_rowid/titleProcess.js</titleProcess>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/object_rowid/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/object_rowid/displayValueProcess.js</displayValueProcess>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>OBJECT_TYPE</name>
      <title>Connection Type</title>
      <consumer>Contexts</consumer>
      <mandatoryProcess>%aditoprj%/entity/Order_entity/entityfields/object_type/mandatoryProcess.js</mandatoryProcess>
      <state>INVISIBLE</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/object_type/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>Objects</name>
      <dependency>
        <name>dependency</name>
        <entityName>Object_entity</entityName>
        <fieldName>FilteredObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/objects/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/objects/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Contexts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Context_entity</entityName>
        <fieldName>Exclusive</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Blacklist_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/contexts/children/blacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>InvertBlacklist_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/contexts/children/invertblacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>PossibleConnectionTypes</name>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/possibleconnectiontypes/valueProcess.js</valueProcess>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectRowId_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Order_entity/entityfields/objectrowid_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Order_entity/entityfields/objecttype_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>PAYMENTTERMS</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/paymentterms/documentation.adoc</documentation>
      <title>Payment term</title>
      <consumer>KeywordPaymentTerms</consumer>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/paymentterms/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/paymentterms/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>DELIVERYTERMS</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/deliveryterms/documentation.adoc</documentation>
      <title>Delivery specification</title>
      <consumer>KeywordDeliveryTerms</consumer>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/deliveryterms/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/deliveryterms/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>DELIVERYADDRESS</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/deliveryaddress/documentation.adoc</documentation>
      <title>Delivery address</title>
      <contentType>LONG_TEXT</contentType>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>PAYMENTADDRESS</name>
      <title>Payment address</title>
      <contentType>LONG_TEXT</contentType>
      <mandatory v="true" />
    </entityField>
    <entityConsumer>
      <name>KeywordPaymentTerms</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/keywordpaymentterms/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordDeliveryTerms</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/keyworddeliveryterms/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>PossibleAddresses</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/possibleaddresses/documentation.adoc</documentation>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAndContactAddresses</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/possibleaddresses/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>NOTICE</name>
      <title>Notice</title>
      <contentType>LONG_TEXT</contentType>
    </entityField>
    <entityField>
      <name>DUNNINGTEXT</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/dunningtext/documentation.adoc</documentation>
      <title>Dunning text</title>
      <contentType>LONG_TEXT</contentType>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/dunningtext/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/dunningtext/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>Offers</name>
      <dependency>
        <name>dependency</name>
        <entityName>Offer_entity</entityName>
        <fieldName>ContactOffers</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/offers/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>DocumentTemplateTexHeader</name>
      <dependency>
        <name>dependency</name>
        <entityName>DocumentTemplate_entity</entityName>
        <fieldName>DocumentTemplateProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DocumentTemplateType_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/documenttemplatetexheader/children/documenttemplatetype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DocumentTemplateTypeClassification_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/documenttemplatetexheader/children/documenttemplatetypeclassification_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>DocumentTemplateTexFooter</name>
      <dependency>
        <name>dependency</name>
        <entityName>DocumentTemplate_entity</entityName>
        <fieldName>DocumentTemplateProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DocumentTemplateType_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/documenttemplatetexfooter/children/documenttemplatetype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DocumentTemplateTypeClassification_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/documenttemplatetexfooter/children/documenttemplatetypeclassification_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ChosenTexHeader</name>
      <title>Choose Header</title>
      <consumer>DocumentTemplateTexHeader</consumer>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/chosentexheader/stateProcess.js</stateProcess>
      <onValueChange>%aditoprj%/entity/Order_entity/entityfields/chosentexheader/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>ChosenTexFooter</name>
      <title>Choose Footer</title>
      <consumer>DocumentTemplateTexFooter</consumer>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/chosentexfooter/stateProcess.js</stateProcess>
      <onValueChange>%aditoprj%/entity/Order_entity/entityfields/chosentexfooter/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>ChosenPaymentAddress</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/chosenpaymentaddress/documentation.adoc</documentation>
      <title>Choose payment address</title>
      <consumer>PossibleAddresses</consumer>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/chosenpaymentaddress/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Order_entity/entityfields/chosenpaymentaddress/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>ChosenDeliveryAddress</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/chosendeliveryaddress/documentation.adoc</documentation>
      <title>Choose delivery address</title>
      <consumer>PossibleAddresses</consumer>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/chosendeliveryaddress/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Order_entity/entityfields/chosendeliveryaddress/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>REMINDER_REPORT_DATA</name>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/reminder_report_data/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORDER_REPORT_DATA</name>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/order_report_data/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>Organisations</name>
      <dependency>
        <name>dependency</name>
        <entityName>Organisation_entity</entityName>
        <fieldName>Organisations</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>Persons</name>
      <dependency>
        <name>dependency</name>
        <entityName>Person_entity</entityName>
        <fieldName>Contacts</fieldName>
      </dependency>
    </entityConsumer>
    <entityParameter>
      <name>Copy_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Order_entity/entityfields/copy_param/documentation.adoc</documentation>
    </entityParameter>
    <entityField>
      <name>ORDER_OBJECTTYPE</name>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/order_objecttype/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>COUNT</name>
      <title>Count</title>
      <contentType>NUMBER</contentType>
    </entityField>
    <entityAggregateField>
      <name>COUNT_aggregate</name>
      <parentField>COUNT</parentField>
      <title>Count</title>
    </entityAggregateField>
    <entityField>
      <name>INFO</name>
      <title>Info</title>
      <contentType>LONG_TEXT</contentType>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
    </entityField>
    <entityField>
      <name>ACTIVE</name>
    </entityField>
    <entityParameter>
      <name>SourceOrderId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityActionGroup>
      <name>observeActionGroup</name>
      <children>
        <entityActionField>
          <name>observe</name>
          <title>Observe</title>
          <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/observeactiongroup/children/observe/onActionProcess.js</onActionProcess>
          <isObjectAction v="true" />
          <iconId>VAADIN:EYE</iconId>
          <stateProcess>%aditoprj%/entity/Order_entity/entityfields/observeactiongroup/children/observe/stateProcess.js</stateProcess>
          <titleProcess>%aditoprj%/entity/Order_entity/entityfields/observeactiongroup/children/observe/titleProcess.js</titleProcess>
        </entityActionField>
        <entityActionField>
          <name>cancelObservation</name>
          <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/observeactiongroup/children/cancelobservation/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:EYE_SLASH</iconId>
          <stateProcess>%aditoprj%/entity/Order_entity/entityfields/observeactiongroup/children/cancelobservation/stateProcess.js</stateProcess>
          <titleProcess>%aditoprj%/entity/Order_entity/entityfields/observeactiongroup/children/cancelobservation/titleProcess.js</titleProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>copyOrder</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/copyorder/documentation.adoc</documentation>
      <title>Copy receipt</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/copyorder/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:COPY</iconId>
    </entityActionField>
    <entityActionField>
      <name>newActivity</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/newactivity/documentation.adoc</documentation>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Order_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityActionField>
      <name>newTask</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/newtask/documentation.adoc</documentation>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityActionField>
      <name>TransferDeliveryNote</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/transferdeliverynote/documentation.adoc</documentation>
      <title>Transfer to delivery note</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/transferdeliverynote/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:NOTEBOOK</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/transferdeliverynote/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>TransferInvoice</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/transferinvoice/documentation.adoc</documentation>
      <title>Transfer to Invoice</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/transferinvoice/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:BOOK_DOLLAR</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/transferinvoice/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>setSent</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/setsent/documentation.adoc</documentation>
      <title>Set to sent</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/setsent/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:ARROW_BACKWARD</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/setsent/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>cancel</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/cancel/documentation.adoc</documentation>
      <title>Cancel</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/cancel/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CLOSE</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/cancel/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>setDunning</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/setdunning/documentation.adoc</documentation>
      <title>Set dunning</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/setdunning/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:WARNING</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/setdunning/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>setPaid</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/setpaid/documentation.adoc</documentation>
      <title>Set paid amount</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/setpaid/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:DOLLAR</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/setpaid/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>printOrder</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/printorder/documentation.adoc</documentation>
      <title>Print order</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/printorder/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:FILE</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/printorder/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>printReminder</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/printreminder/documentation.adoc</documentation>
      <title>Print reminder</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/printreminder/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:FILE</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/printreminder/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionGroup>
      <name>orderReportDispatch</name>
      <children>
        <entityActionField>
          <name>dispatchOrderReport</name>
          <title>Dispatch as mail</title>
          <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/orderreportdispatch/children/dispatchorderreport/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <iconId>VAADIN:AT</iconId>
          <stateProcess>%aditoprj%/entity/Order_entity/entityfields/orderreportdispatch/children/dispatchorderreport/stateProcess.js</stateProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionGroup>
      <name>reminderReportDispatch</name>
      <children>
        <entityActionField>
          <name>dispatchReminderReport</name>
          <title>Dispatch as mail</title>
          <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/reminderreportdispatch/children/dispatchreminderreport/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <iconId>VAADIN:AT</iconId>
          <stateProcess>%aditoprj%/entity/Order_entity/entityfields/reminderreportdispatch/children/dispatchreminderreport/stateProcess.js</stateProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
    <entityConsumer>
      <name>Products</name>
      <dependency>
        <name>dependency</name>
        <entityName>Product_entity</entityName>
        <fieldName>Products</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OrderOfferInformations_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/products/children/orderofferinformations_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ShownInOrderMainView_param</name>
          <valueProcess>%aditoprj%/entity/Order_entity/entityfields/products/children/showninordermainview_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DISCOUNT</name>
      <title>Discount</title>
      <contentType>NUMBER</contentType>
      <outputFormat>0.00'%'</outputFormat>
      <inputFormat>0.00</inputFormat>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/discount/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Order_entity/entityfields/discount/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
      <onValidation>%aditoprj%/entity/Order_entity/entityfields/discount/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>DISCOUNTED_NET</name>
      <title>discounted Price</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00</outputFormat>
      <inputFormat>#,##0.00</inputFormat>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/discounted_net/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/discounted_net/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>DISCOUNTED_VAT</name>
      <title>discounted Vat</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00</outputFormat>
      <inputFormat>#,##0.00</inputFormat>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/discounted_vat/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/discounted_vat/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>DiscountChanged</name>
    </entityField>
    <entityParameter>
      <name>Discount_param</name>
      <expose v="true" />
    </entityParameter>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <maximumDbRows v="0" />
      <fromClauseProcess>%aditoprj%/entity/Order_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Order_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Order_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Order_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBUpdate>%aditoprj%/entity/Order_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <onDBDelete>%aditoprj%/entity/Order_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <alias>Data_alias</alias>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>CURRENCY.value</name>
          <recordfield>SALESORDER.CURRENCY</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>FOOTER.value</name>
          <recordfield>SALESORDER.FOOTER</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>HEADER.value</name>
          <recordfield>SALESORDER.HEADER</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>NET.value</name>
          <recordfield>SALESORDER.NET</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESORDERCODE.value</name>
          <recordfield>SALESORDER.SALESORDERCODE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESORDERDATE.value</name>
          <recordfield>SALESORDER.SALESORDERDATE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESORDERID.value</name>
          <recordfield>SALESORDER.SALESORDERID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VAT.value</name>
          <recordfield>SALESORDER.VAT</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <recordfield>SALESORDER.CONTACT_ID</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ORG_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
          <isFilterable v="false" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_PERSON_ID.value</name>
          <recordfield>CONTACT.PERSON_ID</recordfield>
          <isFilterable v="false" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CURRENCY.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/currency.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFER_ID.value</name>
          <recordfield>SALESORDER.OFFER_ID</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ORG_ID.displayValue</name>
          <recordfield>ORGANISATION.NAME</recordfield>
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_PERSON_ID.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/contact_person_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CANCELLATION.value</name>
          <recordfield>SALESORDER.CANCELLATION</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DUNNINGDATE.value</name>
          <recordfield>SALESORDER.DUNNINGDATE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DUNNINGLEVEL.value</name>
          <recordfield>SALESORDER.DUNNINGLEVEL</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORDERSTATUS.value</name>
          <recordfield>SALESORDER.ORDERSTATUS</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORDERTYPE.value</name>
          <recordfield>SALESORDER.ORDERTYPE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PAID.value</name>
          <recordfield>SALESORDER.PAID</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PAYDATE.value</name>
          <recordfield>SALESORDER.PAYDATE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PAYDUEDATE.value</name>
          <recordfield>SALESORDER.PAYDUEDATE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT_ROWID.value</name>
          <recordfield>SALESORDER.OBJECT_ROWID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT_TYPE.value</name>
          <recordfield>SALESORDER.OBJECT_TYPE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PAYMENTTERMS.value</name>
          <recordfield>SALESORDER.PAYMENTTERMS</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DELIVERYTERMS.value</name>
          <recordfield>SALESORDER.DELIVERYTERMS</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DELIVERYADDRESS.value</name>
          <recordfield>SALESORDER.DELIVERYADDRESS</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PAYMENTADDRESS.value</name>
          <recordfield>SALESORDER.PAYMENTADDRESS</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>NOTICE.value</name>
          <recordfield>SALESORDER.NOTICE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DUNNINGTEXT.value</name>
          <recordfield>SALESORDER.DUNNINGTEXT</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DELIVERYTERMS.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/deliveryterms.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/contact_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ISOLANGUAGE.value</name>
          <recordfield>SALESORDER.ISOLANGUAGE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ISOLANGUAGE.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/isolanguage.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORDERTYPE.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/ordertype.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <aggregateFieldDbMapping>
          <name>COUNT_aggregate.value</name>
          <recordfield>SALESORDER.SALESORDERID</recordfield>
          <aggregateType>COUNT</aggregateType>
        </aggregateFieldDbMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>SALESORDER.SALESORDERDATE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ACTIVE.value</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/active.value/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>INFO.value</name>
          <recordfield>SALESORDER.INFO</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DISCOUNT.value</name>
          <recordfield>SALESORDER.DISCOUNT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DISCOUNTED_NET.value</name>
          <recordfield>SALESORDER.DISCOUNTED_NET</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DISCOUNTED_VAT.value</name>
          <recordfield>SALESORDER.DISCOUNTED_VAT</recordfield>
        </dbRecordFieldMapping>
      </recordFieldMappings>
      <linkInformation>
        <linkInformation>
          <name>43290f18-46fb-4d1f-b653-60f39f1fe3fb</name>
          <tableName>SALESORDER</tableName>
          <primaryKey>SALESORDERID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>3f8c21b4-a81e-4405-8b4f-346ff724b8a5</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>0131be90-6232-4dda-9036-bbde951eded5</name>
          <tableName>PERSON</tableName>
          <primaryKey>PERSONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>0efeab02-efaf-4155-9312-0aee1f7f5535</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
      <filterExtensions>
        <filterExtension>
          <name>Favorite_filter</name>
          <title>Favoritegroup</title>
          <contentType>TEXT</contentType>
          <filterValuesProcess>%aditoprj%/entity/Order_entity/recordcontainers/db/filterextensions/favorite_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Order_entity/recordcontainers/db/filterextensions/favorite_filter/filterConditionProcess.js</filterConditionProcess>
          <filtertype>BASIC</filtertype>
        </filterExtension>
      </filterExtensions>
    </dbRecordContainer>
    <indexRecordContainer>
      <name>index</name>
      <configMode>INDEXGROUP_DEFINITION</configMode>
      <indexRecordAlias>Data_alias</indexRecordAlias>
      <query>%aditoprj%/entity/Order_entity/recordcontainers/index/query.js</query>
      <affectedTables>
        <element>SALESORDER</element>
      </affectedTables>
      <affectedIds>%aditoprj%/entity/Order_entity/recordcontainers/index/affectedIds.js</affectedIds>
      <indexFieldMappings>
        <indexRecordSystemFieldMapping>
          <name>#UID</name>
        </indexRecordSystemFieldMapping>
        <indexRecordMultilingualSystemFieldMapping>
          <name>#TITLE</name>
        </indexRecordMultilingualSystemFieldMapping>
        <indexRecordMultilingualSystemFieldMapping>
          <name>#DESCRIPTION</name>
        </indexRecordMultilingualSystemFieldMapping>
        <indexRecordFieldMapping>
          <name>SALESORDERCODE.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>CONTACT_ORG_ID.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>CONTACT_ORG_ID.displayValue</name>
          <indexFieldType>PROPER_NAME</indexFieldType>
          <additionalFieldNameAliases>
            <element>name</element>
          </additionalFieldNameAliases>
        </indexRecordFieldMapping>
      </indexFieldMappings>
    </indexRecordContainer>
  </recordContainers>
</entity>