Skip to content
Snippets Groups Projects
Offer_entity.aod 45.7 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.9" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.9">
Johannes Hörmann's avatar
Johannes Hörmann committed
  <name>Offer_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Offer_entity/documentation.adoc</documentation>
  <title>Offer</title>
  <grantUpdateProcess>%aditoprj%/entity/Offer_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/Offer_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Offer_entity/contentTitleProcess.js</contentTitleProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <afterUiInit>%aditoprj%/entity/Offer_entity/afterUiInit.js</afterUiInit>
  <iconId>VAADIN:CART</iconId>
  <titlePlural>Offers</titlePlural>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>f909c251-16c1-49e2-9b43-6d5f834137c6</name>
          <entityName>Object_entity</entityName>
          <fieldName>Offers</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityField>
      <name>CURRENCY</name>
      <title>Currency</title>
      <consumer>KeywordCurrencies</consumer>
      <mandatory v="true" />
      <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>
      <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>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offerdate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OFFERID</name>
      <title>OFFERID (UID)</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <searchable v="false" />
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offerid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PROBABILITY</name>
      <title>Probability</title>
      <consumer>KeywordProbabilities</consumer>
      <contentType>NUMBER</contentType>
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
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <consumer>KeywordOfferStates</consumer>
      <mandatory v="true" />
      <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>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/vat/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>HEADER</name>
      <title>Header text</title>
      <contentType>LONG_TEXT</contentType>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/header/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>Offeritems</name>
      <description></description>
      <dependency>
        <name>dependency</name>
        <entityName>Offeritem_entity</entityName>
        <fieldName>OfferItems</fieldName>
      </dependency>
      <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>
          <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>
Johannes Hörmann's avatar
Johannes Hörmann committed
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newOfferVersion</name>
      <title>New offer version</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/newofferversion/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CART</iconId>
    </entityActionField>
    <entityField>
      <name>NET</name>
      <title>Total net</title>
      <contentType>NUMBER</contentType>
      <inputFormat>#,##0.00</inputFormat>
      <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>
      <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>
      <name>LANGUAGE</name>
      <title>Language</title>
      <consumer>Languages</consumer>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/language/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/language/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/language/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityActionField>
      <name>copyOffer</name>
      <title>Copy offer</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/copyoffer/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:COPY</iconId>
    </entityActionField>
    <entityField>
      <name>VERSNR</name>
      <documentation>%aditoprj%/entity/Offer_entity/entityfields/versnr/documentation.adoc</documentation>
      <title>Vers. no.</title>
      <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>
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>
    <entityActionField>
      <name>printOffer</name>
      <title>Print Offer</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/printoffer/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:FILE_TEXT_O</iconId>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/printoffer/stateProcess.js</stateProcess>
    </entityActionField>
    <entityField>
      <name>CONTACT_ORG_ID</name>
      <title>Company</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <searchable v="false" />
    </entityField>
    <entityField>
      <name>CONTACT_PERSON_ID</name>
      <title>Person</title>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <searchable v="false" />
    </entityField>
    <entityConsumer>
      <name>AnyContacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>AnyContact_entity</entityName>
        <fieldName>OnlySameCompany</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/anycontacts/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Documents</name>
      <selectionMode>MULTI</selectionMode>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/documents/stateProcess.js</stateProcess>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>Documents</fieldName>
      </dependency>
      <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>
      <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" />
      <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>
        <element>PROCESS</element>
      </onValueChangeTypes>
    </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/Offer_entity/entityfields/keywordcurrencies/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordOfferStates</name>
      <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>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newOrder</name>
      <title>Create receipt</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/neworder/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:DOLLAR</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Languages</name>
      <dependency>
        <name>dependency</name>
        <entityName>Language_entity</entityName>
        <fieldName>ISO3Name</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordProbabilities</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/keywordprobabilities/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Activities</name>
      <dependency>
        <name>dependency</name>
        <entityName>Activity_entity</entityName>
        <fieldName>LinkedObjects</fieldName>
      </dependency>
      <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>
    <entityActionField>
      <name>newActivity</name>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Offer_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityProvider>
      <name>ContactOffers</name>
      <dependencies>
        <entityDependency>
          <name>5c9720b5-1288-4a30-88fd-6dcff6359083</name>
          <entityName>Person_entity</entityName>
          <fieldName>Offers</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>b308795f-3c81-4e60-99ca-3b5f8e82f62a</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>Offers</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <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>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityField>
      <name>PAYMENTTERMS</name>
      <title>Payment term</title>
      <consumer>KeywordPaymentTerm</consumer>
      <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>
      <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>
      <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>
      <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>
      <stateProcess>%aditoprj%/entity/Offer_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/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>
    </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>
      <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
      <searchable v="false" />
      <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
      <searchable v="false" />
      <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
      <searchable v="false" />
      <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
      <searchable v="false" />
      <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>
      <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>
    </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>
    </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>
      <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>
    </entityConsumer>
    <entityConsumer>
      <name>Contexts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Context_entity</entityName>
        <fieldName>Context</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Whitelist</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/contexts/children/whitelist/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>Links</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>88a166e6-ccd0-4d51-b554-e3327f66d834</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>Offers</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <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>
      <consumer>DocumentTemplateTex</consumer>
    </entityField>
    <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/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>LogHistoryConsumer</name>
      <dependency>
        <name>dependency</name>
        <entityName>LogHistory_entity</entityName>
        <fieldName>LogHistoryProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>tablenames_param</name>
          <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/loghistoryconsumer/children/tablenames_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>FOOTER</name>
      <title>Footer text</title>
      <contentType>LONG_TEXT</contentType>
      <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>
    </entityField>
    <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/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>
      <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>
      <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>
      <onValidation>%aditoprj%/entity/Offer_entity/entityfields/contact_id/onValidation.js</onValidation>
Johannes Hörmann's avatar
Johannes Hörmann committed
    </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>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/lettersalutation/valueProcess.js</valueProcess>
    </entityField>
S.Listl's avatar
S.Listl committed
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
Johannes Hörmann's avatar
Johannes Hörmann committed
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <maximumDbRows v="0" />
      <fromClauseProcess>%aditoprj%/entity/Offer_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Offer_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Offer_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Offer_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBDelete>%aditoprj%/entity/Offer_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <linkInformation>
        <linkInformation>
          <name>69b62a9f-95bf-48be-8891-b6c2524f6ea1</name>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <tableName>OFFER</tableName>
          <primaryKey>OFFERID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>d2334c28-1be0-4377-b13a-062bb1613c5a</name>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>16e5d66a-f156-4855-9da4-b9dee497c3f3</name>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <tableName>SALESPROJECT</tableName>
          <primaryKey>SALESPROJECTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>6b708a89-8864-433b-bdec-4edcedb3d7d1</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>4cdfe047-48d0-409e-8b01-e2c1312e8a5b</name>
          <tableName>PERSON</tableName>
          <primaryKey>PERSONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
Johannes Hörmann's avatar
Johannes Hörmann committed
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>CURRENCY.value</name>
          <recordfield>OFFER.CURRENCY</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>HEADER.value</name>
          <recordfield>OFFER.HEADER</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.value</name>
          <recordfield>OFFER.LANGUAGE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>NET.value</name>
          <recordfield>OFFER.NET</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFERCODE.value</name>
          <recordfield>OFFER.OFFERCODE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFERDATE.value</name>
          <recordfield>OFFER.OFFERDATE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFERID.value</name>
          <recordfield>OFFER.OFFERID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PROBABILITY.value</name>
          <recordfield>OFFER.PROBABILITY</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>OFFER.STATUS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VAT.value</name>
          <recordfield>OFFER.VAT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VERSNR.value</name>
          <recordfield>OFFER.VERSNR</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>OFFER.ADDRESS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CURRENCY.displayValue</name>
          <expression>%aditoprj%/entity/Offer_entity/recordcontainers/db/recordfieldmappings/currency.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>