Re: Serialized inventory and the ShoppingCart

2011-04-07 Thread David E Jones
From a purely model perspective you should be able to create a OrderItemShpGrpInvRes record for each serialized inventory item. The code side of things in OFBiz might do some funny things, especially with re-reservation of inventory (so that re-reserve code may need to be modified to not

Re: Serialized inventory and the ShoppingCart

2011-04-07 Thread Ean Schuessler
That makes sense. So I don't need to touch the OrderItem structure, just create reservations at the same time that I create the order. Adding an array of serial numbers to ShoppingCartItem seems necessary though. Do you agree? On 04/07/11 11:19, David E Jones wrote: From a purely model

Re: Serialized inventory and the ShoppingCart

2011-04-07 Thread David E Jones
On Apr 7, 2011, at 6:10 PM, Ean Schuessler wrote: That makes sense. So I don't need to touch the OrderItem structure, just create reservations at the same time that I create the order. Adding an array of serial numbers to ShoppingCartItem seems necessary though. Do you agree? Yes, that

Re: Serialized inventory and the ShoppingCart

2011-03-25 Thread Jacopo Cappellato
Yeah, this is not supported ootb because reservations happens when the order is created, not when the items are added to the cart. What you described could be handled, with some small changes, creating an order and then immediately reassigning reservations by specifying the exact inventory

Re: Serialized inventory and the ShoppingCart

2011-03-25 Thread Ruth Hoffman
Hi Ean, Jacopo: Please forgive if this is obvious, but I don't understand why this is a desired behavior. Under what circumstances would you need to represent the inventoryItemId (as serialized inventory) in the shopping cart? From my reading of the data model, the inventoryItemId (for

Serialized inventory and the ShoppingCart

2011-03-24 Thread Ean Schuessler
I may be missing something but it looks like you cannot shop an order for a piece of serialized inventory as part of your shopping cart process. Am I wrong about that? If you have a user walk up with, say, a hard drive or something else with a serial number on it how do you represent that in the