Skip to content

Employee checkin with bacode scanner + code #4143

@johnwslongland

Description

@johnwslongland

Is your feature request related to a problem? Please describe.
No there is no specific problem related to this request

Describe the solution you'd like
Currently the options available to check an employee is is either manual or,
if a more spreamlined approach is required, a biometric device. I do not contest
any of these methods, they are perfectly valid. My thought process was simply that ,
not many have biometric devices but many have a barcode scanner.

So I went ahead and wrote some code to implement this. It works like this...

Create 2 x QR codes : Entry and Exit.
An employee is identified by the API-key linked to its profile
The QR codes is constructed like this ...
;IN
'OUT

I also implemented a functionality that the Mindeo CS2290 scanned has and that is
to ad characters pre-fixed i.e. 7 . This can server as a device-ID
( If required, I can build in functionality to make this optional )

So when the QR-code for entry us scanned, it looks like this..
7;fgd3947265349;IN

The Employee Checkin doc is populated with the Employee name, IN , device-ID=7
and then saved. After saving a new blank Employee Checkin doc is opened ready for
the next entry. So one can have a terminal at the door, performing scan functions as
employees arrive for work.

And then the process can follow the standard attendance processing that is already
in ERPNext 9 HR )

Modifications required ..
Add additional field to Employee checkin and the code for this functionality.

Describe alternatives you've considered
No alternatives

Additional context
For additional information , I have created a short demo-video of the implementation
that I have done , to demonstrate this.

You can view the video at this link .....
https://youtu.be/MYYulSIrwls

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions