Nama ERP DocsNama ERP Docs
Home
Namasoft.com
Data Model
GitHub
Home
Namasoft.com
Data Model
GitHub
  • Home

    • Search
    • Guides

      • List Views
      • Entity Flows
      • الفواتير والضرائب والخصومات
      • Supply Chain
      • Manufacturing
      • e-commerce integration (Magento)
      • .
    • Examples
    • Reprocessing Transactions
    • Frequently Asked Questions
    • AI Generated Entity Flows Documentation

      • Core
      • Accounting Module
      • AI Module
      • Contracting Module
      • CRM Module
      • EGTax Reader Module
      • Freight Management System Module
      • Hospital Management System Module
      • HR Module

        • CalcBasicSalaryForNetSalary
        • EACalComponentFromLoan
        • EAChangeEmployeeStateFromFiringHandler
        • EAChangeEmployeeStateHandler
        • EAClearFromDateIfFromTimeEmpty
        • EAClearToDateIfToTimeEmpty
        • EACopySalaryStructureToJobOffer
        • EACopySalaryStructureToUpdateEmpInfo
        • EADSCNormalizeTimeAttendance
        • EAEmpAttendanceSysEntryCalculator
        • EAGenSalarySheet
        • EAHealthInsuranceOfferReqAction
        • EALiptisSetComponentFromAnotherWithMax
        • EAMakeSingleCheckInCheckOutIfNeeded
        • EAOyoonWorkPlaceUpdateToUpdateInfo
        • EASalaryCostCalculator
        • EASalaryNormalizeAdditions
        • EASalaryNormalizeDeductions
        • EATimeAttendanceFromDBImportIntoDocument
        • EATimeAttendanceFromDBImporter
        • EATimeAttendanceSetDefaultFromTime
        • EATimeAttendanceSetDefaultToTime
        • EAUpdateEmployeeResidencyRenewDate
        • SetAttendanceToFixedTimeIfEmpty
        • TimeAttendanceAddExtraHoursToEmpty
        • TimeAttendanceRemoveEmptyTimeLines
        • .
      • e-commerce Integration Module
      • Manufacturing Module
      • POS Module
      • Real Estate Module
      • Service Center Module
      • Supply Chain Module
      • .
    • Release Notes

      • 2016
      • 2017
      • 2018
      • 2019
      • 2020
      • 2021
      • 2022
      • 2025
      • .
    • Video Tutorials

      • Supply Chain Videos
      • Report Wizard Videos
      • Human Resources Videos
      • .

EAMakeSingleCheckInCheckOutIfNeeded

This document was generated using Claude.ai

Overview

Converts incomplete attendance records from check-in only to check-out only when the recorded time falls within a specified range. Useful for correcting attendance data where employees forgot to check in but remembered to check out, typically for afternoon or evening shifts.

When This Action Runs

Manual execution during attendance data cleanup when you identify patterns of missing check-ins with only check-out times recorded. Commonly used for employees who start work in the afternoon/evening and the system recorded their first punch as check-in instead of check-out.

How It Works

  1. Processes attendance lines - Iterates through all time attendance lines in the document
  2. Identifies incomplete records - Finds lines with check-in data but no check-out data
  3. Validates time range - Checks if the check-in time falls within the specified time range
  4. Converts to check-out - Moves check-in date/time to check-out fields
  5. Clears check-in data - Sets check-in date to null and time to empty
  6. Preserves other data - All other attendance line information remains unchanged

Parameters

Parameter 1: Range Start (Required) - Start time of the range (e.g., "14:00" for 2:00 PM)

Parameter 2: Range End (Required) - End time of the range (e.g., "23:59" for 11:59 PM)

Database Tables Affected

  • TimeAttendanceLine - Updates from/to date and time fields for matching records

Module: hr

Full Class Name: com.namasoft.modules.humanresource.utils.actions.EAMakeSingleCheckInCheckOutIfNeeded

Edit On github
Last Updated:: 3/18/26, 11:30 PM
Prev
EALiptisSetComponentFromAnotherWithMax
Next
EAOyoonWorkPlaceUpdateToUpdateInfo