Skip to content
Snippets Groups Projects
Offer_entity.aod 7.84 KiB
Newer Older
<?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.0.3" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.0.3">
  <name>Offer_entity</name>
  <title>Offer</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <alias>Data_alias</alias>
  <conditionProcess>%aditoprj%/entity/Offer_entity/conditionProcess.js</conditionProcess>
  <recordContainerType>DB</recordContainerType>
  <caption>Offer</caption>
  <entityFields>
    <entityIncomingField>
      <name>#INCOMING</name>
    </entityIncomingField>
    <entityField>
      <name>CURRENCY</name>
      <tableName>OFFER</tableName>
      <columnName>CURRENCY</columnName>
      <caption>Currency</caption>
      <possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/currency/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <tableName>OFFER</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <tableName>OFFER</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>LANGUAGE</name>
      <tableName>OFFER</tableName>
      <columnName>LANGUAGE</columnName>
      <caption>Language</caption>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/language/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>OFFERCODE</name>
      <tableName>OFFER</tableName>
      <columnName>OFFERCODE</columnName>
      <caption>Offer number</caption>
      <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>
      <tableName>OFFER</tableName>
      <columnName>OFFERDATE</columnName>
      <caption>Date</caption>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offerdate/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OFFERID</name>
      <tableName>OFFER</tableName>
      <columnName>OFFERID</columnName>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/offerid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PROBABILITY</name>
      <tableName>OFFER</tableName>
      <columnName>PROBABILITY</columnName>
      <caption>Probability</caption>
      <possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>RELATION_ID</name>
      <tableName>OFFER</tableName>
      <columnName>RELATION_ID</columnName>
      <caption>Contact / Company</caption>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>SALESPROJECT_ID</name>
      <tableName>OFFER</tableName>
      <columnName>SALESPROJECT_ID</columnName>
      <caption>Salesproject</caption>
    </entityField>
    <entityField>
      <name>STATUS</name>
      <tableName>OFFER</tableName>
      <columnName>STATUS</columnName>
      <caption>Status</caption>
      <possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/status/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <tableName>OFFER</tableName>
      <columnName>USER_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <tableName>OFFER</tableName>
      <columnName>USER_NEW</columnName>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>VAT</name>
      <tableName>OFFER</tableName>
      <columnName>VAT</columnName>
      <caption>Total VAT</caption>
      <state>READONLY</state>
    </entityField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>HEADER</name>
      <tableName>OFFER</tableName>
      <columnName>HEADER</columnName>
      <caption>Header text</caption>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/header/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>FOOTER</name>
      <tableName>OFFER</tableName>
      <columnName>FOOTER</columnName>
      <caption>Footer text</caption>
    </entityField>
    <entityOutgoingField>
      <name>OfferOfferitem_dfo</name>
      <title>Offeritems</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <description></description>
      <caption>Offeritems</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Offeritem_entity</entityName>
        <fieldName>#INCOMING</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OfferId_param</name>
          <code>%aditoprj%/entity/Offer_entity/entityfields/offerofferitem_dfo/children/offerid_param/code.js</code>
          <expose v="true" />
          <triggerRecalculation v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>Currency_param</name>
          <code>%aditoprj%/entity/Offer_entity/entityfields/offerofferitem_dfo/children/currency_param/code.js</code>
          <expose v="true" />
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>RelationId_param</name>
          <code>%aditoprj%/entity/Offer_entity/entityfields/offerofferitem_dfo/children/relationid_param/code.js</code>
          <expose v="true" />
          <triggerRecalculation v="true" />
          <mandatory v="true" />
        </entityParameter>
    <entityActionField>
      <name>newOfferVersion</name>
      <fieldType>ACTION</fieldType>
      <onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/newofferversion/onActionProcess.js</onActionProcess>
      <caption>New offer verison</caption>
    </entityActionField>
    <entityField>
      <name>PreviewTitle</name>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/previewtitle/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>NET</name>
      <tableName>OFFER</tableName>
      <columnName>NET</columnName>
      <caption>Total net</caption>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/net/valueProcess.js</valueProcess>
      <fieldIdProcess>%aditoprj%/entity/Offer_entity/entityfields/net/fieldIdProcess.js</fieldIdProcess>
    </entityField>
    <entityField>
      <name>TotalGross</name>
      <caption>Total gross</caption>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/totalgross/valueProcess.js</valueProcess>
    </entityField>
  </entityFields>
  <linkInformation>
    <linkInformation>
      <name>8f05a818-b447-40e6-8ee6-d3c2452f3dbe</name>
      <tableName>OFFER</tableName>
      <primaryKey>OFFERID</primaryKey>
      <isUIDTable v="true" />
    </linkInformation>
  </linkInformation>
</entity>