Author: jonesde
Date: Fri Sep 14 04:47:44 2007
New Revision: 575638
URL:
http://svn.apache.org/viewvc?rev=575638&view=revLog:
Added error if linenum missing
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?rev=575638&r1=575637&r2=575638&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java (original)
+++ ofbiz/trunk/specialpurpose/oagis/src/org/ofbiz/oagis/OagisInventoryServices.java Fri Sep 14 04:47:44 2007
@@ -816,6 +816,11 @@
Debug.logError(errMsg, module);
continue;
}
+ } else {
+ String errMsg = "No Return Item ID (LINENUM) found in DOCUMNTREF for Return [" + returnId + "]; this is a required field.";
+ errorMapList.add(UtilMisc.toMap("reasonCode", "ReturnItemIdLinenumMissing", "description", errMsg));
+ Debug.logError(errMsg, module);
+ continue;
}
// getting inventory item status