Author: ashish
Date: Sun Sep  4 06:56:50 2016
New Revision: 1759150

URL: http://svn.apache.org/viewvc?rev=1759150&view=rev
Log:
Applied patch from jira issue - OFBIZ-8071 - Clean up commented out code in 
Groovy for Manufacturing. Thanks Aman for the contribution.

Modified:
    
ofbiz/trunk/applications/manufacturing/groovyScripts/jobshopmgt/WorkWithShipmentPlans.groovy
    
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/CuttingListReport.groovy
    
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/PRunsProductsStacks.groovy

Modified: 
ofbiz/trunk/applications/manufacturing/groovyScripts/jobshopmgt/WorkWithShipmentPlans.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/groovyScripts/jobshopmgt/WorkWithShipmentPlans.groovy?rev=1759150&r1=1759149&r2=1759150&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/groovyScripts/jobshopmgt/WorkWithShipmentPlans.groovy
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/groovyScripts/jobshopmgt/WorkWithShipmentPlans.groovy
 Sun Sep  4 06:56:50 2016
@@ -31,7 +31,6 @@ if (shipmentPlans) {
     workInProgress = "false";
     shipmentPlans.each { shipmentPlan ->
         oneRow = new HashMap(shipmentPlan);
-        //    
oneRow.putAll(shipmentPlan.getRelatedOne("OrderItemInventoryRes", false));
         orderItem = shipmentPlan.getRelatedOne("OrderItem", false);
         oneRow.productId = orderItem.productId;
         orderedQuantity = orderItem.quantity;

Modified: 
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/CuttingListReport.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/groovyScripts/reports/CuttingListReport.groovy?rev=1759150&r1=1759149&r2=1759150&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/CuttingListReport.groovy
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/CuttingListReport.groovy
 Sun Sep  4 06:56:50 2016
@@ -30,7 +30,6 @@ if (security.hasEntityPermission("MANUFA
 
 // -----------------------------
 // Report's parameters
-//groupByFeatureTypeIdParameter = "COLOR";
 selectWorkEffortNameParameter = "O-PREL_A"; // sezionatura
 selectPrimaryCategoryIdParameter = "CABINETS"; // struttura
 // -----------------------------

Modified: 
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/PRunsProductsStacks.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/groovyScripts/reports/PRunsProductsStacks.groovy?rev=1759150&r1=1759149&r2=1759150&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/PRunsProductsStacks.groovy
 (original)
+++ 
ofbiz/trunk/applications/manufacturing/groovyScripts/reports/PRunsProductsStacks.groovy
 Sun Sep  4 06:56:50 2016
@@ -62,7 +62,6 @@ if (allProductionRuns) {
         // Stack information
         stackInfos = [];
         productionRunQty = productionRun.quantityToProduce;
-        //numOfStacks = (int)productionRunQty / stackQty; // number of stacks
         numOfStacks = productionRunQty / stackQty; // number of stacks
         numOfStacks = numOfStacks.intValue();
         qtyInLastStack = productionRunQty % stackQty; // qty in the last stack


Reply via email to