pears.TempScriptGenRates

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

Used during the processing of Rates

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
  • TempScriptGenRatesID
  • No outgoing foreign keys found.
  • No incoming foreign keys found.
Name Type Columns Detail
TempScriptGenrates_GroupID Index GroupID
TempScriptGenrates_BatchID Index BatchID
  • No triggers found.
-- 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
  • database/tables/pears_tempscriptgenrates.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1