Table p_partner_attribute |
Description: Mainly introduced for contact details like email addresses and mobile phone numbers, but can be used for any attribute you might want to save for a partner. |
PRIMARY KEY | ||
p_partner_key_n
bigint default: 0 NOT NULL | This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number. | p_partner |
p_code_c
varchar (24) NOT NULL | The attribute type that is assigned here. | p_partner_attribute_type |
p_sequence_i
integer default: 0 NOT NULL | A normal sequence so that each partner can have more than one value for any particular attribute type. | |
p_value_c
varchar (400) NOT NULL | The value of the attribute. | |
p_comment_c
varchar (400) | Any comment to explain this attribute value, or some additional info that may be required. | |
p_valid_from_d
date | A date when this attribute is valid from. | |
p_valid_to_d
date | When this attribute value is valid until. | |
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 | This identifies the current version of the record. | |
FOREIGN KEY p_partner_attribute_fk1: p_partner_key_n => p_partner p_partner_attribute_fk2: p_code_c => p_partner_attribute_type p_partner_attribute_fkcr: s_created_by_c => s_user p_partner_attribute_fkmd: s_modified_by_c => s_user |