Table a_revaluation
Description:
Holds information used specifically in revaluations. The table extends the a_journal table.
PRIMARY KEY
a_ledger_number_i
integer default: 0 NOT NULL
The revaluation journal belongs to this ledger. a_batch
a_batch_number_i
integer default: 0 NOT NULL
identifes which batch the revaluation journal belongs to. a_batch
a_journal_number_i
integer NOT NULL
Identifies the revaluation journal within a batch (usually 1)

a_revaluation_currency_c
varchar (16) NOT NULL
This defines which revaluation currency the rate applies to
a_exchange_rate_to_base_n
numeric (24, 10) default: 0 NOT NULL
The rate of exchange from the revaluation currency (in a_revaluation_currency_c) to the ledger base currency.
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_revaluation_fk1: a_ledger_number_i;a_batch_number_i => a_batch
a_revaluation_fkcr: s_created_by_c => s_user
a_revaluation_fkmd: s_modified_by_c => s_user