Hi James As mentioned I think the Cost Component Calculation is what you need and yes it can be setup via the UI in quite a few places:
Manufacturing https://demo-trunk.ofbiz.apache.org/manufacturing/control/EditCostCalcs Accounting https://demo-trunk.ofbiz.apache.org/accounting/control/EditCostCalcs Catalog https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductCosts?productId=WG-1111 You can specify the fixed and variable parts of the calculation. If you need something a bit more specific then you can code a calculation and then link that coded calculation into the Cost Component Calculation. (See GEN_COST_CALC as an example using a mixture for fixed and bespoke calculation). You can add costs such as labour at various places (eg Routing Task) need to be linked to a Cost Component Calculation rather than just a rate. You can also add a labour cost to the actual product itself in Catalog manager https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductCosts and then use the button at the bottom of the screen to auto calculate an estimate of it. So in general yes, you can setup and estimate the production costs including labour etc but I think there might be something missing. I haven’t tested intensely in manufacturing but even when I had setup additional costs, so far I have never been able to get anything other than the actual material costs to come on a production run. (I'm talking about the Actual Costs tab linked to an individual production run). This could be missing setup or just that the tests I’ve done so far are not comprehensive enough. Thanks Sharan On 2018/06/05 11:42:46, <ja...@productive1.com> wrote: > Thanks Yashwant! Is there a UI to set up CostComponentCalc and > WorkeffortCostCalc or is this something that has to be setup with > webtools? > > -------- Original Message -------- > Subject: Re: Adding Actual Labor to Manufacturing Process > From: Yashwant Dhakad <yashwant.dha...@hotwaxsystems.com> > Date: Mon, June 04, 2018 9:46 pm > To: user@ofbiz.apache.org > > Hi James, > > You need to setup CostComponentCalc and WorkEffortCostCalc entities data > for cost calculation and you can find the demo data in > AccountingDemoData.xml file at line no 3060. > And createProductionRunTaskCosts service is used for cost calculation. > Once > you create CostComponentCalc data and link this entity with your task > ie WorkEffortCostCalc > entity and when your task is completed then actual material cost > automatically created. > > Thanks & Regards > -- > Yashwant Dhakad > > > On Fri, Jun 1, 2018 at 3:50 PM <ja...@productive1.com> wrote: > > > Anyone familiar with the manufacturing process and how to add labor to > > the costs of a manufactured item. > > > > -------- Original Message -------- > > Subject: Adding Actual Labor to Manufacturing Process > > From: <ja...@productive1.com> > > Date: Tue, May 29, 2018 5:02 pm > > To: user@ofbiz.apache.org > > > > Is there a way in ofbiz to add the actual labor utilized to calculate > > the costs of a manufactured item? If so is this done in the production > > process or is it generic on the catalog? Also is there a way in the > > catalog to utilize the true costs either manufactured costs or Moving > > Average from the financials as a base price that can be utilized for > > creating price rules? > > > > Thanks, > > > > James > > >