Table: dbo.Positive_Pay_File
This table tracks each positive pay export file created by our program.
Columns
Name | Type | Constraints | Description
positive_pay_file_KEY | int (4) | NOT NULL | The primary key for this table.
client_KEY | int (4) | NOT NULL | Client this file was created for. Initially it will be the firm client since only impound checkbooks will be allowed to create positive pay files.
creation_date | datetime (8, 3) | NOT NULL | Date and time that the positive pay file was created.
file_name | nvarchar (120) | NOT NULL | File name used for this positive pay file.

Primary key
Name | Columns | Description
PK_Positive_Pay_File | positive_pay_file_KEY |
Unique constraints
Name | Columns | Description
UK_Positive_Pay_File$client_KEY$creation_date$file_name | client_KEY, creation_date, file_name |

Foreign keys
Name | Columns | Referenced table | Description
FK_Positive_Pay_File__Client__client_KEY | client_KEY | Client (client_KEY) |

Incoming foreign keys
Name | Columns | Referencing table | Description
FK_Positive_Pay_File_Detail__Positive_Pay_File__positive_pay_file_KEY | positive_pay_file_KEY | Positive_Pay_File_Detail |