Author: sichen
Date: Thu Jul 6 12:43:06 2006
New Revision: 419681
URL:
http://svn.apache.org/viewvc?rev=419681&view=revLog:
Fixed bug where complete inventory transfer service was not marking the inventory transfer record as COMPLETE, so they were still left as REQUESTED
Modified:
incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java
Modified: incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java?rev=419681&r1=419680&r2=419681&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java (original)
+++ incubator/ofbiz/trunk/applications/product/src/org/ofbiz/product/inventory/InventoryServices.java Thu Jul 6 12:43:06 2006
@@ -272,6 +272,9 @@
return ServiceUtil.returnError("Inventory item store problem [" + exc.getMessage() + "]");
}
+ // set the inventory transfer record to complete
+ inventoryTransfer.set("statusId", "IXF_COMPLETE");
+
// store the entities
try {
inventoryTransfer.store();