BANKACCOUNTDEPOSITCORRECTIONATTACHMENT (4.0SP14)

Stores bank account deposit correction attachment specific fields.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

AUTHORID

uniqueidentifier

true

The author of the attachment.

CORRECTIONATTACHMENTTYPECODEID

uniqueidentifier

false

Indicates the user-defined type of this attachment.

BANKACCOUNTDEPOSITCORRECTIONID

uniqueidentifier

false

The bank account deposit record to which this attachment belongs.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEENTERED

datetime

false

The date the attachment was entered.

TITLE

nvarchar(50)

false

''

The title of the attachment.

FILENAME

nvarchar(255)

false

''

The original file name for the attachment.

FILE

varbinary

false

The actual file for the attachment.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT_AUTHORID

AUTHORID

False

False

False

IX_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT_BANKACCOUNTDEPOSITCORRECTIONID

BANKACCOUNTDEPOSITCORRECTIONID

False

False

False

IX_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT_DATEADDED

DATEADDED

False

False

True

IX_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT_DATECHANGED

DATECHANGED

False

False

False

PK_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT

ID

True

True

False

Triggers
Trigger Name Description

TR_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT_AUDIT_UPDATE

TR_BANKACCOUNTDEPOSITCORRECTIONATTACHMENT_AUDIT_DELETE