This is not a question about code or anything...
I would like to open a discussion of the best code or algorithm for
making an order repetitive one.
I mean:
- there is an order with order description;
- company has to fullfill that order on repetitive basis, say every thursday for like 2 months;
- instead of puting this order manually every thursday, and remember it, it would be nice to create some procedure that will make this order repetitive.
How would you go about this problem?
What kind of algorithm would you suggest?
Make a special table of repetitive orders and then work with it? Or
Actually create a new record of this order description in Orders table for every repetitive day?
How will you remind a user that this is the last day of repetitive sequence?
And so on...
As from my side, i have developed the algorithm and it works, one can make an order repetitive, any number of days of the week, for any future months, with reminder of the last day in the sequence..
If anybody is interested in this discussion, i will develop more on this subject, and tell about my way of doing this.
Why did i create this thread?
- i believe my code can be improved or totally redesigned if somebody has some bright ideas i have been unaware of. I would like to polish it, and make it accesable to everyone to use. I mean it. If anybody needs it...Thanks.
I would like to open a discussion of the best code or algorithm for
making an order repetitive one.
I mean:
- there is an order with order description;
- company has to fullfill that order on repetitive basis, say every thursday for like 2 months;
- instead of puting this order manually every thursday, and remember it, it would be nice to create some procedure that will make this order repetitive.
How would you go about this problem?
What kind of algorithm would you suggest?
Make a special table of repetitive orders and then work with it? Or
Actually create a new record of this order description in Orders table for every repetitive day?
How will you remind a user that this is the last day of repetitive sequence?
And so on...
As from my side, i have developed the algorithm and it works, one can make an order repetitive, any number of days of the week, for any future months, with reminder of the last day in the sequence..
If anybody is interested in this discussion, i will develop more on this subject, and tell about my way of doing this.
Why did i create this thread?
- i believe my code can be improved or totally redesigned if somebody has some bright ideas i have been unaware of. I would like to polish it, and make it accesable to everyone to use. I mean it. If anybody needs it...Thanks.