Table s_group_location |
Description: Controls the access that a group has to a specific location, if the Location is restricted |
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 |
p_site_key_n
bigint default: 0 NOT NULL | This is the key that tell what site created this location, it will help to merge addresses when doing imports | p_location |
p_location_key_i
integer default: 0 NOT NULL | p_location | |
s_read_access_l
boolean | Control read access to the location | |
s_write_access_l
boolean | Control write access to the location | |
s_delete_access_l
boolean | Control delete access to the location | |
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_location_fk1: s_group_id_c;s_group_unit_key_n => s_group s_group_location_fk2: p_site_key_n;p_location_key_i => p_location s_group_location_fkcr: s_created_by_c => s_user s_group_location_fkmd: s_modified_by_c => s_user |