Table openpetra_trunk.public.a_budget
Budget information for cost centre-account combinations.

Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
a_budget_sequence_i int4 10
a_budget_period.a_budget_sequence_i a_budget_period_fk1 R
a_ledger_number_i int4 10 0
a_cost_centre.a_ledger_number_i a_budget_fk1 R
a_account.a_ledger_number_i a_budget_fk2 R
This is used as a key field in most of the accounting system files
a_year_i int4 10 0 The year that this budget applies to
a_revision_i int4 10 0 A budget can have several revisions per year
a_cost_centre_code_c varchar 24
a_cost_centre.a_cost_centre_code_c a_budget_fk1 R
This identifies which cost centre an account is applied to
a_account_code_c varchar 16
a_account.a_account_code_c a_budget_fk2 R
This identifies the account the financial transaction must be stored against
a_budget_type_code_c varchar 16
a_budget_type.a_budget_type_code_c a_budget_fk3 R
See a_budget_type table. Indicates the method used for creating the budget.
a_budget_status_l bool 1  √  true Has the budget been posted to the general ledger master and account files.
a_comment_c varchar 200  √  null A comment for this specific budget item and revision
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_budget_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_budget_fkmd R
s_modification_id_c varchar 150  √  null

Table contained 746 rows at Do Nov 10 18:00 MEZ 2011

Indexes:
Column(s) Type Sort Constraint Name
a_budget_sequence_i Primary key Asc a_budget_pk
a_ledger_number_i + a_year_i + a_revision_i + a_cost_centre_code_c + a_account_code_c Must be unique Asc/Asc/Asc/Asc/Asc a_budget_uc1
a_ledger_number_i + a_cost_centre_code_c Performance Asc/Asc inx_a_budget_fk1_key2
a_ledger_number_i + a_account_code_c Performance Asc/Asc inx_a_budget_fk2_key3
a_budget_type_code_c Performance Asc inx_a_budget_fk3_key4
a_ledger_number_i + a_year_i + a_revision_i Performance Asc/Asc/Asc inx_a_budget_fk4_key5
s_created_by_c Performance Asc inx_a_budget_fkcr_key6
s_modified_by_c Performance Asc inx_a_budget_fkmd_key7
a_budget_sequence_i Must be unique Asc inx_a_budget_pk0
a_ledger_number_i + a_year_i + a_revision_i + a_cost_centre_code_c + a_account_code_c Must be unique Asc/Asc/Asc/Asc/Asc inx_a_budget_uc11

Close relationships  within of separation: