ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atul Vani <atul.v...@hotwaxmedia.com>
Subject Re: Proper use of thruDate
Date Fri, 16 Jul 2010 09:34:36 GMT
Hello Wai,

It depends on your requirements, whether you want to keep record of that 
particular thing or not.

For ex:
for a customer you would like to keep track/record of his contact details
like for what time period what was his shipping address
even if he changes it and swaps back to the same shipping address,
then also you won't just remove the thruDate and use old record (or in 
other words erase his history)

but if its a promotion (may be seasonal) then you would just use 
thruDate to turn it on/off

Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.

Wai wrote:
> Hello,
> What is the best practice in using the thruDate of an item.
> I know that when deleting or expiring an item, it is best to just fill in
> the thruDate.  The reason behind this is to have a record of deleted/expired
> items.
> What if an item needs to be reused again.  Is it a matter of emptying out
> the thruDate or setting it to a future expiry date?  If this is the best
> practice, how would ofbiz keep track of whether an item has ever been
> expired?
> Thanks in advance

View raw message