Shift pattern labor allocation logic
The Shftpat_Labor_String field is used to search and create shift pattern labor allocations. Attributes of the shift pattern labor allocation are specified in this format:
token-name=var,token-name1=var1,token-name2=var2 ..
This table shows the allowed token names:
| Name | Size | Required | Description |
|---|---|---|---|
| START_TIME | 4 | No | The start time of the shift pattern. The format is in hh24mm. |
| END_TIME | 4 | No | The end time of the shift pattern. The format is in hh24mm. |
| DOCK_NAME | 40 | No | The docket for the shift pattern. |
| HTYPE_NAME | 40 | No | The hour type used in the shift pattern. |
| JOB_NAME | 40 | No | The job for the shift pattern. |
| TCODE_NAME | 40 | No | The time code for the shift pattern. |
| PROJ_NAME | 40 | No | The project associated with the shift pattern. |
| DEPT_NAME | 40 | No | The department associated with the shift pattern. |
| ACT_NAME | 40 | No | The activity associated with the shift pattern. |
| WBT_NAME | 40 | No | The WFM team name associated with the shift pattern. |
| FLAGS | 10 | No | This is a 10-character positional string that controls Labor Allocation Flags 1-10 during shift pattern import. Each character corresponds to a flag by position. The first character maps to Flag 1, the second to Flag 2, and so on. A Y/N sets the corresponding flag to Yes or No. A space ( ) indicates that the flag is left untouched and not processed at all. An ampersand (&) explicitly clears the value for that corresponding flag.
These examples are shortened to highlight positional behavior, but the same rules apply across all ten positions:
|
| UDF1..10 | 40 each | No | User defined fields in the shift pattern. |
For a series of shift pattern labor allocations, use the tilde (~) symbol to separate the records in the Shftpat_Labor_String:
a_token-name=a_var,
a_token-name1=a_var1,
a_token-name2=a_var2~
b_token-name=b_var,
b_token-name1=b_var1,
b_token-name2=b_var2 ...
For example:
START_TIME=1000,END_TIME=1800,JOB_NAME=Janitor~
START_TIME=1800,END_TIME=2000,JOB_NAME=Clerk
Note: If START_TIME and END_TIME are not supplied, the start and end time of the shift is assumed.