Author: jaz
Date: Sun Jun 3 11:13:28 2007
New Revision: 543950
URL:
http://svn.apache.org/viewvc?view=rev&rev=543950Log:
fixed formatting problem
Modified:
ofbiz/trunk/applications/product/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?view=diff&rev=543950&r1=543949&r2=543950==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Sun Jun 3 11:13:28 2007
@@ -1111,7 +1111,7 @@
<field name="softIdentifier" type="value"></field>
<field name="activationNumber" type="value"></field>
<field name="activationValidThru" type="date-time"></field>
- <field name="unitCost" type="floating-point"><description>Higher precision in case it is a calculated number</description></field>
+ <field name="unitCost" type="floating-point"><description>Higher precision in case it is a calculated number</description></field>
<field name="currencyUomId" type="id"><description>The currency Uom of the unit cost.</description></field>
<prim-key field="inventoryItemId"/>
<relation type="one" fk-name="INV_ITEM_TYPE" rel-entity-name="InventoryItemType">
@@ -1160,6 +1160,15 @@
<relation type="one" fk-name="INV_ITEM_CUOM" title="Currency" rel-entity-name="Uom">
<key-map field-name="currencyUomId" rel-field-name="uomId"/>
</relation>
+ <index name="INVITEM_SOFID" unique="true">
+ <index-field name="softIdentifier"/>
+ </index>
+ <index name="INVITEM_ACTNM" unique="true">
+ <index-field name="activationNumber"/>
+ </index>
+ <index name="INV_ITEM_SN">
+ <index-field name="serialNumber"/>
+ </index>
</entity>
<view-entity entity-name="InventoryItemAndLocation"
package-name="org.ofbiz.product.inventory"