G
Guest
I have a table tblDaily_Attendance for calculating the Check In-Time for the
day and Check Out-Time for the day , Breaks, Food break,Gross Hours worked,
Net hours worked,etc.
Now my senior wants me to add a condition where an employee can check-In for
the same day for the second time (reason may be due to some urgent work that
has come up for the employee and he was called again to work upon).
The possible fields that I could think of for this condition are -
IT2_Day (In-Time no 2 for the Day)
OT2_Day(Out-Time no 2 for the Day)
OT2_Break1(Out-Time no 2 for the 1st Break) - taking a break
IT2_Break1(In-Time no 2 for the 1st Break) - back from a break
similarly for break2, break3 and lunch.
Should I add these fields to the same table or should it be taken as a
seperate table? because Checking-In for the day for the second time is a rare
case, if I add these fields to the same table, all these fields would be
blank for almost all the records except 1 or 2 cases.
day and Check Out-Time for the day , Breaks, Food break,Gross Hours worked,
Net hours worked,etc.
Now my senior wants me to add a condition where an employee can check-In for
the same day for the second time (reason may be due to some urgent work that
has come up for the employee and he was called again to work upon).
The possible fields that I could think of for this condition are -
IT2_Day (In-Time no 2 for the Day)
OT2_Day(Out-Time no 2 for the Day)
OT2_Break1(Out-Time no 2 for the 1st Break) - taking a break
IT2_Break1(In-Time no 2 for the 1st Break) - back from a break
similarly for break2, break3 and lunch.
Should I add these fields to the same table or should it be taken as a
seperate table? because Checking-In for the day for the second time is a rare
case, if I add these fields to the same table, all these fields would be
blank for almost all the records except 1 or 2 cases.