Table pc_discount
Description:
Lists optional discounts for a conference
PRIMARY KEY
pc_conference_key_n
bigint 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. pc_conference
pc_discount_criteria_code_c
varchar (16) NOT NULL
Unique name of the criteria that a person has to meet to get the discount pc_discount_criteria
pc_cost_type_code_c
varchar (32) NOT NULL
Unique name of the cost type pc_cost_type
pc_validity_c
varchar (6) NOT NULL
When is this discount valid (PRE, CONF, POST, ALWAYS)
pc_up_to_age_i
integer NOT NULL
For discounts up to a certain age (mainly child discount). If age does not matter, set to -1.

pc_percentage_l
boolean
Is the discount value given in percent (or total otherwise)
pc_discount_n
numeric (24, 10)
Amount of discount (in percent or total)
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
pc_discount_fk1: pc_conference_key_n => pc_conference
pc_discount_fk2: pc_discount_criteria_code_c => pc_discount_criteria
pc_discount_fk3: pc_cost_type_code_c => pc_cost_type
pc_discount_fkcr: s_created_by_c => s_user
pc_discount_fkmd: s_modified_by_c => s_user