pears.IQacLedger

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

Ledger type cash/sales

Column Type Null Default Comment
LedgerID char(12) NOT NULL
LedgerType char(30) NOT NULL Sales, Purchase, Cash, Employee, Asset, Other
Name char(50) NOT NULL
  • LedgerID
  • No outgoing foreign keys found.
Table Constraint Columns Referenced columns
pears.IQacAccount IQacLedger LedgerID LedgerID
pears.IQacDocumentTemplate ConLedger ControlLedgerID LedgerID
pears.IQacDocumentTemplate PayLedger PaymentLedgerID LedgerID
pears.IQacNominal NomLedger LedgerID LedgerID
Name Type Columns Detail
IQacLedger_Name Unique index Name
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."IQacLedger"
-- Table comment: Ledger type cash/sales
-- Statement count: 4
 
CREATE TABLE "pears"."IQacLedger" (
    "LedgerID"                       CHAR(12) NOT NULL
   ,"LedgerType"                     CHAR(30) NOT NULL
   ,"Name"                           CHAR(50) NOT NULL
   ,PRIMARY KEY ("LedgerID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."IQacLedger"."LedgerType" IS 
	'Sales, Purchase, Cash, Employee, Asset, Other'
GO
 
 
COMMENT ON TABLE "pears"."IQacLedger" IS 
	'Ledger type cash/sales'
GO
 
 
CREATE UNIQUE INDEX "IQacLedger_Name" ON "pears"."IQacLedger"
    ( "Name" )
GO
  • database/tables/pears_iqacledger.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1