Author: bibryam
Date: Thu Oct 29 01:17:20 2009
New Revision: 830818
URL:
http://svn.apache.org/viewvc?rev=830818&view=revLog:
Applied fix from trunk for revision: 830814
Removed the extra invoiceTypeId parameter from createInvoiceForOrderAllItems service result.
Modified:
ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
Modified: ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java?rev=830818&r1=830817&r2=830818&view=diff==============================================================================
--- ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java (original)
+++ ofbiz/branches/release09.04/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java Thu Oct 29 01:17:20 2009
@@ -124,8 +124,10 @@
if (userLogin != null) {
context.put("userLogin", userLogin);
}
-
- return dispatcher.runSync("createInvoiceForOrder", context);
+
+ Map<String, Object> result = dispatcher.runSync("createInvoiceForOrder", context);
+ result.remove("invoiceTypeId");
+ return result;
}
catch (GenericServiceException e) {
String errMsg = UtilProperties.getMessage(resource,"AccountingEntityDataProblemCreatingInvoiceFromOrderItems",UtilMisc.toMap("reason",e.toString()),(Locale) context.get("locale"));