Table pm_application_status_history
Description:
Keeps a history of the application status for short and long term applications.
PRIMARY KEY
pm_key_n
bigint NOT NULL
Key to make editing these records easier

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. pm_general_application
pm_application_key_i
integer default: 0
Key to uniquely identify application pm_general_application
pm_registration_office_n
bigint NOT NULL
Partner key of office by which application was entered. pm_general_application
pm_status_code_c
varchar (32)
Indicates the status of the application. pt_applicant_status
pm_status_date_effective_d
date
Effective Date of the chosen Application Status
pm_comment_c
varchar (500)
Gives further comments about application status.
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
pm_application_status_history_fk1: p_partner_key_n;pm_application_key_i;pm_registration_office_n => pm_general_application
pm_application_status_history_fk2: pm_status_code_c => pt_applicant_status
pm_application_status_history_fkcr: s_created_by_c => s_user
pm_application_status_history_fkmd: s_modified_by_c => s_user