Login  Register

Re: should expired inventoryitems still be reservable?

Posted by David E Jones-2 on Jul 07, 2006; 8:07pm
URL: http://ofbiz.116.s1.nabble.com/should-expired-inventoryitems-still-be-reservable-tp169466p169470.html


Not that I'm aware of, but it is an interesting idea... For a serialized type inventory item you can set the status so the II is not available for reservation.

For non-serialized type items the status is not used, but I suppose we could introduce something there...

-David


Si Chen wrote:

> Is there any other way to mark an inventory item as "off limits" for
> inventory reservations?  I had thought an expiration date might be what
> I'm looking for, but it didn't work the way I thought, and I'm not sure
> I have time to do all of this right now.
>
> Si
>
> On Jul 7, 2006, at 9:59 AM, David E. Jones wrote:
>
>>
>>
>> Christian Geisert wrote:
>>> Si Chen schrieb:
>>>> Hi.
>>>>
>>>> Just noticed that if inventory items with InventoryItem.expireDate
>>>> in the past are still being reserved against order items.  Is this a
>>>> bug?
>>> I'd say yes. As an example companies producing food or drugs will be in
>>> trouble if they are selling stuff with an exceeded expire date but I
>>> could imagine there are companies who sell stuff even if the expire date
>>> has been reached.
>>> So I think the default should be that inventory with an expire date in
>>> the past shouldn't get reserved but maybe add an option (global, store
>>> or product) to allow this.
>>
>> I agree, for some products it may be important to still be able to
>> sell it after expiration. Perhaps there are a few options that could
>> be configured with an enum on the Product entity:
>>
>> 1. Ignore Expiration Date
>> 2. Don't Sell After Expiration
>> 3. Sell At A Discount After Expiration
>> 4. ...
>>
>> On the other hand, maybe a true/false for allow sale after expiration
>> is sufficient because the inventory can be re-assigned to another
>> Product that represents the expired inventory and is sold in a special
>> store or at a special discount.
>>
>> Either way, I'd say we shouldn't add a rule that makes it impossible
>> to sell expired inventory unless it is configurable with a per-Product
>> option (and like Christian said, perhaps with per-Store or other
>> defaults).
>>
>> -David
>

smime.p7s (4K) Download Attachment