Table: dbo.Spreadsheet_Import_Bank_Account
Table to store the mapping data information of bank accounts for spreadsheet import
Columns
Name | Type | Constraints | Description
spreadsheet_import_bank_account_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 for the bank account from spread sheet.
mark_transactions_as_cleared | bit (1) | NOT NULL | This column is set to true and provided to user on subsequent imports, if the user checks the cleared option while mapping bank accounts.All the transactions referred by such bank accounts are cleared for reconciliation while importing.
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.
checkbook_KEY | int (4) | NOT NULL | Bank account key for which the bank account in the spreadsheet is mapped.

Primary key
Name | Columns | Description
PK_Spreadsheet_Import_Bank_Account | spreadsheet_import_bank_account_KEY |
Unique constraints
Name | Columns | Description
UK_Spreadsheet_Import_Bank_Account$client_KEY$description | client_KEY, description |

Foreign keys
Name | Columns | Referenced table | Description
FK_Spreadsheet_Import_Bank_Account__Checkbook__checkbook_KEY | checkbook_KEY | Checkbook (checkbook_KEY) |
FK_Spreadsheet_Import_Bank_Account__Client__client_KEY | client_KEY | Client (client_KEY) |