Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PayEmpID | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each employee payroll record |
||||
| fkPeriodID | int | 4 | √ | null |
|
|
Period reference - Links to PayrollEmployeePeriod table for the payroll period |
||||
| fkUserid | int | 4 | √ | null |
|
|
Employee reference - Links to AccessUser table for the healthcare provider or staff member |
||||
| NumHours | decimal | 6,2 | √ | null |
|
|
Hours worked - Number of hours worked by the employee for this payroll record |
||||
| DaySeq | int | 4 | √ | null |
|
|
Day sequence - Sequential day number within the payroll period |
||||
| Rate | money | 21,4 | √ | null |
|
|
Pay rate - Hourly or per-service rate for the employee |
||||
| fkPayTypeID | int | 4 | √ | null |
|
|
Pay type reference - Links to pay type classification (Regular, Overtime, Holiday, etc.) |
||||
| DateCalculated | datetime | 16,3 | √ | null |
|
|
Calculation date - Date when this payroll record was calculated |
||||
| Status | varchar | 10 | √ | null |
|
|
Record status - Current status of this payroll record (e.g., ‘Draft’, ‘Calculated’, ‘Approved’, ‘Paid’) |
||||
| Comments | varchar | 1000 | √ | null |
|
|
Record comments - Additional notes or comments about this payroll record |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK__PayrollEmployeeR__3AE33C88 | Primary key | Asc | PayEmpID |
| IX_DateCalculated | Performance | Asc | DateCalculated |
| IX_Period | Performance | Asc | fkPeriodID |
