Employee Database Version Edit
Employee Database Version Edit
Overview:
The Human Resource Management System (HRMS) is a comprehensive platform designed to streamline
employee data management, encompassing creation, updating, and deletion of detailed employee profiles
that include personal information, photographs, fingerprints, signatures, medical certificates, educational
qualifications, employment history, family details, and attached supporting documents such as resumes
and verification reports. It facilitates recording professional experience, career progressions like
promotions and transfers, and links employees to their respective branches, designations, and employment
types (contract, temporary, permanent, wages). The system manages unique file numbering patterns based
on branch and unit classifications and assigns employee IDs with specific formats for units and
complexes. It also handles shift schedules for shift-based staff, maintains financial details including bank
and GP Fund accounts, and provides functionalities for issuing and approving official documents like
NOCs for passports or Branchal transfers, as well as processing allowances related to educational
qualifications and disabilities with verification workflows. Additionally, the system ensures secure
access, automated notifications, and reporting capabilities, creating an integrated, efficient, and
transparent HR environment that supports administrative, legal, and career development activities within
the organization.
HR Manager
System Administrator
Data Entry Operator
1.2 Pre-conditions
1.3 Post-conditions
Must be unique.
Manually
Employee ID Text Input Yes Alphanumeric PCSIR-EMP-XXXX If duplicate →
entered
Show error
Must match
Full Name Text Input Yes String — —
CNIC full name
Age must be
Date
Date of Birth Yes Date dd/mm/yyyy — between 25–30
Picker
at entry
Choose from
Nationality Dropdown Yes String Pakistani, Other —
predefined list
Must be valid
Email Text Input No Email [email protected] —
email format
Must match
Contact No. Text Input No Numeric +92 xxx xxxxxxx — Pakistan phone
format
Residential
Address Text Area No String — —
address
Must match
District Text Input No String — — administrative
region
Father’s
Text Input No String — — —
Name
Valid NTN
NTN No. Text Input No Numeric xxxxxxx-x —
format
Business
Default
Field Label Field Type Mandatory Data Type Value Set / Format Rules /
Value
Comments
Must be linked
Branch Dropdown Yes String Based on Wing —
with Wing
Optional
Fingerprint File
No JPG/PNG <5MB — biometric
Impressions Upload
verification
Label / On Click
Type Other Events Visible Enabled Navigate To
Name Event
Next Button Button Validate & — Always Enabled if Next Tab /
Move to next visible validations pass Section
Label / On Click
Type Other Events Visible Enabled Navigate To
Name Event
section
Enabled if
Save current Auto- Visible on Stays in same
Save Button Button required fields
form data validation each form form
valid
Cancel Discard Confirmation Visible in Returns to
Button Always enabled
Button changes popup forms previous state
Opens Spouse Visible in Spouse
Add Spouse Button — Always enabled
form row Family tab section
Edit Opens spouse Only if
Icon — Enabled Same section
(Spouse) row in edit record exists
Delete Remove If record
Icon Confirmation Enabled Same section
(Spouse) spouse record exists
Opens child Visible in
Add Child Button — Enabled Child section
input form Family tab
Visible in
Add Opens Education
Button — Education Enabled
Education education form form
tab
Opens record Visible if
Edit (Pencil) Icon — Enabled Same section
for edit record exists
Delete Confirmation Visible if
Icon Deletes record Enabled Same section
(Trash) popup record exists
Enabled if
Submit Validate & Visible in NOC
Button — confirmation
Application Submit NOC NOC tab workflow
checked
Upload Upload Visible if Enabled if valid Attachment
Button File validation
Button selected file file selected file section
Visible if
Download Bulk download File
Button — docs Enabled
All attachments download
uploaded
Visible if
Preview / open Document
View Icon Icon — file Enabled
document Viewer
uploaded
Opens
Workflow Visible if Workflow
Link workflow trail — Enabled
Trail submitted System
view
2.2 Pre-conditions
2.3 Post-conditions
2.5 Mockup
2.6 Field-Level Specifications
Business
Default
Field Label Field Type Mandatory Data Type Value Set / Format Rules /
Value
Comments
View only,
Unique
Employee ID Text Input Yes Alphanumeric PCSIR-EMP-XXXX Manually
Employee
Code
Full legal
Full Name Text Input Yes String — — name,
required
required
Must be
between 25–
Date of Birth Date Picker Yes Date dd/mm/yyyy —
30 years at
entry
Single, Married,
Marital Status Dropdown No Enum — —
Divorced
Format
Email Text Input No Email [email protected] — validation
required
Must match
Contact No. Text Input No Numeric +92 xxx xxxxxxx — Pakistan
phone format
Full
Address Text Area No String — — residential
address
Father’s
Text Input No String — — —
Name
Father’s
Text Area No String — — —
Address
Valid NTN
NTN No. Text Input No Numeric xxxxxxx-x —
format
Depends on
Branch Dropdown Yes String IT, HR, etc. —
Wing
Short
Text Area No String — — Free text
Description
Numeric Must be
Height No Number cm —
Input positive
Personal Example:
Text Input No String — —
Mark of ID mole, scar
Signature Image
File Upload Yes <5MB — Required
Impression (JPG/PNG)
Fingerprint Image
File Upload No — —
Impressions (JPG/PNG)
Medical
File Upload No PDF Max 5MB — Optional
Certificate
Records
Educational Repeating
No Composite Degree, Year, etc. — multiple
Details Section
entries
Full Address
Text Area Yes String — — Required
(Permanent)
City
Text Input Yes String — — Required
(Permanent)
Province
Dropdown Yes String Provinces list — Must select
(Permanent)
District Dependent
Dropdown Yes String Based on Province —
(Permanent) field
(Current)
Province
Dropdown Yes String Provinces list — Must select
(Current)
District Dependent
Dropdown Yes String Based on Province —
(Current) field
Validation Data
Field Label Error Message Alternative Path
Rule Dependency
“Employee ID Used across Suggest next available ID or
Employee ID Must be unique
already exists” modules allow admin override
Must match
“Invalid CNIC Re-prompt user, or auto-
CNIC Number #####- Unique
format” verify with NADRA API
#######-#
“Age must be
Age must be Based on Show advisory and allow HR
Date of Birth between 25 and
25–30 system date override for exceptions
30”
Entry into “Date cannot be Used for Auto-correct to current date
≤ Current Date
Govt. Service in future” Service Length or request HR correction
Length of “Invalid Depends on Allow manual correction by
Auto-calculated
Service calculation” Entry Date HR if auto-calc fails
Branch list Allow manual entry if
Wing →
filtered by “Select branch” Dependent branch not available; option
Branch
Wing to request org master update
Province → District filtered Provide “Other” option if
“Select district” Dependent
District by Province district not found
Allow draft save without
Must match “Invalid email
Email — email; validation enforced at
email regex address”
final submission
Allow entry with alternate
Must match +92 “Invalid phone
Contact No. — format and flag for HR
format number”
review
Allow submission without
Must match
NTN No. “Invalid NTN” — NTN; mark as pending
xxxxxxx-x
verification
Signature Required “Signature — Allow draft save without
Validation Data
Field Label Error Message Alternative Path
Rule Dependency
signature; enforce before
Impression upload required”
approval
Allow partial save; mark
Current “Current address
Mandatory — incomplete until address
Address Fields required”
provided
If button
Permanent Current address Allow manual edit if copy
clicked → auto —
Address Copy filled fails or differs
copy
On Click
Label / Name Type Other Events Visible Enabled Navigate To
Event
Personal Opens profile Personal
Tab — Always Enabled
Profile section Profile form
Opens
Addresses Tab addresses — Always Enabled Address form
section
Employee Image Visible if
Upload image Preview Enabled Image storage
Photograph Upload no image
Shown
Opens Tooltip: “Pick
Calendar Icon Icon with date Enabled —
calendar a date”
fields
Save form Validates Enabled if
Save Button Button Always Same form
data fields valid
Navigate to Runs Enabled if
Next Button Button Always Next tab
next section validation valid
Add Spouse / Add repeating If section
Button — Enabled Family tab
Add Child record active
Edit Icon If record
Icon Edit record — Enabled Same form
(Pencil) exists
Delete Icon Confirmation If record
Icon Delete record Enabled Same form
(Trash) popup exists
Upload If file
Button Upload file Validates file Enabled Attachments
Button selected
Bulk If docs
Download All Button — Enabled Downloads
download uploaded
Copies
Copy Visible in
Button permanent Autofill Current
Permanent to Address Enabled
(Icon+Text) address → current address Address fields
Current tab
current
3. Use Case ID: HRMS-ED03
Use Case Name: Update Employee Profile
HR Officer
Authorized User
3.2 Pre-conditions
The system updates the employee profile and stores changes in the database.
Change log is maintained for audit purposes (who made the change, what was changed,
when).
Updated data becomes available for downstream modules (e.g., payroll, benefits, training,
reporting).
Previous profile data is archived for historical tracking/versioning.
Notifications/alerts may be triggered for relevant stakeholders if configured.
Business
Default
Field Label Field Type Mandatory Data Type Value Set / Format Rules /
Value
Comments
Unique code,
editable only
Employee ID Text Input Yes Alphanumeric PCSIR-EMP-XXXX Manually
by authorized
user
Full legal
Full Name Text Input Yes String — — name, must
match CNIC
Age must be
Date
Date of Birth Yes Date dd/mm/yyyy — 25–30 years
Picker
at entry
Default
Nationality Dropdown Yes String Pakistani, Other Pakistani
Pakistani
Must pass
Email Text Input Yes Email [email protected] — email
validation
Must match
Contact No. Text Input Yes Numeric +92 xxx xxxxxxx — Pakistan
format
Residential
Address Text Area Yes String — —
address
Father’s
Text Input Yes String — — —
Name
Father’s
Text Area Yes String — — —
Address
Must match
NTN No. Text Input Yes Numeric xxxxxxx-x —
NTN format
Calculated
Length of
Calculated No Duration X Years, Y Months Auto from entry
Service
date
Dependent on
Branch Dropdown Yes String IT, HR, etc. —
Wing
Short Free
Text Area No String — —
Description description
Numeric Must be
Height No Number cm —
Input positive
Personal Example:
Text Input No String — —
Mark of ID mole, scar
Image Required
Signature File
Yes (JPG/PNG — digital
Impression Upload
<5MB) signature
Multiple
Educational Repeating
Yes Composite Degree, Year, Institute — records
Details Section
allowed
Full Address
Text Area Yes String — — —
(Permanent)
City
Text Input Yes String — — —
(Permanent)
Province
Dropdown Yes String Provinces list — Must select
(Permanent)
District Depends on
Dropdown Yes String Districts list —
(Permanent) Province
Full Address
Text Area Yes String — — —
(Current)
Business
Default
Field Label Field Type Mandatory Data Type Value Set / Format Rules /
Value
Comments
City
Text Input Yes String — — —
(Current)
Province
Dropdown Yes String Provinces list — Must select
(Current)
District Depends on
Dropdown Yes String Districts list —
(Current) Province
Yes
District of
Dropdown (Permanent String Based on District — Must select
Residence
only)
Validation Data
Field Label Error Message Alternative Path
Rule Dependency
“Employee ID Suggest next available ID /
Employee ID Must be unique Cross-module
already exists” allow admin override
Must follow
“Invalid CNIC Re-prompt user or auto-
CNIC Number #####-#######- Unique
format” verify from NADRA API
#
“Age must be
Age must be Based on Show warning; allow HR
Date of Birth between 25 and
25–30 years system date override in special cases
30”
Entry into Cannot be “Date cannot be Auto-correct to current date
Service Length
Govt. Service future in future” or request HR correction
Length of “Invalid From Entry Allow manual HR
Auto-calculated
Service calculation” Date adjustment if auto-calc fails
Allow draft save without
Must match
Email “Invalid email” — email; enforce validation
email regex
before final submission
Must follow “Invalid phone Accept alternate format
Contact No. —
Pakistan format number” with HR verification
Allow submission without
Must match
NTN No. “Invalid NTN” — NTN; mark pending
xxxxxxx-x
verification
Province → District filtered Provide “Other” option if
“Select District” Dependent
District by Province district not found
Wing → Branch list Allow manual entry; option
“Select Branch” Dependent
Branch filtered by Wing to request org master update
Validation Data
Field Label Error Message Alternative Path
Rule Dependency
Allow draft save without
Signature “Signature upload
Required — signature; enforce before
Impression required”
approval
Current “Current address Allow partial save; mark
Mandatory —
Address Fields required” incomplete until filled
Copy Allow manual editing if
Uses Permanent
Permanent → Autofill — copy fails or addresses
address
Current differ
HR Officer
System Administrator
4.2 Pre-conditions
4.3 Post-conditions
Employee profile and all associated data (personal, educational, employment) are either
removed permanently or archived (if soft delete).
Deletion activity is logged in the audit trail (who deleted, when, which profile).
Related modules (payroll, attendance, training, reporting) are updated to reflect the
deletion.
Backups/archives are available for compliance and recovery purposes.
Access to the deleted/archived record is restricted to authorized users only.