Table a_general_ledger_master
Description:
All balances on accounts, including summary information is stored here.
PRIMARY KEY
a_glm_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_account, a_cost_centre
a_year_i
integer NOT NULL
The year is a number starting from 0 (the year of the installation and first accountings).
a_account_code_c
varchar (16) NOT NULL
This identifies the account the financial transaction must be stored against a_account
a_cost_centre_code_c
varchar (24) NOT NULL
This identifies which cost centre an account is applied to a_cost_centre

a_ytd_actual_base_n
numeric (24, 10) default: 0
a_closing_period_actual_base_n
numeric (24, 10) default: 0
Special period for the year end close journal.
a_start_balance_base_n
numeric (24, 10) default: 0
Starting Balance in the ledger currency
a_ytd_actual_intl_n
numeric (24, 10) default: 0
Total for the current year, 2nd (int'l) base currency.
a_closing_period_actual_intl_n
numeric (24, 10) default: 0
Special period for the year end close journal.
a_start_balance_intl_n
numeric (24, 10) default: 0
Starting Balance (Int'l)
a_ytd_actual_foreign_n
numeric (24, 10)
a_start_balance_foreign_n
numeric (24, 10)
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_general_ledger_master_fk1: a_ledger_number_i;a_account_code_c => a_account
a_general_ledger_master_fk2: a_ledger_number_i;a_cost_centre_code_c => a_cost_centre
a_general_ledger_master_fkcr: s_created_by_c => s_user
a_general_ledger_master_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_general_ledger_master_period