Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| InvArchiveID | int identity | 4 | √ | null |
|
|
Primary key - Unique identifier for each invoice archive record |
||||
| fkInvoiceID | int | 4 | √ | null |
|
|
Invoice reference - Links to Invoice table for the archived invoice |
||||
| StatusID | int | 4 | √ | null |
|
|
Archive status - Status of the archived invoice, references iCS2.dbo.StatusType for centralized status management |
||||
| DateArchived | smalldatetime | 16 | √ | (getdate()) |
|
|
Archive date - Date when the invoice was archived |
||||
| Voucher | varchar | 30 | √ | null |
|
|
Voucher number - Voucher or reference number associated with the archived invoice |
||||
| ActionBy | int | 4 | √ | null |
|
|
Action by user - UserID of the person who performed the archive action |
||||
| PresentID | nvarchar | 40 | √ | null |
|
|
Present ID - Current identifier or reference for the archived invoice |
||||
| ActionID | int | 4 | √ | null |
|
|
Action reference - Links to the specific action that caused the archival |
