This fast formula identifies unit quantity for reported weekend time. It generates a
unit time attribute for the day if the reported time category hours occur on a weekend day.
This formula uses an array to process time card data. It isn't associated with any
delivered time calculation rule templates.
Parameters
| Name |
Type |
Description |
| WORKED_TIME_CONDITION |
Time category |
Time category of reported hours that include the specified time
attributes used to decide whether to generate a units time
attribute. |
| NUMBER_OF_UNITS |
Fixed number |
If Yes, generate the number of units when the person associated
with a rule using this formula works any day defined as weekend
day.
If No, generate the number of units only when the person
associated with a rule using this formula works all days defined
as weekend days.
|
| IS_MON_WEEKEND |
Yes or No |
Indicate if Monday is a weekend day. |
| IS_TUE_WEEKEND |
Yes or No |
Indicate if Tuesday is a weekend day. |
| IS_WED_WEEKEND |
Yes or No |
Indicate if Wednesday is a weekend day. |
| IS_THU_WEEKEND |
Yes or No |
Indicate if Thursday is a weekend day. |
| IS_FRI_WEEKEND |
Yes or No |
Indicate if Friday is a weekend day. |
| IS_SAT_WEEKEND |
Yes or No |
Indicate if Saturday is a weekend day. |
| IS_SUN_WEEKEND |
Yes or No |
Indicate if Sunday is a weekend day. |
Outputs
| Name |
Output Group |
Time Attribute |
Description |
| CALC_START_TIME |
1 |
StartTime |
Original start time |
| CALC_STOP_TIME |
1 |
StopTime |
Original stop time |
| MEASURE_UNITS |
2 |
Measure |
Number of units |
| UOM_UNITS |
2 |
UnitOfMeasure |
UN unit of measure |
| RATE_AMOUNT |
2 |
Rate_Amount |
Sets the rate amount to Null |
| PERIODICITY |
2 |
Periodicity |
Sets the periodicity of the rate amount to Null |
| UNITS_PAYTYPE |
2 |
PayrollTimeType |
Payroll time type to associate with the units |
Function
For each detail time card record found for the time category, if the function finds
any time entry for days specified as weekend day (IS_MON_WEEKEND…), select
WORK_ANY_WEEKEND_DAY.
| WORK_ANY_WEEKEND_DAY SETTING |
What Happens |
| Yes |
Add the number of units specified in NUMBER_OF_UNITS to the time
card with a unit amount of UN (Units). It doesn't matter if the
person worked only one or every day defined as a weekend
day. |
| No |
Add the number of units specified in NUMBER_OF_UNITS to the time
card with a unit amount of UN (Units), only if the person worked
every day defined as weekend days. |
Examples of WORK_ANY_WEEKEND_DAY is Yes
For these examples, the weekend days are Saturday and Sunday.
| Day |
Payroll Time Type |
Reported Time |
Calculated Time |
| Wed thru Fri |
Regular |
8h |
8h |
| Sat |
Regular |
2h |
2h |
| Sun |
Regular |
9h |
9h |
| Weekend Allowance |
NA |
1 unit |
| Day |
Payroll Time Type |
Reported Time |
Calculated Time |
| Wed thru Fri |
Regular |
8h |
8h |
| Sat |
Regular |
2h |
2h |
| Weekend Allowance |
NA |
1 unit |
| Day |
Payroll Time Type |
Reported Time |
Calculated Time |
| Wed thru Fri |
Regular |
8h |
8h |
| Sun |
Regular |
9h |
9h |
| Weekend Allowance |
NA |
1 unit |
Examples of WORK_ANY_WEEKEND_DAY is No
For these examples, the weekend days are Saturday and Sunday.
| Day |
Payroll Time Type |
Reported Time |
Calculated Time |
| Wed thru Fri |
Regular |
8h |
8h |
| Sat |
Regular |
2h |
2h |
| Day |
Payroll Time Type |
Reported Time |
Calculated Time |
| Wed thru Fri |
Regular |
8h |
8h |
| Sun |
Regular |
9h |
9h |