http://ofbiz.116.s1.nabble.com/Users-Decimal-quantity-on-orders-tp138548p138557.html
Good question... I'll defer to Jacopo on the specific fields, etc used for a BOM. I'm not sure if it has a dual-field setup like the OrderItem does.
> Hi David
>
> I assume this is also the case for BOM quantities? We manufacture
> apparel and i can't see how we could do without decimal quantities (ie
> Elastic Pant requires 1.3 metres of fabric)
>
> Regards
> Scott
>
> On 4/15/06, *David E. Jones* <
[hidden email]
> <mailto:
[hidden email]>> wrote:
>
>
> Si, Jean-Luc,
>
> The original intent of the quantity in the ShoppingCart and the
> OrderItem was to use a decimal number and allow for non-integral
> quantities. Over time we ran into a few issues and found this to not
> be the best idea. Some of the code has been updated to only allow
> for integer values for the quantity field, but it is still a decimal
> value in the database.
>
> For things that need an amount like this specified we are using the
> "amount" field. There is a flag on the Product entity to specify
> whether or not the product should ask for an amount in addition to
> the quantity (for example: 8 2x4s, 8.5ft each, quantity=8,
> amount=8.5). The field on the OrderItem where the amount goes is
> called "selectedAmount".
>
> -David
>
>
> Si Chen wrote:
> > What happens when you try to do this? The field is a decimal, so it
> > should be OK. Si
> >
> > mjeanluc wrote:
> >> Hi,
> >>
> >> For the moment, we can't make an order item entry with decimal
> quantity.
> >> Is there a reason of that ? and is there another solution to manage
> >> decmal quantity on orders ?
> >>
> >> Thanks for your answers.
> >>
> >> Jean-Luc.
> >>
> >> _______________________________________________
> >> Users mailing list
> >>
[hidden email] <mailto:
[hidden email]>
> >>
http://lists.ofbiz.org/mailman/listinfo/users> >>
> >>
> >>
> >
> >
> > _______________________________________________
> > Users mailing list
> >
[hidden email] <mailto:
[hidden email]>
> >
http://lists.ofbiz.org/mailman/listinfo/users>
> _______________________________________________
> Users mailing list
>
[hidden email] <mailto:
[hidden email]>
>
http://lists.ofbiz.org/mailman/listinfo/users>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users