Table s_group_motivation
Description:
Controls the access that a group has to gifts with a specific motivation
PRIMARY KEY
s_group_id_c
varchar (20) NOT NULL
identifies a system group s_group
s_group_unit_key_n
bigint default: 0 NOT NULL
Field that the group belongs to s_group
a_ledger_number_i
integer default: 0 NOT NULL
Ledger Number a_motivation_detail
a_motivation_group_code_c
varchar (16) NOT NULL
This defines a motivation group. a_motivation_detail
a_motivation_detail_code_c
varchar (16) NOT NULL
This defines the motivation detail within a motivation group. a_motivation_detail

s_read_access_l
boolean
Control read access to gifts with this motivation
s_write_access_l
boolean
Control write access to gifts with this motivation
s_delete_access_l
boolean
Control delete access to gifts with this 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
s_group_motivation_fk1: s_group_id_c;s_group_unit_key_n => s_group
s_group_motivation_fk2: a_ledger_number_i;a_motivation_group_code_c;a_motivation_detail_code_c => a_motivation_detail
s_group_motivation_fkcr: s_created_by_c => s_user
s_group_motivation_fkmd: s_modified_by_c => s_user