Skip to content
Snippets Groups Projects
Offeritem_entity.aod 17.1 KiB
Newer Older
S.Listl's avatar
S.Listl committed
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.18" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.18">
S.Listl's avatar
S.Listl committed
  <name>Offeritem_entity</name>
  <title>Offeritem</title>
S.Listl's avatar
S.Listl committed
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Offeritem_entity/documentation.adoc</documentation>
Johannes Hörmann's avatar
Johannes Hörmann committed
  <siblings>
    <element>Offer_entity</element>
  </siblings>
  <grantCreateProcess>%aditoprj%/entity/Offeritem_entity/grantCreateProcess.js</grantCreateProcess>
  <grantUpdateProcess>%aditoprj%/entity/Offeritem_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/Offeritem_entity/grantDeleteProcess.js</grantDeleteProcess>
S.Listl's avatar
S.Listl committed
  <titlePlural>Offeritems</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>ASSIGNEDTO</name>
    </entityField>
    <entityField>
      <name>DISCOUNT</name>
S.Listl's avatar
S.Listl committed
      <contentType>NUMBER</contentType>
      <maxValue v="100" />
      <minValue v="0" />
      <outputFormat>0.00'%'</outputFormat>
      <inputFormat>0.00</inputFormat>
S.Listl's avatar
S.Listl committed
      <onValidation>%aditoprj%/entity/Offeritem_entity/entityfields/discount/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>GROUPCODEID</name>
      <title>Commodity group</title>
      <consumer>KeywordProductGroupcodes</consumer>
      <state>READONLY</state>
      <displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/groupcodeid/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>ITEMNAME</name>
      <title>Designation</title>
    </entityField>
    <entityField>
      <name>ITEMPOSITION</name>
      <title>Position</title>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/itemposition/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>ITEMSORT</name>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/itemsort/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>OFFERITEMID</name>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/offeritemid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OFFER_ID</name>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/offer_id/valueProcess.js</valueProcess>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>OPTIONAL</name>
      <title>Optional</title>
      <contentType>BOOLEAN</contentType>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PRICE</name>
      <title>Unit price</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00</outputFormat>
      <inputFormat>#,##0.00</inputFormat>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/price/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
      <displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/price/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>PRODUCT_ID</name>
      <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/documentation.adoc</documentation>
      <title>Article</title>
      <consumer>Products</consumer>
      <linkedContext>Product</linkedContext>
      <mandatory v="true" />
      <stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
      <displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
S.Listl's avatar
S.Listl committed
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>QUANTITY</name>
      <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/documentation.adoc</documentation>
      <title>Quantity</title>
      <contentType>NUMBER</contentType>
      <minValue v="1" />
S.Listl's avatar
S.Listl committed
      <outputFormat>#</outputFormat>
      <inputFormat>#</inputFormat>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
      <onValidation>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>UNIT</name>
      <title>Unit</title>
      <consumer>KeywordQuantityUnits</consumer>
      <state>READONLY</state>
      <displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/unit/displayValueProcess.js</displayValueProcess>
      <onValueChangeTypes>
        <element>PROCESS</element>
        <element>MASK</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>VAT</name>
      <title>VAT</title>
      <contentType>NUMBER</contentType>
Johannes Hörmann's avatar
Johannes Hörmann committed
      <outputFormat>0.00'%'</outputFormat>
S.Listl's avatar
S.Listl committed
      <inputFormat>0.00</inputFormat>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/vat/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityParameter>
      <name>OfferId_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>Currency_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>TotalPrice</name>
      <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/documentation.adoc</documentation>
      <title>Sum</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00</outputFormat>
      <inputFormat>#,##0.00</inputFormat>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>OfferStatus_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>OfferItems</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>7810e350-d011-4d95-8d0b-883f3a0e519c</name>
          <entityName>Offer_entity</entityName>
          <fieldName>Offeritems</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
S.Listl's avatar
S.Listl committed
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>Currency_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OfferStatus_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>Language_param</name>
          <expose v="true" />
          <title></title>
S.Listl's avatar
S.Listl committed
      </children>
    </entityProvider>
    <entityField>
      <name>INFO</name>
      <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/info/documentation.adoc</documentation>
      <title>Description</title>
      <contentType>LONG_TEXT</contentType>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityConsumer>
      <name>KeywordProductGroupcodes</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
S.Listl's avatar
S.Listl committed
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/keywordproductgroupcodes/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordQuantityUnits</name>
S.Listl's avatar
S.Listl committed
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/keywordquantityunits/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Products</name>
      <dependency>
        <name>dependency</name>
        <entityName>Product_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductIds_param</name>
          <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/products/children/productids_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>Language_param</name>
      <expose v="true" />
    </entityParameter>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityParameter>
      <name>ProductId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>Discount_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>IgnoreOnUpdateProcess_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/ignoreonupdateprocess_param/documentation.adoc</documentation>
    </entityParameter>
    <entityActionGroup>
      <name>group</name>
      <children>
        <entityActionField>
          <name>moveUp</name>
          <onActionProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/moveup/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:ARROW_UP</iconId>
          <state>DISABLED</state>
          <stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/moveup/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>moveDown</name>
          <onActionProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/movedown/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:ARROW_DOWN</iconId>
          <state>DISABLED</state>
          <stateProcess>%aditoprj%/entity/Offeritem_entity/entityfields/group/children/movedown/stateProcess.js</stateProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityField>
      <name>itemInsertStatements</name>
      <documentation>%aditoprj%/entity/Offeritem_entity/entityfields/iteminsertstatements/documentation.adoc</documentation>
    </entityField>
    <entityField>
      <name>currency</name>
      <title>Currency</title>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/currency/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <maximumDbRows v="0" />
S.Listl's avatar
S.Listl committed
      <conditionProcess>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBUpdate>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <onDBDelete>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <alias>Data_alias</alias>
S.Listl's avatar
S.Listl committed
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ASSIGNEDTO.value</name>
          <recordfield>OFFERITEM.ASSIGNEDTO</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DISCOUNT.value</name>
          <recordfield>OFFERITEM.DISCOUNT</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GROUPCODEID.value</name>
          <recordfield>OFFERITEM.GROUPCODEID</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ITEMNAME.value</name>
          <recordfield>OFFERITEM.ITEMNAME</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isLookupFilter v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ITEMPOSITION.value</name>
          <recordfield>OFFERITEM.ITEMPOSITION</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ITEMSORT.value</name>
          <recordfield>OFFERITEM.ITEMSORT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFERITEMID.value</name>
          <recordfield>OFFERITEM.OFFERITEMID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OFFER_ID.value</name>
          <recordfield>OFFERITEM.OFFER_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OPTIONAL.value</name>
          <recordfield>OFFERITEM.OPTIONAL</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PRICE.value</name>
          <recordfield>OFFERITEM.PRICE</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PRODUCT_ID.value</name>
          <recordfield>OFFERITEM.PRODUCT_ID</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>QUANTITY.value</name>
          <recordfield>OFFERITEM.QUANTITY</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>UNIT.value</name>
          <recordfield>OFFERITEM.UNIT</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>VAT.value</name>
          <recordfield>OFFERITEM.VAT</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>INFO.value</name>
          <recordfield>OFFERITEM.INFO</recordfield>
Johannes Hörmann's avatar
Johannes Hörmann committed
          <isFilterable v="true" />
S.Listl's avatar
S.Listl committed
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GROUPCODEID.displayValue</name>
          <expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/groupcodeid.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>UNIT.displayValue</name>
          <expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/unit.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PRODUCT_ID.displayValue</name>
          <expression>%aditoprj%/entity/Offeritem_entity/recordcontainers/db/recordfieldmappings/product_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
      </recordFieldMappings>
      <linkInformation>
        <linkInformation>
          <name>1894a7fa-bc31-43c2-9ba9-d432892efdaa</name>
          <tableName>OFFERITEM</tableName>
          <primaryKey>OFFERITEMID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
      </linkInformation>
S.Listl's avatar
S.Listl committed
    </dbRecordContainer>
  </recordContainers>
</entity>