You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/12/05 10:32:24 UTC

svn commit: r601270 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java

Author: lektran
Date: Wed Dec  5 01:32:23 2007
New Revision: 601270

URL: http://svn.apache.org/viewvc?rev=601270&view=rev
Log:
Fix a few new bugs

Modified:
    ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java

Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java?rev=601270&r1=601269&r2=601270&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java (original)
+++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java Wed Dec  5 01:32:23 2007
@@ -1554,6 +1554,7 @@
                     serviceContext.put("userLogin", userLogin);
                     resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
                     serviceContext.clear();
+                    serviceContext.put("userLogin", userLogin);
                     serviceContext.put("workEffortId", productionRunId);
                     serviceContext.put("inventoryItemId", inventoryItemId);
                     resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
@@ -1589,6 +1590,7 @@
                 serviceContext.put("userLogin", userLogin);
                 resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
                 serviceContext.clear();
+                serviceContext.put("userLogin", userLogin);
                 serviceContext.put("workEffortId", productionRunId);
                 serviceContext.put("inventoryItemId", inventoryItemId);
                 resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
@@ -1677,6 +1679,7 @@
                     serviceContext.put("userLogin", userLogin);
                     resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
                     serviceContext.clear();
+                    serviceContext.put("userLogin", userLogin);
                     serviceContext.put("workEffortId", productionRunTaskId);
                     serviceContext.put("inventoryItemId", inventoryItemId);
                     resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
@@ -1713,6 +1716,7 @@
                 serviceContext.put("userLogin", userLogin);
                 resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
                 serviceContext.clear();
+                serviceContext.put("userLogin", userLogin);
                 serviceContext.put("workEffortId", productionRunTaskId);
                 serviceContext.put("inventoryItemId", inventoryItemId);
                 resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);



Re: svn commit: r601270 - /ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks for "new" in comment Scott (related to release4.0 back-port of course ;o)

Jacques

> Author: lektran
> Date: Wed Dec  5 01:32:23 2007
> New Revision: 601270
>
> URL: http://svn.apache.org/viewvc?rev=601270&view=rev
> Log:
> Fix a few new bugs
>
> Modified:
>     ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
>
> Modified: ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
> URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java?rev=601270&r1=601269&r2=601270&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java (original)
> +++ ofbiz/trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java Wed Dec  5 01:32:23
2007
> @@ -1554,6 +1554,7 @@
>                      serviceContext.put("userLogin", userLogin);
>                      resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
>                      serviceContext.clear();
> +                    serviceContext.put("userLogin", userLogin);
>                      serviceContext.put("workEffortId", productionRunId);
>                      serviceContext.put("inventoryItemId", inventoryItemId);
>                      resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
> @@ -1589,6 +1590,7 @@
>                  serviceContext.put("userLogin", userLogin);
>                  resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
>                  serviceContext.clear();
> +                serviceContext.put("userLogin", userLogin);
>                  serviceContext.put("workEffortId", productionRunId);
>                  serviceContext.put("inventoryItemId", inventoryItemId);
>                  resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
> @@ -1677,6 +1679,7 @@
>                      serviceContext.put("userLogin", userLogin);
>                      resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
>                      serviceContext.clear();
> +                    serviceContext.put("userLogin", userLogin);
>                      serviceContext.put("workEffortId", productionRunTaskId);
>                      serviceContext.put("inventoryItemId", inventoryItemId);
>                      resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
> @@ -1713,6 +1716,7 @@
>                  serviceContext.put("userLogin", userLogin);
>                  resultService = dispatcher.runSync("createInventoryItemDetail", serviceContext);
>                  serviceContext.clear();
> +                serviceContext.put("userLogin", userLogin);
>                  serviceContext.put("workEffortId", productionRunTaskId);
>                  serviceContext.put("inventoryItemId", inventoryItemId);
>                  resultService = dispatcher.runSync("createWorkEffortInventoryProduced", serviceContext);
>
>