| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
TRANSACTIONID |
uniqueidentifier | ![]() |
||
TRANSACTIONAMOUNT |
money | Default = 0 | ||
TRANSACTIONCONFIRMED |
bit | Default = 0 | ||
CARDCHARGED |
bit | Default = 0 | ||
DATEADDED |
datetime | Default = getdate() | ||
DATECHANGED |
datetime | Default = getdate() | ||
TS |
timestamp | |||
TSLONG |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
SALESORDERID |
uniqueidentifier | ![]() |
SALESORDER.ID | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | ||
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_SALESORDERBBPAYTRANSACTION_DATEADDED |
DATEADDED | ![]() |
||
IX_SALESORDERBBPAYTRANSACTION_DATECHANGED |
DATECHANGED | |||
IX_SALESORDERBBPAYTRANSACTION_SALESORDERID |
SALESORDERID | |||
PK_SALESORDERBBPAYTRANSACTION |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_SALESORDERBBPAYTRANSACTION_AUDIT_UPDATE |
|
TR_SALESORDERBBPAYTRANSACTION_AUDIT_DELETE |

ID
TRANSACTIONID
TSLONG
SALESORDERID
IX_SALESORDERBBPAYTRANSACTION_DATEADDED
IX_SALESORDERBBPAYTRANSACTION_DATECHANGED