Table a_trans_anal_attrib |
Description: Analysis information entered by the user for a general ledger transaction. |
PRIMARY 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_transaction, a_account, a_analysis_attribute, a_freeform_analysis, a_cost_centre, a_batch, a_journal |
a_batch_number_i
integer default: 0 NOT NULL | identifes which batch a transaction belongs to | a_transaction, a_batch, a_journal |
a_journal_number_i
integer default: 0 NOT NULL | Identifies a journal within a batch | a_transaction, a_journal |
a_transaction_number_i
integer default: 0 NOT NULL | Identifies a transaction within a journal within a batch within a ledger | a_transaction |
a_analysis_type_code_c
varchar (16) NOT NULL | a_analysis_attribute, a_freeform_analysis | |
a_account_code_c
varchar (16) NOT NULL | This identifies the account the financial transaction must be stored against | a_account, a_analysis_attribute |
a_cost_centre_code_c
varchar (24) | Cost Centre to which the attribute relates | a_cost_centre |
a_analysis_attribute_value_c
varchar (80) | a_freeform_analysis | |
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_trans_anal_attrib_fk1: a_ledger_number_i;a_batch_number_i;a_journal_number_i;a_transaction_number_i => a_transaction a_trans_anal_attrib_fk2: a_ledger_number_i;a_account_code_c => a_account a_trans_anal_attrib_fk3: a_ledger_number_i;a_analysis_type_code_c;a_account_code_c => a_analysis_attribute a_trans_anal_attrib_fk4: a_ledger_number_i;a_analysis_type_code_c;a_analysis_attribute_value_c => a_freeform_analysis a_trans_anal_attrib_fk5: a_ledger_number_i;a_cost_centre_code_c => a_cost_centre a_trans_anal_attrib_fk6: a_ledger_number_i;a_batch_number_i => a_batch a_trans_anal_attrib_fk7: a_ledger_number_i;a_batch_number_i;a_journal_number_i => a_journal a_trans_anal_attrib_fkcr: s_created_by_c => s_user a_trans_anal_attrib_fkmd: s_modified_by_c => s_user |