Table: dbo.Quick_Books_Transaction
This table contains information about transactions that we have imported from quickbooks.
Columns
Name | Type | Constraints | Description
quick_books_transaction_KEY | int (4) | NOT NULL | The primary key.
client_KEY | int (4) | NOT NULL | Foreign key to Client table. Client for whom this transaction was imported.
quick_books_transaction_id | nvarchar (76) | NOT NULL | Unique identifier of the transaction in quickbooks, according to Intuit documentation.

Primary key
Name | Columns | Description
PK_Quick_Books_Transaction | quick_books_transaction_KEY |
Unique constraints
Name | Columns | Description
UK_Quick_Books_Transaction$quick_books_transaction_id$client_KEY | quick_books_transaction_id, client_KEY |

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

Incoming foreign keys
Name | Columns | Referencing table | Description
FK_Quick_Books_Transaction_N_GL_Transaction__Quick_Books_Transaction__quick_books_transaction_KEY | quick_books_transaction_KEY | Quick_Books_Transaction_N_GL_Transaction |
FK_Quick_Books_Transaction_Distribution__Quick_Books_Transaction__quick_books_transaction_KEY | quick_books_transaction_KEY | Quick_Books_Transaction_Distribution |