[OFBiz] SVN: r7310 - trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Sun Apr 16 01:16:13 CDT 2006


Author: jacopo
Date: 2006-04-16 01:16:08 -0500 (Sun, 16 Apr 2006)
New Revision: 7310

Modified:
   trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
Log:
Added comment to remember that cost components entries for a given work effort *could* contain amounts in different currencies (in rather complex scenarios); we will have to handle this.

Modified: trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java
===================================================================
--- trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java	2006-04-16 06:05:29 UTC (rev 7309)
+++ trunk/applications/manufacturing/src/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.java	2006-04-16 06:16:08 UTC (rev 7310)
@@ -772,6 +772,8 @@
                                                           UtilMisc.toMap("workEffortId", workEffortId)));
             result.put("costComponents", costComponents);
             Iterator costComponentsIt = costComponents.iterator();
+            // TODO: before doing these totals we should convert the cost components' costs to the
+            //       base currency uom of the owner of the facility in which the task is running
             BigDecimal totalCost = ZERO;
             BigDecimal totalCostNoMaterials = ZERO;
             while (costComponentsIt.hasNext()) {



More information about the Svn mailing list