Company: Link Technologies
Case No: L10520. Project: 11.40: LinkSOFT Version 11.4
Logged By: Sanjay (Link Technologies) on 18 Jul 2019 04:10PM
Priority: High
Product: Payroll & HR
Group: Enhancement
Time Taken: 13.75 (Weight: 13.75)
Version: 11.3.0902
Assigned To: Sanjay (Link Technologies)
Circulation: Aarti Pooja Gayaneshwar, Alvis, Development, Rashna, Sanjay
Resolve By: Thursday, 18 July 2019 04:07 PM [1953 days since logged date]
Status: Closed
Subject: Need a New Time and Attendance Rule as 'Maximum hours to be considered as the same work day' to split Time entries [Created from case 10372]
Summary:    

Important notes on creating a new case (Remove this before saving the case)

  1. Subject line should be clear and concise
  2. Case header should have a clear explanation of requirements with examples where possible
  3. Justification for New Feature/Change Request
  4. Suggestions or notes relevant to the case
  5. Test plan and Pass/Fail scenarios
1. Summary of requirements:

We need a rule in Time and Attendance Module to be able to define the maximum work hours in a day so that system can split the entries accordingly and timesheet entries are correctly created. Currently if user has clocked In for one day, there are no other entries for that day, the following day does not have a clock in time but there is a clock out for the that day, this is merged as one line of entry. In some cases users use incorrect Punch Type, example instead of Out, they use Resume or Done. This also causes discrepancies in time and system ends up merging the time entries for staff. Below are the common Punch types in the various machines we have integrated with our Payroll

PunchTypeNoPunch Type Description
00Check In
01Check Out
02Break
03Resume
04OT
05Done

Currently we have a rule to mark these entries as Invalid if they are exceeding certain hours however we can enhance the rule to split the entries in different days based on the configured work hours per day to simplify editing for the supervisors. Below is a snapshot as an example which I have come across with my setup at Motibhai Group of Companies and Tappoos . I have been able to reproduce the same internally using our demo database. See figure 1.1 and figure 1.2 below to review the current behavior of the system.

Figure 1.1



Notice that employee has used some incorrect punch type and system has merged 3 days time in one day.

Figure 1.2

Notice that employee has used some incorrect punch type and system has merged 2 days time in one day.

2. Request Information (Requester to fill in)
 IDDescription (*Required Fields)Value
 1Customer Name*Tappoos Group of Companies, Motibhai Group of Companies, ITaukei Land Trust Board, Danam Fiji Limited, Goodman Fielder International
 4Estimated Cost (hrs/$)
 5Cost Covered By *Link Technologies
 7Workarounds?Manual Editing of the Time by the supervisors and create new entries
Date Required by *The quicker the better so I can roll out more of the sites and see the strength of our Time and Attendance

1. Change Details: (Requester to fill in)

Add a new Time and Attendance Rule as 'Maximum Work hours to be considered as the same work day' with a default value as 16.  This rule will ensure that entries exceeding the configured hours to be marked as a new working day and separate Time Entry Line created for these entries. This rule has been taken from Time Control Management System, version 2.  

Formula:

Add 16 hours to the start time of the employee. Hours Exceeding 16th hour be part of a new day.

2. TEST PLAN: Place all possible test cases relating to this new feature/Change request (Requester to fill in)

Below is the required setup for the Test Plan.

Shift DS: Start Time 07.30 am End Time 04:30 pm with no configured breaks in the shift.
Shift NS: Start Time 07:00 pm End Time 04:00 am with no configured breaks in the shift.
Shift AS: Start Time 02:00 pm End Time 12:00 am with no configured breaks in the shift.
Buffer Before Shift Start is 15mins
Buffer After Shift Start is 15mins
Buffer Before Shift End is 15mins
Buffer After Shift Start is 15mins
Timesheet Import Computation Method : B

Assuming we have this configuration 'Maximum Work hours to be considered as the same work day ' set with default value of 16, below are some test scenarios :

Business Scenario 1:

Employee E001 working on a DS Shift has the below Time Entries.

LineNoLogDateTimePunch Type
12019-04-28 08:01:39.000
IN
22019-04-28 10:21:39.000
OUT
32019-04-28 11:17:39.000
IN
42019-04-28 20:12:45.000
OUT
52019-04-29 17:01:39.000
OUT

Expected Result:

Line 1  - 4 : will form a valid entry foe Date 28-04-2019
Line 5 : Will form an Invalid entry with a Out time only

Business Scenario 2:

Employee E002 working on a NS Shift has the below Time Entries.

LineNoLogDateTimePunch Type
12019-04-28 19:01:39.000
IN
22019-04-28 22:21:39.000
OUT
32019-04-28 22:17:39.000
IN
42019-04-29 04:12:45.000
OUT
52019-04-30 04:01:39.000
OUT

Expected Result:

Line 1  - 4 : will form a valid entry foe Date 28-04-2019
Line 5 : Will form an Invalid entry with a Out time only for 29/04/2019

Business Scenario 3:

Employee E003 working on a DS Shift has the below Time Entries.

LineNoLogDateTimePunch Type
12019-05-02 07:03:03.000
IN
22019-05-02 10:14:14.000
OUT
32019-05-02 11:18:22.000
IN
42019-05-02 16:08:55.000 OUT
52019-05-03 07:01:39.000
Resume
62019-05-03 09:34:28.000
OUT
72019-05-03 10:09:56.000
Resume
82019-05-03 16:00:07.000
OUT
92019-05-04 07:06:43.000
Resume
102019-05-04 10:22:18.000
OUT
112019-05-04 11:30:08.000
IN
122019-05-04 16:42:04.000
OUT

Expected Result:

Line 1  - 4 : will form a valid entry foe Date 02-05-2019
Line 5 - 8 : Will form an Invalid entry with a Out time only for  03-05-2019. (Rule: Add 16 hours to start time of previous day, use the next available time available after the 16th hour as In for the next Day and keep calculating to split the entries by day)
Line 9 - 12: Will Form a Valid entry   (Rule: Add 16 hours to start time of previous day, use the next available time available after the 16th hour as In for the next Day and keep calculating to split the entries by day)


3. Costing (excluding tax) (Project Manager to fill in)

 IDTask DescriptionHours
 1Analysis and Design2
 2Development8
 3System test and UAT3
 4Documentation 2
  1. Rate: $125 AUD + tax
  2. Total Cost:

5. Detail Design (Development Team)
Audit Notes:Edited by alvis on 08/08/19 16:40. Edited by sanjay on 18/07/19 16:10. Edited by sanjay on 18/07/19 16:10. 
18 Jul 201904:07PM Comment 1 by Sanjay (Link Technologies) Created from case 10372
19 Jul 201901:40PM Comment 2 by Aarti Pooja Gayaneshwar (Link Business Solutions) Assigned To: Development Followup Date: 22-07-2019 12:00 AM Time Taken: 1.75

Bula Vinaka Sanjay,

Further to Vineet's discussion with the client (Motibhai), they have agreed to wait for this in V11. Also, Motibhai has agreed to be the early adopters for V11.

Kind Regards
Aarti Gayaneshwar

08 Aug 201904:40PM Comment 3 by Alvis (Link Technologies) Case 10520 added to project 11.0
08 Aug 201904:44PM Comment 4 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 08-08-2019 04:44 PM Time Taken: 3.50

Development work for this case has been completed.

The change will be available in version: 11.0.0808

1. The following changes were made(Include Database object names, Program classes and any other relevant information):|

  1. Added configurations under devices to set up the codes for IN, OUT and BREAK
  2. Added a configuration for "New Entry Hours Buffer" under the rule "Timesheet processing rules".  Description "New entry hours buffer. Number of hours to wait before creating a new entry. Recommended minimum 19 hours."
  3. Changed the timesheet computations to split time entry when consecutive entries exceed the "New entry hours buffer".

2. The issue was caused by:

  1. Change request

3. Next Step:

  1. UAT

4. Notes:


16 Aug 201902:56PM Comment 5 by Sanjay (Link Technologies) Assigned To: Rashna (Edge Business Solutions) Followup Date: 16-08-2019 02:56 PM Time Taken: 1.50
For UAT

12 Sep 201910:50AM Comment 6 by Rashna (Edge Business Solutions) Assigned To: Alvis (Link Technologies) Followup Date: 12-09-2019 10:50 AM Time Taken: 2.00

Hi Alvis, 

The following was done

Shift DS: Start Time 07.30 am End Time 04:30 pm with no configured breaks in the shift.
Shift NS: Start Time 07:00 pm End Time 04:00 am with no configured breaks in the shift.
Shift AS: Start Time 02:00 pm End Time 12:00 am with no configured breaks in the shift.
Buffer Before Shift Start is 15mins
Buffer After Shift Start is 15mins
Buffer Before Shift End is 15mins
Buffer After Shift Start is 15mins
Timesheet Import Computation Method : B

Maximum Work hours to be considered as the same work day ' set with default value of 16.

Scenario 1

  1. Employee - E003, Mapping Code - 53
  2. Shift - DS
  3. The following time was pulled:
  4. DateTimePunch Type 
    05/09/19
    08:01
    01
    05/09/19
    10:21
    03
    05/09/19
    11:17
    01
    05/09/19
    20:12
    03
    06/09/19
    17:01
    03

  5. When the time was pulled, 2 entries was created for date 05/9/2019. This was less than 16 hours. No record was created for the 06/09/2019.

Scenario 2

  1. Employee - E004, Mapping Code - 54
  2. Shift - NS
  3. The results  do not match the expected outcome in case header. Time imported for 05/09/2019 and 06/09/2019.
The backup of the database has been placed at \\10.0.0.14\d\Temp. File Name - LINKSOFT-CASE10520.

Thanks
Rashna


12 Sep 201904:00PM Comment 7 by Sanjay (Link Technologies) Assigned To: Development Followup Date: 12-09-2019 04:00 PM Time Taken: 2.00

Development work for this case has been completed.

The change will be available in version:11.002.0912

1. The following changes were made(Include Database object names, Program classes and any other relevant information):

  1. When buffer setting was used, the invalid entry for 6th September was not created. We have resolved this scenario when buffer is enabled.

2. Affected Areas:

  1. Timesheet Import using buffer 

3. The issue was caused by:


4. Notes
5. Next Step
: UAT


18 Sep 201908:20AM Comment 8 by Rashna (Edge Business Solutions) Assigned To: Rashna (Edge Business Solutions) Followup Date: 18-09-2019 08:20 AM Time Taken: 2.00

Hi Sajay, 

Test Results

Below is the required setup for the Test Plan.

Shift DS: Start Time 07.30 am End Time 04:30 pm with no configured breaks in the shift.
Shift NS: Start Time 07:00 pm End Time 04:00 am with no configured breaks in the shift.
Shift AS: Start Time 02:00 pm End Time 12:00 am with no configured breaks in the shift.
Buffer Before Shift Start is 15mins
Buffer After Shift Start is 15mins
Buffer Before Shift End is 15mins
Buffer After Shift Start is 15mins
Timesheet Import Computation Method : B

Scenario 1

LineNo

LogDateTime

Punch Type

Punch Time

Expected ResultsSystem Result

1

05/09/2019 - 8.01 

IN

01


Line 1  - 4 : will form a valid entry for Date 28-04-2019
Line 5 : Will form an Invalid entry with a Out time only
 

2

05/09/2019 - 10.12 

OUT

03

3

05/09/2019 - 11.17

IN

01

4

05/09/2019 - 22.12

OUT

03

5

06/09/2019 - 17.01

OUT

03


Scenario 2

LineNo

LogDateTime

Punch Type

Punch Time

Expected ResultsSystem Result

1

05/09/2019 - 19.01 

IN

01


Line 1  - 4 : will form a valid entry foe Date 28-04-2019
Line 5 : Will form an Invalid entry with a Out time only for 29/04/2019 

2

05/09/2019 - 22.21

OUT

03

3

05/09/2019 - 22.17

IN

01

4

05/09/2019 - 04.12

OUT

03

5

7/09/2019 - 04.1

OUT

03


 Scenario 3  - Enabled rule R012. Tested with Vineet on a GTM session

LineNoLogDateTimePunch TypePunch TypeExpected ResultsSystem Results (Enabled Rule R012)
12019-05-02 07:03:03.000
IN01
Line 1  - 4 : will form a valid entry foe Date 02-05-2019
Line 5 - 8 : Will form an Invalid entry with a Out time only for  03-05-2019.

Line 9 - 12: Will Form a Valid entry
 

22019-05-02 10:14:14.000
OUT03
32019-05-02 11:18:22.000
IN01
42019-05-02 16:08:55.000 OUT03
352019-05-03 07:01:39.000
Resume02
62019-05-03 09:34:28.000
OUT03
72019-05-03 10:09:56.000
Resume02
82019-05-03 16:00:07.000
OUT03
92019-05-04 07:06:43.000
Resume02
102019-05-04 10:22:18.000
OUT03
112019-05-04 11:30:08.000
IN01
122019-05-04 16:42:04.000
OUT03

Thanks
Rashna


02 Oct 201908:45AM Comment 9 by Rashna (Edge Business Solutions) Assigned To: Sanjay (Link Technologies) Followup Date: 02-10-2019 08:45 AM Time Taken: 1.00

Hi Sanjay,

Documentation has been updated at this link

Thanks
Rashna


09 Oct 201908:22AM Comment 10 by Sanjay (Link Technologies) Quality control status: Pass. QC Not required - Cleared queue due to large number of calls
If you have any queries regarding this support incident, please email admin@linktechnologies.com.au and include the Case No: L10520 in the subject line of all emails regarding this issue.

Document size: 524.0 KB
For call complaints, please contact the Managing Director of the company using this form