Transactions for previous years.
Creation Date | 27/10/2017 14:33 |
File Group | PRIMARY |
Text File Group | |
System Object | ![]() |
Published for Replication | ![]() |
Rows | 89253 |
Data Space Used | 4,992.00 KB |
Index Space Used | 3,144.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
![]() | TransactionID | Primary key for TransactionHistoryArchive records. | Integer | 4 | |||
ProductID | Product identification number. Foreign key to Product.ProductID. | Integer | 4 | ||||
ReferenceOrderID | Purchase order, sales order, or work order identification number. | Integer | 4 | ||||
ReferenceOrderLineID | Line number associated with the purchase order, sales order, or work order. | Integer | 4 | ((0)) | |||
TransactionDate | Date and time of the transaction. | DBTimeStamp | 4 | (getdate()) | |||
TransactionType | W = Work Order, S = Sales Order, P = Purchase Order | WChar | 1 | ||||
Quantity | Product quantity. | Integer | 4 | ||||
ActualCost | Product cost. | Currency | 8 | ||||
ModifiedDate | Date and time the record was last updated. | DBTimeStamp | 4 | (getdate()) |
Index | Description | Primary | Unique |
---|---|---|---|
IX_TransactionHistoryArchive_ProductID | Nonclustered index. | ||
IX_TransactionHistoryArchive_ReferenceOrderID_ReferenceOrderLineID | Nonclustered index. | ||
PK_TransactionHistoryArchive_TransactionID | Primary key (clustered) constraint | ![]() | ![]() |
Name | Description | Expression |
---|---|---|
CK_TransactionHistoryArchive_TransactionType | Check constraint [TransactionType]='p' OR [TransactionType]='s' OR [TransactionType]='w' OR [TransactionType]='P' OR [TransactionType]='S' OR [TransactionType]='W' | (upper([TransactionType])='P' OR upper([TransactionType])='S' OR upper([TransactionType])='W') |
|