Primary Key | Field Type |
---|---|
![]() |
uniqueidentifier |
Field | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
datetime | Default = getdate() | Indicates the date this record was added. | |
![]() |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
![]() |
timestamp | Timestamp. | ||
![]() |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
Foreign Key | Field Type | Null | Notes | Description |
---|---|---|---|---|
![]() |
uniqueidentifier | SALESORDERITEM.ID | Primary Key. | |
![]() |
uniqueidentifier | MERCHANDISEPRODUCTINSTANCE.ID | The product instance being sold. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
![]() |
uniqueidentifier | MERCHANDISEDEPARTMENT.ID | The department to which the product belonged at time of sale. | |
![]() |
uniqueidentifier | ![]() |
MERCHANDISEDEPARTMENTCATEGORY.ID | The category to which the product belonged at time of sale. |
![]() |
uniqueidentifier | ![]() |
MERCHANDISEPRODUCTOPTIONVALUE.ID | Option value 1 at sale time. |
![]() |
uniqueidentifier | ![]() |
MERCHANDISEPRODUCTOPTIONVALUE.ID | Option value 2 at sale time. |
![]() |
uniqueidentifier | ![]() |
MERCHANDISEPRODUCTOPTIONVALUE.ID | Option value 3 at sale time. |
Index Name | Field(s) | Unique | Primary | Clustered |
---|---|---|---|---|
![]() |
DATEADDED | ![]() |
||
![]() |
DATECHANGED | |||
![]() |
ID | ![]() |
![]() |
Trigger Name | Description |
---|---|
![]() |
|
![]() |