Author: apatel
Date: Tue Jul 24 12:45:51 2007
New Revision: 559176
URL:
http://svn.apache.org/viewvc?view=rev&rev=559176Log:
removed currencyUomId field from view.
Modified:
ofbiz/trunk/applications/product/entitydef/entitymodel.xml
ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?view=diff&rev=559176&r1=559175&r2=559176==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Tue Jul 24 12:45:51 2007
@@ -1532,7 +1532,6 @@
<alias entity-alias="II" name="inventoryItemId"/>
<alias entity-alias="II" name="productId"/>
<alias entity-alias="II" name="statusId"/>
- <alias entity-alias="II" name="currencyUomId"/>
<alias entity-alias="IID" name="inventoryItemDetailSeqId"/>
<alias entity-alias="IID" name="effectiveDate"/>
<alias entity-alias="IID" name="quantityOnHandDiff"/>
Modified: ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java?view=diff&rev=559176&r1=559175&r2=559176==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java Tue Jul 24 12:45:51 2007
@@ -149,7 +149,7 @@
List invItemAndDetails = null;
EntityCondition condition = new EntityConditionList(UtilMisc.toList(
new EntityExpr("effectiveDate", EntityOperator.LESS_THAN_EQUAL_TO, timestamp), new EntityExpr("productId", EntityOperator.EQUALS, productId),
- new EntityExpr("statusId", EntityOperator.EQUALS, statusId), new EntityExpr("currencyUomId", EntityOperator.EQUALS, uom)), EntityOperator.AND);
+ new EntityExpr("statusId", EntityOperator.EQUALS, statusId)), EntityOperator.AND);
try {
invItemAndDetails = delegator.findByCondition("InventoryItemAndDetail", condition, null, UtilMisc.toList("inventoryItemId"));
if (invItemAndDetails != null) {