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.CompositeTmp ====== <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 ===== Temp Table - used by interface when working with Composite Payroll Companies. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **CompositeId** | char(20) | NOT NULL | | | | CompositePayCoReference | char(60) | NULL | | | | VATNumber | char(20) | NULL | | | | RegNo | char(20) | NULL | | | | CompanyName | char(50) | NULL | | | | BankRef | char(20) | NULL | | | | BankAcNo | char(15) | NULL | | | | BankAcName | char(50) | NULL | | | | BankSortCode | char(8) | NULL | | | | BankName | char(30) | NULL | | | | TemplateName | char(30) | NULL | | | | PayrollAddress | long varchar | NULL | | | | VATRegistered | tinyint | NULL | 0 | | | TaxMethod | tinyint | NULL | | | | PayFrequency | tinyint | NULL | | | | FlagPayMethod | tinyint | NULL | 0 | | | FlagPayrollAddress | tinyint | NULL | 0 | | | FlagPayCoReference | tinyint | NULL | 0 | | | FlagVATNumber | tinyint | NULL | 0 | | | FlagVATRegistered | tinyint | NULL | 0 | | | FlagRegNo | tinyint | NULL | 0 | | | FlagCompanyName | tinyint | NULL | 0 | | | FlagTaxMethod | tinyint | NULL | 0 | | | FlagPayFrequency | tinyint | NULL | 0 | | | FlagBankRef | tinyint | NULL | 0 | | | FlagBankAcNo | tinyint | NULL | 0 | | | FlagBankAcName | tinyint | NULL | 0 | | | FlagBankSortCode | tinyint | NULL | 0 | | | FlagBankName | tinyint | NULL | 0 | | | PayMethod | tinyint | NULL | | | | FlagIBAN | tinyint | NULL | | | | IBAN | char(34) | NULL | | | | FlagSWIFTBIC | tinyint | NULL | | | | SWIFTBIC | char(11) | NULL | | | | DirectlyEmployed | tinyint | NULL | | | | FlagDirectlyEmployed | tinyint | NULL | 0 | | | FlagPayDistribution | tinyint | NULL | | | | PayDistribution | char(4) | NULL | | | | HMRCEngagementDetail | char(1) | NULL | | | | PayrollAddr1 | char(40) | NULL | | | | PayrollAddr2 | char(40) | NULL | | | | PayrollAddr3 | char(40) | NULL | | | | PayrollAddr4 | char(40) | NULL | | | | PayrollPostcode | char(30) | NULL | | | | SupplierCode | char(12) | NULL | | Self bill account for umbrella etc. | | FlagSupplierCode | tinyint | NULL | 0 | | | EmailAddress | char(250) | NULL | | | | FlagEmailAddress | tinyint | NULL | 0 | | ===== Primary Key ===== * CompositeId ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== 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"."CompositeTmp" -- Table comment: Temp Table - used by interface when working with Composite Payroll Companies. -- Statement count: 3 CREATE GLOBAL TEMPORARY TABLE "pears"."CompositeTmp" ( "CompositeId" char(20) NOT NULL ,"CompositePayCoReference" char(60) NULL ,"VATNumber" char(20) NULL ,"RegNo" char(20) NULL ,"CompanyName" char(50) NULL ,"BankRef" char(20) NULL ,"BankAcNo" char(15) NULL ,"BankAcName" char(50) NULL ,"BankSortCode" char(8) NULL ,"BankName" char(30) NULL ,"TemplateName" char(30) NULL ,"PayrollAddress" long varchar NULL ,"VATRegistered" tinyint NULL DEFAULT 0 ,"TaxMethod" tinyint NULL ,"PayFrequency" tinyint NULL ,"FlagPayMethod" tinyint NULL DEFAULT 0 ,"FlagPayrollAddress" tinyint NULL DEFAULT 0 ,"FlagPayCoReference" tinyint NULL DEFAULT 0 ,"FlagVATNumber" tinyint NULL DEFAULT 0 ,"FlagVATRegistered" tinyint NULL DEFAULT 0 ,"FlagRegNo" tinyint NULL DEFAULT 0 ,"FlagCompanyName" tinyint NULL DEFAULT 0 ,"FlagTaxMethod" tinyint NULL DEFAULT 0 ,"FlagPayFrequency" tinyint NULL DEFAULT 0 ,"FlagBankRef" tinyint NULL DEFAULT 0 ,"FlagBankAcNo" tinyint NULL DEFAULT 0 ,"FlagBankAcName" tinyint NULL DEFAULT 0 ,"FlagBankSortCode" tinyint NULL DEFAULT 0 ,"FlagBankName" tinyint NULL DEFAULT 0 ,"PayMethod" tinyint NULL ,"FlagIBAN" tinyint NULL ,"IBAN" char(34) NULL ,"FlagSWIFTBIC" tinyint NULL ,"SWIFTBIC" char(11) NULL ,"DirectlyEmployed" tinyint NULL ,"FlagDirectlyEmployed" tinyint NULL DEFAULT 0 ,"FlagPayDistribution" tinyint NULL ,"PayDistribution" char(4) NULL ,"HMRCEngagementDetail" char(1) NULL ,"PayrollAddr1" char(40) NULL ,"PayrollAddr2" char(40) NULL ,"PayrollAddr3" char(40) NULL ,"PayrollAddr4" char(40) NULL ,"PayrollPostcode" char(30) NULL ,"SupplierCode" char(12) NULL ,"FlagSupplierCode" tinyint NULL DEFAULT 0 ,"EmailAddress" char(250) NULL ,"FlagEmailAddress" tinyint NULL DEFAULT 0 ,PRIMARY KEY ("CompositeId" ASC) ) ON COMMIT PRESERVE ROWS go COMMENT ON COLUMN "pears"."CompositeTmp"."SupplierCode" IS 'Self bill account for umbrella etc.' go COMMENT ON TABLE "pears"."CompositeTmp" IS 'Temp Table - used by interface when working with Composite Payroll Companies.' go </code> database/tables/pears_compositetmp.txt Last modified: 2026/08/07 19:24by 127.0.0.1