Table a_motivation_group |
Description: This is used to track a partner's reason for contacting the organisation/sending money. Divided into Motivation Detail codes. |
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_motivation_group_code_c
varchar (16) NOT NULL | This defines a motivation group. | |
a_motivation_group_description_c
varchar (100) NOT NULL | This is a long description and is 80 characters long. | |
a_group_status_l
boolean default: '1' NOT NULL | Defines whether the motivation group is still in use | |
a_motivation_group_desc_local_c
varchar (100) | This is a long description and is 80 characters long in the local language. | |
a_restricted_l
boolean default: '0' | Indicates whether or not the motivation has restricted access. If it does then the access will be controlled by s_group_motivation | |
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_motivation_group_fk1: a_ledger_number_i => a_ledger a_motivation_group_fkcr: s_created_by_c => s_user a_motivation_group_fkmd: s_modified_by_c => s_user | ||
REFERENCED BY a_motivation_detail | ||