Skip to content
Snippets Groups Projects
Product_entity.aod 27.02 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.3.17" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.17">
  <name>Product_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Product_entity/documentation.adoc</documentation>
  <title>Product</title>
  <siblings>
    <element>Productprice_entity</element>
  </siblings>
  <grantDeleteProcess>%aditoprj%/entity/Product_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Product_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Product_entity/afterUiInit.js</afterUiInit>
  <useFavorites v="true" />
  <iconId>VAADIN:HAMMER</iconId>
  <imageProcess>%aditoprj%/entity/Product_entity/imageProcess.js</imageProcess>
  <titlePlural>Products</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>ADVERTISING</name>
      <title>Advertising material</title>
      <contentType>BOOLEAN</contentType>
      <dropDownProcess>%aditoprj%/entity/Product_entity/entityfields/advertising/dropDownProcess.js</dropDownProcess>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/advertising/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>GROUPCODEID</name>
      <title>Product Group</title>
      <consumer>KeywordProductGroupcodes</consumer>
      <groupable v="true" />
      <mandatory v="true" />
      <displayValueProcess>%aditoprj%/entity/Product_entity/entityfields/groupcodeid/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>MINSTOCK</name>
      <title>Min. Stock</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#0</outputFormat>
      <inputFormat>#0</inputFormat>
    </entityField>
    <entityField>
      <name>PRODUCTCODE</name>
      <documentation>%aditoprj%/entity/Product_entity/entityfields/productcode/documentation.adoc</documentation>
      <title>Product number</title>
      <mandatory v="true" />
      <onValidation>%aditoprj%/entity/Product_entity/entityfields/productcode/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>PRODUCTID</name>
      <title>PRODUCTID (UID)</title>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/productid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PRODUCTNAME</name>
      <title>Product name</title>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>Active</title>
      <contentType>BOOLEAN</contentType>
      <groupable v="true" />
      <dropDownProcess>%aditoprj%/entity/Product_entity/entityfields/status/dropDownProcess.js</dropDownProcess>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/status/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>UNIT</name>
      <title>Unit</title>
      <consumer>KeywordQuantityUnits</consumer>
      <groupable v="true" />
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/unit/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Product_entity/entityfields/unit/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>currentPurchasePrice</name>
      <title>Curr. purchase price</title>
      <contentType>TEXT</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/currentpurchaseprice/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>currentSalesPrice</name>
      <title>Curr. sales price</title>
      <contentType>TEXT</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/currentsalesprice/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>Organisations</name>
      <dependency>
        <name>dependency</name>
        <entityName>Organisation_entity</entityName>
        <fieldName>Organisations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OrganisationType_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/organisations/children/organisationtype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Productprices</name>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>Productprices</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/productprices/children/productid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Stocks</name>
      <selectionMode>SINGLE</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Stock_entity</entityName>
        <fieldName>Stocks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/stocks/children/productid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>PICTURE</name>
      <contentType>IMAGE</contentType>
    </entityField>
    <entityConsumer>
      <name>StockCounts</name>
      <state>READONLY</state>
      <dependency>
        <name>dependency</name>
        <entityName>Stock_entity</entityName>
        <fieldName>Stocks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/stockcounts/children/productid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>#PROVIDER</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>edd8a3af-d168-4a3b-871d-39db964c700b</name>
          <entityName>Offeritem_entity</entityName>
          <fieldName>Products</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>e4ba4c26-a777-4560-ab68-311ffae76e2f</name>
          <entityName>Orderitem_entity</entityName>
          <fieldName>Products</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>760f179a-f37e-4bdf-af8f-d8935e86db0f</name>
          <entityName>Object_entity</entityName>
          <fieldName>Products</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>6d0654ed-35f1-4de4-9cec-ad25f7ad43b6</name>
          <entityName>ObjectProxy_entity</entityName>
          <fieldName>Products</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityConsumer>
      <name>ProductLinks</name>
      <dependency>
        <name>dependency</name>
        <entityName>Prod2prod_entity</entityName>
        <fieldName>ProductLinks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ProductId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/productlinks/children/productid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>CONTACT_ID</name>
      <title>Developer</title>
      <consumer>Organisations</consumer>
      <groupable v="true" />
      <linkedContext>Organisation</linkedContext>
      <displayValueProcess>%aditoprj%/entity/Product_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityConsumer>
      <name>Documents</name>
      <selectionMode>MULTI</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>Documents</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>MainDocuments</name>
      <stateProcess>%aditoprj%/entity/Product_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/Product_entity/entityfields/maindocuments/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/maindocuments/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordProductGroupcodes</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/keywordproductgroupcodes/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordQuantityUnits</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/keywordquantityunits/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/Product_entity/entityfields/activities/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/activities/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newActivity</name>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Product_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Product_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityConsumer>
      <name>Attributes</name>
      <stateProcess>%aditoprj%/entity/Product_entity/entityfields/attributes/stateProcess.js</stateProcess>
      <onValidation>%aditoprj%/entity/Product_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/Product_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ExcludedProducts_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>Products</name>
      <dependencies>
        <entityDependency>
          <name>1b12e8ef-74ba-4294-bd2b-9d4afa80798c</name>
          <entityName>Prod2prod_entity</entityName>
          <fieldName>Products</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>0129066d-805c-4522-b1bc-9bbbc9588629</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>Products</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ExcludedProducts_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Product_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Tasks</name>
      <stateProcess>%aditoprj%/entity/Product_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/Product_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>AttributeTree</name>
      <stateProcess>%aditoprj%/entity/Product_entity/entityfields/attributetree/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/attributetree/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>USER_NEW</name>
      <title>USER_NEW</title>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <title>USER_EDIT</title>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <title>DATE_NEW</title>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <title>DATE_EDIT</title>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>LogHistories</name>
      <dependency>
        <name>dependency</name>
        <entityName>LogHistory_entity</entityName>
        <fieldName>LogHistoryProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>tablenames_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ProductText_param</name>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/producttext_param/valueProcess.js</valueProcess>
    </entityParameter>
    <entityConsumer>
      <name>DescriptionTranslations</name>
      <dependency>
        <name>dependency</name>
        <entityName>DescriptionTranslation_entity</entityName>
        <fieldName>DescriptionTranslations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowid_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/descriptiontranslations/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Product_entity/entityfields/descriptiontranslations/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Product_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Product_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
    <entityField>
      <name>PRODUCT_OBJECTTYPE</name>
      <valueProcess>%aditoprj%/entity/Product_entity/entityfields/product_objecttype/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>COUNT</name>
      <title>Count</title>
      <contentType>NUMBER</contentType>
    </entityField>
    <entityAggregateField>
      <name>COUNT_aggregate</name>
      <parentField>COUNT</parentField>
      <title>Count</title>
    </entityAggregateField>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <maximumDbRows v="0" />
      <fromClauseProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Product_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBUpdate>%aditoprj%/entity/Product_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <onDBDelete>%aditoprj%/entity/Product_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <linkInformation>
        <linkInformation>
          <name>0c8977f6-8d3d-4377-adb4-3ddde463ab1a</name>
          <tableName>PRODUCT</tableName>
          <primaryKey>PRODUCTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>6d77303b-6d0f-4636-b230-bb498470eec7</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>a4cc4ee2-e913-4c1a-bfe8-bdd83ccb3b5e</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ADVERTISING.value</name>
          <recordfield>PRODUCT.ADVERTISING</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GROUPCODEID.value</name>
          <recordfield>PRODUCT.GROUPCODEID</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MINSTOCK.value</name>
          <recordfield>PRODUCT.MINSTOCK</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PRODUCTCODE.value</name>
          <recordfield>PRODUCT.PRODUCTCODE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PRODUCTID.value</name>
          <recordfield>PRODUCT.PRODUCTID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PRODUCTNAME.value</name>
          <recordfield>PRODUCT.PRODUCTNAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>PRODUCT.STATUS</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>UNIT.value</name>
          <recordfield>PRODUCT.UNIT</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <recordfield>PRODUCT.CONTACT_ID</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GROUPCODEID.displayValue</name>
          <expression>%aditoprj%/entity/Product_entity/recordcontainers/db/recordfieldmappings/groupcodeid.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>UNIT.displayValue</name>
          <expression>%aditoprj%/entity/Product_entity/recordcontainers/db/recordfieldmappings/unit.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW.value</name>
          <recordfield>PRODUCT.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_EDIT.value</name>
          <recordfield>PRODUCT.USER_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>PRODUCT.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_EDIT.value</name>
          <recordfield>PRODUCT.DATE_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.displayValue</name>
          <recordfield>ORGANISATION.NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PICTURE.value</name>
          <recordfield>PRODUCT.PICTURE</recordfield>
        </dbRecordFieldMapping>
        <consumerMapping>
          <name>Activities</name>
          <filterConditionProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/recordfieldmappings/activities/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <filtertype>EXTENDED</filtertype>
        </consumerMapping>
        <aggregateFieldDbMapping>
          <name>COUNT_aggregate.value</name>
          <recordfield>PRODUCT.PRODUCTID</recordfield>
          <aggregateType>COUNT</aggregateType>
        </aggregateFieldDbMapping>
      </recordFieldMappings>
      <filterExtensions>
        <filterExtensionSet>
          <name>Attribute_filter</name>
          <filterFieldsProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/filterextensions/attribute_filter/filterFieldsProcess.js</filterFieldsProcess>
          <filterValuesProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/filterextensions/attribute_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/filterextensions/attribute_filter/filterConditionProcess.js</filterConditionProcess>
          <filtertype>BASIC</filtertype>
        </filterExtensionSet>
        <filterExtension>
          <name>Favorite_filter</name>
          <title>Favoritegroup</title>
          <contentType>TEXT</contentType>
          <filterValuesProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/filterextensions/favorite_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Product_entity/recordcontainers/db/filterextensions/favorite_filter/filterConditionProcess.js</filterConditionProcess>
          <groupedRecordField></groupedRecordField>
          <filtertype>BASIC</filtertype>
        </filterExtension>
      </filterExtensions>
    </dbRecordContainer>
    <indexRecordContainer>
      <name>index</name>
      <configMode>INDEXGROUP_DEFINITION</configMode>
      <indexRecordAlias>Data_alias</indexRecordAlias>
      <query>%aditoprj%/entity/Product_entity/recordcontainers/index/query.js</query>
      <affectedTables>
        <element>PRODUCT</element>
      </affectedTables>
      <affectedIds>%aditoprj%/entity/Product_entity/recordcontainers/index/affectedIds.js</affectedIds>
      <indexFieldMappings>
        <indexRecordSystemFieldMapping>
          <name>#UID</name>
        </indexRecordSystemFieldMapping>
        <indexRecordMultilingualSystemFieldMapping>
          <name>#TITLE</name>
        </indexRecordMultilingualSystemFieldMapping>
        <indexRecordMultilingualSystemFieldMapping>
          <name>#DESCRIPTION</name>
        </indexRecordMultilingualSystemFieldMapping>
        <indexRecordFieldMapping>
          <name>PRODUCTCODE.value</name>
          <indexFieldType>TEXT_PLAIN</indexFieldType>
        </indexRecordFieldMapping>
      </indexFieldMappings>
    </indexRecordContainer>
  </recordContainers>
</entity>