Overview
Dependencies represent the organizational units in your police structure:- Jefatura (Headquarters): Top-level organization
- Subjefatura (Sub-headquarters): Secondary command level
- Dirección (Direction): Department-level command
- Departamental: Regional departmental unit
- División (Division): Specialized divisions
- Comisaría (Police Station): Local police stations
- Sección (Section): Specialized sections within larger units
- Destacamento (Detachment): Small outposts or substations
- Área (Area): Flexible organizational areas
Viewing Dependencies
The main dependencies list displays: Organizational Data:- Dependency name
- Type (with color-coded badges)
- Parent dependency
- Child dependencies count
- Contact information (phone, location)
- Hierarchical level
- Automatically sorted by hierarchical level
- Then alphabetically within each level
- Shows organizational structure clearly
- Total count by type
- Hierarchy visualization
- Quick access to each level
Dependencies are displayed in hierarchical order: Headquarters → Directions → Departmentals → Divisions → Stations → Sections → Detachments
Organizational Hierarchy
Understanding the valid parent-child relationships:Jefatura (Headquarters)
Jefatura (Headquarters)
Jefatura - Top of hierarchy
- No parent (root level)
- Can have: Subjefatura, Dirección, Departamental as children
- Typically only one per organization
Subjefatura (Sub-headquarters)
Subjefatura (Sub-headquarters)
Subjefatura - Secondary command level
- Parent: Jefatura
- Can have: Dirección as children
- Optional intermediate level
Dirección (Direction)
Dirección (Direction)
Dirección - Department-level command
- Parent: Jefatura or Subjefatura
- Can have: Departamental, División, Sección as children
- Examples: “Dirección Operaciones y Seguridad”
Departamental
Departamental
Departamental - Regional departmental unit
- Parent: Jefatura or Dirección
- Can have: División, Comisaría, Sección, Destacamento as children
- Typically represents geographic regions
- Example: “Departamental Paraná (JDP)”
División (Division)
División (Division)
División - Specialized divisions
- Parent: Jefatura, Dirección, or Departamental
- Can have: Comisaría, Sección, Destacamento as children
- Functional specializations
- Examples: “División 911 y Videovigilancia”, “División Seguridad Urbana y Bancaria”
Comisaría (Police Station)
Comisaría (Police Station)
Comisaría - Local police stations
- Parent: Departamental
- Can have: Sección, Destacamento as children
- Front-line operational units
Sección (Section)
Sección (Section)
Sección - Specialized sections
- Parent: Dirección, Departamental, División, or Comisaría
- Can have: Destacamento as children
- Specialized units within larger dependencies
- Examples: “Sección Técnica”
Destacamento (Detachment)
Destacamento (Detachment)
Destacamento - Small outposts
- Parent: Departamental, División, or Comisaría
- Typically no children (leaf nodes)
- Smallest organizational unit
- Examples: “Destacamento Tilcara”
Área (Area)
Área (Area)
Área - Flexible organizational areas
- Parent: Any dependency type
- Can have children of any type
- Most flexible dependency type
- Used for special groupings
Creating Dependencies
There are two methods for creating dependencies:Method 1: Quick Create (Sections/Detachments Only)
For creating sections and detachments with wizard:Enter Name
Type the section or detachment name (prefix “Sección” or “Destacamento” added automatically)
Choose Parent Hierarchy
Select parent from dropdowns:
- Dirección (optional)
- Departamental (optional)
- División (optional)
- Comisaría (optional)
Method 2: General Create (All Types)
For creating any dependency type:Select Type
Choose from all dependency types:
- Subjefatura
- Dirección
- Departamental
- División
- Comisaría
- Sección
- Destacamento
- Área
The system automatically adds type prefixes to names. For example, entering “Técnica” for a Section becomes “Sección Técnica”.
- Name is required
- Type must be valid
- Parent must be valid for the selected type
- Cannot create circular references (child cannot be parent of its parent)
- Hierarchy rules are enforced automatically
Editing Dependencies
Update dependency information: Editable Fields:- Name (with automatic prefix)
- Parent dependency (with hierarchy validation)
- Phone number
- Physical location
- Observations
- System only shows valid parent options based on type
- Prevents circular references
- Validates hierarchy rules before saving
- Cannot set a child as parent
- Cannot set grandchild as parent
- Validates entire hierarchy chain
Deleting Dependencies
Remove dependencies from the system: Restrictions:- Can only delete Sections and Detachments
- Cannot delete if dependency has children
- Cannot delete if equipment is assigned
- Reassign all equipment to other dependencies
- Move or delete all child dependencies
- Verify no active fleet assignments
- Consider consequences for historical records
Dependency Relationships
Parent-Child Navigation
Each dependency shows:- Parent: Direct parent in hierarchy (“Depends on”)
- Children: List of direct child dependencies
- Full Path: Complete hierarchy from headquarters down
Hierarchical Queries
The system provides methods to query organizational structure: Get All Children:When assigning equipment or filtering in fleet management, selecting a parent automatically includes all children in the query.
Dynamic Parent Selection
When creating dependencies, parent options update dynamically: AJAX-Based Cascading:- Select Dirección → loads Departamentals under it
- Select Departamental → loads Divisions under it
- Select División → loads Comisarías under it
Contact Information
Track contact details for each dependency: Phone Number:- Direct contact number
- Up to 50 characters
- Optional field
- Street address
- Building or facility name
- Geographic reference
- Up to 255 characters
- Notes about the dependency
- Special instructions
- Operational details
- Unlimited text
Integration with Other Modules
Dependencies are used throughout the system: Fleet Management:- Equipment assigned to dependencies
- Hierarchical filtering in searches
- Movement tracking between dependencies
- Equipment distribution by dependency
- Departmental and divisional views
- Statistical reporting
- Cameras associated with dependencies
- Site-to-dependency mapping
- Resources assigned to dependencies
- Mobile units allocated by location
- Bodycams delivered to specific dependencies
- Personnel assignments by location
- Equipment delivered to dependencies
- Assignment tracking by location
Dependency Statistics
View system-wide statistics:- Count by type
- Total dependencies
- Hierarchy depth
- Dependencies by parent
- Geographic distribution (if location data available)
Best Practices
Establish Hierarchy Early
Create your organizational structure before assigning equipment for accurate tracking from the start.
Use Consistent Naming
Follow naming conventions for easy identification (system adds prefixes automatically).
Keep Contact Info Current
Update phone numbers and locations as they change for operational effectiveness.
Validate Before Deleting
Always check for children and equipment assignments before deleting.
Plan Hierarchy Changes
Changing parents affects equipment assignments and reports. Plan organizational changes carefully.
Document in Observations
Use observations field for operational notes, temporary changes, or special circumstances.
Regular Hierarchy Review
Periodically review organizational structure to ensure it matches operational reality.
Leverage Hierarchical Queries
Use parent-level filtering in reports to automatically include all child dependencies.