Table a_budget
Description:
Budget information for cost centre-account combinations.
PRIMARY KEY
a_budget_sequence_i
integer NOT NULL

UNIQUE KEY
a_ledger_number_i
integer default: 0 NOT NULL
This is used as a key field in most of the accounting system files a_cost_centre, a_account, a_budget_revision
a_year_i
integer default: 0 NOT NULL
The year that this budget applies to a_budget_revision
a_revision_i
integer default: 0 NOT NULL
A budget can have several revisions per year a_budget_revision
a_cost_centre_code_c
varchar (24) NOT NULL
This identifies which cost centre an account is applied to a_cost_centre
a_account_code_c
varchar (16) NOT NULL
This identifies the account the financial transaction must be stored against a_account

a_budget_type_code_c
varchar (16) NOT NULL
See a_budget_type table. Indicates the method used for creating the budget. a_budget_type
a_budget_status_l
boolean default: '1'
Has the budget been ""posted"" to the general ledger master and account files.
a_comment_c
varchar (200)
A comment for this specific budget item and revision
s_date_created_d
date default: CURRENT_DATE
The date the record was created.
s_created_by_c
varchar (20)
User ID of who created this record. s_user
s_date_modified_d
date
The date the record was modified.
s_modified_by_c
varchar (20)
User ID of who last modified this record. s_user
s_modification_id_t
timestamp default: CURRENT_TIMESTAMP
This identifies the current version of the record.


FOREIGN KEY
a_budget_fk1: a_ledger_number_i;a_cost_centre_code_c => a_cost_centre
a_budget_fk2: a_ledger_number_i;a_account_code_c => a_account
a_budget_fk3: a_budget_type_code_c => a_budget_type
a_budget_fk4: a_ledger_number_i;a_year_i;a_revision_i => a_budget_revision
a_budget_fkcr: s_created_by_c => s_user
a_budget_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_budget_period