How to enable auto attendance in ERP Next

I added Biometric fingerprint device configuration in ERP Next, Employee check-in details are working fine. But the Auto attendance is not working. Attendance page show empty.

@Ragulanvm, Please setup Auto Attendance setting in Shift Type and assign the shift to an employee as mentioned in the documentation here before importing Employee Checkin.

Is there any way to mark auto attendance automatically once updated employee checkin daily

@Ragulanvm,
You can use the ‘last_sync_of_checkin’ field in Shift Type to control the time up-to which Auto Attendance marks Attendance for you.

The discussions here should help you: V-12 [HR] [Auto Attendance] Purpose of last_sync_of_checkin in Shift Type

1 Like

I need attendance details daily, how to trigger mark auto attendance daily.

Thanks

@karthikeyan5 is it possible to do auto attendance in version-11

Hi,

I have been trying to implement this for many months and have had no luck.

could you please guide me step by step and

where to run which command

everytime I do it, I have errors

thanks

Also, if there is a way to pull the data from machines other than ZKTeco, please guide me

Am also interested to know if Suprema device can be used.

Thank you.

2 Likes

Hey @Muzzy,
Have you figured out how to integrate Suprema with ERPNext?
I need to integrate some Suprema Devices.

Thanks in advance!

Hi. No, we haven’t done it. You can look at this to create an API.

https://support.supremainc.com/en/support/solutions/folders/24000001229

Hi @hiimkhaled. Were you able to get suprema device into ERPNext? Let me know. Maybe we can work together on it.

Hi,
We had done an integration with Suprema Devices. It is API Friendly, although it does not push information based on triggers had to run an hourly hook in ERPNext to pull info it into Employee Check-in.

https://api.biostar2.com/v2/docs/

Thanks for sharing your experience, would you mind sharing the codes with us? Much appreciated!

I don’t have a copy of the exact code I used I found some notes I had made on the API Payload, Essentially, I wrote a script to check the Biostar Event log looking for successful authentication of Finger Print / Access Card between a Datetime Range for the day to get all the punch data.

POST - /api/events/search

{
        "Query": {
            "limit": 5000,
            "conditions": [
                {
                    "column": "event_type_id.code",
                    "operator": 0,
                    "values": [
                        4865
                        ]
                },
                {
                    "column": "datetime",
                    "operator": 3,
                    "values": [
                        2019-07-30T00:00:00.00Z,
                        2019-07-30T23:59:59.99Z
                    ]
                }
            ],
            "orders": [
                {
                    "column": "datetime",
                    "descending": "false"
                }
            ]
        }
    }

The event code 4865 is for Fingerprint and for 4102 for ID Card, I hope this helps

For the realtime biometric integration with ERPNext, you can get the Cams API Service from https://camsunit.com/product/erpnext-integration-with-biometric-attendance-system.html. Without any desktop/computer application, it communicates with your erpnext application which is hosted in server.

For the eSSL device, before getting this service, get your device verified at https://developer.camsunit.com to ensure that your device supports HTTP communication.