| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(50) | Default = '' | The name of the field. | |
STARTPOSITION |
int | Default = 0 | The position in the row of the import file that marks the beginning of the field. | |
LENGTH |
int | Default = 0 | The fixed length of the field being imported. | |
DATEADDED |
datetime | Default = getdate() | Indicates the date this record was added. | |
DATECHANGED |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
TS |
timestamp | Timestamp. | ||
TSLONG |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
IMPORTTEMPLATEID |
uniqueidentifier | STANDINGORDERSIMPORTTEMPLATE.ID | The import template to which this field is associated. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_STANDINGORDERSIMPORTTEMPLATEFIELD_DATEADDED |
DATEADDED | ![]() |
||
IX_STANDINGORDERSIMPORTTEMPLATEFIELD_DATECHANGED |
DATECHANGED | |||
PK_STANDINGORDERSIMPORTTEMPLATEFIELD |
ID | ![]() |
![]() |
|
UIX_STANDINGORDERSIMPORTTEMPLATEFIELD_NAME_IMPORTTEMPLATEID |
NAME, IMPORTTEMPLATEID | ![]() |
| Trigger Name | Description |
|---|---|
TR_STANDINGORDERSIMPORTTEMPLATEFIELD_AUDIT_UPDATE |
|
TR_STANDINGORDERSIMPORTTEMPLATEFIELD_AUDIT_DELETE |

ID
NAME
TSLONG
IMPORTTEMPLATEID
IX_STANDINGORDERSIMPORTTEMPLATEFIELD_DATEADDED
IX_STANDINGORDERSIMPORTTEMPLATEFIELD_DATECHANGED