pears.CompanySalesStatus

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

Look-up of sales statuses for Company

Column Type Null Default Comment
CompanySalesStatusID char(20) NOT NULL
Name char(40) NOT NULL
Sortorder integer NULL
AnalysisCode char(50) NOT NULL
ExcludeFromPipeline tinyint NOT NULL 0
Defunct tinyint NOT NULL 0
DivisionID char(20) NULL
Final tinyint NOT NULL 0
DoNotShowRecords tinyint NOT NULL 0
  • CompanySalesStatusID
  • No outgoing foreign keys found.
Table Constraint Columns Referenced columns
pears.Company CompanySalesStatus CompanySalesStatusID CompanySalesStatusID
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."CompanySalesStatus"
-- Table comment: Look-up of sales statuses for Company
-- Statement count: 2
 
CREATE TABLE "pears"."CompanySalesStatus" (
    "CompanySalesStatusID"           CHAR(20) NOT NULL
   ,"Name"                           CHAR(40) NOT NULL
   ,"Sortorder"                      INTEGER NULL
   ,"AnalysisCode"                   CHAR(50) NOT NULL
   ,"ExcludeFromPipeline"            tinyint NOT NULL DEFAULT 0
   ,"Defunct"                        tinyint NOT NULL DEFAULT 0
   ,"DivisionID"                     CHAR(20) NULL
   ,"Final"                          tinyint NOT NULL DEFAULT 0
   ,"DoNotShowRecords"               tinyint NOT NULL DEFAULT 0
   ,PRIMARY KEY ("CompanySalesStatusID" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."CompanySalesStatus" IS 
	'Look-up of sales statuses for Company'
GO
  • database/tables/pears_companysalesstatus.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1