Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PIID | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each payroll invoice |
||||
| fkUserID | int | 4 | √ | null |
|
|
Employee reference - Links to AccessUser table for the healthcare provider or staff member |
||||
| VoucherID | int | 4 | √ | null |
|
|
Voucher identifier - Voucher number or reference for the payroll invoice |
||||
| DateInvoice | datetime | 16,3 | √ | null |
|
|
Invoice date - Date when the payroll invoice was generated |
||||
| TotalClaim | int | 4 | √ | null |
|
|
Total claims - Number of claims included in this payroll invoice |
||||
| AmountInvoice | money | 21,4 | √ | null |
|
|
Invoice amount - Total monetary amount for this payroll invoice |
||||
| InvoiceBy | int | 4 | √ | null |
|
|
Invoice creator - Links to AccessUser table for the user who generated this invoice |
||||
| Status | int | 4 | √ | null |
|
|
Invoice status - Current processing status of the payroll invoice (e.g., 1=Draft, 2=Processed, 3=Paid) |
||||
| fkPBID | int | 4 | √ | null |
|
|
Payroll batch reference - Links to PayrollBatch table for the associated payroll batch |
||||
| DatePost | datetime | 16,3 | √ | null |
|
|
Post date - Date when the payroll invoice was posted to the accounting system |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK__PayrollInvoice__1CBDDCC4 | Primary key | Asc | PIID |
