Table s_group_partner_location
Description:
Controls the access that a group has to a specific partner location, if the Partner 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_partner_key_n
bigint NOT NULL
Partner key of Partner to which the location is related p_partner_location
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_partner_location
p_location_key_i
integer default: 0 NOT NULL
p_partner_location

s_read_access_l
boolean
Control read access to the partner location
s_write_access_l
boolean
Control write access to the partner location
s_delete_access_l
boolean
Control delete access to the partner 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_partner_location_fk1: s_group_id_c;s_group_unit_key_n => s_group
s_group_partner_location_fk2: p_partner_key_n;p_site_key_n;p_location_key_i => p_partner_location
s_group_partner_location_fkcr: s_created_by_c => s_user
s_group_partner_location_fkmd: s_modified_by_c => s_user