This is an automated email from the ASF dual-hosted git repository.
pawan pushed a commit to branch release17.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/release17.12 by this push:
new f249f27 Fixed: Corrected variable name. Nothing functional. (OFBIZ-10585)
f249f27 is described below
commit f249f27382ef086df4fe5494526888bcefc8e160
Author: Pawan Verma <
[hidden email]>
AuthorDate: Sat Nov 23 12:37:45 2019 +0530
Fixed: Corrected variable name. Nothing functional.
(OFBIZ-10585)
---
.../ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java b/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
index da91e5d..c3595bd 100644
--- a/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
+++ b/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
@@ -2589,11 +2589,11 @@ public class ProductionRunServices {
serviceContext.put("productId", orderItem.getString("productId"));
serviceContext.put("pRQuantity", remainingQty);
serviceContext.put("startDate", UtilDateTime.nowTimestamp());
- serviceResult = dispatcher.runSync("createProductionRun", serviceContext);
- if (ServiceUtil.isError(serviceResult)) {
- return ServiceUtil.returnError(ServiceUtil.getErrorMessage(serviceResult));
+ resultService = dispatcher.runSync("createProductionRun", serviceContext);
+ if (ServiceUtil.isError(resultService)) {
+ return ServiceUtil.returnError(ServiceUtil.getErrorMessage(resultService));
}
- String productionRunIdForRemainingQty = (String)serviceResult.get("productionRunId");
+ String productionRunIdForRemainingQty = (String)resultService.get("productionRunId");
try {
delegator.create("WorkOrderItemFulfillment", UtilMisc.toMap("workEffortId", productionRunIdForRemainingQty, "orderId", orderId, "orderItemSeqId", orderItemSeqId));
} catch (GenericEntityException e) {