Skip to content
Snippets Groups Projects
Order_entity.aod 27.4 KiB
Newer Older
S.Listl's avatar
S.Listl committed
<?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">
S.Listl's avatar
S.Listl committed
  <name>Order_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Order_entity/documentation.adoc</documentation>
  <title>Receipt</title>
  <contentTitleProcess>%aditoprj%/entity/Order_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Order_entity/afterUiInit.js</afterUiInit>
  <iconId>VAADIN:DOLLAR</iconId>
  <titlePlural>Receipts</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>95e7ab85-0af9-46ea-a50a-7719833acd2a</name>
          <entityName>Object_entity</entityName>
          <fieldName>Orders</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityField>
      <name>CURRENCY</name>
      <title>Currency</title>
      <consumer>KeywordCurrencies</consumer>
      <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>Date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <outputFormat>dd.MM.yyyy</outputFormat>
      <inputFormat>dd.MM.yyyy</inputFormat>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/salesorderdate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALESORDERID</name>
      <title>SALESORDERID (UID)</title>
S.Listl's avatar
S.Listl committed
      <searchable v="false" />
      <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>Connection</title>
      <consumer>AnyContacts</consumer>
      <linkedContextProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/contact_id/valueProcess.js</valueProcess>
      <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>SALESPROJECT_ID</name>
      <title>Salesproject</title>
      <consumer>Salesprojects</consumer>
      <linkedContext>Salesproject</linkedContext>
      <mandatory v="true" />
      <state>INVISIBLE</state>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/salesproject_id/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/salesproject_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/salesproject_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <consumer>KeywordStates</consumer>
      <state>EDITABLE</state>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>VAT</name>
      <title>Total VAT</title>
      <contentType>NUMBER</contentType>
      <state>READONLY</state>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/vat/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>HEADER</name>
      <title>Header text</title>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/header/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>FOOTER</name>
      <title>Footer text</title>
    </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>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newOrderVersion</name>
      <title>New receipt version</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/neworderversion/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:DOLLAR</iconId>
    </entityActionField>
    <entityField>
      <name>NET</name>
      <title>Total net</title>
      <contentType>NUMBER</contentType>
      <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>
    <entityParameter>
      <name>SalesprojectId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>LANGUAGE</name>
      <title>Language</title>
      <consumer>Languages</consumer>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/language/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/language/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityActionField>
      <name>newOrder</name>
      <title>Copy receipt</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/neworder/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:COPY</iconId>
    </entityActionField>
    <entityField>
      <name>VERSNR</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/versnr/documentation.adoc</documentation>
      <title>Vers. no.</title>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/versnr/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALESORDER_ID</name>
      <documentation>%aditoprj%/entity/Order_entity/entityfields/salesorder_id/documentation.adoc</documentation>
      <title>SALESORDER_ID</title>
      <searchable v="false" />
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityFieldGroup>
      <name>OrderCode_VersNr_fieldgroup</name>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/ordercode_versnr_fieldgroup/valueProcess.js</valueProcess>
      <title>Receipt number</title>
      <description>Ordercode + VersNr</description>
      <state>READONLY</state>
      <fields>
        <element>SALESORDERCODE</element>
        <element>VERSNR</element>
      </fields>
    </entityFieldGroup>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>CONTACT_ORG_ID</name>
      <title>Company</title>
S.Listl's avatar
S.Listl committed
      <searchable v="false" />
    </entityField>
    <entityField>
      <name>CONTACT_PERSON_ID</name>
      <title>Person</title>
S.Listl's avatar
S.Listl committed
      <searchable v="false" />
    </entityField>
    <entityConsumer>
      <name>AnyContacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>AnyContact_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </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>AssignmentName_param</name>
          <documentation>%aditoprj%/entity/Order_entity/entityfields/maindocuments/children/assignmentname_param/documentation.adoc</documentation>
        </entityParameter>
        <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>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityField>
      <name>ADDRESS</name>
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/address/valueProcess.js</valueProcess>
    </entityField>
    <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>
    <entityParameter>
      <name>OrderCurrency_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OrderLanguage_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OrderHeader_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OrderAddress_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <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" />
      <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>
    <entityActionField>
      <name>newActivity</name>
      <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>
    <entityField>
      <name>OFFER_ID</name>
      <title>Offer</title>
      <linkedContext>Offer</linkedContext>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/offer_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Order_entity/entityfields/offer_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Order_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Tasks</name>
      <stateProcess>%aditoprj%/entity/Order_entity/entityfields/tasks/stateProcess.js</stateProcess>
      <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>
      <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>LogHistoryConsumer</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/loghistoryconsumer/children/tablenames_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
S.Listl's avatar
S.Listl committed
    <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>
S.Listl's avatar
S.Listl committed
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <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>
      <onDBDelete>%aditoprj%/entity/Order_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <linkInformation>
        <linkInformation>
          <name>39d6d76d-8c8f-40aa-b2ed-4684de5d0050</name>
S.Listl's avatar
S.Listl committed
          <tableName>SALESORDER</tableName>
          <primaryKey>SALESORDERID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>c67be87c-ef41-4b01-bc74-95c46a101536</name>
S.Listl's avatar
S.Listl committed
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>6c333196-ff8c-4fef-a85f-0fee8e408661</name>
S.Listl's avatar
S.Listl committed
          <tableName>SALESPROJECT</tableName>
          <primaryKey>SALESPROJECTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>04cf409d-daeb-41be-ba24-9b7779ac4231</name>
          <tableName>PERSON</tableName>
          <primaryKey>PERSONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>a807abec-8815-4b57-a039-d53d24b90331</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
S.Listl's avatar
S.Listl committed
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>CURRENCY.value</name>
          <recordfield>SALESORDER.CURRENCY</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>FOOTER.value</name>
          <recordfield>SALESORDER.FOOTER</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>HEADER.value</name>
          <recordfield>SALESORDER.HEADER</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.value</name>
          <recordfield>SALESORDER.LANGUAGE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>NET.value</name>
          <recordfield>SALESORDER.NET</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESORDERCODE.value</name>
          <recordfield>SALESORDER.SALESORDERCODE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESORDERDATE.value</name>
          <recordfield>SALESORDER.SALESORDERDATE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESORDERID.value</name>
          <recordfield>SALESORDER.SALESORDERID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESPROJECT_ID.value</name>
          <recordfield>SALESORDER.SALESPROJECT_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>SALESORDER.STATUS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VAT.value</name>
          <recordfield>SALESORDER.VAT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VERSNR.value</name>
          <recordfield>SALESORDER.VERSNR</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <recordfield>SALESORDER.CONTACT_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ORG_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_PERSON_ID.value</name>
          <recordfield>CONTACT.PERSON_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESS.value</name>
          <recordfield>SALESORDER.ADDRESS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CURRENCY.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/currency.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/status.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/language.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFER_ID.value</name>
          <recordfield>SALESORDER.OFFER_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALESPROJECT_ID.displayValue</name>
          <recordfield>SALESPROJECT.PROJECTTITLE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ORG_ID.displayValue</name>
          <recordfield>ORGANISATION.NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_PERSON_ID.displayValue</name>
          <expression>%aditoprj%/entity/Order_entity/recordcontainers/db/recordfieldmappings/contact_person_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
      </recordFieldMappings>
    </dbRecordContainer>
	<indexRecordContainer>
      <name>index</name>
      <configMode>INDEXGROUP_DEFINITION</configMode>
      <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>
      <indexRecordAlias>Data_alias</indexRecordAlias>
      <indexFieldMappings>
        <indexRecordFieldMapping>
          <name>SALESORDERCODE.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>CUSTOMERCODE.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>
S.Listl's avatar
S.Listl committed
  </recordContainers>
</entity>