Steps involved to capture time automatically in
WebPay
1. Enter the Employee in biometric database either manually or create a schedular to capture the employees from WebPay database.
2. Send the punch time data in TrnPunchTime table whenever a punch is made in biometric machine. For this use the following table structure:
Table
Name TrnPunchTime
Column_Name Type Length Description
Pk_Id BigInt - Identity
Column (Auto Generated)
fk_emp_code VarChar 10 Employee
Code
DeptccCode VarChar 10 StaffID
/ CardID
TrnDate DateTime - Punch DateTime
Note: You only need to send TrnDate as datetime and fk_emp_code
in case card id and employee code is same or DeptccCode in case card id is different from employee code. No
need to send both fk_emp_code and DeptccCode.
3.
Whenever you
insert the punch time record in TrnPunchTime table remember to insert all the
previous punch time records in WebPay database which are not inserted in WebPay
database due to network failure or any other disinterruption between the two
databases.
Blog by BBSPL
No comments:
Post a Comment