[OFBiz] SVN: r6907 - trunk/applications/product/entitydef
sichen@svn.ofbiz.org
sichen at svn.ofbiz.org
Fri Mar 3 12:05:26 CST 2006
Author: sichen
Date: 2006-03-03 12:05:23 -0600 (Fri, 03 Mar 2006)
New Revision: 6907
Modified:
trunk/applications/product/entitydef/entitymodel.xml
Log:
Added InventoryItem.currencyUomId to record the currency of the unitCost.
Modified: trunk/applications/product/entitydef/entitymodel.xml
===================================================================
--- trunk/applications/product/entitydef/entitymodel.xml 2006-03-03 18:02:58 UTC (rev 6906)
+++ trunk/applications/product/entitydef/entitymodel.xml 2006-03-03 18:05:23 UTC (rev 6907)
@@ -990,6 +990,7 @@
<field name="oldAvailableToPromise" col-name="AVAILABLE_TO_PROMISE" type="floating-point"></field>
<field name="serialNumber" type="value"></field>
<field name="unitCost" type="currency-amount"></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">
<key-map field-name="inventoryItemTypeId"/>
@@ -1034,6 +1035,9 @@
<relation type="one" fk-name="INV_ITEM_UOM" rel-entity-name="Uom">
<key-map field-name="uomId"/>
</relation>
+ <relation type="one" fk-name="INV_ITEM_CUOM" title="Currency" rel-entity-name="Uom">
+ <key-map field-name="currencyUomId" rel-field-name="uomId"/>
+ </relation>
</entity>
<view-entity entity-name="InventoryItemAndLocation"
package-name="org.ofbiz.product.inventory"
More information about the Svn
mailing list