A patch from Jyoti Sharma for "Add Item to approved order" https://issues.apache.org/jira/browse/OFBIZ-5340

While adding an item to an approved order if we select orderItemTypeId it gives an error message.
The error was occurring because in "orderItemTypeId" field, value being passed was that of "reasonEnumId". I am submitting a patch having the correct value. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1529588 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2013-10-06 07:55:01 +00:00
parent bd51b2cd2f
commit c438abea44
@@ -3490,7 +3490,7 @@ public class OrderServices {
Timestamp itemDesiredDeliveryDate = (Timestamp) context.get("itemDesiredDeliveryDate");
String overridePrice = (String) context.get("overridePrice");
String reasonEnumId = (String) context.get("reasonEnumId");
String orderItemTypeId = (String) context.get("reasonEnumId");
String orderItemTypeId = (String) context.get("orderItemTypeId");
String changeComments = (String) context.get("changeComments");
Boolean calcTax = (Boolean) context.get("calcTax");
if (calcTax == null) {