David E Jones wrote:
On Sep 17, 2008, at 4:49 PM, Adrian Crum wrote:
David E Jones wrote:
On Sep 17, 2008, at 4:02 PM, Adrian Crum wrote:
David E Jones wrote:
On Sep 17, 2008, at 2:15 PM, Adrian Crum wrote:
What about an employee work schedule? I want to assign an employee
to work in the roof department from 8am to 5pm, Monday through
Friday, with a lunch break from 12:00 to 12:30pm. Where would
those recurring events go?
Here's what I wrote in Jira OFBIZ-1956: "To push this further, and
to answer Jacques' question: the WorkEffort entity is already
designed to handle work schedules using the WorkEffortType
"Available" (ID: AVAILABLE)."
Wouldn't that be confusing? When someone is working they are
available? It seems to me someone is available if they are *not*
working.
That's correct, they're not working, they're available for work. In
other words those are times when events (or tasks with scheduling)
can be assigned, or when looking at all tasks assigned and their
estimated times how many days it will take to complete them (and when
each will start, etc).
Understood.
Okay, one more question (for future reference, not having to do with
recurring events):
In the example I gave above, I need to show that the employee is
working during those hours - that they are *not* available. Is there a
WorkEffortType for that?
I'm coming from the perspective of production employees punching a
time clock. They are supposed to be working 8am - 5pm, Monday through
Friday.
What is it that they're not available for? Do you mean when they are
working they are not available? In other words, they have a calendar
event that makes them unavailable 8-5 M-F?
That's exactly what I mean. It could be I'm used to seeing things from a
different perspective than what you're describing.
I understand the approach you're describing - someone is available for
work so their work schedule is flagged as available. The perspective I'm
accustomed to is an employee is available for work when they are not
already working. They are available for work when they are "off."
So, I have to look at it differently. An employee is "off" when they are
not available.
No big deal. It will take some getting used to.
-Adrian