|
I am trying to setup employee specific work schedules in Ofbiz. There have been some conversations around this pointing to the use of WorkEffort of type "AVAILABLE". The part that is catching me up is how it relates to the TimeSheets and TimeEntries that the employee would make that relates to this scheduled work. Moreover, the example given was a "standard 40 hour work week"; where I want to be (potentially) specific to each employee.
For example, consider Janice who will be working M/T/F, 9-5pm and on Sat 12-4 for the week of May 23rd.
What I would expect to do is create a series of WorkEffort entities of type AVAILABLE with est. start/completion dates that look something like ...
May 24, 9am - May 24, 5pm
May 25, 9am - May 25, 5pm
May 28, 9am - May 28, 5pm
May 29, 12pm - May 29, 4pm
Each of these would be bound to Janice through a WorkEffortPartyAssignment (likely with role set to WORKER). Moreover, we know that Janice is AVAILABLE for tasks assignment during these times.
When Janice comes in she would have a time sheet for the entire week, but individual TimeEntries for the actual time she worked which would be bound to the WorkEffort above.
Does this sound like proper usage of the model?
|