pears.contactoutcome

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

Possible Contact Event Outcomes and associated default call back days.

Column Type Null Default Comment
contactoutcomeid char(20) NOT NULL
description char(100) NOT NULL
sortorder smallint NULL
callbackdays smallint NULL
  • contactoutcomeid
  • No outgoing foreign keys found.
  • No incoming foreign keys found.
Name Type Columns Detail
contactoutcome_sortorder Index sortorder
Name Timing Event
WPK_contactoutcome_CONTACTOUTCOME after insert,delete,update order 1
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."contactoutcome"
-- Table comment: Possible Contact Event Outcomes and associated default call back days.
-- Statement count: 5
 
CREATE TABLE "pears"."contactoutcome" (
    "contactoutcomeid"               CHAR(20) NOT NULL
   ,"description"                    CHAR(100) NOT NULL
   ,"sortorder"                      SMALLINT NULL
   ,"callbackdays"                   SMALLINT NULL
   ,PRIMARY KEY ("contactoutcomeid" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."contactoutcome" IS 
	'Possible Contact Event Outcomes and associated default call back days.'
GO
 
 
CREATE INDEX "contactoutcome_sortorder" ON "pears"."contactoutcome"
    ( "sortorder" )
GO
 
 
CREATE TRIGGER "WPK_contactoutcome_CONTACTOUTCOME" after INSERT,DELETE,UPDATE ORDER 1 ON
"pears"."contactoutcome"
FOR each statement
BEGIN
  CALL "WPKTrackChange"('P','CONTACTOUTCOME')
END
GO
 
 
COMMENT TO PRESERVE FORMAT ON TRIGGER "pears"."contactoutcome"."WPK_contactoutcome_CONTACTOUTCOME" IS 
{CREATE TRIGGER WPK_contactoutcome_CONTACTOUTCOME 
 after INSERT,DELETE,UPDATE ORDER 1 ON
contactoutcome
FOR each statement
BEGIN
  CALL WPKTrackChange('P','CONTACTOUTCOME')
END
}
GO
  • database/tables/pears_contactoutcome.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1