Skip to content
Snippets Groups Projects
Product_entity.aod 8.92 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>Product_entity</name>
  <title>Product</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <alias>Data_alias</alias>
  <recordContainerType>DB</recordContainerType>
  <caption>Product</caption>
  <iconId>VAADIN:HAMMER</iconId>
  <entityFields>
    <entityField>
      <name>ADVERTISING</name>
      <tableName>PRODUCT</tableName>
      <columnName>ADVERTISING</columnName>
      <caption>Advertising material</caption>
      <contentType>BOOLEAN</contentType>
      <possibleItemsProcess>%aditoprj%/entity/Product_entity/entityfields/advertising/possibleItemsProcess.js</possibleItemsProcess>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/advertising/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <tableName>PRODUCT</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <tableName>PRODUCT</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>GROUPCODEID</name>
      <tableName>PRODUCT</tableName>
      <columnName>GROUPCODEID</columnName>
      <caption>Product group</caption>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Product_entity/entityfields/groupcodeid/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>MINSTOCK</name>
      <tableName>PRODUCT</tableName>
      <columnName>MINSTOCK</columnName>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.##</outputFormat>
    </entityField>
    <entityField>
      <name>ORG_ID</name>
      <tableName>PRODUCT</tableName>
      <columnName>ORG_ID</columnName>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/org_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PRODUCTCODE</name>
      <tableName>PRODUCT</tableName>
      <columnName>PRODUCTCODE</columnName>
      <caption>Product number</caption>
      <mandatory v="true" />
      <onValidation>%aditoprj%/entity/Product_entity/entityfields/productcode/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>PRODUCTID</name>
      <tableName>PRODUCT</tableName>
      <columnName>PRODUCTID</columnName>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/productid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PRODUCTNAME</name>
      <tableName>PRODUCT</tableName>
      <columnName>PRODUCTNAME</columnName>
      <caption>Product name</caption>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>STANDARD</name>
      <tableName>PRODUCT</tableName>
      <columnName>STANDARD</columnName>
    </entityField>
    <entityField>
      <name>STATUS</name>
      <tableName>PRODUCT</tableName>
      <columnName>STATUS</columnName>
      <contentType>BOOLEAN</contentType>
      <possibleItemsProcess>%aditoprj%/entity/Product_entity/entityfields/status/possibleItemsProcess.js</possibleItemsProcess>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/status/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>UNIT</name>
      <tableName>PRODUCT</tableName>
      <columnName>UNIT</columnName>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Product_entity/entityfields/unit/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <tableName>PRODUCT</tableName>
      <columnName>USER_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <tableName>PRODUCT</tableName>
      <columnName>USER_NEW</columnName>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityOutgoingField>
      <name>ProductOrg_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Org_entity</entityName>
        <fieldName>Org_dfi</fieldName>
      </dependency>
    </entityOutgoingField>
    <entityIncomingField>
      <name>OrgProduct_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>49cbec11-7d2e-4898-b63f-2e36aac9181e</name>
          <entityName>Org_entity</entityName>
          <fieldName>OrgProduct_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityParameter>
      <name>OrgId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityOutgoingField>
      <name>ProductProductprice_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>ProductProductprice_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <code>%aditoprj%/entity/Product_entity/entityfields/productproductprice_dfo/children/productid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityIncomingField>
      <name>Product_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>15dd9e6b-f551-452f-adce-53d7031ed468</name>
          <entityName>Productprice_entity</entityName>
          <fieldName>ProductpriceProduct_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityOutgoingField>
      <name>ProductStock_dfo</name>
      <title>Stock</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Stock</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Stock_entity</entityName>
        <fieldName>ProductStock_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <code>%aditoprj%/entity/Product_entity/entityfields/productstock_dfo/children/productid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityOutgoingField>
      <name>ProductStockCount_dfo</name>
      <title>Stock</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Stock</caption>
      <state>READONLY</state>
      <dependency>
        <name>dependency</name>
        <entityName>Stock_entity</entityName>
        <fieldName>ProductStock_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <code>%aditoprj%/entity/Product_entity/entityfields/productstockcount_dfo/children/productid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>ProductProductpriceCurr_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>ProductProductprice_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <code>%aditoprj%/entity/Product_entity/entityfields/productproductpricecurr_dfo/children/productid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
  </entityFields>
  <linkInformation>
    <linkInformation>
      <name>43c30a2b-7b59-46a2-9d8f-57ce4cde5d36</name>
      <tableName>PRODUCT</tableName>
      <primaryKey>PRODUCTID</primaryKey>
      <isUIDTable v="true" />
    </linkInformation>
  </linkInformation>
</entity>