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.IQacPaymentMethod ====== <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 ===== Cash, BACS etc ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **PaymentMethodCode** | char(3) | NOT NULL | | | | Name | char(50) | NOT NULL | | | | Card | smallint | NULL | 0 | | | DocumentTemplateID | char(12) | NULL | | | ===== Primary Key ===== * PaymentMethodCode ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | IQacDocumentTemplate | DocumentTemplateID | [[database:tables:pears_iqacdocumenttemplate|pears.IQacDocumentTemplate (DocumentTemplateID)]] | | ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_iqacparams|pears.IQacParams]] | IQacPaymentMethod | DefaultPaymentMethod | PaymentMethodCode | ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IQacPaymentMethod" -- Table comment: Cash, BACS etc -- Statement count: 3 CREATE TABLE "pears"."IQacPaymentMethod" ( "PaymentMethodCode" char(3) NOT NULL ,"Name" char(50) NOT NULL ,"Card" smallint NULL DEFAULT 0 ,"DocumentTemplateID" char(12) NULL ,PRIMARY KEY ("PaymentMethodCode" ASC) ) go COMMENT ON TABLE "pears"."IQacPaymentMethod" IS 'Cash, BACS etc' go ALTER TABLE "pears"."IQacPaymentMethod" ADD FOREIGN KEY "IQacDocumentTemplate" ("DocumentTemplateID" ASC) REFERENCES "pears"."IQacDocumentTemplate" ("DocumentTemplateID") go </code> database/tables/pears_iqacpaymentmethod.txt Last modified: 2026/08/07 19:24by 127.0.0.1