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
      • .

TimeAttendanceRemoveEmptyTimeLines

This document was generated using Claude.ai

Overview

Removes attendance lines that have no time information. Cleans up time attendance documents by deleting any lines where both check-in (from time) and check-out (to time) are empty, helping maintain clean and meaningful attendance data.

When This Action Runs

Manual execution during attendance data cleanup. Typically used after data imports, bulk updates, or when preparing attendance documents for processing to remove incomplete or placeholder records.

How It Works

  1. Iterates backwards through lines - Processes from last to first to avoid index issues
  2. Checks time fields - Examines both from time and to time for each line
  3. Identifies empty lines - Finds lines where both times are null or empty
  4. Removes empty lines - Deletes lines with no time information
  5. Preserves valid lines - Keeps any line with at least one time value

Parameters

No Parameters - This action does not require any input parameters

Database Tables Affected

  • TimeAttendanceLine - Removes records with empty time values from the collection

Module: hr

Full Class Name: com.namasoft.modules.humanresource.utils.TimeAttendanceRemoveEmptyTimeLines

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