Hello Jacques, The mentioned tables I know but I have not come across any code or service which would expire the subscription. I have seen one scheduled service "runSubscriptionAutoReorders" which checks for expiration of the subscription by comparing current date and subscription's thruDate; but it doesn't expire the subscription only simple check is there. So has there been any other code/service already written which performs task of expiration of the subscription or I will have to write my own custom service to perform the task. Please suggest.
-- Thanks Ramkrishna On Sun, Sep 8, 2013 at 9:30 PM, Jacques Le Roux < [email protected]> wrote: > You got one possibilty (the simplest one and most used I guess). A little > explanation of the data model is at > https://cwiki.apache.org/confluence/display/OFBIZ/Subscription > > Jacques > > Ramkrishna Swamy wrote: > > Hello list, > > > > I have gone through link of subscription > > http://www.amicontech.com/blog/subscriptions-in-ofbiz-and-opentaps/, in > > this link I did not find how subscription expires. I tried to find a > > service which should be called on expiration of subscription but I > couldn't > > find. As per the given link we need to customize a service in order to > > serve subscription to the user, so I created a simple java service in > order > > to see how it's called. It is called once, at the time of placing an > order. > > So it will create subscription in the system now if I set thruDate to > > expire the subscription it expires in the system. Is there any service > > which is called to expire the subscription. > > If anyone has any idea how it works then please let me know. >
