| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
CODE |
nvarchar(10) | Default = '' | ||
DESCRIPTION |
nvarchar(50) | Default = '' | ||
ACTIVE |
bit | Default = 1 | ||
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 |
|---|---|---|---|---|
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_WRITEOFFREASONCODE_DATEADDED |
DATEADDED | ![]() |
||
IX_WRITEOFFREASONCODE_DATECHANGED |
DATECHANGED | |||
PK_WRITEOFFREASONCODE |
ID | ![]() |
![]() |
|
UC_WRITEOFFREASONCODE_CODE |
CODE | ![]() |
| Trigger Name | Description |
|---|---|
TR_WRITEOFFREASONCODE_AUDIT_ETLDELETEDID |
|
TR_WRITEOFFREASONCODE_AUDIT_UPDATE |
|
TR_WRITEOFFREASONCODE_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
BATCHPLEDGEWRITEOFF |
REASONCODEID |
PLEDGEWRITEOFFPROCESS |
REASONCODEID |
RECURRINGGIFTWRITEOFF |
REASONCODEID |
WRITEOFF_EXT |
REASONCODEID |

ID
CODE
TSLONG
ADDEDBYID
IX_WRITEOFFREASONCODE_DATEADDED
IX_WRITEOFFREASONCODE_DATECHANGED