Naming conventions

Shift pattern name

Based on the shift search logic, if a new shift pattern is to be created, this naming convention is used for the new shift pattern name:

  • If the Shftpat_Name field is supplied and does not exist in the system, then the Shftpat_Name value is used as the new shift pattern name.

    If the Shftpat_Name value exists in the system, a sequence number is appended to the name (for example, Shftpat_Name-10201).

  • If the Shftpat_Name field is not supplied, the prefix SP is be used, followed by a sequence number (for example, SP-10202).

Shift name

Based on the shift search logic, if a new shift is to be created, the start and end times (shift start time concatenated with shift end time) are used for the new shift name. If the same name already exists in the system, a sequence number is appended to the name (for example, 10:00-15:00-10201).

Shift pattern description

If the Shftpat_Desc field is not supplied, then a string of the concatenated shift names in the shift pattern is used (up to 100 characters).

For example:

09:00-17:00_09:00-17:00_00:00-00:00_00:00-00:00_09:00-17:00_09:00-17:00_

Customizing names

You can customize the shift pattern name, shift name, and shift pattern description conventions by extending com.workbrain.app.wbinterface.schedulein.db.ShiftPatternManager and overriding these protected methods:

  • createShiftPatternName
  • createShiftPatternDescription
  • createShiftName

To load custom implementations of ShiftPatternManager, you can use the system/callouts/ShiftPatternManangerCallout registry parameter. For more information, see the Infor Workforce Management Registry Parameter Reference Guide.