====== pears.WPKCustomGridColumnNamedSelection ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Woodpecker Custom Column Definitions
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **Name** | char(50) | NOT NULL | 'DEFAULT' | |
| **DivisionID** | char(20) | NOT NULL | 'DEFAULT' | |
| **WPKFormID** | char(50) | NOT NULL | | |
| **WPKViewID** | char(50) | NOT NULL | | |
| **WPKCustomGridColumnID** | char(50) | NOT NULL | | May refer to a WPKViewItemID to over-ride position or visibility, or may be custom |
| Position | smallint | NULL | 0 | Orders the items in a view. 1 for extreme left. 0 to hide the item. |
===== Primary Key =====
* Name, DivisionID, WPKFormID, WPKViewID, WPKCustomGridColumnID
===== 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"."WPKCustomGridColumnNamedSelection"
-- Table comment: Woodpecker Custom Column Definitions
-- Statement count: 4
CREATE TABLE "pears"."WPKCustomGridColumnNamedSelection" (
"Name" char(50) NOT NULL DEFAULT 'DEFAULT'
,"DivisionID" char(20) NOT NULL DEFAULT 'DEFAULT'
,"WPKFormID" char(50) NOT NULL
,"WPKViewID" char(50) NOT NULL
,"WPKCustomGridColumnID" char(50) NOT NULL
,"Position" smallint NULL DEFAULT 0
,PRIMARY KEY ("Name" ASC,"DivisionID" ASC,"WPKFormID" ASC,"WPKViewID" ASC,"WPKCustomGridColumnID" ASC)
)
go
COMMENT ON COLUMN "pears"."WPKCustomGridColumnNamedSelection"."WPKCustomGridColumnID" IS
'May refer to a WPKViewItemID to over-ride position or visibility, or may be custom'
go
COMMENT ON COLUMN "pears"."WPKCustomGridColumnNamedSelection"."Position" IS
'Orders the items in a view. 1 for extreme left. 0 to hide the item.'
go
COMMENT ON TABLE "pears"."WPKCustomGridColumnNamedSelection" IS
'Woodpecker Custom Column Definitions'
go