Work Code Type Hours

Definition: Returns people with the total hours they logged to a work code type in the time frame defined by the From/Through fields. Work code type hours may be zero.

Return value: Values of type Number

Source: Staffing Table (checked Roster records), the List Target area, the Special Day Group area, the Advanced tab of the Position area; the General tab of the Work Code area.

From: This field is required. It defines the start of the time frame in which to count work code occurrences. Enter a Date & Time value here.

Through: This field is required. It defines the end of the time frame in which to count work code occurrences. Enter a Date & Time value here.

Sorting: If this base rule is used for sorting in a List Target or a List, then people with a Work Code Type Hours=0 return value are preferred (sorted to the top) over other candidates in an ascending sort; otherwise they are pushed to the bottom of the list in a descending sort. If no dynamic ‘Where’ condition is specified then people with empty values or values failing the condition sort to the bottom in an ascending sort. Records of equal sorting priority for all sorting rules are sorted in random order.

Arguments Value
Type(s) - Multiple values are valid.
  • REGULAR DUTY-targets people with a regular duty code (Default value)
  • WORKING -targets people with a working code (Default value)
  • NONE- targets people with a non-working code
  • SIGNUP - target people with a signup code
For day(s) of week - To select more than one value, use the <Ctrl> key.
  • ALL - targets all days of the week (Default value)
  • SUNDAY, MONDAY, TUESDAY, WEDNESDAY,THURSDAY, FRIDAY, SATURDAY - - targets the corresponding day of the week. For example, select Sunday to count occurrences on Sundays, and so on.
Special Day Group gray number
  • <NOTHING>- do not limit by Special Day Group (Default Value)
  • <INTEGER> -targets the specific Special Day Group
  • 0 - Not valid
Attributes This option looks at the attributes on the staffing record, this means a checked record.(+) plus sign: indicates with the selected attributes(-) minus sign: indicates without the selected attributes. Multiple values are valid.Choices are:
  • IGNORE
  • +ALL
  • -ALL (Default value)
  • +REQUEST
  • -REQUEST
  • +CHARGE
  • -CHARGE
  • +NOIMPACT
  • -NOIMPACT
  • +HIDDEN
  • -HIDDEN
  • +STILL AVAILABLE
  • -STILLAVAILABLE
Proposed too
  • YES- include this assignment’s working hours in the total (the assignment that they are about to get)
  • NO do not include this assignment’s hours in the total (Default Value)
Positions attached to group gray number
  • <NOTHING>- do not limit by this argument (Default Value)
  • <INTEGER> targets the specific Group
  • 0 -picks up the Group from the target position
Obey Where Flags A record is flagged as Where record when entered via the Add Window and specifies a Where Location. Records flagged in this way are ignored unless they reside in the target location.
From and Through Target
  • CALENDAR - from and through fields target the start and end date times of the staffing record. (Default Value)
  • CREATION - from and through fields target the creation date time of the staffing record.
  • CREATION+TSE- from and through fields target the creation date time of the staffing record however, in addition, the start and end date times of the same staffing record must fall within the target START and END of the vacancy being offered.