Table Data dictionary report - employee_t4s

Generated: 9/23/2016 2:32:39 PM
Server: PostgreSQL 9.3 (localhost:5432)
Database: datadict
Schema: public

Columns

Name Data type Not Null? Primary key? Default Comment
id integer Yes Yes nextval('employee_t4s_id_seq'::regclass)
employee_id integer Yes No Employee code
year integer Yes No Year of the T4
province character varying(2) No No Province
cpp_exempt boolean No No Exempt from cpp TRUE = Yes Fales = No
ei_exempt boolean No No Exempt from ei TRUE = Yes Fales = No
ppip_exempt boolean No No Exempt from ppip TRUE = Yes Fales = No
employment_code integer No No
employment_income numeric(15,2) No No Adjusted Income
cpp_contributions numeric(15,2) No No Adjusted CPP contribution
qpp_contributions numeric(15,2) No No Adjusted QPP contribution
ei_premiums numeric(15,2) No No Adjusted EI premiums
rpp_contributions numeric(15,2) No No Adjusted RPP contribution
pension_adjustment numeric(15,2) No No Adjusted Pension adjustment
ppip_premiums numeric(15,2) No No Adjusted PPIP premiums
tax_deducted numeric(15,2) No No Adjusted Tax deducted
insurable_earnings numeric(15,2) No No Adjusted Insurable earnings
pensionable_earnings numeric(15,2) No No Pensionable earnings
union_dues numeric(15,2) No No Union dues
charitable_donations numeric(15,2) No No Adjusted charitable donations
rpp_registration character varying(30) No No
ppip_insurable_earnings numeric(15,2) No No Adjusted PPIP insurable earnings
other_boxes character varying[] No No '{NULL,NULL,NULL,NULL,NULL,NULL}'::character varying[] Adjusted Array field with the 'other' boxes checked for the T4
other_amounts numeric(15,2)[] No No '{0,0,0,0,0,0}'::numeric[] Adjusted Array field with the 'other' amouts for the T4
remitted date No No
_dbversion integer No No
_created timestamp without time zone No No
_created_by character varying(3) No No
_modified timestamp without time zone No No
_modified_by character varying(3) No No
last_name character varying(30) No No Employees last name
first_name character varying(30) No No Employees first name
initials character varying(5) No No Employees initials
suggested_cpp_exempt boolean No No CCP exempt flag as set from employee table.
suggested_ei_exempt boolean No No EI exempt flag as set from employee table.
suggested_ppip_exempt boolean No No PPIP exempt flag as set from employee table.
suggested_employment_income numeric(15,2) No No Calculated Income
suggested_cpp_contributions numeric(15,2) No No Calculated CPP contributions
suggested_qpp_contributions numeric(15,2) No No Calculated QPP contributions
suggested_ei_premiums numeric(15,2) No No Calculated EI premiums
suggested_rpp_contributions numeric(15,2) No No Calculated RPP contributions
suggested_pension_adjustment numeric(15,2) No No Calculated pension adjustment
suggested_ppip_premiums numeric(15,2) No No Calculated PPIP premiums
suggested_tax_deducted numeric(15,2) No No Calculated tax deducted
suggested_insurable_earnings numeric(15,2) No No Calculated insurable earnings
suggested_pensionable_earnings numeric(15,2) No No Calculated pensionable earnings
suggested_union_dues numeric(15,2) No No Calculated union dues
suggested_charitable_donations numeric(15,2) No No Not used
suggested_ppip_insurable_earnings numeric(15,2) No No Calculated Insurable earnings
suggested_other_amounts numeric(15,2)[] No No '{0,0,0,0,0,0}'::numeric[] Not Used.

Constraints

Name Type Definition Comment
employee_t4s_pkey Primary key (id)
employee_t4s_employee_id_fkey Foreign key (employee_id) REFERENCES employees (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION

Report generated by pgAdmin III