Employee Directory

Module Code: EMP Priority: P0 (Critical Foundation - Required for all user-employee linkage) Status: Enhanced from v5.1 (was M20 P3, now elevated to P0) Dependencies: User Access & Security, Access Control & Permissions, Company Configuration Old Module Number: M20 (Staff Management & Performance)



Module Overview

Purpose: Core employee/staff management system providing the foundation for linking system users to employees, managing organizational structure, and maintaining employee records essential for all business operations.

Priority: P0 (Critical Foundation)

Rationale for P0 Priority:

  • Every user in the system must be linked to an employee record
  • Required for role assignment and permission management
  • Essential for department and location-based operations
  • Foundation for all employee-related workflows

Dependencies:

  • User Access & Security (user accounts)
  • Access Control & Permissions (role assignments)
  • Company Configuration (departments and locations)

Integration Points: All modules (every module needs employee context)


Functional Specifications

2.1 Employee Records

Employee Information:

Personal Details:

  • Full legal name
  • Preferred name/nickname
  • Date of birth
  • National ID or passport number
  • Personal address
  • Personal phone number
  • Personal email address
  • Emergency contact (name, relationship, phone)
  • Marital status
  • Number of dependents
  • Photo for ID badge

Employment Details:

FieldDescriptionRequired
Employee IDUnique identifier (auto-generated)Yes
User Account IDLink to M00 authentication userYes
Hire DateEmployment start dateYes
Position/Job TitleCurrent positionYes
DepartmentSales, Service, Parts, Admin, etc.Yes
LocationPrimary work location (multi-location)Yes
Employment TypeFull-time, Part-time, Contract, TemporaryYes
Employment StatusActive, On Leave, TerminatedYes
Manager/SupervisorReports to (employee ID)Yes
Work ScheduleDays and hoursYes
Termination DateIf applicableOptional
Termination ReasonIf applicableOptional

Organizational Assignment:

  • Primary department
  • Secondary departments (if cross-functional)
  • Primary location
  • Cost center assignment
  • Team membership
  • Direct reports (for managers)

2.2 Position & Department Management

Position/Job Title Configuration:

FieldDescription
Position IDUnique identifier
Position NameJob title (Sales Advisor, Technician, etc.)
Position CodeShort code
DepartmentAssociated department
LevelOrganizational level (Staff, Supervisor, Manager)
DescriptionResponsibilities and duties
Required QualificationsEducation, experience, certifications
Salary GradePay grade level
Is ActiveCurrent/obsolete position

Standard Dealership Positions:

PositionDepartmentLevelTypical Count
General ManagerManagementExecutive1
Sales ManagerSalesManager1-2
Service ManagerServiceManager1-2
Parts ManagerPartsManager1
F&I ManagerF&IManager1
Sales AdvisorSalesStaff10-30
Service AdvisorServiceStaff5-15
TechnicianServiceStaff15-40
Parts SpecialistPartsStaff5-15
Cashier/AccountantAdminStaff2-5
ReceptionistAdminStaff2-4

Department-Employee Linkage:

  • Primary department assignment (required)
  • Secondary department access (optional)
  • Department transfer history
  • Department head identification
  • Team structure within departments

2.3 User-Employee Linkage

Linking User Accounts to Employees:

This is the critical P0 function that connects authentication (M00) to business operations:

User-Employee Relationship:

AttributeDescription
User IDForeign key to M00 user account
Employee IDForeign key to employee record
Link StatusActive, Suspended, Terminated
Linked AtWhen association was created
Linked ByAdmin who created link

Business Rules:

  • Every user account must have exactly one active employee record
  • One employee can only have one active user account
  • Terminated employees have user accounts deactivated
  • User account created automatically when employee is hired (or manually linked)
  • Employee termination triggers user account deactivation

Employee Context in System:

  • All transactions tagged with employee ID (who performed action)
  • All customer interactions linked to employee
  • All documents generated include employee information
  • Audit trails include employee context
  • Reports filtered by employee/department/location

2.4 Employee Status Management

Employment Status Workflow:

StatusDescriptionUser AccountSystem Access
ActiveCurrently employed, workingActiveFull access
On LeaveTemporary leave (vacation, medical)ActiveLimited or suspended
SuspendedAdministrative suspensionSuspendedNo access
TerminatedEmployment endedDeactivatedNo access

Status Change Triggers:

  • Hire: Create employee record and user account
  • Leave: Suspend or limit access based on leave type
  • Suspension: Immediately suspend user account and access
  • Termination: Deactivate user account, preserve employee data

Termination Workflow:

  1. Manager initiates termination request
  2. HR approves and sets termination date
  3. System deactivates user account on termination date
  4. Employee removed from active assignments
  5. Manager re-assigned for employee’s assigned records
  6. Access revoked to all systems
  7. Employee record archived (not deleted)
  8. Exit interview and documents stored

2.5 Certifications and Training Tracking

Certification Management:

FieldDescription
Certification IDUnique identifier
Employee IDForeign key to employee
Certification NameName of certification
Certification TypeManufacturer, Technical, Sales, Safety
Issuing AuthorityWho issued (Toyota, ASE, etc.)
Issue DateWhen obtained
Expiry DateWhen it expires
Certification NumberCertificate number
Document PathScanned certificate file
StatusActive, Expired, Revoked

Certification Types:

  • Manufacturer certifications (Toyota, Honda, Ford, etc.)
  • Technical certifications (ASE, HVAC, etc.)
  • Sales training certifications
  • F&I licenses and certifications
  • Safety training completion
  • Compliance training completion

Expiration Tracking:

  • Automated reminders (90, 60, 30 days before expiration)
  • Renewal tracking
  • Lapsed certification alerts
  • Impact on job assignments (can’t perform certain tasks without cert)
  • Compliance reporting

2.6 Document Storage

Employee Document Repository:

Document Categories:

  • Employment contract
  • Offer letter
  • Background check results
  • Resume/CV
  • Education certificates
  • Professional licenses
  • Performance reviews
  • Disciplinary actions
  • Training certificates
  • Signed policies and acknowledgments
  • Tax forms and HR documents
  • Termination documents

Document Management:

  • Secure storage with access controls
  • Version tracking
  • Expiration tracking (licenses, permits)
  • Document type classification
  • Search and retrieval
  • Retention policy enforcement
  • Export for HR compliance

2.7 Attendance & Time Tracking (Basic)

Basic Time Management:

Clock In/Out:

  • Time clock system integration
  • Manual entry with supervisor approval
  • Work hours tracking
  • Overtime calculation
  • Late arrival/early departure tracking

Leave Management:

  • Leave request submission
  • Manager approval workflow
  • Leave balance tracking (vacation, sick leave)
  • Leave calendar
  • Absence tracking

Shift Scheduling:

  • Schedule creation and management
  • Shift assignments
  • Coverage requirements
  • Schedule templates

2.8 Organizational Hierarchy

Reporting Structure:

Manager-Employee Relationship:

  • Direct manager assignment
  • Reporting chain (up to GM)
  • Matrix reporting (functional + department)
  • Delegation hierarchy
  • Approval routing based on hierarchy

Organization Chart:

  • Visual org chart generation
  • Department-based structure
  • Position-based structure
  • Manager spans of control
  • Hierarchical levels

Data Model

Employee Table:

FieldTypeDescription
employee_idUUIDPrimary key
user_idUUIDForeign key to M00 user
employee_numberVARCHAR(20)Unique employee number
first_nameVARCHAR(100)First name
last_nameVARCHAR(100)Last name
preferred_nameVARCHAR(100)Nickname
date_of_birthDATEBirth date
national_idVARCHAR(50)ID/passport number
personal_emailVARCHAR(255)Personal email
personal_phoneVARCHAR(20)Personal phone
addressTEXTHome address
emergency_contact_nameVARCHAR(200)Emergency contact
emergency_contact_phoneVARCHAR(20)Emergency phone
photo_urlVARCHAR(500)Employee photo
hire_dateDATEStart date
termination_dateDATEEnd date
termination_reasonTEXTTermination notes
employment_statusENUMActive/OnLeave/Suspended/Terminated
employment_typeENUMFullTime/PartTime/Contract
position_idUUIDForeign key to position
primary_department_idUUIDForeign key to department
primary_location_idUUIDForeign key to location
manager_idUUIDReports to employee ID
created_atTIMESTAMPRecord creation
updated_atTIMESTAMPLast update
created_byUUIDCreator user ID

Position Table:

FieldTypeDescription
position_idUUIDPrimary key
position_nameVARCHAR(100)Job title
position_codeVARCHAR(20)Short code
department_idUUIDForeign key to department
position_levelINTOrganizational level
descriptionTEXTResponsibilities
required_qualificationsTEXTRequirements
salary_gradeVARCHAR(20)Pay grade
is_activeBOOLEANCurrent position
created_atTIMESTAMPRecord creation

Employee Department Assignment Table:

FieldTypeDescription
assignment_idUUIDPrimary key
employee_idUUIDForeign key to employee
department_idUUIDForeign key to department
is_primaryBOOLEANPrimary department flag
assigned_atTIMESTAMPAssignment date
removed_atTIMESTAMPRemoval date
is_activeBOOLEANCurrent assignment

Employee Certification Table:

FieldTypeDescription
certification_idUUIDPrimary key
employee_idUUIDForeign key to employee
certification_nameVARCHAR(200)Cert name
certification_typeVARCHAR(50)Type category
issuing_authorityVARCHAR(100)Issuer
issue_dateDATEIssue date
expiry_dateDATEExpiration date
certification_numberVARCHAR(100)Cert number
document_pathVARCHAR(500)File location
statusENUMActive/Expired/Revoked
created_atTIMESTAMPRecord creation

Employee Document Table:

FieldTypeDescription
document_idUUIDPrimary key
employee_idUUIDForeign key to employee
document_typeVARCHAR(50)Contract/License/Review/etc.
document_nameVARCHAR(200)Document title
document_pathVARCHAR(500)File location
document_dateDATEDocument date
expiry_dateDATEExpiration (if applicable)
uploaded_byUUIDUploader user ID
uploaded_atTIMESTAMPUpload time
is_confidentialBOOLEANAccess restriction

Time Attendance Table:

FieldTypeDescription
attendance_idUUIDPrimary key
employee_idUUIDForeign key to employee
work_dateDATEWork date
clock_inTIMESTAMPClock in time
clock_outTIMESTAMPClock out time
hours_workedDECIMALCalculated hours
overtime_hoursDECIMALOT hours
statusENUMPresent/Absent/Late/Leave
notesTEXTAttendance notes
approved_byUUIDSupervisor approval

Leave Request Table:

FieldTypeDescription
leave_idUUIDPrimary key
employee_idUUIDForeign key to employee
leave_typeENUMVacation/Sick/Personal/Unpaid
start_dateDATELeave start
end_dateDATELeave end
days_requestedDECIMALNumber of days
reasonTEXTLeave reason
statusENUMPending/Approved/Rejected
requested_atTIMESTAMPRequest time
approved_byUUIDApprover user ID
approved_atTIMESTAMPApproval time
rejection_reasonTEXTIf rejected

Business Rules

Employee Management Rules:

RuleDescription
Unique Employee NumberAuto-generated, sequential, unique
User-Employee Link RequiredEvery user must link to one employee
One Active EmploymentEmployee can have only one active employment record
Manager RequiredAll employees except GM must have manager
Department RequiredAll employees must belong to at least one department
Location RequiredAll employees must have primary location

Status Management Rules:

RuleDescription
Active Status RequiredOnly active employees can log in
Termination Deactivates UserTermination automatically deactivates user account
Leave Status AccessOn-leave employees have limited or no access
Status Change ApprovalStatus changes require manager/HR approval

Certification Rules:

RuleDescription
Expiration EnforcementExpired certifications trigger alerts
Job Assignment RestrictionsCertain jobs require specific certifications
Renewal RemindersAutomated reminders before expiration

Document Retention Rules:

RuleDescription
Employment RecordsRetain 7 years after termination
Tax DocumentsRetain 10 years
Confidential DocumentsAccess restricted to HR and employee
Termination DocumentsPermanent retention

Integration Points

Outbound Integrations:

ModuleIntegration Purpose
User Access & SecurityUser account linkage
Access Control & PermissionsRole assignments to employees
Company ConfigurationDepartment and location context
All Business ModulesEmployee context for all transactions
Document TemplatesEmployee signatures and information

Inbound Integrations:

ModuleIntegration Purpose
User Access & SecurityUser creation triggers employee linking
Access Control & PermissionsRole changes update employee permissions
Company ConfigurationDepartment/location changes
Payroll System (External)Compensation and time data

User Roles & Permissions

Who Can Manage Employees:

RoleViewCreateEditDeleteManage CertificationsApprove Leave
System AdminAllYesAllNo (archive only)AllAll
HR ManagerAllYesAllNo (archive only)AllAll
General ManagerAllYesAllNoLimitedAll
Department ManagerDepartmentNoDepartmentNoDepartmentDepartment
EmployeeSelf onlyNoSelf (limited)NoSelfNo

Key Performance Indicators

Employee Management Metrics:

MetricTargetMeasurement
User-Employee Link Accuracy100%% users with valid employee link
Active EmployeesTrackCurrent headcount
Employee Data Completeness> 95%% required fields filled
Certification Compliance100%% required certs current
Document Completeness> 90%% employees with all required docs

Operational Metrics:

MetricTargetMeasurement
New Hire Processing Time< 2 daysDays from hire to system access
Termination Processing< 1 dayDays from termination to access revoked
Leave Approval Time< 24 hoursAvg time to approve leave
Certification Renewals100% on time% renewed before expiration
Org Chart Accuracy100%% accurate manager relationships

Last Updated: November 14, 2025 Version: 6.0 Migrated From: Dealership_System_Documentation_v5_1.md (M20) Changes: Extracted core employee management from M20, elevated to P0 for baseline requirements. Performance tracking and advanced HR features moved to future P3 module.

Note: This P0 module focuses on core employee records, user linkage, and organizational structure. Advanced features like commission management, performance reviews, and workforce analytics will remain in the P3 Staff Management & Performance module (to be renumbered in final structure).