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.TempScriptGenRates ====== <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 ===== Used during the processing of Rates ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **TempScriptGenRatesID** | char(20) | NOT NULL | | | | GroupID | char(20) | NULL | | | | TempPayBandID | char(20) | NOT NULL | | | | LineNumber | smallint | NULL | | | | UnitsPaid | double | NULL | | | | UnitsCharged | double | NULL | | | | PayRate | double | NULL | | | | ChargeRate | double | NULL | | | | Description | long varchar | NULL | | | | TempShiftID | char(20) | NULL | | | | ShiftTime | timestamp | NULL | | Where timesheets are itemised by shift or part of shift | | Grade | char(4) | NULL | | | | StartDate | date | NULL | | For looking up the master rate for comparison display | | EndDate | date | NULL | | For looking up the master rate for comparison display | | Filter1 | char(4) | NULL | | | | Filter2 | char(4) | NULL | | | | Filter3 | char(4) | NULL | | | | BatchID | char(20) | NULL | | | ===== Primary Key ===== * TempScriptGenRatesID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | TempScriptGenrates_GroupID | Index | GroupID | | | TempScriptGenrates_BatchID | Index | BatchID | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."TempScriptGenRates" -- Table comment: Used during the processing of Rates -- Statement count: 7 CREATE GLOBAL TEMPORARY TABLE "pears"."TempScriptGenRates" ( "TempScriptGenRatesID" char(20) NOT NULL ,"GroupID" char(20) NULL ,"TempPayBandID" char(20) NOT NULL ,"LineNumber" smallint NULL ,"UnitsPaid" double NULL ,"UnitsCharged" double NULL ,"PayRate" double NULL ,"ChargeRate" double NULL ,"Description" long varchar NULL ,"TempShiftID" char(20) NULL ,"ShiftTime" timestamp NULL ,"Grade" char(4) NULL ,"StartDate" date NULL ,"EndDate" date NULL ,"Filter1" char(4) NULL ,"Filter2" char(4) NULL ,"Filter3" char(4) NULL ,"BatchID" char(20) NULL ,PRIMARY KEY ("TempScriptGenRatesID" ASC) ) ON COMMIT PRESERVE ROWS go COMMENT ON COLUMN "pears"."TempScriptGenRates"."ShiftTime" IS 'Where timesheets are itemised by shift or part of shift' go COMMENT ON COLUMN "pears"."TempScriptGenRates"."StartDate" IS 'For looking up the master rate for comparison display' go COMMENT ON COLUMN "pears"."TempScriptGenRates"."EndDate" IS 'For looking up the master rate for comparison display' go COMMENT ON TABLE "pears"."TempScriptGenRates" IS 'Used during the processing of Rates' go CREATE INDEX "TempScriptGenrates_GroupID" ON "pears"."TempScriptGenRates" ( "GroupID" ) go CREATE INDEX "TempScriptGenrates_BatchID" ON "pears"."TempScriptGenRates" ( "BatchID" ) go </code> database/tables/pears_tempscriptgenrates.txt Last modified: 2026/08/07 19:24by 127.0.0.1