Field Name | Data Type | Size | Original Type | Default | Nullable | Description | Check |
TransactionID | int | | | | Not null | Primary key for TransactionHistoryArchive records. | |
ProductID | int | | | | Not null | Product identification number. Foreign key to Product.ProductID. | |
ReferenceOrderID | int | | | | Not null | Purchase order, sales order, or work order identification number. | |
ReferenceOrderLineID | int | | | (0) | Not null | Line number associated with the purchase order, sales order, or work order. | |
TransactionDate | datetime | | | getdate() | Not null | Date and time of the transaction. | |
TransactionType | nchar | 1 | | | Not null | W = Work Order, S = Sales Order, P = Purchase Order | (upper([TransactionType])='P' OR upper([TransactionType])='S' OR upper([TransactionType])='W') |
Quantity | int | | | | Not null | Product quantity. | |
ActualCost | money | 19,4 | decimal(19,4) | | Not null | Product cost. | |
ModifiedDate | datetime | | | getdate() | Not null | Date and time the record was last updated. | |
The object has no extended properties.