Biometric attendance tool

@poojavadher and @Riddhi_Solanki,
I think there is a misunderstanding about how employee checkin is meant to work. Let me try to clear that up.

There is no option to alternate the logs as IN and OUT when employee checkin is created. This logic is expected to be handled during the marking of the attendance. And the related settings are in the shift type document (check out https://docs.erpnext.com/docs/v13/user/manual/en/human-resources/shift_type#2-auto-attendance-settings).

Let’s now see how each value for the “punch_direction” key works:

  1. “IN” - Marks all the employee checkin imported from this device as IN.
  2. “OUT” - Marks all the employee checkin imported from this device as OUT.

The above two options are helpful when you have one device at the entrance and another at the exit.

  1. “AUTO” - Marks the employee checkin as either IN or OUT based on the ‘punch’ field value received from the biometric device. The ‘punch’ field is set on the biometric device based on the settings in the device. For most devices, you can just press the up or down arrow to change the current punch type. Your device might also have options like this and this. Please check with your device manual, or device vendor or explore your device’s menu to learn more details.

  2. None - Use this option if you want to leave your Punch direction field empty in your employee checkin document. This option is useful if you don’t want to bother with IN/OUT and you are going to set "Determine Check-in and Check-out" field to "Alternating entries as IN and OUT during the same shift" in your shift type document.

Please regenerate your API Secret immediately if you haven’t already. Assuming these are your real keys, you seem to have exposed them to the world.

1 Like