====== pears.PayrollCompany ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
List of Payroll Companies defined.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **PayrollIdentifier** | char(1) | NOT NULL | | |
| Name | char(250) | NULL | | |
| LivePayroll | smallint | NULL | 0 | 0 - Other, 1 - Accord, 2 - none |
| ParallelPayroll | smallint | NULL | 0 | 0 - none, 1 - Accord |
| LastTransferBatch | integer | NULL | | Read only. Updated by job |
| LastParallelTransferBatch | integer | NULL | | Read only. Updated by job |
| EmailSignature | char(20) | NULL | | |
| SMTPSettings | char(20) | NULL | | |
| EmailAddress | char(250) | NULL | | |
| Body | long varchar | NULL | | |
| PayslipPassword | smallint | NULL | 0 | |
| UID | char(50) | NULL | | |
| PWD | char(50) | NULL | | |
| EmployerID | char(50) | NULL | | |
===== Primary Key =====
* PayrollIdentifier
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
* No incoming foreign keys found.
===== Indexes =====
* No indexes found.
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."PayrollCompany"
-- Table comment: List of Payroll Companies defined.
-- Statement count: 6
CREATE TABLE "pears"."PayrollCompany" (
"PayrollIdentifier" char(1) NOT NULL
,"Name" char(250) NULL
,"LivePayroll" smallint NULL DEFAULT 0
,"ParallelPayroll" smallint NULL DEFAULT 0
,"LastTransferBatch" integer NULL
,"LastParallelTransferBatch" integer NULL
,"EmailSignature" char(20) NULL
,"SMTPSettings" char(20) NULL
,"EmailAddress" char(250) NULL
,"Body" long varchar NULL
,"PayslipPassword" smallint NULL DEFAULT 0
,"UID" char(50) NULL
,"PWD" char(50) NULL
,"EmployerID" char(50) NULL
,PRIMARY KEY ("PayrollIdentifier" ASC)
)
go
COMMENT ON COLUMN "pears"."PayrollCompany"."LivePayroll" IS
'0 - Other, 1 - Accord, 2 - none'
go
COMMENT ON COLUMN "pears"."PayrollCompany"."ParallelPayroll" IS
'0 - none, 1 - Accord'
go
COMMENT ON COLUMN "pears"."PayrollCompany"."LastTransferBatch" IS
'Read only. Updated by job'
go
COMMENT ON COLUMN "pears"."PayrollCompany"."LastParallelTransferBatch" IS
'Read only. Updated by job'
go
COMMENT ON TABLE "pears"."PayrollCompany" IS
'List of Payroll Companies defined.'
go