Table: dbo.Spreadsheet_Import_1099_Box_Combination
Table to store the mapping data information of 1099 forms for spreadsheet import.
Columns
Name | Type | Constraints | Description
spreadsheet_import_1099_box_combination_KEY | int (4) | NOT NULL | Key which uniquely identify each row of the table.
client_KEY | int (4) | NOT NULL | Client key for which we are importing the spreadsheet data.
description | nvarchar (318) | NOT NULL | Description of the 1099 form provided in the spreadsheet.
is_interim_data | bit (1) | NOT NULL | When the user cancels the import process,the data mapped till that point has to be saved and presented to the user when he starts the import next time.For such mapping data we set the value of this column to true.
w2_1099_type_KEY | int (4) |  | 1099 form key to which the 1099 form decription in the spreadsheet is mapped to,a null value indicates that it was mapped as Do not import.
first__w2_1099_box_type_KEY | int (4) |  | Box1 key assigned to the 1099 form when the user selects to mapping option to Add as is,a null value indicates that it was mapped as Do not import.
second__w2_1099_box_type_KEY | int (4) |  | Box2 key assigned to the 1099 form when the user selects to mapping option to Add as is,a null value indicates that it was mapped as Do not import.

Primary key
Name | Columns | Description
PK_Spreadsheet_Import_1099_Box_Combination | spreadsheet_import_1099_box_combination_KEY |
Unique constraints
Name | Columns | Description
UK_Spreadsheet_Import_1099_Box_Combination$client_KEY$description | client_KEY, description |

Foreign keys
Name | Columns | Referenced table | Description
FK_Spreadsheet_Import_1099_Box_Combination__Client__client_KEY | client_KEY | Client (client_KEY) |
FK_Spreadsheet_Import_1099_Box_Combination__W2_1099_Box_Type__first__w2_1099_box_type_KEY | first__w2_1099_box_type_KEY | W2_1099_Box_Type (w2_1099_box_type_KEY) |
FK_Spreadsheet_Import_1099_Box_Combination__W2_1099_Box_Type__second__w2_1099_box_type_KEY | second__w2_1099_box_type_KEY | W2_1099_Box_Type (w2_1099_box_type_KEY) |
FK_Spreadsheet_Import_1099_Box_Combination__W2_1099_Type__w2_1099_type_KEY | w2_1099_type_KEY | W2_1099_Type (w2_1099_type_KEY) |