Skip to content
Snippets Groups Projects
Offer_entity.aod 63.3 KiB
Newer Older
Johannes Hörmann's avatar
Johannes Hörmann 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.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
Johannes Hörmann's avatar
Johannes Hörmann committed
  <name>Offer_entity</name>
  <title>Offer</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Offer_entity/documentation.adoc</documentation>
  <siblings>
    <element>Offeritem_entity</element>
  </siblings>
  <grantUpdateProcess>%aditoprj%/entity/Offer_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/Offer_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Offer_entity/contentTitleProcess.js</contentTitleProcess>
  <contentDescriptionProcess>%aditoprj%/entity/Offer_entity/contentDescriptionProcess.js</contentDescriptionProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <afterUiInit>%aditoprj%/entity/Offer_entity/afterUiInit.js</afterUiInit>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <iconId>VAADIN:CART</iconId>
  <imageProcess>%aditoprj%/entity/Offer_entity/imageProcess.js</imageProcess>
  <titlePlural>Offers</titlePlural>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>CURRENCY</name>
      <title>Currency</title>
      <consumer>KeywordCurrencies</consumer>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/currency/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/currency/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/currency/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>OFFERCODE</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/offercode/documentation.adoc</documentation>
      <title>Offer number</title>
      <contentType>NUMBER</contentType>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offercode/valueProcess.js</valueProcess>
      <onValidation>%aditoprj%/entity/Offer_entity/entityfields/offercode/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>OFFERDATE</name>
      <title>Date</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <outputFormat>dd.MM.yyyy</outputFormat>
      <inputFormat>dd.MM.yyyy</inputFormat>
      <groupable v="true" />
Johannes Hörmann's avatar
Johannes Hörmann committed
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/offerdate/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offerdate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OFFERID</name>
      <title>OFFERID (UID)</title>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/offerid/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offerid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PROBABILITY</name>
      <title>Probability</title>
      <consumer>KeywordProbabilityOffer</consumer>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <contentType>NUMBER</contentType>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/valueProcess.js</valueProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <consumer>KeywordOfferStates</consumer>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/status/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/status/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>VAT</name>
      <title>Total VAT</title>
      <contentType>NUMBER</contentType>
      <inputFormat>#,##0.00</inputFormat>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/vat/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/vat/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <state>READONLY</state>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>HEADER</name>
      <title>Header text</title>
      <contentType>LONG_TEXT</contentType>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/header/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/header/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>Offeritems</name>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <description></description>
      <dependency>
        <name>dependency</name>
        <entityName>Offeritem_entity</entityName>
        <fieldName>OfferItems</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>OfferId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offeritems/children/offerid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Currency_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offeritems/children/currency_param/valueProcess.js</valueProcess>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offeritems/children/contactid_param/valueProcess.js</valueProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferStatus_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offeritems/children/offerstatus_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Language_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offeritems/children/language_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>Discount_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offeritems/children/discount_param/valueProcess.js</valueProcess>
        </entityParameter>
Johannes Hörmann's avatar
Johannes Hörmann committed
      </children>
    </entityConsumer>
    <entityField>
      <name>NET</name>
      <title>Total net</title>
      <contentType>NUMBER</contentType>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <inputFormat>#,##0.00</inputFormat>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <state>READONLY</state>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/net/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>TotalGross</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/totalgross/documentation.adoc</documentation>
      <title>Total gross</title>
      <contentType>NUMBER</contentType>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <inputFormat>#,##0.00</inputFormat>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/totalgross/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/totalgross/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <title>Language</title>
      <consumer>Languages</consumer>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/isolanguage/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/isolanguage/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/isolanguage/displayValueProcess.js</displayValueProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityField>
      <name>VERSNR</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/versnr/documentation.adoc</documentation>
      <title>Vers. no.</title>
      <contentType>NUMBER</contentType>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/versnr/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OFFER_ID</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/offer_id/documentation.adoc</documentation>
      <title>OFFER_ID</title>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/offer_id/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityFieldGroup>
      <name>OfferCode_VersNr_fieldgroup</name>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offercode_versnr_fieldgroup/valueProcess.js</valueProcess>
      <title>Offer number</title>
      <description>Offercode + VersNr</description>
      <state>READONLY</state>
      <fields>
        <element>OFFERCODE</element>
        <element>VERSNR</element>
      </fields>
    </entityFieldGroup>
    <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" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_org_id/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityField>
      <name>CONTACT_PERSON_ID</name>
      <title>Person</title>
      <groupable v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_person_id/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityConsumer>
      <name>AnyContacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>AnyContact_entity</entityName>
        <fieldName>OnlySameCompany</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/anycontacts/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ContactIds_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/anycontacts/children/contactids_param/valueProcess.js</valueProcess>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>IgnoreContactStates_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/anycontacts/children/ignorecontactstates_param/valueProcess.js</valueProcess>
        </entityParameter>
Johannes Hörmann's avatar
Johannes Hörmann committed
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Documents</name>
      <selectionMode>MULTI</selectionMode>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/documents/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>Documents</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>MainDocuments</name>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/maindocuments/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>MainDocuments</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/maindocuments/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/maindocuments/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ADDRESS</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/address/documentation.adoc</documentation>
      <title>Address</title>
      <description></description>
      <contentType>LONG_TEXT</contentType>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/address/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/address/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ChosenAddress</name>
      <title>Choose address</title>
      <consumer>PossibleAddresses</consumer>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityConsumer>
      <name>KeywordCurrencies</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/keywordcurrencies/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordOfferStates</name>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/keywordofferstates/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>WhitelistIds_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/keywordofferstates/children/whitelistids_param/valueProcess.js</valueProcess>
        </entityParameter>
Johannes Hörmann's avatar
Johannes Hörmann committed
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Languages</name>
      <dependency>
        <name>dependency</name>
        <entityName>Language_entity</entityName>
        <fieldName>ISO3Name</fieldName>
      </dependency>
    </entityConsumer>
      <dependency>
        <name>dependency</name>
        <entityName>Activity_entity</entityName>
        <fieldName>LinkedObjects</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/activities/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/activities/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/activities/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>ContactOffers</name>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferLanguage_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferCode_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferAddress_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferCurrency_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferDeliveryTerm_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferHeader_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferOriginal_Id_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferPaymentTerm_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferVersnr_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>PossibleConnectionTypes</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>OfferCurrency_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferLanguage_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferHeader_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferOriginal_Id_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferAddress_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferCode_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferVersnr_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>PAYMENTTERMS</name>
      <title>Payment term</title>
      <consumer>KeywordPaymentTerm</consumer>
      <groupable v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/paymentterms/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/paymentterms/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/paymentterms/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>DELIVERYTERMS</name>
      <title>Delivery specification</title>
      <consumer>KeywordDeliveryTerm</consumer>
      <groupable v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/deliveryterms/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/deliveryterms/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/deliveryterms/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordPaymentTerm</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/keywordpaymentterm/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordDeliveryTerm</name>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/keyworddeliveryterm/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Tasks</name>
      <dependency>
        <name>dependency</name>
        <entityName>Task_entity</entityName>
        <fieldName>Tasks</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/tasks/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>INFO</name>
      <title>Information</title>
      <contentType>LONG_TEXT</contentType>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/info/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/info/valueProcess.js</valueProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityConsumer>
      <name>Attributes</name>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/attributes/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <onValidation>%aditoprj%/entity/Offer_entity/entityfields/attributes/onValidation.js</onValidation>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>AttributeRelations</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>OfferPaymentTerm_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OfferDeliveryTerm_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>USER_NEW</name>
      <title>USER_NEW</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <title>USER_EDIT</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <title>DATE_NEW</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <title>DATE_EDIT</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>FullOfferCode</name>
      <title>Offer number</title>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/fulloffercode/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>PossibleAddresses</name>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAndContactAddresses</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/possibleaddresses/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ChoosenTEXHeader</name>
      <title>Choose Header</title>
      <consumer>DocumentTemplateTexHeader</consumer>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/choosentexheader/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/choosentexheader/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Offer_entity/entityfields/choosentexheader/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityField>
      <name>OBJECT_ROWID</name>
      <title>Link</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <consumer>Objects</consumer>
      <linkedContextProcess>%aditoprj%/entity/Offer_entity/entityfields/object_rowid/linkedContextProcess.js</linkedContextProcess>
Sophia Leierseder's avatar
Sophia Leierseder committed
      <mandatory v="true" />
Johannes Hörmann's avatar
Johannes Hörmann committed
      <mandatoryProcess>%aditoprj%/entity/Offer_entity/entityfields/object_rowid/mandatoryProcess.js</mandatoryProcess>
      <state>AUTO</state>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/object_rowid/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <titleProcess>%aditoprj%/entity/Offer_entity/entityfields/object_rowid/titleProcess.js</titleProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/object_rowid/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/object_rowid/displayValueProcess.js</displayValueProcess>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityField>
      <name>OBJECT_TYPE</name>
      <title>Connection Type</title>
      <consumer>Contexts</consumer>
      <mandatoryProcess>%aditoprj%/entity/Offer_entity/entityfields/object_type/mandatoryProcess.js</mandatoryProcess>
      <state>INVISIBLE</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/object_type/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/object_type/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>Objects</name>
      <dependency>
        <name>dependency</name>
        <entityName>Object_entity</entityName>
        <fieldName>FilteredObjects</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/objects/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/objects/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
      <dependency>
        <name>dependency</name>
        <entityName>Context_entity</entityName>
        <fieldName>Exclusive</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>Blacklist_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/contexts/children/blacklist_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>InvertBlacklist_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/contexts/children/invertblacklist_param/valueProcess.js</valueProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>Links</name>
      <recordContainer>db</recordContainer>
      <children>
        <entityParameter>
          <name>OfferDeliveryTerm_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferCode_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferOriginal_Id_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferAddress_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferCurrency_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferHeader_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferLanguage_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferPaymentTerm_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OfferVersnr_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>PossibleConnectionTypes</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/links/children/possibleconnectiontypes/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>ObjectRowId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>chooseTEXHeader</name>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/choosetexheader/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityConsumer>
      <name>DocumentTemplateTexHeader</name>
      <dependency>
        <name>dependency</name>
        <entityName>DocumentTemplate_entity</entityName>
        <fieldName>DocumentTemplateProvider</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>DocumentTemplateType_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/documenttemplatetexheader/children/documenttemplatetype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DocumentTemplateTypeClassification_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/documenttemplatetexheader/children/documenttemplatetypeclassification_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>LogHistories</name>
      <dependency>
        <name>dependency</name>
        <entityName>LogHistory_entity</entityName>
        <fieldName>LogHistoryProvider</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>tablenames_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>FOOTER</name>
      <title>Footer text</title>
      <contentType>LONG_TEXT</contentType>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/footer/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/footer/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>OfferFooter_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>ChoosenTEXFooter</name>
      <title>Choose Footer</title>
      <consumer>DocumentTemplateTexFooter</consumer>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/choosentexfooter/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/choosentexfooter/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Offer_entity/entityfields/choosentexfooter/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </entityField>
    <entityConsumer>
      <name>DocumentTemplateTexFooter</name>
      <dependency>
        <name>dependency</name>
        <entityName>DocumentTemplate_entity</entityName>
        <fieldName>DocumentTemplateProvider</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>DocumentTemplateType_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/documenttemplatetexfooter/children/documenttemplatetype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DocumentTemplateTypeClassification_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/documenttemplatetexfooter/children/documenttemplatetypeclassification_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Salesprojects</name>
      <dependency>
        <name>dependency</name>
        <entityName>Salesproject_entity</entityName>
        <fieldName>Salesprojects</fieldName>
      </dependency>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/salesprojects/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>CONTACT_ID</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/contact_id/documentation.adoc</documentation>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <consumer>AnyContacts</consumer>
      <groupable v="true" />
Johannes Hörmann's avatar
Johannes Hörmann committed
      <linkedContextProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Offer_entity/entityfields/contact_id/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityParameter>
      <name>PossibleConnectionTypes</name>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/possibleconnectiontypes/valueProcess.js</valueProcess>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>LETTERSALUTATION</name>
      <title>Letter salutation</title>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/lettersalutation/stateProcess.js</stateProcess>
    </entityField>
    <entityProvider>
      <name>SentOffers</name>
      <children>
        <entityParameter>
          <name>OfferStatus_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/sentoffers/children/offerstatus_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>OfferStatus_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>ActivityId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/activityid_param/documentation.adoc</documentation>
    </entityParameter>
    <entityField>
      <name>OFFER_REPORT_DATA</name>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offer_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>Contact</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>Emails</name>
      <dependency>
        <name>dependency</name>
        <entityName>Email_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityAggregateField>
      <name>NET_aggregate</name>
      <parentField>NET</parentField>
    <entityField>
      <name>OFFER_OBJECTTYPE</name>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offer_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>
    <entityAggregateField>
      <name>PROBABILITY_aggregate</name>
      <parentField>PROBABILITY</parentField>
      <title>Ø Probability</title>
    </entityAggregateField>
    <entityProvider>
      <name>OfferAggregates</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityField>
      <name>ACTIVE</name>
    </entityField>
    <entityField>
      <name>DISCOUNT</name>
      <title>Discount</title>
      <contentType>NUMBER</contentType>
      <outputFormat>0.00'%'</outputFormat>
      <inputFormat>0.00</inputFormat>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/discount/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Offer_entity/entityfields/discount/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
      <onValidation>%aditoprj%/entity/Offer_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/Offer_entity/entityfields/discounted_net/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/discounted_net/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityParameter>
      <name>Discount_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>DiscountChanged</name>
    </entityField>
      <title>discounted Vat</title>
      <contentType>NUMBER</contentType>
      <inputFormat>#,##0.00</inputFormat>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/discounted_vat/stateProcess.js</stateProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/discounted_vat/displayValueProcess.js</displayValueProcess>
      <name>Products</name>
      <dependency>
        <name>dependency</name>
        <entityName>Product_entity</entityName>
        <fieldName>Products</fieldName>
      </dependency>