Table of Contents



pears.CardReaderSettings

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Description

Configuration for each individual Time & Attendance site / system.

Columns

Column Type Null Default Comment
MachineID char(20) NOT NULL
Description char(250) NOT NULL
ShortDescription char(60) NULL
maxbreaklength integer NULL 120
MaxLateness integer NULL 3
MaxEarlyness integer NULL 2
maxshiftlength integer NULL 840
defaultshiftlength integer NULL 480
MinBeforeExtending integer NULL 30
MinBeforeExtendStart integer NULL 30
MaxExtraBreakTime integer NULL 5
MinBreakLength integer NULL 60
BearBoxLinked smallint NULL
LastIdentifier integer NULL

Primary Key

Foreign Keys

Referenced By

Table Constraint Columns Referenced columns
pears.CardReaderCard CardReaderSettings MachineID MachineID
pears.CardReaderImport CardReaderSettings MachineID MachineID
pears.CardReaderLog CardReaderSettings MachineID MachineID
pears.CardReaderOverrideSettings CardReaderSettings MachineID MachineID
pears.CardReaderShift CardReaderSettings MachineID MachineID

Indexes

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."CardReaderSettings"
-- Table comment: Configuration for each individual Time & Attendance site / system.
-- Statement count: 2
 
CREATE TABLE "pears"."CardReaderSettings" (
    "MachineID"                      CHAR(20) NOT NULL
   ,"Description"                    CHAR(250) NOT NULL
   ,"ShortDescription"               CHAR(60) NULL
   ,"maxbreaklength"                 INTEGER NULL DEFAULT 120
   ,"MaxLateness"                    INTEGER NULL DEFAULT 3
   ,"MaxEarlyness"                   INTEGER NULL DEFAULT 2
   ,"maxshiftlength"                 INTEGER NULL DEFAULT 840
   ,"defaultshiftlength"             INTEGER NULL DEFAULT 480
   ,"MinBeforeExtending"             INTEGER NULL DEFAULT 30
   ,"MinBeforeExtendStart"           INTEGER NULL DEFAULT 30
   ,"MaxExtraBreakTime"              INTEGER NULL DEFAULT 5
   ,"MinBreakLength"                 INTEGER NULL DEFAULT 60
   ,"BearBoxLinked"                  SMALLINT NULL
   ,"LastIdentifier"                 INTEGER NULL
   ,PRIMARY KEY ("MachineID" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."CardReaderSettings" IS 
	'Configuration for each individual Time & Attendance site / system.'
GO