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.AlternativeInvoiceAddressEmail ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **AlternativeInvoiceAddressEmailID** | char(20) | NOT NULL | | | | divisionid | char(20) | NULL | | | | Description | char(100) | NOT NULL | | | | InvoiceAddress | long varchar | NULL | | | | Defunct | tinyint | NOT NULL | 0 | | | InvoiceEmail | char(250) | NULL | | | ===== Primary Key ===== * AlternativeInvoiceAddressEmailID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | division | divisionid | [[database:tables:pears_division|pears.Division (divisionid)]] | ON DELETE SET NULL | ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_accountoverrideinvoiceaddress|pears.AccountOverrideInvoiceAddress]] | AlternativeInvoiceAddressEmail | AlternativeInvoiceAddressEmailID | AlternativeInvoiceAddressEmailID | | [[database:tables:pears_placement|pears.Placement]] | AlternativeInvoiceAddressEmail | AlternativeInvoiceAddressEmailID | AlternativeInvoiceAddressEmailID | | [[database:tables:pears_salesbrand|pears.SalesBrand]] | AlternativeInvoiceAddressEmail | AlternativeInvoiceAddressEmailID | AlternativeInvoiceAddressEmailID | ===== 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"."AlternativeInvoiceAddressEmail" -- Table comment: -- Statement count: 2 CREATE TABLE "pears"."AlternativeInvoiceAddressEmail" ( "AlternativeInvoiceAddressEmailID" char(20) NOT NULL ,"divisionid" char(20) NULL ,"Description" char(100) NOT NULL ,"InvoiceAddress" long varchar NULL ,"Defunct" tinyint NOT NULL DEFAULT 0 ,"InvoiceEmail" char(250) NULL ,PRIMARY KEY ("AlternativeInvoiceAddressEmailID" ASC) ) go ALTER TABLE "pears"."AlternativeInvoiceAddressEmail" ADD FOREIGN KEY "division" ("divisionid" ASC) REFERENCES "pears"."Division" ("divisionid") ON DELETE SET NULL go </code> database/tables/pears_alternativeinvoiceaddressemail.txt Last modified: 2026/08/07 19:24by 127.0.0.1