Frontend
Masters
Sub Department

Sub Department Master

Navigation Path

Company → Masters → Sub Department Master


Module URL

  • Sub Department Master Page: /masters/sub-department-master

ℹ️ This single page is used for listing, adding, editing, and deleting sub-department records.


1. Sub Department List Section

Purpose

Displays all configured sub departments and allows users to manage them efficiently.

List Table Columns

Column NameDescription
S NoSerial number
DepartmentParent department
Sub DepartmentSub department name
ActionsEdit and Delete

Available Features

  • Global search by Sub Department
  • Column-level filter for Department and Sub Department
  • Checkbox selection for rows
  • Edit and Delete actions for each record

2. Add Sub Department

Purpose

Allows administrators to create a new sub department under a department.

Form Fields

Field NameTypeMandatoryDescription
DepartmentDropdownYesSelect parent department
Sub DepartmentText InputYesEnter sub department name

Actions

ActionBehavior
SaveValidates and saves the sub department
ResetClears entered values

Validation Rules

  • Department must be selected
  • Sub Department name cannot be empty
  • Duplicate sub department names under the same department are not allowed

3. Edit Sub Department

Purpose

Allows modification of an existing sub department.

Behavior

  • Clicking the Edit icon opens the record in edit mode
  • Fields are pre-filled with existing data

Editable Fields

Field NameEditable
DepartmentYes
Sub DepartmentYes

Actions

ActionBehavior
UpdateSaves updated sub department details
CancelDiscards changes

4. Delete Sub Department

Purpose

Allows removal of a sub department record.

Delete Flow

  1. Click the Delete icon from the Actions column

  2. A confirmation popup appears:

    Are you sure you want to delete this Sub Department?

  3. User options:

    • Yes / Confirm → Permanently deletes the sub department
    • Cancel → Closes the confirmation dialog

Delete Behavior

  • Deletion is permanent
  • Deletion may be restricted if the sub department is already mapped to:
    • Employees
    • Units
    • Operational or reporting structures

Summary

The Sub Department Master helps organize departments into finer functional units, improving employee mapping, reporting accuracy, and operational clarity.


End of Documentation