Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.IQacLedger ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== Ledger type cash/sales ===== Columns ===== ^ 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 | | | ===== Primary Key ===== * LedgerID ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_iqacaccount|pears.IQacAccount]] | IQacLedger | LedgerID | LedgerID | | [[database:tables:pears_iqacdocumenttemplate|pears.IQacDocumentTemplate]] | ConLedger | ControlLedgerID | LedgerID | | [[database:tables:pears_iqacdocumenttemplate|pears.IQacDocumentTemplate]] | PayLedger | PaymentLedgerID | LedgerID | | [[database:tables:pears_iqacnominal|pears.IQacNominal]] | NomLedger | LedgerID | LedgerID | ===== Indexes ===== ^ Name ^ Type ^ Columns ^ Detail ^ | IQacLedger_Name | Unique index | Name | | ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- 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 </code> database/tables/pears_iqacledger.txt Last modified: 2026/08/07 19:24by 127.0.0.1