Table p_relation
Description:
List of relationships between partners. Relations occur in one direction only. The relation code is used in the p_partner_relationship record.
PRIMARY KEY
p_relation_name_c
varchar (20) NOT NULL
This code identifies the relation

p_relation_description_c
varchar (100) NOT NULL
This describes the relation.
p_relation_category_c
varchar (40)
This is a category, by which relations can be grouped. p_relation_category
p_deletable_l
boolean default: '1' NOT NULL
This defines if the relation name can be deleted. This can only be updated by the system manager. It default to Yes.
p_reciprocal_description_c
varchar (100) NOT NULL
This describes the relation in the reverse direction, eg Husband and Wife.
p_valid_relation_l
boolean default: '1'
Determines whether the record is still assignable
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
p_relation_fk1: p_relation_category_c => p_relation_category
p_relation_fkcr: s_created_by_c => s_user
p_relation_fkmd: s_modified_by_c => s_user


REFERENCED BY
p_partner_relationship