Table a_transaction_type
Description:
Various ways a transaction may originate, depending on the subsystem.
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_account, a_account
a_sub_system_code_c
varchar (24) NOT NULL
Defines a sub system of accounts a_sub_system
a_transaction_type_code_c
varchar (16) NOT NULL

a_debit_account_code_c
varchar (16) NOT NULL
This identifies the account the financial transaction must be stored against a_account
a_credit_account_code_c
varchar (16) NOT NULL
This identifies the account the financial transaction must be stored against a_account
a_last_journal_i
integer default: 0 NOT NULL
Identifies a journal within a batch
a_last_recurring_journal_i
integer default: 0 NOT NULL
Identifies a journal within a batch
a_transaction_type_description_c
varchar (64) NOT NULL
This is a short description which is 32 charcters long
a_balancing_account_code_c
varchar (16)
a_special_transaction_type_l
boolean default: '0'
Is this transaction type a special transaction type or not?
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_transaction_type_fk1: a_ledger_number_i;a_debit_account_code_c => a_account
a_transaction_type_fk2: a_ledger_number_i;a_credit_account_code_c => a_account
a_transaction_type_fk3: a_sub_system_code_c => a_sub_system
a_transaction_type_fkcr: s_created_by_c => s_user
a_transaction_type_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_recurring_journal, a_journal