Frontend
Masters
Department

Department Master

Navigation Path

Company → Masters → Department Master


1. Department List Page

URL

/masters/department-master

Page Description

  • Displays a list of all departments configured in the system
  • Allows admins to manage organizational departments
  • Provides actions to add, edit, and delete department records

List Table Columns

Column NameDescription
S NoSerial number
Department NameName of the department
DescriptionDepartment description
ActionsEdit and Delete options

Row Actions

ActionDescription
EditOpens Edit Department page with pre-filled data
DeleteOpens delete confirmation alert

2. Add Department Page

Triggered From

Department List Page → Add Department button

Page Description

  • Allows admins to create a new department
  • Used for employee mapping, reporting, and organizational structure

Add Department – Fields

Field NameTypeMandatoryDescription
Department NameText InputYesEnter department name
DescriptionText InputNoEnter department description

Actions

ActionBehavior
SaveValidates and saves the department
ResetClears all entered values
CancelReturns to Department List page

Validation Rules

  • Department Name is mandatory
  • Duplicate department names are not allowed

3. Edit Department Page

Triggered From

Department List Page → Edit icon

Page Description

  • Allows updating existing department details
  • All fields are pre-filled with saved data

Editable Fields

Field NameEditable
Department NameYes
DescriptionYes

Actions

ActionBehavior
UpdateSaves changes
CancelDiscards changes and navigates back

4. Delete Department Confirmation Alert

Triggered From

Department List Page → Delete icon

Alert Content

  • Confirmation message before deletion

Actions:

  • Confirm / Yes → Deletes the department
  • Cancel → Closes the alert without action

Delete Behavior

  • Department is removed permanently after confirmation
  • Deletion may be restricted if the department is mapped to employees or other records

End of Documentation