svn commit: r565596 - /ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r565596 - /ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java

jonesde
Author: jonesde
Date: Mon Aug 13 18:14:27 2007
New Revision: 565596

URL: http://svn.apache.org/viewvc?view=rev&rev=565596
Log:
Commented out this code that isn't used for PO ack dels, just setting the statusId to a constant now

Modified:
    ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java

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=565596&r1=565595&r2=565596
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java Mon Aug 13 18:14:27 2007
@@ -478,6 +478,8 @@
                         Debug.logError(e, errMsg, module);
                     }
                 }
+                
+                /* NOTE DEJ20070813 this is only meant to be used in the Ack Delivery RMA message, so ignoring here and always settings status to AVAILABLE
                 // get inventory item status
                 String invItemStatus = UtilXml.childElementValue(receiptLnElement, "of:DISPOSITN");
                 if (invItemStatus.equals("ReceivedTOAvailable") || invItemStatus.equals("NotAvailableTOAvailable")) {
@@ -485,6 +487,9 @@
                 } else if (invItemStatus.equals("ReceivedTONotAvailable") || invItemStatus.equals("AvailableTONotAvailable") ) {
                     ripCtx.put("statusId","INV_ON_HOLD");
                 }
+                */
+                
+                ripCtx.put("statusId","INV_AVAILABLE");    
                 ripCtx.put("inventoryItemTypeId", "NON_SERIAL_INV_ITEM");
                 ripCtx.put("productId", productId);
                 ripCtx.put("facilityId",facilityId);