Table p_membership
Description:
Details of a membership
PRIMARY KEY
p_membership_code_c
varchar (20) NOT NULL
This is the key to the membership table

p_membership_description_c
varchar (80)
A short description of the membership
p_valid_membership_l
boolean default: '1'
a_frequency_code_c
varchar (24) NOT NULL
a_frequency
a_membership_fee_n
numeric (24, 10) default: 0
This is the amount charged for each membership period.
a_membership_hours_service_n
numeric (24, 10) default: 0
This is the time required to do service for each membership period.
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_membership_fk1: a_frequency_code_c => a_frequency
p_membership_fkcr: s_created_by_c => s_user
p_membership_fkmd: s_modified_by_c => s_user


REFERENCED BY
p_partner_membership, p_partner_membership_paid