Re: Dev - [OFBiz] [JIRA] Commented: (OFBIZ-826) Order Unit of Measure
Posted by
Jacopo Cappellato on
Apr 27, 2006; 5:54am
URL: http://ofbiz.116.s1.nabble.com/Re-Dev-OFBiz-JIRA-Commented-OFBIZ-826-Order-Unit-of-Measure-tp167770p167774.html
David,
I'm rather sure you've already explained to me the reasons/advantages of
treating the OrderItem.quantity field as an integer... but I cannot
remember it, sorry.
Could you please, quickly (re-)explain?
Thanks,
Jacopo
David E Jones wrote:
> Jacopo,
>
> Yes, that's a good (and scary) point...
>
> I don't know if any back-end support was ever added when amount field was added. In fact, I don't think even the stuff I recommended when it was discussed was ever finished.
>
> What should probably happen with inventory is to keep a total "quantity" that is the ordered quantity multiplied by the ordered amount (iff an amount is specified). For sales orders the same thing should happen when deducting from inventory for reservation (ATP) and for issue (QOH), ie use quantity * amount, and again iff an amount is specified. Also in both cases the amount UOM should match the inventory UOM or be converted...
>
> So yeah, I imagine some work is needed in this area as given the progression of some of these things chances are the state of things is not all that great...
>
> -David
>
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev