Table a_budget_revision |
Description: This defines a certain revision of a budget in a ledger in a year. |
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_year_i
integer NOT NULL | The year that this budget applies to | |
a_revision_i
integer default: 0 NOT NULL | A budget can have several revisions per year | |
a_description_c
varchar (200) | A description of this revision of the budget | |
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_budget_revision_fk1: a_ledger_number_i => a_ledger a_budget_revision_fkcr: s_created_by_c => s_user a_budget_revision_fkmd: s_modified_by_c => s_user | ||
REFERENCED BY a_budget | ||