From user-return-54104-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Tue Aug 7 06:55:46 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4C5D6180657 for ; Tue, 7 Aug 2018 06:55:46 +0200 (CEST) Received: (qmail 14970 invoked by uid 500); 7 Aug 2018 04:55:44 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 14958 invoked by uid 99); 7 Aug 2018 04:55:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2018 04:55:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 94EA81811A2 for ; Tue, 7 Aug 2018 04:55:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.97 X-Spam-Level: * X-Spam-Status: No, score=1.97 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotwax-co.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id njnd6sx6ls5d for ; Tue, 7 Aug 2018 04:55:42 +0000 (UTC) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 09BB85F434 for ; Tue, 7 Aug 2018 04:55:42 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id g18-v6so14736842uam.6 for ; Mon, 06 Aug 2018 21:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotwax-co.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=AurgtoVPVtifP06hIAdiPtQmP2v1uhNo2Hn6WL7h9oI=; b=FhAwR0FdvDI2VdEI9FffysgV8b7eqMmwUcJye4TzYmTXiLBuETD/nnadcGeZXoTQK5 sZYIQ+6bqudEp4jgxYLxRmvUbgTXMpsEYQ0dFrsQ+cPIA5fNrsZa7lxiDjgBdVOhDFT2 NGOh48z3HwcPuRz25nQ5S+gN9I/poL60KRoKSfQfEXqyDvxCaWr+SlaVebx65UQWhnbS w33Zhf7Cn3qV3HtylNzymlSt9RR1FboSWWWSzdk0EhG8nyeUqlEos6NOVwdK4jo+ubfJ uFL+J4LJiu6WNJVxmGtIrSDYhrOkIU3nX0j+DTs4CdmzJWoHMJ23T0XpweUCFfzWRX/6 PLGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=AurgtoVPVtifP06hIAdiPtQmP2v1uhNo2Hn6WL7h9oI=; b=e6O1zNboq0+mug6rl7PVDzSay50/kIJFGQmuO3QEz00uy2XlEmdqpakAcLGEsnSPwg uvlrqa4hqKq9weF3M2Bcv9VK1qTYYDpJ/BTQEqIVV0Fbbx/aLlBB5jFSlcAqENOHGqLv DrvB7GvfcdxhAtbCTN7Xq3RtUmk7fw0QqadGVl8qaqMlXQz9VhmVXCu30hy11WbJcPf1 ArEadd09YE0QUvx743MPq7fh09mioZLtrH7rsTyM76vY73Lg2FG3GVgCmYu9FUEyG4Vw 1zeJKV8Oe5VaXH6aox+BXxn4x8VSy8wspAITkEkisjPK58CDls8EzT5oKJgKf31qLk6L VZcg== X-Gm-Message-State: AOUpUlEXzkDpy3yUDKZxq8VC/5FT+tLTk5qkyw8uklBBjRHlFB3Eo36n tSnTsTwEDSyRvlguECGQUR6e3Ec4pjI0tL4wY7QM1shQbik= X-Google-Smtp-Source: AAOMgpfBEa/gVZn+aSQ9T0qrYZGEn6aDdwGWLc3mO4ASkz0iZrR5eU51N1gvrC+L3qH6OLgnktplA1q4ou/4yPt0igQ= X-Received: by 2002:a1f:7f1b:: with SMTP id o27-v6mr10965596vki.163.1533617740986; Mon, 06 Aug 2018 21:55:40 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:70a7:0:0:0:0:0 with HTTP; Mon, 6 Aug 2018 21:55:20 -0700 (PDT) In-Reply-To: <20180806045842.711664eeb53defe1e7c8f40d07deeb65.8f0ca5f371.wbe@email17.godaddy.com> References: <20180806045842.711664eeb53defe1e7c8f40d07deeb65.8f0ca5f371.wbe@email17.godaddy.com> From: Deepak Dixit Date: Tue, 7 Aug 2018 10:25:20 +0530 Message-ID: Subject: Re: Need Help - BOM with decimals To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary="000000000000ac5f130572d13448" --000000000000ac5f130572d13448 Content-Type: text/plain; charset="UTF-8" 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, 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 > Date: Mon, August 06, 2018 2:41 am > To: ofbizuser > > 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, 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 > > > --000000000000ac5f130572d13448--