Skip to main content
Indiana Wesleyan University Support Knowledge Base

Position_Supervisor

Position.Supervisor Table Documentation

Purpose

The Position.Supervisor table manages reporting relationships between employees and their supervisors. It tracks direct and indirect reporting relationships, supervisor assignments, and organizational hierarchy. This table is essential for organizational structure reporting, management chain analysis, and workflow routing.

Table Structure

Field Name Data Type Nullable Description Source Table Source Field Transformation Notes
SupervisorID INT NO Primary key, unique identifier SUPERVISOR_RELATIONS SUPERVISOR_ID Direct mapping
EmployeeID INT NO Foreign key to Core.Employee SUPERVISOR_RELATIONS EMPL_ID Direct mapping
SupervisorEmployeeID INT NO Foreign key to Core.Employee SUPERVISOR_RELATIONS SUPERVISOR_EMPL_ID Direct mapping
PositionID INT NO Foreign key to Position.Position SUPERVISOR_RELATIONS POSITION_ID Direct mapping
SupervisorPositionID INT NO Foreign key to Position.Position SUPERVISOR_RELATIONS SUPERVISOR_POS_ID Direct mapping
RelationshipType VARCHAR(20) NO Type of supervisory relationship SUPERVISOR_RELATIONS RELATIONSHIP_TYPE Mapped from codes
IsDirect BIT NO Direct supervisor indicator SUPERVISOR_RELATIONS IS_DIRECT Derived
IsInterim BIT NO Interim supervisor indicator SUPERVISOR_RELATIONS IS_INTERIM Direct mapping
EffectiveDate DATE NO Relationship effective date SUPERVISOR_RELATIONS EFFECTIVE_DATE Direct mapping
EndDate DATE YES Relationship end date SUPERVISOR_RELATIONS END_DATE Direct mapping
IsActive BIT NO Active status indicator SUPERVISOR_RELATIONS IS_ACTIVE Derived
CreatedDate DATETIME NO Record creation date N/A N/A System generated
ModifiedDate DATETIME NO Last modification date N/A N/A System generated

Source System Mapping

Primary Source: SUPERVISOR_RELATIONS Table

  • Contains supervisor relationship information
  • Updated when reporting relationships change
  • Key fields mapped directly to Position.Supervisor

Secondary Sources:

  1. POSITIONS Table

    • Position information
    • Used for position validation
    • Updated when positions change
  2. EMPLOYEES Table

    • Employee information
    • Used for employee validation
    • Updated when employee status changes

Data Transformation Rules

  1. Relationship Type Mapping

    Source Code -> Target Type
    'DIRECT' -> 'Direct'
    'MATRIX' -> 'Matrix'
    'DOTTED' -> 'Dotted Line'
    'FUNCTIONAL' -> 'Functional'
    
  2. Direct Supervisor Derivation

    IsDirect = CASE
      WHEN RelationshipType = 'Direct' THEN 1
      ELSE 0
    END
    
  3. Active Status Derivation

    IsActive = CASE
      WHEN EndDate IS NULL OR EndDate > GETDATE() THEN 1
      ELSE 0
    END
    

Data Quality Rules

  1. Required Fields

    • SupervisorID
    • EmployeeID
    • SupervisorEmployeeID
    • PositionID
    • SupervisorPositionID
    • RelationshipType
    • IsDirect
    • EffectiveDate
    • IsActive
  2. Validation Rules

    • EmployeeID must be valid
    • SupervisorEmployeeID must be valid
    • PositionID must be valid
    • SupervisorPositionID must be valid
    • EffectiveDate must be valid
    • EndDate must be after EffectiveDate if present
  3. Business Rules

    • Only one direct supervisor per employee
    • Supervisor must be an active employee
    • Employee cannot be their own supervisor
    • Supervisor must have an active position
    • Relationship dates must align with position dates

Usage Notes

  1. Reporting Considerations

    • Use IsDirect for organizational charts
    • Consider RelationshipType for complex reporting structures
    • Track supervisor changes over time
    • Monitor interim assignments
  2. Performance Considerations

    • Indexed on SupervisorID, EmployeeID, and SupervisorEmployeeID
    • Consider filtering on IsActive for current relationships
    • Use CreatedDate/ModifiedDate for incremental loads
  3. Integration Points

    • Links to Core.Employee via EmployeeID and SupervisorEmployeeID
    • Links to Position.Position via PositionID and SupervisorPositionID
    • Used in organizational hierarchy views
    • Source for management chain analysis

Maintenance

  1. Refresh Schedule

    • Daily updates for supervisor changes
    • Full refresh monthly
    • Emergency updates for corrections
  2. Archive Strategy

    • Historical relationships maintained in table
    • Use EndDate for historical filtering
    • Supervisor history tracked for compliance
  3. Monitoring

    • Track supervisor changes by employee
    • Monitor direct supervisor assignments
    • Alert on validation rule violations
    • Track interim assignments
  • Was this article helpful?