Table: dbo.GL_Account_Budget
This table records the budget and its amount for a gl_account in a gl_period
Columns
Name | Type | Constraints | Description
gl_account_budget_KEY | int (4) | NOT NULL | Primary key.
gl_account_KEY | int (4) | NOT NULL | The associated gl_account. the foreigh key to GL_Account table
gl_period_KEY | int (4) | NOT NULL | The associated gl_period. the foreigh key to GL_Period table
gl_account_budget_category_KEY | int (4) | NOT NULL | The type of GL Account Budget Category for this budget. the foreigh key to GL_Account_Budget_Category table
amount | decimal (9, 2) | NOT NULL | Budget Amountfor this budget record

Primary key
Name | Columns | Description
PK_GL_Account_Budget | gl_account_budget_KEY |
Unique constraints
Name | Columns | Description
UK_GL_Account_Budget$gl_account_KEY$gl_account_budget_category_KEY$gl_period_KEY | gl_account_KEY, gl_account_budget_category_KEY, gl_period_KEY |

Foreign keys
Name | Columns | Referenced table | Description
FK_GL_Account_Budget__GL_Account__gl_account_KEY | gl_account_KEY | GL_Account (gl_account_KEY) |
FK_GL_Account_Budget__GL_Account_Budget_Category__gl_account_budget_category_KEY | gl_account_budget_category_KEY | GL_Account_Budget_Category (gl_account_budget_category_KEY) |
FK_GL_Account_Budget__GL_Period__gl_period_KEY | gl_period_KEY | GL_Period (gl_period_KEY) |