ilscipio/scipio-erp

View on GitHub
applications/commonext/entitydef/entitymodel.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitymodel.xsd">
    <title>Entity of an Apache OFBiz Component</title>
    <description>None</description>
    <version>1.0</version>

<!-- not sure if we should use the NoteData entity for this however at the moment it is doing fine... -->
  <extend-entity entity-name="NoteData">
    <field name="moreInfoUrl" type="value"><description>url to go to the related screen in the system</description></field>
    <field name="moreInfoItemId" type="value"><description>The id of the item to be displayed i.e. custRequestId, commEventId etc</description></field>
    <field name="moreInfoItemName" type="value"><description>The name of the item to be displayed i.e. custRequestId, commEventId etc</description></field>
    <index name="systemInfo" unique="false"><!-- to be able to select the SYSTEMNOTE records quickly -->
      <index-field name="noteName"/>
    </index>
  </extend-entity>

</entitymodel>