Book Contents

Book Index

Attendance system

Attendance terminal

Process number:

Script ID number:

File: ATTT_Terminal.PAS

Script description: Application for the practical handling of movements through attendance terminals.

Users can change the Movement kind and Movement type. If the worker does not pass through the terminal within 3 seconds after making the setting, the default values are set on the terminal. Movements through the terminal are stored in the Passages book. If a movement is saved within 1 minute of the previous movement, the previous movement is automatically cancelled.

 

pic_7105

Picture: Attendance terminal

pic_9775

Picture: Standard attendance terminal

pic_9775

Picture: Terminal with keyboard

The picture on the terminal is stored in K2\Conf\Img and must be named login_att.png.

Service info on the terminal:

If the user selects INFO on the terminal and then beeps (or enters the code of) an Unknown card (the code of a card that is not stored in the system), service information about the given K2 and user is displayed at the bottom left of the terminal (except for the WithKeyboard setting, which has no INFO button).

pic_9777

Picture: Attendance terminal - service info


The user under which the attendance terminal runs should have at least these rights:

pic_10216

Picture: Attendance terminal - rights

Address in the tree: [Attendance system] [Attendance terminals]

Script parameters:

ButtonsSize - Height of the generated buttons

Default value 2.

ImageFromLinks - NO - pictures (of the PICTK2 type) of employees are loaded from documents on the Person in attendance (Contact person).

Yes - picture from the Links module

NumberOfColumns -1

Number of columns in which preset movement types are displayed on the terminal. One column by default.

SetGPScoordinates - No

Yes - Find GPS coordinates

ShowKeyboard - No

Yes - A keyboard for manual code entry is displayed on the terminal. For the WithKeyboard and ArrivalDepartureWeb. fragment variants

TerminalAbbr - terminal

The parameter must be set to the abbreviation of the terminal on which it will run.

UpdateInterval - 4000

Delay for the default setting state in milliseconds.

UpdateIntevalInfo - 0
Delay for the default state when in the Info state.

ViewVariant - Fragment variant, if it is specially adjusted for the terminal. The standard solution allows these views:

- InHeightVariant - portrait view

- WithKeyboard - view with a numeric keypad; the Showkeyboard parameter must also be set to YES.

- WithMoreButton - Preset movement types are displayed on the terminal only after expanding the icon for these buttons.

- 9Buttons - Nine buttons across the terminal screen - Arrival, Departure, Info and preset movement types on the terminal.

- ArrivalDepartureWeb - view for web attendance - Arrival, Departure, Info and preset movement types on the terminal.
- Smartphone - intended primarily for mobile phones - portrait operation. The movement buttons are placed one below the other. Based on the ArrivalDepartureWeb variant.

 

For a special fragment variant for a given organisation, the parameter must contain the value given in brackets in the fragment name (e.g. fragment name: TATTTTerminal(TEST).xml = the value TEST will be entered in the parameter)

 

Zoom - 1

Form zoom.

ShowAttendancePersonCount - No

Yes - The current number of persons present will be displayed on the terminal.

ReloadPersonCountInterval - 60000

Interval for reloading the number of persons present - setting in milliseconds.

FilterButtonsByType - No
Yes - buttons will be displayed according to the movement kind
Arrival - buttons for arrival will be displayed

Departure - buttons for departure are displayed

When the parameter is set to YES, no movement kind other than the defined one can be recorded. E.g. if a passage is defined only as the movement kind Departure (e.g. Departure to the doctor), then it cannot be recorded with this same button on the terminal as an Arrival (by switching the movement kind). It will always be recorded as a departure.

PreviousDaysCount - Number of days to display in INFO
Via the INFO button, the terminal displays a table with the given number of days back.

DelayForCancel - 60
Delay for cancelling the previous passage (sec)

KeysAsPassword - No
Do not display characters

ShowCloseButton - No
Yes - a button for closing the form is displayed.

ShowInfoValues - No
Yes - info will also be displayed at arrival and departure.

ShowOKButton - No
Yes - the "Record passage" button will be displayed at the bottom of the terminal

CurrentContactPersonId - Selected "Contact person"
System parameter for passing settings from the Employee portal script to the Attendance terminal script.

CurrentEmployedPersonId - Selected "Employee"
System parameter for passing settings from the Employee portal script to the Attendance terminal script.

CurrentPrEmploymentId - Selected "Employment"
System parameter for passing settings from the Employee portal script to the Attendance terminal script.

ShowUnliqHolidayWork - No
Display unsettled work on public holidays

ShowUnliqOvertimes - No
Display unsettled overtime work

UseCurrentContactPerson - No
Use the contact person of the logged-in user

UseFrontCamera - Yes
Use the front camera.

Attendance terminal with the ViewVariant parameter set to ArrivalDepartureWeb. It displays a button for switching departure/arrival and other preset passage types.

pic_10529

Picture: Attendance terminal with the fragment variant ArrivalDepartureWeb

Under the INFO button, the PreviousDaysCount, parameter can be used to display several (according to the parameter value) worked days back.

pic_10530

Picture: INFO - Web attendance terminal with the PreviousDaysCount parameter set to 10

Person's attendance terminal

Process number:

Script ID number:

File: ATTT_PersonalTerminal.PAS

Script description: For simple entry of arrival at and departure from a shift, the person's attendance terminal can be used, which has only two buttons for the employee's arrival and departure. In this case, the person does not identify themselves with a card, but logs in to K2 and selects arrival or departure. This can also be done in web K2 anywhere while travelling, and GPS coordinates can also be saved in the passage in K2.

 

pic_7106

Picture: Person's attendance terminal

Address in the tree: [Attendance system] [Attendance terminals]

Script parameters:

SetGPScoordinates - No

Yes - Find GPS coordinates

TerminalAbbr - terminal

The parameter must be set to the abbreviation of the terminal on which it will run. The user must have right No. 2029 - Attendance terminals - View mode to be able to run the script.

ViewVariant - Fragment variant, if it has been specially adjusted for the terminal.

UseFrontCamera - Yes
Use the front camera.

SetGPScoordinates - No

Yes - Find GPS coordinates

Employee portal

Process number:

Script ID number:

File: PERS_EmployedPersonPortal.PAS

Script description: A script that allows employees to display data relating to themselves.

Address in the tree: [Attendance system] [Person in attendance]

Script parameters:

HideAttendanceMovement - NO

Yes - Hide passages

HideAttendanceWorkTimeReport - NO

Yes - Hide work time reports

HideEmployedPerson - NO

Yes - Hide Personal card

HidePayrollSlips - No

Yes - Hide Pay slips

HidePersonAbsence - No

Yes - Hide planned absences

HidePersonalTerminal - No

Yes - Hide Person's terminal

HidePrEmployment - No

Yes - Hide employment

TerminalAbbr - Terminal abbreviation for the "Person's terminal" tab.
The user must have right No. 2029 - Attendance terminals - View mode to be able to run the script.

AllowedPersonAbsenceAbbr - Abbreviations of allowed "Absence types" when entering a "Planned absence"
The parameter value contains abbreviations of absence types separated by semicolons.

DelayForCancel - Delay for cancelling the previous passage [sec]
Parameter value - 60 sec

PayrollSlipGUID - GUID of the "Pay slip" report classification
The parameter value contains the identifier of the "Pay slip" report

PreviousDaysCount - Number of days to display

The parameter value contains the number of days. The list of individual days is displayed on the Current level tab.

TerminalGUID - GUID of the "Attendance terminal" script classification

The parameter value contains the identifier of the "Attendance terminal" script
Allows the full terminal to be displayed. (Linked to the TeminalAbbr parameter)

WorkflowLeaveProcedureAbbr - Procedure for "Leave request"
The parameter value contains the name of the Procedure for leave.

WorkflowAllowedAbsenceAbbr - DOV by default

Abbreviations of allowed "Absence types" when entering a "Leave request"

WorkflowLeaveButtonCaption - caption of the "Leave request" button
The parameter value contains the required caption for this button.

EmployedPersonFragment - Fragment for Personnel data
The default value is "TEmployedPersonDM(EmployedPersonPortal)"
The "Personnel data" tab displays only the fragment with the items Qualification and Personal protective equipment

PrEmploymentFragment - Fragment for Employments
The default value is "TPrEmploymentDM(EmployedPersonPortal)"
The "Employments" tab displays only the fragment for Pension insurance record sheets

OverrideUserId - User identifier for taking over rights
The parameter value contains the identification number of the user (SID) who has rights to all own companies.
It is used, e.g., when displaying a pay slip when the user does not have access to the own company but has an employment in it.

SetGPScoordinates - Find GPS coordinates
Default - NO
Determines whether GPS coordinates are to be detected and saved during a passage through the attendance terminal.

UseFrontCamera - Use the front camera
Default - YES

New planned absence

Process number:

Script ID number:

File: WOUSAW_NewPlannedAbsence.PAS

Script description: A script that allows the logged-in user to enter a new planned absence. It can be run from the tree menu, or the user can add it, e.g., to the favourite items on the desktop.

The person is always filled in with the contact person of the currently logged-in user.

 

pic_7243

Address in the tree: [Attendance system] [Planned absence]

Script parameters:

AllowedPersonAbsenceAbbr
Abbreviations of allowed "Absence types" when entering a "Planned absence"
The parameter value contains abbreviations of "absence types" separated by semicolons. E.g. DOV;SD;HO

SkipTestMinimalBalance - False
Turn off the balance check - enabled by default
The parameter checks the entered leave against the balance.

Change of planned absence

Process number:

Script ID number:

File: WOUSAW_ChangePlannedAbsence.PAS

Script description: A script that allows the logged-in user to change an already planned absence. It can be run from the tree menu, or the user can add it, e.g., to the favourite items on the desktop.

The person is always filled in with the contact person of the currently logged-in user.

Address in the tree: [Attendance system] [Planned absence]

Script parameters:

AllowedPersonAbsenceAbbr
Abbreviations of allowed "Absence types" when entering a "Planned absence"
The parameter value contains abbreviations of "absence types" separated by semicolons. E.g. DOV;SD;HO

SkipTestMinimalBalance - False
Turn off the balance check - enabled by default
The parameter checks the entered leave against the balance.