Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 PERCENT decimal(20, 3)   Default = 0 Percent
 SEQUENCE int   Default = 0 Sequence to show distributions.
 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
 VENDOR1099SETTINGID uniqueidentifier   VENDOR1099SETTING.ID Foreign key to the vendor 1099 setting table
 BOXNUMBER1099ID uniqueidentifier   FINANCIALTRANSACTION1099BOXNUMBER.ID 1099 box number
 STATEID uniqueidentifier STATE.LOCALID Submitted state.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_VENDOR1099DISTRIBUTION_DATEADDED DATEADDED    
 IX_VENDOR1099DISTRIBUTION_DATECHANGED DATECHANGED      
 PK_VENDOR1099DISTRIBUTION ID  
 UC_VENDOR1099DISTRIBUTION_BOXNUMBER1099ID_STATEID VENDOR1099SETTINGID, BOXNUMBER1099ID, STATEID    

Trigger Name Description
 TR_VENDOR1099DISTRIBUTION_VALIDSTATE
 TR_VENDOR1099DISTRIBUTION_AUDIT_UPDATE
 TR_VENDOR1099DISTRIBUTION_AUDIT_DELETE

Entity-Relationship diagram of this table