====== pears.CIS07Template ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Construction Industry Scheme Templates - post 2007 legislation change
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **CIS07TemplateID** | char(20) | NOT NULL | | |
| TemplateName | char(30) | NULL | | |
| UniqueTaxReference | char(20) | NULL | | |
| CISVerificationNumber | char(20) | NULL | | |
| CISTaxTreatment | char(10) | NULL | | |
| CISVerificationDate | date | NULL | | |
| CISEffectiveDate | date | NULL | | |
===== Primary Key =====
* CIS07TemplateID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
^ Table ^ Constraint ^ Columns ^ Referenced columns ^
| [[database:tables:pears_pay_employee|pears.Pay_Employee]] | CIS07Template | CIS07TemplateID | CIS07TemplateID |
===== Indexes =====
* No indexes found.
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."CIS07Template"
-- Table comment: Construction Industry Scheme Templates - post 2007 legislation change
-- Statement count: 2
CREATE TABLE "pears"."CIS07Template" (
"CIS07TemplateID" char(20) NOT NULL
,"TemplateName" char(30) NULL
,"UniqueTaxReference" char(20) NULL
,"CISVerificationNumber" char(20) NULL
,"CISTaxTreatment" char(10) NULL
,"CISVerificationDate" date NULL
,"CISEffectiveDate" date NULL
,PRIMARY KEY ("CIS07TemplateID" ASC)
)
go
COMMENT ON TABLE "pears"."CIS07Template" IS
'Construction Industry Scheme Templates - post 2007 legislation change'
go