I need to reset a running total when the total amount goes over a specific number if dayofweek=2 to 6 and another specific number if dayofweek=7.
At the same time the report must change the date of production adding one day...
Let me explain:
I'm producing some items on an order that will be relased for example on 10/10/03. On this working day I can use my lasercut for just 12 hours (43200 seconds) but the total amount of time is over this value, about 13 hours. So I need to reset my running total and then change the date of production adding a day (the next working day more precisely). The same if the day is a Saturday when I can work just 8 hours (28800 sec).
Beyond to this, I must reset the running total when the date of production normally changes.
Is a bit hard for me...
Thanks in advance,
Fedleo
At the same time the report must change the date of production adding one day...
Let me explain:
I'm producing some items on an order that will be relased for example on 10/10/03. On this working day I can use my lasercut for just 12 hours (43200 seconds) but the total amount of time is over this value, about 13 hours. So I need to reset my running total and then change the date of production adding a day (the next working day more precisely). The same if the day is a Saturday when I can work just 8 hours (28800 sec).
Beyond to this, I must reset the running total when the date of production normally changes.
Is a bit hard for me...
Thanks in advance,
Fedleo