Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.CardReaderOverrideSettings ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== Company level override of Time & Attendance settings. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **CardReaderSettingsID** | char(20) | NOT NULL | | | | MachineID | char(20) | NULL | | | | VacancyID | char(20) | NULL | | | | Companyid | char(20) | 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 | | ===== Primary Key ===== * CardReaderSettingsID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | CardReaderSettings | MachineID | [[database:tables:pears_cardreadersettings|pears.CardReaderSettings (MachineID)]] | | | vacancy | VacancyID | [[database:tables:pears_vacancy|pears.vacancy (vacancyid)]] | ON DELETE CASCADE | | company | Companyid | [[database:tables:pears_company|pears.Company (companyid)]] | ON DELETE CASCADE | ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."CardReaderOverrideSettings" -- Table comment: Company level override of Time & Attendance settings. -- Statement count: 5 CREATE TABLE "pears"."CardReaderOverrideSettings" ( "CardReaderSettingsID" char(20) NOT NULL ,"MachineID" char(20) NULL ,"VacancyID" char(20) NULL ,"Companyid" char(20) 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 ,PRIMARY KEY ("CardReaderSettingsID" ASC) ) go COMMENT ON TABLE "pears"."CardReaderOverrideSettings" IS 'Company level override of Time & Attendance settings.' go ALTER TABLE "pears"."CardReaderOverrideSettings" ADD FOREIGN KEY "CardReaderSettings" ("MachineID" ASC) REFERENCES "pears"."CardReaderSettings" ("MachineID") go ALTER TABLE "pears"."CardReaderOverrideSettings" ADD FOREIGN KEY "vacancy" ("VacancyID" ASC) REFERENCES "pears"."vacancy" ("vacancyid") ON DELETE CASCADE go ALTER TABLE "pears"."CardReaderOverrideSettings" ADD FOREIGN KEY "company" ("Companyid" ASC) REFERENCES "pears"."Company" ("companyid") ON DELETE CASCADE go </code> database/tables/pears_cardreaderoverridesettings.txt Last modified: 2026/08/07 19:24by 127.0.0.1