BANKACCOUNTDEPOSITCORRECTION_EXT
Primary Key
| Primary Key | Field Type |
|---|---|
| ID | uniqueidentifier |
Fields
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| PAYMENTMETHODCODE | tinyint | Default = 0 | ||
| PAYMENTMETHOD | nvarchar(11) (Computed) | yes | CASE [PAYMENTMETHODCODE] WHEN 0 THEN N'Cash' WHEN 1 THEN N'Check' WHEN 2 THEN N'Credit card' WHEN 3 THEN N'Other' END | |
| CORRECTIONTYPECODE | tinyint | Default = 0 | ||
| CORRECTIONTYPE | nvarchar(8) (Computed) | yes | CASE [CORRECTIONTYPECODE] WHEN 0 THEN N'Sales' WHEN 1 THEN N'Treasury' END | |
| DATEADDED | datetime | Default = getdate() | ||
| DATECHANGED | datetime | Default = getdate() | ||
| TS | timestamp | |||
| TSLONG | bigint (Computed) | yes | CONVERT(bigint, TS) |
Foreign Keys
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
| ID | uniqueidentifier | FINANCIALTRANSACTION.ID | ||
| ADDEDBYID | uniqueidentifier | CHANGEAGENT.ID | ||
| CHANGEDBYID | uniqueidentifier | CHANGEAGENT.ID |
Indexes
| Index Name | Fields | Unique | Primary | Clustered |
|---|---|---|---|---|
| IX_BANKACCOUNTDEPOSITCORRECTION_EXT_DATEADDED | DATEADDED | yes | ||
| IX_BANKACCOUNTDEPOSITCORRECTION_EXT_DATECHANGED | DATECHANGED | |||
| PK_BANKACCOUNTDEPOSITCORRECTION_EXT | ID | yes | yes |
Triggers
| Trigger Name | Description |
|---|---|
| TR_BANKACCOUNTDEPOSITCORRECTION_EXT_AUDIT_UPDATE | |
| TR_BANKACCOUNTDEPOSITCORRECTION_EXT_AUDIT_DELETE |