Hi James, We have Product.orderDecimalQuantity, we can use this if we want to use product as decimal quantity. But I think this is not used in manufacturing code.
Thanks & Regards -- Deepak Dixit On Mon, Aug 6, 2018 at 5:28 PM, <[email protected]> wrote: > > Thanks Rishi - By using decimal in its weight how will that update the > required quantity in BOM? Anyone else in the community have come into > this issue and updated BOM to accept decimals. I would imagine this is > very common on process manufacturing > > -------- Original Message -------- > Subject: Re: Need Help - BOM with decimals > From: Rishi Solanki <[email protected]> > Date: Mon, August 06, 2018 2:41 am > To: ofbizuser <[email protected]> > > James, > > This is tricky, and you can not see if this is directly available OOTB. > But > the trick will surely work ootb. Please follow the following steps; > - Create a manufacturing product in the system. We call it as MP_01 > - Lets say add two manufacturing component (raw material) with it. Name > them as MC_A and MC_B for easy reference. > - Each component will have 1 quantity of its own to create the MP_01. > That > mean 1 * MC_A + 1 * MC_B = MP_01. > - Now set the product weight of both (MC_A and MC_B) for both items in > decimal and use its quantity as per requirement in the MP_01 product > associations. > > Hopefully, with minor or negligible changes in code you should be able > to > achieve decimal functionality. Alternatively, you can go for > customization > which may include some additional fields to work on in product or > product > assoc entity to incorporate the decimal support in BOM. > > As far as I remember there is no direct way to BOM with decimal, good to > know if someone from community already know or did this in past. > > > Thanks! > > > -- > Rishi > > > > > > > Rishi Solanki > Sr Manager, Enterprise Software Development > HotWax Systems Pvt. Ltd. > Direct: +91-9893287847 > http://www.hotwaxsystems.com > www.hotwax.co > > On Mon, Aug 6, 2018 at 12:59 PM, <[email protected]> wrote: > > > > > Team - How have you handled in the past a BOM that is a formula and uses > > fractions of inventory. Let's say we inventory mix in gallons but to > > make 1 bottle of the mix it requires .00983 of a gallon? It seems ofbiz > > doesnt handle decimals in BOM. How have you handled this in the past? > > > > Thanks, > > > > James > > >
