District Master
The District Master is used to define and manage districts mapped to their respective states.
These districts are referenced across multiple modules such as City Master, Units, and Client configurations.
Module URL
- District Master Page
/masters/district-master
1. District List Page
Purpose
Displays all created districts with filtering, searching, and action controls for managing records.
Page Elements
Table Columns
- S No
- State
- District
- Code
- Actions
Available Features
- Global search:
- Search by District Name
- Search by Code
- Filter by State dropdown
- Column-level filters for:
- State
- District
- Code
- Checkbox selection for rows
- Edit and Delete actions for each record
- Table configuration option
2. Add District
Purpose
Allows users to create a new district and map it to a specific state.
Form Fields
-
State
- Dropdown
- Option to select or create a state
- Mandatory field
-
District Name
- Text input
- Placeholder: Enter District Name
- Mandatory field
-
Code
- Text input
- Optional or system-defined (as per configuration)
Actions
- Save
- Validates input
- Saves the new district
- Reset
- Clears all entered data
Validation Rules
- State selection is mandatory
- District Name cannot be empty
- Duplicate district names within the same state are not allowed
3. Edit District
Purpose
Allows modification of an existing district record.
Behavior
- Clicking the Edit icon opens the district in editable mode
- Existing values are pre-filled in the form
Editable Fields
- State
- District Name
- Code
Actions
- Save
- Updates the district details
- Reset
- Restores the original values
4. Delete District
Purpose
Allows removal of an existing district record.
Delete Flow
-
Click the Delete icon from the Actions column
-
A confirmation popup appears:
Are you sure you want to delete this District?
-
User options:
- Yes – Permanently deletes the district
- Cancel – Aborts the action
End of Documentation