pears.IQXNetAction

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

Used to determine IQXWeb actions (EG: web refrencing uses this table to know when to send out emails/faxs for timesheet approvals)

Column Type Null Default Comment
IQXNetActionID char(20) NOT NULL
IQXNetUserID char(20) NOT NULL
ActionType char(50) NOT NULL
TargetType char(20) NOT NULL U-User P-Person E-Employee R-Progress L-Placement SHIFT-Shift etc
ActionState char(1) NOT NULL 0-newly added 1-performed X-ignored
WhenRequested timestamp NOT NULL
WhenPerformed timestamp NULL
TargetID char(20) NULL
ActionAddress char(100) NULL
  • IQXNetActionID
Constraint Columns References Delete/update action
IQXNetUser IQXNetUserID pears.IQXNetUser (IQXNetUserID) NOT NULL; ON DELETE CASCADE
  • No incoming foreign keys found.
Name Type Columns Detail
IQXNetActionState Index ActionState, WhenRequested
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."IQXNetAction"
-- Table comment: Used to determine IQXWeb actions (EG: web refrencing uses this table to know when to send out emails/faxs for timesheet approvals)
-- Statement count: 6
 
CREATE TABLE "pears"."IQXNetAction" (
    "IQXNetActionID"                 CHAR(20) NOT NULL
   ,"IQXNetUserID"                   CHAR(20) NOT NULL
   ,"ActionType"                     CHAR(50) NOT NULL
   ,"TargetType"                     CHAR(20) NOT NULL
   ,"ActionState"                    CHAR(1) NOT NULL
   ,"WhenRequested"                  TIMESTAMP NOT NULL
   ,"WhenPerformed"                  TIMESTAMP NULL
   ,"TargetID"                       CHAR(20) NULL
   ,"ActionAddress"                  CHAR(100) NULL
   ,PRIMARY KEY ("IQXNetActionID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."IQXNetAction"."TargetType" IS 
	'U-User P-Person E-Employee R-Progress L-Placement SHIFT-Shift etc'
GO
 
 
COMMENT ON COLUMN "pears"."IQXNetAction"."ActionState" IS 
	'0-newly added 1-performed X-ignored'
GO
 
 
COMMENT ON TABLE "pears"."IQXNetAction" IS 
	'Used to determine IQXWeb actions (EG: web refrencing uses this table to know when to send out emails/faxs for timesheet approvals)'
GO
 
 
ALTER TABLE "pears"."IQXNetAction"
    ADD NOT NULL FOREIGN KEY "IQXNetUser" ("IQXNetUserID" ASC)
    REFERENCES "pears"."IQXNetUser" ("IQXNetUserID")
    ON DELETE CASCADE
GO
 
 
CREATE INDEX "IQXNetActionState" ON "pears"."IQXNetAction"
    ( "ActionState","WhenRequested" )
GO
  • database/tables/pears_iqxnetaction.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1