VENDOR1099SETTING (4.0SP17)

All vendor 1099 settings.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

NAMEFIRSTLINEALIASTYPECODEID

uniqueidentifier

true

Foreign Key to the Alias table

NAMESECONDLINEALIASTYPECODEID

uniqueidentifier

true

Foreign Key to the Alias table

ADDRESSID

uniqueidentifier

true

Foreign Key to the Address table

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

CHECK1099BOX9

bit

false

0

Mark 1099 box 9 for direct sales of consumer products

CHECK10992TIN

bit

false

0

Mark the 1099 2nd TIN notification box

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_VENDOR1099SETTING_ADDRESSID

ADDRESSID

False

False

False

IX_VENDOR1099SETTING_DATEADDED

DATEADDED

False

False

True

IX_VENDOR1099SETTING_DATECHANGED

DATECHANGED

False

False

False

PK_VENDOR1099SETTING

ID

True

True

False

Triggers
Trigger Name Description

TR_VENDOR1099SETTING_AUDIT_UPDATE

TR_VENDOR1099SETTING_AUDIT_DELETE

Referenced by
Referenced by Field

VENDOR1099ADJUSTMENT

VENDOR1099SETTINGID

VENDOR1099DISTRIBUTION

VENDOR1099SETTINGID