assignEmp | R Documentation |
Man hours from an Employee-class
object representing a real
employee is assigned to the man hours from an Employee-class
object representing another employee (manpower requirement). During
successful assignment, the man hours of both Employee-class
objects
are reduced.
assignEmp(empT, empR, selfAssign = FALSE, debug = FALSE)
empT |
an |
empR |
an |
selfAssign |
boolean Is the employee being self-assigned? Self assigning means that the two arguments above points to the same object. |
debug |
logical flag for debugging |
a data.frame
containing the man hours database
resulting from the employee assignment. This is consisted of the following
columns:
character string representing the unique identifier of the real employee
character string representing the unique identifier of the theoretical/requirement employee
integer value representing the man hours assigned
character string representing the man hour type
mhType
can be one of the following:
working hours not more than 8 hours during a regular day
working hours not more than 8 hours during a rest day
working hours not more than 8 hours during a special holiday
working hours not more than 8 hours during a legal holiday
working hours not more than 8 hours during a negotiated holiday
working hours not more than 8 hours during a rest day on a special holiday
working hours not more than 8 hours during a rest day on a legal holiday
working hours not more than 8 hours during a rest day on a negotiated holiday
working hours more than 8 hours during a regular day
working hours more than 8 hours during a rest day
working hours more than 8 hours during a special holiday
working hours more than 8 hours during a legal holiday
working hours more than 8 hours during a negotiated holiday
working hours more than 8 hours during a rest day on a special holiday
working hours more than 8 hours during a rest day on a legal holiday
working hours more than 8 hours during a rest day on a negotiated holiday
integer value representing the month
integer value representing the man hours with night premium pay
character string representing the cost center wherein the man hours is charged
character string of the equipment type should the required personnel is an operator
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.