FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION

Holds financial transaction application's 1099 distribution information

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
AMOUNT money Default = 0 Amount
SEQUENCE int Default = 0
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
FINANCIALTRANSACTIONAPPLICATIONID uniqueidentifier FINANCIALTRANSACTIONAPPLICATION.ID Foreign key to the financial transaction application table
BOXNUMBER1099ID uniqueidentifier FINANCIALTRANSACTION1099BOXNUMBER.ID 1099 box number
STATEID uniqueidentifier yes STATE.LOCALID Submitted state.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION_DATEADDED DATEADDED yes
IX_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION_DATECHANGED DATECHANGED
IX_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION_FINANCIALTRANSACTIONAPPLICATIONID FINANCIALTRANSACTIONAPPLICATIONID
PK_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION ID yes yes

Triggers

Trigger Name Description
TR_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION_VALIDSTATE
TR_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION_AUDIT_UPDATE
TR_FINANCIALTRANSACTIONAPPLICATION1099DISTRIBUTION_AUDIT_DELETE