Table p_partner_membership_paid
Description:
There is a record for each payment of a membership, or hours served
PRIMARY KEY
p_membership_code_c
varchar (20) NOT NULL
The is the key to the membership table p_membership
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_date_payment_d
date NOT NULL
Date when this payment was made or the hours were served

p_period_date_d
date
Date of the period that this payment was for
p_amount_paid_n
numeric (24, 10) default: 0
This is the amount that was paid.
p_hours_served_n
numeric (24, 10) default: 0
This is the number of hours that were served.
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_partner_membership_paid_fk1: p_membership_code_c => p_membership
p_partner_membership_paid_fk2: p_partner_key_n => p_partner
p_partner_membership_paid_fkcr: s_created_by_c => s_user
p_partner_membership_paid_fkmd: s_modified_by_c => s_user