Table a_recurring_batch
Description:
Templates of general ledger batches which can be copied into the ledger.
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_ledger
a_batch_number_i
integer default: 0 NOT NULL
identifes which batch a transaction belongs to

a_batch_description_c
varchar (160)
This is a long description and is 80 characters long.
a_batch_control_total_n
numeric (24, 10) default: 0
This is a number of currency units
a_batch_status_c
varchar (24) default: 'Unposted' NOT NULL
identifies the status of a batch
a_batch_running_total_n
numeric (24, 10) default: 0 NOT NULL
This is a number of currency units
a_batch_debit_total_n
numeric (24, 10) default: 0 NOT NULL
This is a number of currency units
a_batch_credit_total_n
numeric (24, 10) default: 0 NOT NULL
This is a number of currency units
a_batch_period_i
integer default: 0
This defines which accounting period is being used
a_date_effective_d
date default: CURRENT_DATE NOT NULL
Date the batch comes into effect
s_user_id_c
varchar (20)
This identifies who the current user is s_user
a_date_of_entry_d
date default: CURRENT_DATE
a_frequency_code_c
varchar (24)
a_frequency
a_date_batch_last_run_d
date
a_last_journal_i
integer default: 0 NOT NULL
Identifies a journal within a batch
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_recurring_batch_fk1: a_ledger_number_i => a_ledger
a_recurring_batch_fk2: s_user_id_c => s_user
a_recurring_batch_fk3: a_frequency_code_c => a_frequency
a_recurring_batch_fkcr: s_created_by_c => s_user
a_recurring_batch_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_recurring_journal, a_recurring_transaction, a_recurring_trans_anal_attrib