====== pears.WPKLookupType ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Description ===== Lookups for WPK types eg ViewItemType etc ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **WPKLookupTypeID** | char(20) | NOT NULL | | | | WPKArea | char(50) | NOT NULL | | ViewType, ViewItemType, ViewItemDataType | | VisibleValue | char(200) | NOT NULL | | | | StoredValue | char(100) | NOT NULL | | | | SortOrder | smallint | NULL | | Orders the items in the lookup | ===== Primary Key ===== * WPKLookupTypeID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."WPKLookupType" -- Table comment: Lookups for WPK types eg ViewItemType etc -- Statement count: 4 CREATE TABLE "pears"."WPKLookupType" ( "WPKLookupTypeID" char(20) NOT NULL ,"WPKArea" char(50) NOT NULL ,"VisibleValue" char(200) NOT NULL ,"StoredValue" char(100) NOT NULL ,"SortOrder" smallint NULL ,PRIMARY KEY ("WPKLookupTypeID" ASC) ) go COMMENT ON COLUMN "pears"."WPKLookupType"."WPKArea" IS 'ViewType, ViewItemType, ViewItemDataType' go COMMENT ON COLUMN "pears"."WPKLookupType"."SortOrder" IS 'Orders the items in the lookup' go COMMENT ON TABLE "pears"."WPKLookupType" IS 'Lookups for WPK types eg ViewItemType etc' go