Skip to content
Snippets Groups Projects
Offeritem_entity.aod 8.06 KiB
<?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.4" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.0.4">
  <name>Offeritem_entity</name>
  <title>Offeritem</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <alias>Data_alias</alias>
  <conditionProcess>%aditoprj%/entity/Offeritem_entity/conditionProcess.js</conditionProcess>
  <onDBInsert>%aditoprj%/entity/Offeritem_entity/onDBInsert.js</onDBInsert>
  <onDBUpdate>%aditoprj%/entity/Offeritem_entity/onDBUpdate.js</onDBUpdate>
  <onDBDelete>%aditoprj%/entity/Offeritem_entity/onDBDelete.js</onDBDelete>
  <grantCreateProcess>%aditoprj%/entity/Offeritem_entity/grantCreateProcess.js</grantCreateProcess>
  <grantUpdateProcess>%aditoprj%/entity/Offeritem_entity/grantUpdateProcess.js</grantUpdateProcess>
  <grantDeleteProcess>%aditoprj%/entity/Offeritem_entity/grantDeleteProcess.js</grantDeleteProcess>
  <recordContainerType>DB</recordContainerType>
  <caption>Offeritem</caption>
  <entityFields>
    <entityIncomingField>
      <name>#INCOMING</name>
      <dependencies>
        <entityDependency>
          <name>724942e9-6290-48a4-8179-2efcf3cb1f61</name>
          <entityName>Offer_entity</entityName>
          <fieldName>OfferOfferitem_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityField>
      <name>ASSIGNEDTO</name>
      <tableName>OFFERITEM</tableName>
      <columnName>ASSIGNEDTO</columnName>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <tableName>OFFERITEM</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <tableName>OFFERITEM</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DESCRIPTION</name>
      <tableName>OFFERITEM</tableName>
      <columnName>DESCRIPTION</columnName>
      <caption>Description</caption>
      <contentType>LONG_TEXT</contentType>
    </entityField>
    <entityField>
      <name>DISCOUNT</name>
      <tableName>OFFERITEM</tableName>
      <columnName>DISCOUNT</columnName>
      <caption>Discount</caption>
    </entityField>
    <entityField>
      <name>GROUPCODEID</name>
      <tableName>OFFERITEM</tableName>
      <columnName>GROUPCODEID</columnName>
      <caption>Commodity group</caption>
      <possibleItemsProcess>%aditoprj%/entity/Offeritem_entity/entityfields/groupcodeid/possibleItemsProcess.js</possibleItemsProcess>
      <state>READONLY</state>
    </entityField>
    <entityField>
      <name>ITEMNAME</name>
      <tableName>OFFERITEM</tableName>
      <columnName>ITEMNAME</columnName>
      <caption>Designation</caption>
    </entityField>
    <entityField>
      <name>ITEMPOSITION</name>
      <tableName>OFFERITEM</tableName>
      <columnName>ITEMPOSITION</columnName>
      <caption>Position</caption>
      <state>READONLY</state>
    </entityField>
    <entityField>
      <name>ITEMSORT</name>
      <tableName>OFFERITEM</tableName>
      <columnName>ITEMSORT</columnName>
    </entityField>
    <entityField>
      <name>OFFERITEMID</name>
      <tableName>OFFERITEM</tableName>
      <columnName>OFFERITEMID</columnName>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/offeritemid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OFFER_ID</name>
      <tableName>OFFERITEM</tableName>
      <columnName>OFFER_ID</columnName>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/offer_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OPTIONAL</name>
      <tableName>OFFERITEM</tableName>
      <columnName>OPTIONAL</columnName>
      <caption>Optional</caption>
      <contentType>BOOLEAN</contentType>
      <possibleItemsProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/possibleItemsProcess.js</possibleItemsProcess>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PRICE</name>
      <tableName>OFFERITEM</tableName>
      <columnName>PRICE</columnName>
      <caption>Unit price</caption>
    </entityField>
    <entityField>
      <name>PRODUCT_ID</name>
      <tableName>OFFERITEM</tableName>
      <columnName>PRODUCT_ID</columnName>
      <caption>Article</caption>
      <possibleItemsProcess>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/possibleItemsProcess.js</possibleItemsProcess>
      <onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/product_id/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>QUANTITY</name>
      <tableName>OFFERITEM</tableName>
      <columnName>QUANTITY</columnName>
      <caption>Quantity</caption>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/valueProcess.js</valueProcess>
      <onValidation>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/onValidation.js</onValidation>
      <onValueChange>%aditoprj%/entity/Offeritem_entity/entityfields/quantity/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>UNIT</name>
      <tableName>OFFERITEM</tableName>
      <columnName>UNIT</columnName>
      <caption>Unit</caption>
      <possibleItemsProcess>%aditoprj%/entity/Offeritem_entity/entityfields/unit/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <tableName>OFFERITEM</tableName>
      <columnName>USER_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <tableName>OFFERITEM</tableName>
      <columnName>USER_NEW</columnName>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>VAT</name>
      <tableName>OFFERITEM</tableName>
      <columnName>VAT</columnName>
      <caption>VAT</caption>
      <state>READONLY</state>
    </entityField>
    <entityParameter>
      <name>OfferId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <mandatory v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>RelationId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>Currency_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>TotalPrice</name>
      <caption>Sum</caption>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00</outputFormat>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/totalprice/valueProcess.js</valueProcess>
    </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" />
      <triggerRecalculation v="true" />
      <description>PARAMETER</description>
    </entityParameter>
  </entityFields>
  <linkInformation>
    <linkInformation>
      <name>a5db2791-160d-476b-9bf1-bab082c05ae3</name>
      <tableName>OFFERITEM</tableName>
      <primaryKey>OFFERITEMID</primaryKey>
      <isUIDTable v="true" />
    </linkInformation>
  </linkInformation>
</entity>