[ofbiz-framework] branch release17.12 updated: Fixed: Corrected variable name. Nothing functional. (OFBIZ-10585)

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

[ofbiz-framework] branch release17.12 updated: Fixed: Corrected variable name. Nothing functional. (OFBIZ-10585)

Pawan Verma-2
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.git


The 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) {