Table openpetra_trunk.public.a_general_ledger_master
All balances on accounts, including summary information is stored here.

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_glm_sequence_i int4 10
a_general_ledger_master_period.a_glm_sequence_i a_glm_period_fk1 R
a_ledger_number_i int4 10 0
a_cost_centre.a_ledger_number_i a_general_ledger_master_fk2 R
a_account.a_ledger_number_i a_general_ledger_master_fk1 R
This is used as a key field in most of the accounting system files
a_year_i int4 10 The year is a number starting from 0 (the year of the installation and first accountings).
a_account_code_c varchar 16
a_account.a_account_code_c a_general_ledger_master_fk1 R
This identifies the account the financial transaction must be stored against
a_cost_centre_code_c varchar 24
a_cost_centre.a_cost_centre_code_c a_general_ledger_master_fk2 R
This identifies which cost centre an account is applied to
a_ytd_actual_base_n numeric 24,10  √  0
a_closing_period_actual_base_n numeric 24,10  √  0 Special period for the year end close journal.
a_start_balance_base_n numeric 24,10  √  0 Starting Balance in the ledger currency
a_ytd_actual_intl_n numeric 24,10  √  0 Total for the current year, 2nd (int'l) base currency.
a_closing_period_actual_intl_n numeric 24,10  √  0 Special period for the year end close journal.
a_start_balance_intl_n numeric 24,10  √  0 Starting Balance (Int'l)
a_ytd_actual_foreign_n numeric 24,10  √  null
a_start_balance_foreign_n numeric 24,10  √  null
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_general_ledger_master_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_general_ledger_master_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
a_glm_sequence_i Primary key Asc a_general_ledger_master_pk
a_ledger_number_i + a_year_i + a_account_code_c + a_cost_centre_code_c Must be unique Asc/Asc/Asc/Asc a_general_ledger_master_uc1
a_glm_sequence_i Must be unique Asc inx_a_general_ledger_master_pk0
a_ledger_number_i + a_year_i + a_account_code_c + a_cost_centre_code_c Must be unique Asc/Asc/Asc/Asc inx_a_general_ledger_master_uc10
a_ledger_number_i + a_account_code_c Performance Asc/Asc inx_eneral_ledger_master_fk1_key1
a_ledger_number_i + a_cost_centre_code_c Performance Asc/Asc inx_eneral_ledger_master_fk2_key2
s_created_by_c Performance Asc inx_neral_ledger_master_fkcr_key3
s_modified_by_c Performance Asc inx_neral_ledger_master_fkmd_key4

Close relationships  within of separation: