truncate table  `UPGRADE` ;
truncate table  `calendar` ;
truncate table  `tb_AddedInvoiceItem` ;
truncate table  `tb_AdminClosing` ;
truncate table  `tb_AdminContact` ;
truncate table  `tb_AdminCorrespondence` ;
truncate table  `tb_AdminFormLINK` ;
truncate table  `tb_AdminFormNew` ;
truncate table  `tb_AdminForm` ;
truncate table  `tb_AdminPaymentType` ;
truncate table  `tb_AdminStage` ;
truncate table  `tb_AdminTax` ;
truncate table  `tb_AdminTradeContractCostCodes` ;
truncate table  `tb_AdminVendorTax` ;
truncate table  `tb_Appointment` ;
truncate table  `tb_AvailableProjects` ;
truncate table  `tb_BackupLogs` ;
truncate table  `tb_BatchSend` ;
truncate table  `tb_Batch` ;
truncate table  `tb_BidCompany` ;
truncate table  `tb_BidDocumentDistribution` ;
truncate table  `tb_BidDocumentType` ;
truncate table  `tb_BidDocumentVisit` ;
truncate table  `tb_BidDocument` ;
truncate table  `tb_BidSentItem` ;
truncate table  `tb_BidTemplate` ;
truncate table  `tb_Bid` ;
truncate table  `tb_Building` ;
truncate table  `tb_CFPAccount` ;
truncate table  `tb_CFPActivity` ;
truncate table  `tb_CFPMaster` ;
truncate table  `tb_CFPTransaction` ;
truncate table  `tb_CancelledStatus` ;
truncate table  `tb_Centre` ;
truncate table  `tb_Clause` ;
truncate table  `tb_ClosingAmendment` ;
truncate table  `tb_ColourSheet` ;
truncate table  `tb_Commission` ;
truncate table  `tb_CompanyPersonel` ;
truncate table  `tb_CompanyTrade` ;
truncate table  `tb_ConstructionCodes` ;
truncate table  `tb_ContactAppointment` ;
truncate table  `tb_Contact` ;
truncate table  `tb_ContractStatus` ;
truncate table  `tb_ContractedTrades` ;
truncate table  `tb_CriticalDate` ;
truncate table  `tb_CustomerDocuments` ;
truncate table  `tb_DashboardItem` ;
truncate table  `tb_DashboardUserLinks` ;
truncate table  `tb_Dashboard` ;
truncate table  `tb_Deal` ;
truncate table  `tb_DeficiencyAssignmentHistory` ;
truncate table  `tb_DeficiencyAssignment` ;
truncate table  `tb_DeficiencyComment` ;
truncate table  `tb_DeficiencyKeyword` ;
truncate table  `tb_DeficiencyPhoto` ;
truncate table  `tb_Deficiency` ;
truncate table  `tb_HomeOwnerLogin` ;
truncate table  `tb_IRSGroupAndDescription` ;
truncate table  `tb_ImportEmailSchedules` ;
truncate table  `tb_InOutActivity` ;
truncate table  `tb_InOutStatus` ;
truncate table  `tb_InvoiceItemTax` ;
truncate table  `tb_InvoiceItem` ;
truncate table  `tb_Invoice` ;
truncate table  `tb_ItemCosts` ;
truncate table  `tb_Item` ;
truncate table  `tb_Labels` ;
truncate table  `tb_LineCoordinate` ;
truncate table  `tb_ListCompanyContact` ;
truncate table  `tb_ListDeficiencyGroup` ;
truncate table  `tb_ListDeficiencyType` ;
truncate table  `tb_ListDocGroup` ;
truncate table  `tb_ListDocType` ;
truncate table  `tb_ListGroup` ;
truncate table  `tb_ListMailGroup` ;
truncate table  `tb_ListPayableType` ;
truncate table  `tb_ListReportedMethod` ;
truncate table  `tb_ListRoom` ;
truncate table  `tb_Lists` ;
truncate table  `tb_LotConflict` ;
truncate table  `tb_LotCoordinate` ;
truncate table  `tb_Lot` ;
truncate table  `tb_MaintenanceReminders` ;
truncate table  `tb_MiscAdmin` ;
truncate table  `tb_ModelGraphic` ;
truncate table  `tb_ModelPhase` ;
truncate table  `tb_Model` ;
truncate table  `tb_MyPortalServices` ;
truncate table  `tb_Note` ;
truncate table  `tb_OptGroup` ;
truncate table  `tb_PDIComponent` ;
truncate table  `tb_POFulfillmentRelation` ;
truncate table  `tb_POPaymentApproval` ;
truncate table  `tb_POPayment` ;
truncate table  `tb_POTransaction` ;
truncate table  `tb_POUserRelation` ;
truncate table  `tb_Payables` ;
truncate table  `tb_PaymentType` ;
truncate table  `tb_PersonForContact` ;
truncate table  `tb_Person` ;
truncate table  `tb_Phase` ;
truncate table  `tb_PrelimQuoteNote` ;
truncate table  `tb_PrelimQuote` ;
truncate table  `tb_Premium` ;
truncate table  `tb_Price` ;
truncate table  `tb_ProductDetail` ;
truncate table  `tb_Product` ;
truncate table  `tb_ProjectItem` ;
truncate table  `tb_ProjectModels` ;
truncate table  `tb_Project` ;
truncate table  `tb_Prospect` ;
truncate table  `tb_PurchaseOrderItem` ;
truncate table  `tb_PurchaseOrder` ;
truncate table  `tb_RFPAttach` ;
truncate table  `tb_RFPCost` ;
truncate table  `tb_RFPFrames` ;
truncate table  `tb_RFPItem` ;
truncate table  `tb_RFPLog` ;
truncate table  `tb_RFPPrice` ;
truncate table  `tb_RFPStdDescription` ;
truncate table  `tb_RFPUserRights` ;
truncate table  `tb_RFPView` ;
truncate table  `tb_RFP` ;
truncate table  `tb_Reminder` ;
truncate table  `tb_ReversedVendorInvoice` ;
truncate table  `tb_ScheduledEvents` ;
truncate table  `tb_SendBulkEmail` ;
truncate table  `tb_SendWorkOrders` ;
truncate table  `tb_SentItem` ;
truncate table  `tb_Settings` ;
truncate table  `tb_SiteMapGraphic` ;
truncate table  `tb_SiteMapLink` ;
truncate table  `tb_SiteMapStyle` ;
truncate table  `tb_SpecChar` ;
truncate table  `tb_Stage` ;
truncate table  `tb_SuppLot` ;
truncate table  `tb_SuppWorksheet` ;
truncate table  `tb_SyncLog` ;
truncate table  `tb_TakeOff` ;
truncate table  `tb_TarionActivity` ;
truncate table  `tb_TarionDeficiency` ;
truncate table  `tb_TarionDelayedClosing` ;
truncate table  `tb_TarionPurchaser` ;
truncate table  `tb_TmpLabels` ;
truncate table  `tb_TradeLink` ;
truncate table  `tb_Trade` ;
truncate table  `tb_UpgradeGroup` ;
truncate table  `tb_UserActivity` ;
truncate table  `tb_UsersSendCC` ;
truncate table  `tb_UsersSendMailCC` ;
truncate table  `tb_VendorInvoiceItem` ;
truncate table  `tb_VendorInvoiceLink` ;
truncate table  `tb_VendorInvoiceTax` ;
truncate table  `tb_VendorInvoice` ;
truncate table  `tb_Views` ;
truncate table  `tb_Weather` ;
truncate table  `tb_Worksheet` 
--




--
-- Database: `bstapps_DBPassCapital`
--

-- --------------------------------------------------------

--
-- Table structure for table `calendar`
--

CREATE TABLE IF NOT EXISTS `calendar` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL DEFAULT '0000-00-00',
  `time` time NOT NULL DEFAULT '00:00:00',
  `comment` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AddedInvoiceItem`
--

CREATE TABLE IF NOT EXISTS `tb_AddedInvoiceItem` (
  `col_AddedInvoiceItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Group` varchar(65) DEFAULT NULL,
  `col_Description` varchar(254) DEFAULT NULL,
  `col_Employee` varchar(65) DEFAULT NULL,
  `col_Price` decimal(18,2) DEFAULT NULL,
  `col_DateAdded` date DEFAULT NULL,
  PRIMARY KEY (`col_AddedInvoiceItemID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminClosing`
--

CREATE TABLE IF NOT EXISTS `tb_AdminClosing` (
  `col_AdminClosingID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_Description` varchar(65) DEFAULT NULL,
  `col_Benchmark` varchar(65) DEFAULT NULL,
  `col_Days` int(11) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_Increment` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_AdminClosingID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=32 ;

--
-- Dumping data for table `tb_AdminClosing`
--

INSERT INTO `tb_AdminClosing` (`col_AdminClosingID`, `col_Type`, `col_Description`, `col_Benchmark`, `col_Days`, `col_Order`, `col_Increment`) VALUES
(1, 'Tentative', 'First Tentative Closing Date', 'Yes', 0, 1, 1),
(2, 'Tentative', 'Notice to set Second Tentative Closing Date', 'First Tentative Closing Date', -90, 2, -1),
(3, 'Tentative', 'Second Tentative Closing Date', 'First Tentative Closing Date', 120, 3, 1),
(4, 'Tentative', 'Notice to set Firm Closing Date', 'Second Tentative Closing Date', -90, 4, -1),
(5, 'Tentative', 'Firm Closing Date', 'First Tentative Closing Date', 240, 5, 1),
(7, 'Tentative', 'Outside Closing Date', 'Second Tentative Closing Date', 365, 7, 1),
(8, 'Tentative', 'End of Purchaser''s Termination Period', 'Outside Closing Date', 30, 8, 1),
(9, 'Firm', 'Firm Closing Date', 'Yes', 0, 1, -1),
(11, 'Firm', 'Outside Closing Date', 'Firm Closing Date', 365, 3, 1),
(12, 'Firm', 'End of Purchaser''s Termination Period', 'Outside Closing Date', 30, 4, 1),
(13, 'Tentative', 'Notice to set Delayed Closing Date (10 Day)', 'Firm Closing Date', -10, 6, -1),
(14, 'Firm', 'Notice to set Delayed Closing Date (10 Day)', 'Firm Closing Date', -10, 2, -1),
(15, 'Condo Tentative', 'First Tentative Occupancy Date', 'Yes', 0, 1, 1),
(16, 'Condo Tentative', 'Notice Deadline for an Occupancy Delay', 'First Tentative Occupancy Date', -90, 3, -1),
(17, 'Condo Tentative', 'Outside Occupancy Date', 'First Tentative Occupancy Date', 757, 5, 1),
(18, 'Condo Tentative', 'End of Purchaser''s Termination Period', 'Outside Occupancy Date', 30, 6, 1),
(19, 'Condo Firm', 'Firm Occupancy Date', 'Yes', 0, 1, 1),
(21, 'Condo Firm', 'Outside Occupancy Date', 'Firm Occupancy Date', 757, 2, 1),
(22, 'Condo Firm', 'End of Purchaser''s Termination Period', 'Outside Occupancy Date', 30, 3, 1),
(24, 'Condo Tentative', 'Subsequent Tentative Occupancy Date', 'Yes', 0, 2, 1),
(25, 'Condo Tentative', 'Notice to set Delayed Occupancy Date (10 Day)', 'Firm Occupancy Date', -10, 7, -1),
(26, 'Condo Firm', 'Notice to set Delayed Occupancy Date (10 Day)', 'Firm Occupancy Date', -10, 6, -1),
(27, 'Condo Tentative', 'Firm Occupancy Date', 'Final Tentative Occupancy Date', 120, 4, 1),
(28, 'Condo Tentative', 'Notice to set Further Delayed Occupancy Date', 'Firm Occupancy Date', -1, 6, -1),
(29, 'Condo Firm', 'Notice to set Further Delayed Occupancy Date', 'Firm Occupancy Date', -1, 3, -1),
(30, 'Tentative', 'Notice to set Further Delayed Closing Date', 'Firm Closing Date', -1, 7, -1),
(31, 'Firm', 'Notice to set Further Delayed Closing Date', 'Firm Closing Date', -1, 3, -1);

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminContact`
--

CREATE TABLE IF NOT EXISTS `tb_AdminContact` (
  `col_AdminContactAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Type` varchar(45) DEFAULT NULL,
  `col_Days` int(5) NOT NULL DEFAULT '0',
  `col_Method` varchar(30) DEFAULT NULL,
  `col_Order` int(5) NOT NULL DEFAULT '0',
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Benchmark` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`col_AdminContactAutoID`),
  KEY `indxCentre` (`col_Centre`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `tb_AdminContact`
--

-- Table structure for table `tb_AdminCorrespondence`
--

CREATE TABLE IF NOT EXISTS `tb_AdminCorrespondence` (
  `col_AdminCorrespondenceID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Name` varchar(100) NOT NULL DEFAULT '',
  `col_FileName` varchar(100) NOT NULL DEFAULT '',
  `col_Type` varchar(65) NOT NULL DEFAULT '',
  `col_Subject` varchar(255) DEFAULT NULL,
  `col_BodyText` text,
  `col_MarginTop` int(11) NOT NULL DEFAULT '0',
  `col_MarginBottom` int(11) NOT NULL DEFAULT '0',
  `col_MarginLeft` int(11) NOT NULL DEFAULT '0',
  `col_MarginRight` int(11) NOT NULL DEFAULT '0',
  `col_FontFamily` varchar(30) DEFAULT NULL,
  `col_FontSize` int(11) NOT NULL DEFAULT '0',
  `col_Order` int(11) DEFAULT NULL,
  `col_HideOpeningYN` varchar(10) DEFAULT NULL,
  `col_HideClosingYN` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_AdminCorrespondenceID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=38 ;

--
-- Dumping data for table `tb_AdminCorrespondence`
--


--
-- Table structure for table `tb_AdminForm`
--

CREATE TABLE IF NOT EXISTS `tb_AdminForm` (
  `col_AdminFormID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_LabelName` varchar(155) DEFAULT NULL,
  `col_Path` varchar(75) DEFAULT NULL,
  `col_URL` varchar(255) DEFAULT NULL,
  `col_Parameter` varchar(254) DEFAULT NULL,
  `col_SecurityLevel` varchar(10) DEFAULT NULL,
  `col_OpenOnTopYN` varchar(3) DEFAULT NULL,
  `col_ShowAvailableYN` varchar(3) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_Comment` varchar(254) DEFAULT NULL,
  `col_HeaderDefinition` varchar(254) DEFAULT NULL,
  `col_FooterDefinition` varchar(254) DEFAULT NULL,
  PRIMARY KEY (`col_AdminFormID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminFormLINK`
--

CREATE TABLE IF NOT EXISTS `tb_AdminFormLINK` (
  `col_AdminFormID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_LabelName` varchar(155) DEFAULT NULL,
  `col_Path` varchar(75) DEFAULT NULL,
  `col_URL` varchar(255) DEFAULT NULL,
  `new_URL` varchar(255) DEFAULT NULL,
  `col_Parameter` varchar(254) DEFAULT NULL,
  `col_HeaderDefinition` varchar(254) DEFAULT NULL,
  `col_FooterDefinition` varchar(254) DEFAULT NULL,
  `col_SecurityLevel` varchar(10) DEFAULT NULL,
  `col_OpenOnTopYN` varchar(3) DEFAULT NULL,
  `col_ShowAvailableYN` varchar(3) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`col_AdminFormID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminFormNew`
--

CREATE TABLE IF NOT EXISTS `tb_AdminFormNew` (
  `col_AdminFormID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_LabelName` varchar(155) DEFAULT NULL,
  `col_Path` varchar(75) DEFAULT NULL,
  `col_URL` varchar(255) DEFAULT NULL,
  `col_Parameter` varchar(254) DEFAULT NULL,
  `col_SecurityLevel` varchar(10) DEFAULT NULL,
  `col_OpenOnTopYN` varchar(3) DEFAULT NULL,
  `col_ShowAvailableYN` varchar(3) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_Comment` varchar(254) DEFAULT NULL,
  `col_HeaderDefinition` varchar(254) DEFAULT NULL,
  `col_FooterDefinition` varchar(254) DEFAULT NULL,
  `col_MiscValue` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`col_AdminFormID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=892 ;

--
-- Dumping data for table `tb_AdminFormNew`
--

INSERT INTO `tb_AdminFormNew` (`col_AdminFormID`, `col_Order`, `col_LabelName`, `col_Path`, `col_URL`, `col_Parameter`, `col_SecurityLevel`, `col_OpenOnTopYN`, `col_ShowAvailableYN`, `col_Type`, `col_Comment`, `col_HeaderDefinition`, `col_FooterDefinition`, `col_MiscValue`) VALUES
(1, 10, 'Lot Number - Site/Phase ', '../_gen/', 'GENListProject.php?ReportName=../_gen/HSPurchaserInfo.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, '1', '120', NULL),
(2, 20, 'Lot Number - All Sites ', '../_gen/', 'HSCustSearch.php?TheDescription=LotNumber', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, NULL, NULL, NULL),
(3, 30, 'Lot Number - Deficiency ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyList.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, NULL, NULL, NULL),
(4, 50, 'Customer Name', '../_gen/', 'HSCustSearch.php?TheDescription=Name', '4All', '5', 'No', 'Yes', 'DBPass Search', '', '4', '86', NULL),
(5, 60, 'Customer Address ', '../_gen/', 'HSCustSearch.php?TheDescription=Address', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, '5', '83', NULL),
(6, 70, 'Customer Email Address ', '../_gen/', 'HSCustSearch.php?TheDescription=EmailAddress', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, '6', '171', NULL),
(7, 80, 'Customer Telephone Number ', '../_gen/', 'HSCustSearch.php?TheDescription=Number', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, '7', '91', NULL),
(8, 90, 'Deficiency Assignment Number ', '../DBPass/', 'HSDefAssSearch.php?', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, '8', '103', NULL),
(9, 100, 'Open Homeowner Submissions', '../Tarion/', 'HomeOwnerSentSummary.php?', '4All', '10', NULL, 'Yes', 'Tarion Search', NULL, '9', '124', NULL),
(10, 150, 'ColourSheet Lookup', '../_gen/', 'GENListProject.php?ReportName=../irsplus/DocPageSelectionList.php&varShowProject=1&varShowPhase=1&varShowLot=1&var_MiscParams=Colou?Chart&var_Type=Colou?Chart', 'Sta', '5', NULL, 'Yes', 'DBPass Search', NULL, '10', '74', NULL),
(11, 170, 'PDI - Detail By Lot ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDefSummByLot.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '11', '125', NULL),
(12, 180, 'PDI - Analysis by Lot ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportPDIByLot.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(13, 155, 'PDI - Status Summary By Site ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSPDIStatus.php&varShowProject=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '13', '126', NULL),
(14, 190, 'Addresses and Closings', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=CPP', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(15, 195, 'Addresses and Closings with Phones', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=PhoneCPP', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(16, 200, 'Addresses and Closings with Emails', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=EmailCPP', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(17, 201, 'Addresses and Closings with Phones and Emails', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=PhoneEmailCPP', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(18, 210, 'Conciliation - By Customer ', '../DBPass/', 'HSConciliationListByCustomerSummary.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '18', '75', NULL),
(19, 220, 'Conciliation - By Customer and Trade ', '../DBPass/', 'HSConciliationListByCustomer.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '19', '76', NULL),
(20, 230, 'Conciliation - Issue Detail ', '../DBPass/', 'HSConciliationList.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '20', '77', NULL),
(21, 240, 'Appointment - By Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAppointmentSite.php&var_CallDateSelection=Yes&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '21', '70', NULL),
(22, 241, 'Appointment - By Trade', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSReportAppointmentTrade.php&var_CallDateSelection=Yes', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '22', '71', NULL),
(498, 153, 'PDI Form', '../_gen/', 'GENListProject.php?ReportName=../DBPass/PDIForm.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '99', 'Yes', 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(24, 350, 'Permission to Enter', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportPermissionToEnter.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '24', '209', NULL),
(25, 851, 'Deficiencies -  By Site - Unassigned Summary', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassignedSummary.php&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '25', '178', NULL),
(26, 440, 'Deficiencies - By Floor By Unit By Trade ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportTradesByUnitByFloor.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '26', '194', NULL),
(27, 450, 'Deficiencies - By Trade By Floor By Unit ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportTradesByUnitByFloorGroupByTrade.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '27', '203', NULL),
(28, 520, 'Deficiencies - By Site - Pagebreak By Lot ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListByLot.php&varShowCentre=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '28', '6', NULL),
(29, 521, 'Deficiencies - Stats By Site - Open Deficiencies', '../DBPass/', 'HSReportStatsByCentre.php?', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(35, 610, 'Deficiencies - By Site - Stats By Lot - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportStatsByUnitByType.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(36, 620, 'Deficiencies - By Site - Stats By Lot - By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportStatsByUnitByType.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '36', '229', NULL),
(40, 700, 'Deficiencies - By Site - Seasonal', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyDetailSeasonalWCust.php', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(41, 810, 'Deficiencies - List All - All Types', '../DBPass/', 'HSDeficiencyListAll.php?&var_DaysOut=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '41', '95', NULL),
(42, 820, 'Deficiencies - List All - Unassigned ', '../DBPass/', 'HSDeficiencyListAllUnassigned.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '42', '96', NULL),
(43, 830, 'Deficiencies - List All - Unassigned By Site ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassigned.php&varShowProject=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(44, 840, 'Deficiencies - List All - Assigned to Inspector', '../DBPass/', 'HSDeficiencyDetailByTrade.php?var_CompanyName=Inspector-Dawn%20Victoria&varCompanyID=43', 'Daw', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(45, 880, 'Deficiencies - List All - PDI', '../DBPass/', 'HSDeficiencyListAll.php?var_MiscParams=PDI', 'Cit', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(46, 890, 'Deficiencies - List All - Quality Control', '../DBPass/', 'HSDeficiencyListAll.php?var_MiscParams=Quality%20Control', 'Cit', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(47, 910, 'Deficiencies - Pending Close ', '../DBPass/', 'HSDeficiencyListAll.php?var_PendingClose=On', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '47', '97', NULL),
(48, 930, 'Deficiencies - Pending Close - PDI Signed Off ', '../DBPass/', 'HSDeficiencyListAllSigned.php?var_PendingClose=On', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '48', '98', NULL),
(49, 1010, 'Deficiency Detail Pending CA Inspection - By Lot', '../_gen/', 'GENListProject.php?var_MiscParams=NoRejections&ReportName=../DBPass/HSReportTradesByUnitPendingClose.php&varShowProject=1', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, '49', '208', NULL),
(50, 1020, 'Deficiency Detail Pending CA Inspection - By Lot only Rejection Reinspections', '../_gen/', 'GENListProject.php?var_MiscParams=OnlyRejectionReinspects&ReportName=../DBPass/HSReportTradesByUnitPendingClose.php&varShowProject=1', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, '50', '207', NULL),
(51, 1030, 'Deficiency Detail Pending CA Inspection - By Lot only Rejections', '../_gen/', 'GENListProject.php?var_MiscParams=OnlyRejections&ReportName=../DBPass/HSReportTradesByUnitPendingClose.php&varShowProject=1', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(52, 1040, 'Deficiency Detail Pending CA Inspection - By Lot with Rejections', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportTradesByUnitPendingClose.php&varShowProject=1', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(53, 1110, 'Deficiencies Detail - By Site - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowCentre=1&varShowPhase=0', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '53', '92', NULL),
(54, 1120, 'Deficiencies Detail - By Site - Non PDI ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyDetailBySite.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '54', '93', NULL),
(55, 1130, 'Deficiencies Detail - By Site - PDI', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyDetailBySite.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '55', '94', NULL),
(56, 1210, 'Deficiency - Deficiency Count By Month - PDI', '../DBPass/', 'HSReportDefSummByMonthPDI.php?var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '56', '102', NULL),
(57, 1220, 'Deficiency - Deficiency Count By Month - Non PDI ', '../DBPass/', 'HSReportDefSummByMonthPDI.php?var_MiscParams=notPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '57', '101', NULL),
(58, 1230, 'Deficiency - Deficiency Count By Month - By Site', '../DBPass/', 'HSReportDefSummByMonthCentre.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(59, 1240, 'Deficiency - Deficiency Count By Month - For Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDefSummByMonthCentre.php&varShowProject=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(60, 1310, 'Deficiency - Lot Count By Month - PDI Only ', '../DBPass/', 'HSReportDefSummByMonthPDILotCount.php?var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(61, 1320, 'Deficiency - Lot Count By Month - Non PDI ', '../DBPass/', 'HSReportDefSummByMonthPDILotCount.php?var_MiscParams=notPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(62, 1330, 'Deficiency - Lot Count By Month - By Site', '../DBPass/', 'HSReportDefSummByMonthCentreLotCount.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(63, 1340, 'Deficiency - Lot Count By Month - For Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDefSummByMonthCentreLotCount.php&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(64, 1410, 'Deficiency Detail - By Date Reported - By Lot - All Types', '../_gen/', 'GENSelectDates.php?StartDateNumberFromToday=-1&EndDateNumberFromToday=-1&ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(65, 1420, 'Deficiency Detail - By Date Reported - By Lot - Deficiency Type', '../_gen/', 'GENListDefType.php?var_CallDateSelection=Yes&StartDateNumberFromToday=-1&EndDateNumberFromToday=-1&ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(69, 1510, 'Deficiency Detail - By Site - By Lot - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '69', '211', NULL),
(70, 1520, 'Deficiency Detail - By Site - By Lot - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php&varShowProject=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '70', '214', NULL),
(74, 1610, 'Deficiency Detail - By Site - By Date Reported - By Lot - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php&StartDateNumberFromToday=-1&EndDateNumberFromToday=-1&var_CallDateSelection=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(75, 1620, 'Deficiency Detail - By Site - By Date Reported - By Lot - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php&StartDateNumberFromToday=-1&EndDateNumberFromToday=-1&var_CallDateSelection=Yes&varShowProject=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(79, 1710, 'Deficiency Assignment Completions By Date - All Types', '../_gen/', 'GENSelectDates.php?StartDateNumberFromToday=-7&EndDateNumberFromToday=0&ReportName=../DBPass/HSReportCountAssignmentsClosed.php', '4All', '15', 'Yes', 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(80, 1720, 'Deficiency Assignment Completions By Date - Deficiency Type', '../_gen/', 'GENListDefType.php?var_CallDateSelection=Yes&StartDateNumberFromToday=-7&EndDateNumberFromToday=0&ReportName=../DBPass/HSReportCountAssignmentsClosed.php', '4All', '15', 'Yes', 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(84, 1810, 'Address - Trades - Deficiency Detail - All Types', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=~var_ShowAddress=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(85, 1820, 'Address - Trades - Deficiency Detail - Non PDI ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=~var_ShowAddress=Yes~var_MiscParams=NotPDI&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_selected_app=PASS&var_ShowAvailable=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(86, 1830, 'Address - Trades - Deficiency Detail - PDI', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=~var_ShowAddress=Yes~var_MiscParams=PDI&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_selected_app=PASS&var_ShowAvailable=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(87, 1840, 'Address - Trades - Deficiency Detail By Site ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_MiscParams=~var_ShowAddress=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(88, 1850, 'Address - Trades - Deficiency Detail By Site - Non PDI ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '88', '21', NULL),
(89, 1860, 'Address - Trades - Deficiency Detail By Site - PDI', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_MiscParams=~var_MiscParams=PDI~var_ShowAddress=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(90, 1910, 'Trades - All Deficiencies Open and Closed ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSDeficiencyDetailByTradeOpenAndClosedDeficiencies.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(91, 1920, 'Trades - All Deficiencies Open and Closed By Lot', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSReportTradesByTradeByUnitOpenClosed.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(92, 2010, 'Deficiencies By Trade By Lot By Inspection Date ', '../DBPass/', 'HSReportTradesByTradeByUnitByInspectionDate.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(93, 2020, 'Deficiencies By Lot By Inspection Date - All Types', '../DBPass/', 'HSReportTradesByUnitByInspectionDate.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(94, 2030, 'Deficiencies By Lot By Inspection Date - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportTradesByUnitByInspectionDate.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '94', '216', NULL),
(98, 2110, 'Trades - By Trade Assignment Date - Deficiency Detail', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(99, 2120, 'Trades - By Trade Assignment Date - Deficiency Detail - Non PDI ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=NotPDI&ReportName=../DBPass/HSDeficiencyDetailByTradeOnROAssignmentAppointment.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(100, 2130, 'Trades - By Trade Assignment Date - Deficiency Detail - PDI', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=PDI&ReportName=../DBPass/HSDeficiencyDetailByTradeOnROAssignmentAppointment.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(101, 2140, 'Trades - By Trade Assignment Date - Deficiency Detail By Site ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeOnROAssignmentAppointment.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(102, 2150, 'Trades - By Trade Assignment Date - Deficiency Detail By Site - Non PDI ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeOnROAssignmentAppointment.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(103, 2160, 'Trades - By Trade Assignment Date - Deficiency Detail By Site - PDI', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeOnROAssignmentAppointment.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(104, 2210, 'Trades - Completed Deficiency Detail ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(105, 2220, 'Trades - Completed Deficiency Detail - Non PDI ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=NotPDI&ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(106, 2230, 'Trades - Completed Deficiency Detail - PDI', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=PDI&ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(107, 2240, 'Trades - Completed Deficiency Detail By Site ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(108, 2250, 'Trades - Completed Deficiency Detail By Site - Non PDI ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(109, 2260, 'Trades - Completed Deficiency Detail By Site - PDI', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSCompletedDeficiencyDetailByTrade.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(110, 2310, 'Trades - Deficiency Count By Type ', '../_gen/', 'GENSelectDates.php?StartDateNumberFromToday=-30&EndDateNumberFromToday=0&ReportName=../DBPass/HSReportOpenCloseByTradeCountEach.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '110', '137', NULL),
(111, 2320, 'Trades - Deficiency Count By Type - Aged ', '../DBPass/', 'HSReportOutstandingDefByTradeByTypeAged.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '111', '12', NULL),
(112, 2400, 'Trades - Deficiency Detail ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '112', '138', NULL),
(113, 11, '(09a) EXECUTIVE: Trades - Deficiency Detail By Site', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '10', 'No', 'Yes', 'DBPass Report', '', '113', '18', NULL),
(114, 2410, 'Trades - Deficiency Detail By Deficiency Type and Site', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php&varShowProject=1&var_GoToTradeListFromHere=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(115, 2440, 'Trades - Deficiency Detail By Site - No Appointment Detail ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeNoAppointmentDetail.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(116, 2450, 'Trades - Deficiency Detail By Site - Site, Name and Phone ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php&var_MiscParams=~var_ShowBuilderName=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(117, 2460, 'Trades - Deficiency Detail By Site - With Customer Info ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(118, 2470, 'Trades - Deficiency Detail By Site and Phase ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_ShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(119, 2510, 'Trades - Deficiency Detail - Reported Date ', '../_gen/', 'GENSelectDates.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_GoToTradeListFromHere=Yes&StartDateNumberFromToday=-7&EndDateNumberFromToday=-1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(120, 2520, 'Trades - Deficiency Detail - With Customer Info ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(121, 2530, 'Trades - Deficiency Detail - Site, Name and Phone ', '../_gen/', 'GENListTradesWithAssignments.php?var_ShowBuilderName=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(124, 2630, 'Trades - Deficiency Detail - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_GoToTradeListFromHere=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(127, 2710, 'Trades - Deficiency Detail - Non PDI ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=NotPDI&ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '127', '13', NULL),
(128, 2720, 'Trades - Deficiency Detail - Non PDI - No Appointment Detail ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=NotPDI&ReportName=../DBPass/HSDeficiencyDetailByTradeNoAppointmentDetail.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(129, 2730, 'Trades - Deficiency Detail - Non PDI - Site, Name and Phone ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=NotPDI&var_ShowBuilderName=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(130, 2740, 'Trades - Deficiency Detail - Non PDI - With Customer Info ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=NotPDI&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(131, 2810, 'Trades - Deficiency Detail - PDI', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=PDI&ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '131', '15', NULL),
(132, 2820, 'Trades - Deficiency Detail - PDI - No Appointment Detail ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=PDI&ReportName=../DBPass/HSDeficiencyDetailByTradeNoAppointmentDetail.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(133, 2830, 'Trades - Deficiency Detail - PDI - Site, Name and Phone ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=PDI&var_ShowBuilderName=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(134, 2840, 'Trades - Deficiency Detail - PDI - With Customer Info ', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=PDI&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(135, 2910, 'Trades - Deficiency Detail By Site - Non PDI ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '135', '21', NULL),
(136, 2920, 'Trades - Deficiency Detail By Site - Non PDI - No Appointment Detail ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeNoAppointmentDetail.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(137, 2930, 'Trades - Deficiency Detail By Site - Non PDI - Site, Name and Phone ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php&var_MiscParams=~var_MiscParams=NotPDI~var_ShowBuilderName=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(138, 2940, 'Trades - Deficiency Detail By Site - Non PDI - With Customer Info', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php&var_MiscParams=NotPDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(139, 3010, 'Trades - Deficiency Detail By Site - PDI', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '139', '24', NULL),
(140, 3020, 'Trades - Deficiency Detail By Site - PDI - No Appointment Detail ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeNoAppointmentDetail.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(141, 3030, 'Trades - Deficiency Detail By Site - PDI - Site, Name and Phone ', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php&var_MiscParams=~var_MiscParams=PDI~var_ShowBuilderName=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(142, 3040, 'Trades - Deficiency Detail By Site - PDI - With Customer Info', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeWCust.php&var_MiscParams=PDI', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(145, 3130, 'Trades - Deficiency Summary All Sites By Phase ', '../DBPass/', 'HSReportTradeSummary.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '145', '140', NULL),
(146, 3140, 'Trades - Deficiency Summary Site/Phase/Lot ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportTradeSummaryByUnit.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(147, 3305, 'Trade Analysis - GC Confirmed vs Confirmed - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportStatsByTradeDeficiencyVSAssignment.php&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '147', '200', NULL),
(148, 3306, 'Trade Analysis - GC Confirmed vs Confirmed - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportStatsByTradeDeficiencyVSAssignment.php&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '148', '227', NULL),
(152, 3310, 'Trade Analysis Detailed Aging - GC Confirmed vs Confirmed - All Types ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportStatsByTradeDeficiencyVSAssignment.php&varShowProject=1&var_MiscParams=~var_Detail=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '152', '230', NULL),
(153, 3320, 'Trade Analysis Detailed Aging - GC Confirmed vs Confirmed - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportStatsByTradeDeficiencyVSAssignment.php&varShowProject=1&var_MiscParams=~var_Detail=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '153', '234', NULL),
(157, 3410, 'Master Deficiency ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDeficiencyMaster.php&varShowProject=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '157', '8', NULL),
(158, 3420, 'Aged Deficiencies ', '../DBPass/', 'HSReportAged.php?ShowMenu=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(159, 3430, 'Cancelled Deals ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/CancelledDeals.php&varShowCentre=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(160, 3440, 'Deficiency Analysis By Trade ', '../DBPass/', 'Metrics.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(161, 3450, 'Close Deficiencies By Trade', '../_gen/', 'GENListProject.php?varShowProject=1&varShowPhase=1&varShowAllPhases=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSCloseDeficiencyByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, '161', '180', NULL),
(162, 9020, 'Concord Export Inspection Dates', '../_gen/', 'GENListProject.php?ReportName=../_builder/ConDateDumpV2.php&varShowProject=1&varShowPhase=1', 'Con', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(163, 9000, 'Concord Data Export', '../_gen/', 'GENListProject.php?varShowProject=1&varShowPhase=1&ReportName=../_builder/ConDataDumpWithAssignments.php', 'Con', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(164, 9040, 'Concord Customer Care Warranty Report', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSCustomerCareWarranty.php&varShowProject=1&varShowPhase=1', 'Con', '15', NULL, 'Yes', 'DBPass Report', NULL, '164', '192', NULL),
(165, 9050, 'Concord PA - Open Deficiencies By Site', '../_gen/', 'GENListProject.php?var_ShowBuilderName=Yes&ReportName=../DBPass/HSDeficiencyListAllforPA.php', 'Con', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(166, 9030, 'Concord Report Inspection Dates', '../_gen/', 'GENListProject.php?ReportName=../_builder/ConHSReportInspectionDatesByUnit.php&varShowProject=1&varShowPhase=1', 'Con', '15', NULL, 'Yes', 'DBPass Report', NULL, '166', '193', NULL),
(167, 9110, 'Tamarack Contacts Due ', '../../data/builderforms/', 'TamContactsDue.php?', 'Tam', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(168, 9210, '14 Jours Sous-Traitants', '../_gen/', 'GENSelectDates.php?StartDateNumberFromToday=-32&EndDateNumberFromToday=-2&ReportName=../../data/builderforms/Sam14JoursSousTraitants.php', 'Sam', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(169, 9310, 'Trade Analysis - 14 Day - By Trade', '../_gen/', 'GENListTradesWithAssignments.php?var_ShowBuilderName=Yes&ReportName=../../data/builderforms/Cen14DayReport.php', 'Cen', '15', NULL, 'Yes', 'DBPass Report', NULL, '169', '182', NULL),
(170, 9320, 'Trade Analysis - 14 Day - All Trades', '../_gen/', 'GENListProject.php?var_ShowBuilderName=Yes&ReportName=../../data/builderforms/Cen14DayReportAllProjects.php', 'Cen', '15', NULL, 'Yes', 'DBPass Report', NULL, '170', '183', NULL),
(171, 10, 'Labels - By Site', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Site', '4All', '15', NULL, 'Yes', 'DBPass Labels', NULL, '171', '111', NULL),
(172, 20, 'Labels - By Phase', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Phase', '4All', '15', NULL, 'Yes', 'DBPass Labels', NULL, '172', '109', NULL),
(173, 30, 'Labels - By Lot', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=Single', '4All', '15', NULL, 'Yes', 'DBPass Labels', NULL, NULL, NULL, NULL),
(174, 40, 'Labels - By Closing', '../_gen/', 'GENSelectDates.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Closing', '4All', '15', NULL, 'Yes', 'DBPass Labels', NULL, '174', '108', NULL),
(175, 50, 'Labels - By Site & Closing', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_SiteClosing', '4All', '15', NULL, 'Yes', 'DBPass Labels', NULL, '175', '112', NULL),
(176, 60, 'Labels - By Phase & Closing', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_PhaseClosing', '4All', '15', NULL, 'Yes', 'DBPass Labels', NULL, '176', '110', NULL),
(761, 6, '(06) EXECUTIVE: PASS Executive Trade Warning - By Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDeficiencyWarning.php&varShowProject=1&var_MiscParams=~var_Days=90~var_DaysOut=1~var_Menu=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(497, 140, 'Customer Care Warranty', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSCustomerCareWarranty.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(748, 32, '(18) Deficiencies - By Site - Stats By Lot Detail - By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportStatsByUnitByTypeDetail.php&varShowProject=1&varShowPhase=1', '4All', '44', 'No', 'Yes', 'DBPass Report', '', '36', '229', NULL),
(746, 0, 'Add Edit Phase Site', '../DBPass/', 'AEPhaseSite.php?', '4All', '15', NULL, NULL, 'DBPass Admin', NULL, NULL, NULL, NULL),
(182, 10, 'Add Edit User Available Projects ', '../_gen/', 'AEAvailableProjects.php?', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(183, 20, 'Add Edit All User Available Projects', '../_gen/', 'AEAvailableProjects.php?var_sha41=Yes', '4All', '99', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(184, 30, 'Add Edit Deficiency Type ', '../DBPass/', 'AEDeficiencyType.php?', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, '184', '56', NULL),
(185, 40, 'Add Edit Deficiency Group ', '../DBPass/', 'HSAEDeficiencyGroup.php?', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, '185', '48', NULL),
(186, 60, 'Add Edit Vendor ', '../_gen/', 'AEVendor.php?', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, '186', '53', NULL),
(187, 70, 'Add Edit Model ', '../_gen/', 'GENListProject.php?ReportName=../_gen/AEModel.php&varShowCentre=1', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(188, 80, 'Add Edit MIL Component ', '../mil/', 'AEComponent.php?', '4All', '111', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(189, 100, 'Get Tarion Records', '../Tarion/', 'GetTarionRecords.php?', '4All', '10', 'Yes', 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(190, 110, 'Get Tarion Records - By Date', '../_gen/', 'GENSelectDates.php?ReportName=../Tarion/GetTarionRecords.php', '4All', '10', 'Yes', 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(486, 250, 'Tarion Delayed Closing Records - By Date', '../Tarion/', 'DcdoActivity.php?', '4All', '10', 'Yes', 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(192, 200, 'Tarion Activity Report', '../_gen/', 'GENSelectDates.php?ReportName=../Tarion/TarionActivity.php', '4All', '10', NULL, 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(193, 210, 'Tarion Homeowner Deficiency', '../_gen/', 'GENListProject.php?ReportName=../Tarion/HomeOwnerDeficiencyList.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(194, 230, 'Tarion Homeowner Enrollment', '../_gen/', 'GENListProject.php?ReportName=../Tarion/HomeOwnerEnrollment.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(195, 240, 'Tarion Purchaser Enrollment', '../Tarion/', 'TarionOwnerEnrollment.php?', '4All', '10', NULL, 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(196, 120, 'View Tarion Records - By Date', '../_gen/', 'GENSelectDates.php?ReportName=../Tarion/ViewTarionRecords.php', '4All', '10', 'Yes', 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(489, 220, 'Tarion Homeowner Warranty Match', '../_gen/', 'GENListProject.php?ReportName=../Tarion/HomeOwnerWarranty.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(199, 20, 'Suite Access/Entry Form', '../_builder/', 'LESuiteEntry.php?', 'Ama', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(499, 920, 'Deficiencies - Pending Close By Lot ', '../DBPass/', 'HSReportTradesByUnitPendingClose.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(203, 70, 'Customer Sign-Off', '../_builder/', 'FormCustSignOff.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(204, 210, 'Letter - Seasonal', '../_builder/', 'LESeasonal.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, '204', '115', NULL),
(205, 220, 'Letter - Service Appointment', '../_builder/', 'LEServiceAppointment.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, '205', '116', NULL),
(206, 230, 'Letter - Deficiency Recieved', '../_builder/', 'LEDeficiencyReceipt.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, '206', '114', NULL),
(207, 240, 'Letter - All Resolved', '../_builder/', 'LEAllResolved.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(208, 250, 'Letter - Not Warrantable', '../_builder/', 'LENotWarrantable.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, '208', '113', NULL),
(209, 400, 'Outstanding Deficiencies', '../DBPass/', 'HSDeficiencyListAll.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(212, 1000, 'Deficiency List By Type - Site Copy', '../_builder/', 'FormDeficiencyListByType.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(213, 1010, 'Deficiency List By Type - Customer Copy', '../_builder/', 'FormDeficiencyListByType.php?var_ShowType=1', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(214, 1020, 'Deficiency List By Type - Site Copy - All Types', '../_builder/', 'FormDeficiencyListByType.php?var_DeficiencyType=%%', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(215, 1030, 'Deficiency List By Type - Customer Copy - All Types', '../_builder/', 'FormDeficiencyListByType.php?var_ShowType=1&var_DeficiencyType=%%', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(494, 80, 'Customer Sign-Off By Deficiency Type', '../_builder/', 'FormCustSignbyDefType.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(218, 410, 'Unassigned Deficiencies', '../DBPass/', 'HSDeficiencyListAllUnassigned.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(495, 90, 'PDI Form', '../DBPass/', 'PDIForm.php?', '4All', '99', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(220, 420, 'Deficiencies Open and Closed', '../DBPass/', 'HSDeficiencyListByTypeOpenAndClosed.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(221, 10, 'Lot Number ', '../_gen/', 'GENListProject.php?ReportName=../_gen/HSPurchaserInfo.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'CDMS Search', NULL, '221', '118', NULL),
(222, 20, 'Lot Number - All Sites ', '../_gen/', 'HSCustSearch.php?TheDescription=LotNumber', '4All', '10', NULL, 'Yes', 'CDMS Search', NULL, NULL, NULL, NULL),
(223, 30, 'Customer Name ', '../_gen/', 'HSCustSearch.php?TheDescription=Name', '4All', '10', NULL, 'Yes', 'CDMS Search', NULL, '223', '84', NULL),
(224, 40, 'Customer Address ', '../_gen/', 'HSCustSearch.php?TheDescription=Address', '4All', '10', NULL, 'Yes', 'CDMS Search', NULL, '224', '81', NULL),
(225, 50, 'Customer Email Address ', '../_gen/', 'HSCustSearch.php?TheDescription=EmailAddress', '4All', '10', NULL, 'Yes', 'CDMS Search', NULL, '225', '172', NULL),
(226, 60, 'Customer Telephone Number ', '../_gen/', 'HSCustSearch.php?TheDescription=Number', '4All', '10', NULL, 'Yes', 'CDMS Search', NULL, '226', '89', NULL),
(227, 10, 'Addresses and Closings ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1', '4All', '99', NULL, 'Yes', 'CDMS Report', NULL, NULL, NULL, NULL),
(228, 20, 'Addresses and Closings with Emails', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=Email', '4All', '99', NULL, 'Yes', 'CDMS Report', NULL, NULL, NULL, NULL),
(229, 30, 'Addresses and Closings with Phones ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=Phone', '4All', '99', NULL, 'Yes', 'CDMS Report', NULL, '229', '69', NULL),
(230, 40, 'Addresses and Closings with Phones and Emails', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=PhoneEmail', '4All', '15', NULL, 'Yes', 'CDMS Report', NULL, NULL, NULL, NULL),
(231, 110, 'Address Report ', '../_gen/', 'GENListProject.php?var_ShowAvailable=1&ReportName=../CMS/AddressReport.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'CDMS Report', NULL, '231', '67', NULL),
(232, 120, 'Phase Report ', '../_gen/', 'GENListProject.php?ReportName=../CMS/CDMSLotPhaseReport.php&varShowCentre=1&varShowPhase=1', '4All', '99', NULL, 'Yes', 'CDMS Report', NULL, NULL, NULL, NULL),
(233, 130, 'Lot Report ', '../_gen/', 'GENListProject.php?ReportName=../CMS/CDMSLotPhaseReport.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '99', NULL, 'Yes', 'CDMS Report', NULL, NULL, NULL, NULL),
(234, 140, 'Tarion Contacts Due', '../CMS/', 'ContactsDueTarion.php?due_date_sort=DESC', '4All', '8', NULL, 'Yes', 'Tarion Report', NULL, '234', '132', NULL),
(235, 150, 'Tarion Phase Report', '../_gen/', 'GENListProject.php?ReportName=../CMS/PhaseLotReport.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'Tarion Report', NULL, '235', '149', NULL),
(236, 10, 'Add Edit Address and Construction Start Dates ', '../_gen/', 'GENListProject.php?ReportName=../CMS/AECDMSLotInfo.php&varShowCentre=1&varShowPhase=1', '4All', '12', NULL, 'Yes', 'CDMS Admin', NULL, '236', '54', NULL),
(237, 20, 'Add Edit Phase Tarion Details', '../_gen/', 'GENListProject.php?ReportName=../CMS/AEPhaseTarion.php&varShowCentre=1', '4All', '10', NULL, 'Yes', 'CDMS Admin', NULL, '237', '58', NULL),
(238, 30, 'Add Edit User Available Projects ', '../_gen/', 'AEAvailableProjects.php?', '4All', '10', NULL, 'Yes', 'CDMS Admin', NULL, NULL, NULL, NULL),
(239, 40, 'Add Edit All User Available Projects', '../_gen/', 'AEAvailableProjects.php?var_sha41=Yes', '4All', '99', NULL, 'Yes', 'CDMS Admin', NULL, NULL, NULL, NULL),
(240, 50, 'Mark and Warn ', '../_rep/', 'MarkAndWarn.php?', '4All', '99', NULL, 'Yes', 'CDMS Admin', NULL, '240', '175', NULL),
(328, 10, 'Contract - By Keyword ', '../irsplus/', 'DocPageSelectionList.php?var_Type=Contract&', '4All', '10', NULL, 'Yes', 'IRS Search', NULL, NULL, NULL, NULL),
(329, 20, 'Price List - By Keyword', '../irsplus/', 'DocPageSelectionList.php?var_Type=Price%20List&', '4All', '10', 'No', 'Yes', 'IRS Search', '', NULL, NULL, NULL),
(330, 30, 'Price List - By Company ', '../irsplus/', 'DocPageSelectionList.php?var_Type=Company&', '4All', '10', NULL, 'Yes', 'IRS Search', NULL, NULL, NULL, NULL),
(331, 40, 'Utility - By Municipal Address ', '../irsplus/', 'UtilityControlAddress.php?', '4All', '10', NULL, 'Yes', 'IRS Search', NULL, NULL, NULL, NULL),
(332, 50, 'Vendor Invoice - By Invoice Number ', '../irsplus/', 'VendorInvoiceSelectionList.php?', '4All', '10', NULL, 'Yes', 'IRS Search', NULL, NULL, NULL, NULL),
(333, 10, 'Add Vendor Invoice', '../irsplus/', 'AEVendorInvoice.php?', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(334, 11, 'Post from Vendor Invoice', '../_gen/', 'GENListProject.php?var_ToggleCP=Project&ReportName=../irsplus/LotDetail.php&varShowProject=1&varShowPhase=1&varShowLot=1&flg_expand=1', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(335, 30, 'Add Vendor Invoice - Not Controlled', '../irsplus/', 'AEVendorInvoiceNC.php?', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(336, 50, 'Utility Control', '../_gen/', 'GENListProject.php?var_ToggleCP=Project&ReportName=../irsplus/UtilityControlAddress.php&varShowProject=1&varShowPhase=1&varShowGroup=0&varShowLot=0&', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(337, 60, 'Control Sheet', '../_gen/', 'GENListProject.php?var_ToggleCP=Project&ReportName=../irsplus/ReportControlInquire.php&varShowProject=1&varShowPhase=1&varShowGroup=0&varShowLot=0&', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(318, 40, 'Company Global', '../PO/', 'POAEPO.php?var_PurchaseOrderType=Company%20Global', '4All', '99', NULL, 'Yes', 'PO', NULL, '318', '155', NULL),
(317, 30, 'Job Specific', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=Lot%20Specific', '4All', '99', NULL, 'Yes', 'PO', NULL, '317', '153', NULL),
(316, 20, 'PO - Site Specific', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=0&var_MiscParams=var_PurchaseOrderType=PO%20Site%20Specific', '4All', '10', NULL, 'Yes', 'PO', NULL, '316', '154', NULL),
(315, 10, 'PO - Lot Specific', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=PO%20Lot%20Specific', '4All', '10', NULL, 'Yes', 'PO', NULL, '315', '153', NULL),
(314, 40, 'Add Edit Lot ', '../_gen/', 'GENListProject.php?ReportName=../PO/AELotsSimple.php&var_ShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'PO Admin', NULL, '314', '169', NULL),
(313, 30, 'Add Edit Vendor ', '../_gen/', 'AEVendor.php?', '4All', '13', NULL, 'Yes', 'PO Admin', NULL, '313', '168', NULL),
(311, 10, 'Accounts and Categories ', '../PO/', 'AEAccountsAndCategories.php?', '4All', '15', NULL, 'Yes', 'PO Admin', NULL, '311', '170', NULL),
(312, 20, 'User Relationships ', '../PO/', 'POAdmin.php?', '4All', '15', NULL, 'Yes', 'PO Admin', NULL, NULL, NULL, NULL),
(309, 80, 'Mark and Warn', '../_rep/', 'MarkAndWarn.php?', '4All', '99', NULL, 'Yes', 'CMS Admin', NULL, '309', '176', NULL),
(310, 10, 'My POs ', '../PO/', 'POReportPOPersonal.php?', '4All', '10', NULL, 'Yes', 'PO List', NULL, '310', '167', NULL),
(308, 50, 'CMS Mailing List ', '../CMS/', 'MailingListMan.php?var_maillist=_CMS_Mailer.list', '4All', '99', NULL, 'Yes', 'CMS Admin', NULL, NULL, NULL, NULL),
(307, 40, 'Add Edit All User Available Projects', '../_gen/', 'AEAvailableProjects.php?var_sha41=Yes', '4All', '99', NULL, 'Yes', 'CMS Admin', NULL, NULL, NULL, NULL),
(306, 30, 'Add Edit User Available Projects ', '../_gen/', 'AEAvailableProjects.php?', '4All', '10', NULL, 'Yes', 'CMS Admin', NULL, '306', '60', NULL),
(305, 20, 'Add Edit Phase Tarion Details', '../_gen/', 'GENListProject.php?ReportName=../CMS/AEPhaseTarion.php&varShowCentre=1', '4All', '10', NULL, 'Yes', 'CMS Admin', NULL, '305', '59', NULL),
(304, 10, 'Add Edit Address and Construction Start Dates ', '../_gen/', 'GENListProject.php?ReportName=../CMS/AECDMSLotInfo.php&varShowCentre=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'CMS Admin', NULL, '304', '55', NULL),
(303, 170, 'Tarion Phase Report ', '../_gen/', 'GENListProject.php?ReportName=../CMS/PhaseLotReport.php&varShowProject=1&varShowPhase=1', '4All', '99', NULL, 'Yes', 'CMS Report', NULL, '303', '150', NULL),
(302, 160, 'Tarion Contacts Due ', '../CMS/', 'ContactsDueTarion.php?', '4All', '99', NULL, 'Yes', 'CMS Report', NULL, '302', '133', NULL),
(301, 150, 'Lot Report ', '../_gen/', 'GENListProject.php?ReportName=../CMS/CDMSLotPhaseReport.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL),
(300, 140, 'Phase Report ', '../_gen/', 'GENListProject.php?ReportName=../CMS/CDMSLotPhaseReport.php&var_Type=Phase&varShowCentre=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL),
(298, 120, 'Contacts Due ', '../CMS/', 'ContactsDue.php?', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, '298', '78', NULL),
(299, 130, 'Contacts Due Tamarack', '../_builder/', 'TamContactsDue.php?', 'Tam', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL);
INSERT INTO `tb_AdminFormNew` (`col_AdminFormID`, `col_Order`, `col_LabelName`, `col_Path`, `col_URL`, `col_Parameter`, `col_SecurityLevel`, `col_OpenOnTopYN`, `col_ShowAvailableYN`, `col_Type`, `col_Comment`, `col_HeaderDefinition`, `col_FooterDefinition`, `col_MiscValue`) VALUES
(297, 110, 'Address Report ', '../_gen/', 'GENListProject.php?ReportName=../CMS/AddressReport.php&varShowProject=1&varShowPhase=1&var_selected_app=CDMS', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL),
(296, 40, 'Addresses and Closings with Phones and Emails', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=PhoneEmail', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL),
(295, 30, 'Addresses and Closings with Phones ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=Phone', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, '295', '146', NULL),
(294, 20, 'Addresses and Closings with Emails', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=Email', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL),
(293, 10, 'Addresses and Closings ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'CMS Report', NULL, NULL, NULL, NULL),
(292, 60, 'Customer Telephone Number ', '../_gen/', 'HSCustSearch.php?TheDescription=Number', '4All', '10', NULL, 'Yes', 'CMS Search', NULL, '292', '90', NULL),
(290, 40, 'Customer Address ', '../_gen/', 'HSCustSearch.php?TheDescription=Address', '4All', '10', NULL, 'Yes', 'CMS Search', NULL, '290', '82', NULL),
(291, 50, 'Customer Email Address ', '../_gen/', 'HSCustSearch.php?TheDescription=EmailAddress', '4All', '10', NULL, 'Yes', 'CMS Search', NULL, '291', '173', NULL),
(289, 30, 'Customer Name ', '../_gen/', 'HSCustSearch.php?TheDescription=Name', '4All', '10', NULL, 'Yes', 'CMS Search', NULL, '289', '85', NULL),
(288, 20, 'Lot Number - All Sites ', '../_gen/', 'HSCustSearch.php?TheDescription=LotNumber', '4All', '10', NULL, 'Yes', 'CMS Search', NULL, NULL, NULL, NULL),
(287, 10, 'Lot Number ', '../_gen/', 'GENListProject.php?ReportName=../_gen/HSPurchaserInfo.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'CMS Search', NULL, '287', '119', NULL),
(338, 70, 'Billing Amounts and Counts', '../_gen/', 'GENListProject.php?var_ToggleCP=Project&ReportName=../irsplus/BillingAmountsAndCounts.php&varShowProject=1&var_MiscParams=&var_PaymentTerms=On%20Account&', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(339, 20, 'View Post Payables ', '../irsplus/', 'PayableType.php?', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(340, 30, 'View Invoice Tapes ', '../irsplus/', 'ReportVendorPaymentsMixedPhases.php?var_Type=Contract&', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(341, 40, 'Payments on Account - By Phase ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../irsplus/ReportVendorPayments.php&varShowProject=1&varShowPhase=1&varShowGroup=0&varShowLot=0&varShowTrades=1&', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(342, 50, 'Payments on Account - By Site ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../irsplus/ReportVendorPayments.php&varShowProject=1&varShowPhase=0&varShowGroup=0&varShowLot=0&varShowTrades=1&', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(343, 60, 'Payments on Account - All Sites ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../irsplus/ReportVendorPayments.php&var_MiscParams=~var_Centre=All~var_Project=All&varShowProject=0&varShowPhase=0&varShowGroup=0&varShowLot=0&varShowTrades=1&', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(344, 70, 'Vendor Invoice Status - By Lot ', '../_gen/', 'GENListProject.php?ReportName=../irsplus/ReportLotDetail.php&varShowProject=1&varShowPhase=1&varShowGroup=0&varShowLot=1&varShowTrades=0&', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(345, 80, 'Vendor Invoice Status - By Group ', '../_gen/', 'GENListProject.php?ReportName=../irsplus/ReportGroupDetailContent.php&varShowProject=1&varShowPhase=1&varShowGroup=1&varShowLot=0&varShowTrades=0&', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(346, 90, 'Work-up on Account ', '../irsplus/', 'WorkUpReport.php?', '4All', '10', NULL, 'Yes', 'IRS Old', NULL, NULL, NULL, NULL),
(347, 10, 'Price List Contracts - Add Scanned Documents ', '../irsplus/', 'AEDocPage.php?', '4All', '10', NULL, 'Yes', 'IRS Admin', NULL, NULL, NULL, NULL),
(348, 20, 'Add Edit Document Groups ', '../irsplus/', 'AEListDocGroup.php?', '4All', '10', NULL, 'Yes', 'IRS Admin', NULL, NULL, NULL, NULL),
(349, 30, 'Add Edit Vendor ', '../_gen/', 'AEVendor.php?', '4All', '10', NULL, 'Yes', 'IRS Admin', NULL, NULL, NULL, NULL),
(350, 10, 'Add Edit MIL Component', '../mil/', 'AEComponent.php?', '4All', '10', NULL, 'Yes', 'MIL Admin', NULL, NULL, NULL, NULL),
(351, 10, 'Site Schedule (with Lot Class)', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSViewSelect.php&varShowCentre=1&varShowPhase=1&varShowLotClass=1&var_MiscParams=~OrderBy=closing', '4All', '5', 'No', 'Yes', 'SOS Schedule', '', NULL, NULL, NULL),
(352, 20, 'Site Schedule (All Lot Classes)', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSViewSelect.php&varShowCentre=1&varShowPhase=1&var_MiscParams=~OrderBy=closing', '4All', '5', 'No', 'Yes', 'SOS Schedule', '', '352', '156', NULL),
(353, 30, 'SOS Mobile', '../SOS/', 'SOS_BB.php?', '4All', '5', 'Yes', 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(354, 40, 'Reminders ', '../SOS/', 'Reminder.php?', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(355, 50, 'Reminders by Site ', '../_gen/', 'GENListProject.php?ReportName=../SOS/Reminder.php&varShowCentre=1', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(356, 60, 'Reminders by Phase ', '../_gen/', 'GENListProject.php?ReportName=../SOS/Reminder.php&varShowCentre=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(357, 70, 'Reminders by Lot ', '../_gen/', 'GENListProject.php?ReportName=../SOS/Reminder.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(358, 10, 'Completion Slip ', '../SOS/', 'CompletionSlip.php?', '4All', '10', NULL, 'Yes', 'SOS Report', NULL, '358', '157', NULL),
(359, 20, 'Reprint Completion Slip ', '../SOS/', 'ReprintCompletionSlip.php?', '4All', '10', NULL, 'Yes', 'SOS Report', NULL, '359', '166', NULL),
(360, 20, 'Stage Definition ', '../SOS/', 'SOSStageDef.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '360', '160', NULL),
(361, 60, 'Day Definition - Holiday ', '../SOS/', 'SOSHoliday.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '361', '159', NULL),
(362, 70, 'Day Definition - Weekend ', '../SOS/', 'SOSWeekend.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '362', '158', NULL),
(363, 40, 'Stage View Names ', '../SOS/', 'SOSViewNames.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '363', '164', NULL),
(364, 50, 'Associate Trades to Construction Stages', '../SOS/', 'SOSStageTrades.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '364', '161', NULL),
(661, 90, 'Create Mobile Link', '../SOS/', 'SOSMobileLink.php?', '4All', '9', 'Yes', 'Yes', 'SOS Admin', NULL, NULL, NULL, NULL),
(366, 80, 'Weather Log ', '../SOS/', 'SOSWeather.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '366', '165', NULL),
(367, 100, 'Add Edit User Available Projects ', '../_gen/', 'AEAvailableProjects.php?', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, '367', '174', NULL),
(368, 110, 'Add Edit All User Available Projects', '../_gen/', 'AEAvailableProjects.php?var_sha41=Yes', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, NULL, NULL, NULL),
(369, 10, 'Bid Status ', '../BuildPro/', 'BidStatus.php?', '4All', '10', NULL, 'Yes', 'BuildPro Menu', NULL, NULL, NULL, NULL),
(370, 20, 'Trade Invitation ', '../BuildPro/', 'TradeInvitation.php?', '4All', '10', NULL, 'Yes', 'BuildPro Menu', NULL, NULL, NULL, NULL),
(371, 110, 'Upload - Bid ', '../BuildPro/', 'DocumentUpload.php?uploadtype=BidUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(372, 120, 'Upload - Agreement ', '../BuildPro/', 'DocumentUpload.php?uploadtype=Agreement', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(373, 130, 'Upload - Phase ', '../BuildPro/', 'DocumentUpload.php?uploadtype=PhaseUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(374, 140, 'Upload - Model ', '../BuildPro/', 'DocumentUpload.php?uploadtype=ModelUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(375, 150, 'Upload - Unit ', '../BuildPro/', 'DocumentUpload.php?uploadtype=UnitUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(376, 220, 'Status - Bid ', '../BuildPro/', 'DocumentStatus.php?uploadtype=BidUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(377, 230, 'Status - Phase ', '../BuildPro/', 'DocumentStatus.php?uploadtype=PhaseUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(378, 240, 'Status - Model ', '../BuildPro/', 'DocumentStatus.php?uploadtype=ModelUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(379, 250, 'Status - Unit ', '../BuildPro/', 'DocumentStatus.php?uploadtype=UnitUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(380, 320, 'Non-Viewed - Bid ', '../BuildPro/', 'ListNonViewed.php?uploadtype=BidUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(381, 330, 'Non-Viewed - Phase ', '../BuildPro/', 'ListNonViewed.php?uploadtype=PhaseUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(382, 340, 'Non-Viewed - Model ', '../BuildPro/', 'ListNonViewed.php?uploadtype=ModelUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(383, 350, 'Non-Viewed - Unit ', '../BuildPro/', 'ListNonViewed.php?uploadtype=UnitUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(384, 410, 'Edit - Bid ', '../BuildPro/', 'DocumentEdit.php?uploadtype=BidUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(385, 420, 'Edit - Agreement ', '../BuildPro/', 'DocumentEdit.php?uploadtype=Agreement', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(386, 440, 'Edit - Phase ', '../BuildPro/', 'DocumentEdit.php?uploadtype=PhaseUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(387, 450, 'Edit - Model ', '../BuildPro/', 'DocumentEdit.php?uploadtype=ModelUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(388, 460, 'Edit - Unit ', '../BuildPro/', 'DocumentEdit.php?uploadtype=UnitUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(389, 10, 'Access ', '../BuildPro/', 'BPTradeLogin.php?', '4All', '10', 'Yes', 'Yes', 'BuildPro Portal', NULL, NULL, NULL, NULL),
(390, 20, 'Login ', '../../portal/BuildPro/', 'BPVendorLogin.php?', '4All', '10', 'Yes', 'Yes', 'BuildPro Portal', NULL, NULL, NULL, NULL),
(391, 10, 'Add Edit Groups & Categories ', '../BuildPro/', 'AEGroupsCategories.php?', '4All', '10', NULL, 'Yes', 'BuildPro Admin', NULL, NULL, NULL, NULL),
(392, 20, 'Add Edit Email Templates', '../BuildPro/', 'BidTemplate.php?', '4All', '10', NULL, 'Yes', 'BuildPro Admin', NULL, NULL, NULL, NULL),
(393, 10, 'Mobile Document Search', '../DocMgmt/', 'DocumentSearch.php?', '4All', '5', NULL, 'Yes', 'DocManagement Search', NULL, NULL, NULL, NULL),
(394, 20, 'View Lot Documents', '../_gen/', 'GENListProject.php?ReportName=../DocMgmt/ListSpecificUnitWithDocs.php&varShowProject=1&varShowPhase=1&varShowLot=1&var_MiscParams=var_Scope=lot~var_Menu=1', '4All', '5', NULL, 'Yes', 'DocManagement Search', NULL, NULL, NULL, NULL),
(395, 30, 'View Model Documents', '../_gen/', 'GENListProject.php?ReportName=../DocMgmt/ListSpecificUnitWithDocs.php&varShowProject=1&varShowModel=1&var_MiscParams=var_Scope=model~var_Menu=1', '4All', '5', NULL, 'Yes', 'DocManagement Search', NULL, NULL, NULL, NULL),
(396, 40, 'View Site Documents', '../_gen/', 'GENListProject.php?ReportName=../DocMgmt/ListSpecificUnitWithDocs.php&varShowProject=1&var_MiscParams=var_Scope=project~var_Menu=1', '4All', '5', NULL, 'Yes', 'DocManagement Search', NULL, NULL, NULL, NULL),
(397, 10, 'Document Entry ', '../DocMgmt/', 'CustomerDocumentUpload.php?scope=lot', '4All', '5', NULL, 'Yes', 'DocManagement Admin', NULL, NULL, NULL, NULL),
(398, 30, 'Apps BuildProJr ', '../BuildProJr/', 'login.php?', '4All', '5', NULL, 'Yes', 'DocManagement Admin', NULL, NULL, NULL, NULL),
(399, 40, 'Apps BuildProJr List Units ', '../BuildProJr/', 'ListUnitsWithDocs.php?', '4All', '5', NULL, 'Yes', 'DocManagement Admin', NULL, NULL, NULL, NULL),
(400, 100, 'Tenant List Complete ', '../PPM/', 'TenantList.php?', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(401, 100, 'Tenant List Vacancy', '../PPM/', 'TenantList.php?var_Vacant=1', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(402, 110, 'Tenant List By Project ', '../_gen/', 'GENListProject.php?ReportName=../PPM/TenantList.php', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(403, 120, 'Tenant List By Building ', '../_gen/', 'GENListProject.php?ReportName=../PPM/TenantList.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(404, 130, 'Tenant List By Unit ', '../_gen/', 'GENListProject.php?ReportName=../PPM/TenantList.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(405, 140, 'Lease Expiry By Expiry Date ', '../_gen/', 'GENSelectDates.php?var_MiscParams=LeaseExpiry&ReportName=../PPM/TenantList.php', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(406, 150, 'Insurance Expiry By Expiry Date ', '../_gen/', 'GENSelectDates.php?var_MiscParams=InsuranceExpiry&ReportName=../PPM/TenantList.php', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(407, 160, 'Enviro Insurance Expiry By Expiry Date ', '../_gen/', 'GENSelectDates.php?var_MiscParams=EnviroExpiry&ReportName=../PPM/TenantList.php', '4All', '10', 'Yes', 'Yes', 'PPM List', NULL, NULL, NULL, NULL),
(408, 210, 'Add Edit Project Building Detail ', '../_gen/', 'GENListProject.php?ReportName=../PPM/PPMAEPhase.php&varShowProject=1', '4All', '10', 'Yes', 'Yes', 'PPM Admin', NULL, NULL, NULL, NULL),
(409, 220, 'Add Edit Unit Detail ', '../_gen/', 'GENListProject.php?ReportName=../PPM/PPMAEUnit.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'PPM Admin', NULL, NULL, NULL, NULL),
(410, 230, 'Edit Unit Insurance ', '../_gen/', 'GENListProject.php?ReportName=../PPM/PPMAEUnitInsurance.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'PPM Admin', NULL, NULL, NULL, NULL),
(411, 240, 'Edit Unit Cheques ', '../_gen/', 'GENListProject.php?ReportName=../PPM/PPMAEChequeDetail.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'PPM Admin', NULL, NULL, NULL, NULL),
(412, 250, 'View Unit Detail ', '../_gen/', 'GENListProject.php?ReportName=../PPM/PPMUnitView.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Admin', NULL, NULL, NULL, NULL),
(413, 310, 'Certificate of Insurance ', '../_forms/', 'let_CertificateOfInsurance.php?', '4All', '10', 'Yes', 'Yes', 'PPM Reports', NULL, NULL, NULL, NULL),
(414, 320, 'Email Insurance Warnings ', '../_rep/', 'InsuranceEmailWarnings.php?', '4All', '10', 'Yes', 'Yes', 'PPM Reports', NULL, NULL, NULL, NULL),
(415, 330, 'Insurance Expiry Notification ', '../PPM/', 'InsuranceExpiryNotification.php?', '4All', '10', 'Yes', 'Yes', 'PPM Reports', NULL, NULL, NULL, NULL),
(416, 10, 'Lease Welcome ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseWelcome.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(417, 20, 'Lease Start ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseStart.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(418, 30, 'Lease Execution ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseExecution.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(419, 40, 'Lease Expiry ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseExpiry.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(420, 50, 'Lease Expiry Options ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseExpiryOptions.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(421, 60, 'Lease Expiry Renew ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseRenew.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(422, 70, 'Lease Expiry Renewal Intent ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_LeaseRenewalIntent.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(423, 100, 'Insurance Expiry Options ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_InsuranceExpiryOptions.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(424, 110, 'Insurance Expiry Ours ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_InsuranceExpiryOurs.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(425, 120, 'Insurance Expiry Theirs ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_InsuranceExpiryTheirs.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(426, 130, 'Enviro Insurance Expiry ', '../_gen/', 'GENListProject.php?ReportName=../_forms/let_EnviroExpiry.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'Yes', 'Yes', 'PPM Letters', NULL, NULL, NULL, NULL),
(427, 110, 'Estimate', '../estimate/', 'Estimate.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Price', NULL, NULL, NULL, NULL),
(428, 120, 'Item Costs', '../estimate/', 'AEItemCosts.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Price', NULL, NULL, NULL, NULL),
(429, 130, 'Final Quotes By Construction Code', '../estimate/', 'ViewConstructionCodes.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Price', NULL, NULL, NULL, NULL),
(430, 210, 'Add Edit - Project', '../estimate/', 'AEProject.php?', '4All', '10', NULL, 'Yes', 'Estimate Project', NULL, NULL, NULL, NULL),
(431, 220, 'Add Edit - Centre', '../estimate/', 'AECentre.php?', '4All', '10', NULL, 'Yes', 'Estimate Project', NULL, NULL, NULL, NULL),
(432, 230, 'Add Edit - Phase', '../estimate/', 'AEPhase.php?', '4All', '10', NULL, 'Yes', 'Estimate Project', NULL, NULL, NULL, NULL),
(433, 240, 'Add Edit - Available Projects', '../_gen/', 'AEAvailableProjects.php?var_SelProject=Project', '4All', '10', NULL, 'Yes', 'Estimate Project', NULL, NULL, NULL, NULL),
(434, 250, 'Preliminary Quotes', '../estimate/', 'PrelimQuoteList.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Project', NULL, NULL, NULL, NULL),
(435, 260, 'Drawing Control', '../estimate/', 'DrawingControl.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Project', NULL, NULL, NULL, NULL),
(436, 310, 'Add Edit - Model', '../estimate/', 'AEModel.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Model', NULL, NULL, NULL, NULL),
(437, 320, 'Add Edit - TakeOff - Room and Material', '../estimate/', 'AETakeOff.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Model', NULL, NULL, NULL, NULL),
(438, 330, 'Add Edit - Model to Project Assignment', '../estimate/', 'AEProjectModels.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Model', NULL, NULL, NULL, NULL),
(439, 400, 'Add Edit - Trade', '../estimate/', 'AETrade.php?', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(440, 410, 'Add Edit - Vendor Contact', '../_gen/', 'AEVendor.php?', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(441, 420, 'Add Edit - All Cost Item', '../estimate/', 'AEItem.php?var_ShowAll=Yes', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(442, 430, 'Add Edit - Hard Cost Item', '../estimate/', 'AEItem.php?var_AccountingType=Hard%20Costs', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(443, 440, 'Add Edit - Soft Cost Item', '../estimate/', 'AEItem.php?var_AccountingType=Soft%20Costs', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(444, 450, 'Add Edit - Material Cost Item', '../estimate/', 'AEItem.php?var_AccountingType=Material%20Costs', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(445, 460, 'Add Edit - Flooring Cost Item', '../estimate/', 'AEItem.php?var_AccountingType=Flooring%20Costs', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(446, 470, 'Add Edit - Quoted Cost Item', '../estimate/', 'AEItem.php?var_AccountingType=Quoted%20Costs', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(447, 480, 'Add Edit - Construction Codes', '../estimate/', 'AEConstructionCodes.php?', '4All', '10', NULL, 'Yes', 'Estimate Admin', NULL, NULL, NULL, NULL),
(762, 98, '(23) Trade Availability Summary', '../DBPass/', 'HSReportTradeAvailability.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(449, 610, 'Project Items - Hard Cost Items Only', '../estimate/', 'AEProjectItems.php?var_AccountingType=Hard%20Costs&refresh_mode=NewTemplate', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(450, 620, 'Project Items - Soft Cost Items Only', '../estimate/', 'AEProjectItems.php?var_AccountingType=Soft%20Costs&refresh_mode=NewTemplate', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(451, 630, 'Project Items - Material Cost Items Only', '../estimate/', 'AEProjectItems.php?var_AccountingType=Material%20Costs&refresh_mode=NewTemplate', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(452, 640, 'Project Items - Flooring Cost Items Only', '../estimate/', 'AEProjectItems.php?var_AccountingType=Flooring%20Costs&refresh_mode=NewTemplate', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(453, 650, 'Project Items - Quoted Cost Items Only', '../estimate/', 'AEProjectItems.php?var_AccountingType=Quoted%20Costs&refresh_mode=NewTemplate', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(454, 660, 'Vendor Reports', '../estimate/', 'VendorDocPrintFrame.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(455, 670, 'Vendor Contact Report', '../estimate/', 'ActiveSuppliersList.php?', '4All', '10', 'Yes', 'Yes', 'Estimate Tools', NULL, NULL, NULL, NULL),
(456, 680, 'Suppliers List', '../estimate/', 'ActiveSuppliersList.php', '4All', '10', NULL, 'Yes', 'Estimate Forms', NULL, NULL, NULL, NULL),
(457, 110, 'Purchaser Contact Information', '../_gen/', 'GENListProject.php?ReportName=../_gen/HSPurchaserInfo.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(458, 120, 'Manage Contact Information', '../_gen/', 'GENListProject.php?ReportName=../myportaladmin/a_contactinfo.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(459, 130, 'Manage Sale Documents', '../_gen/', 'GENListProject.php?ReportName=../myportaladmin/a_documentman.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(460, 210, 'Manage Document Access', '../myportaladmin/', 'docaccess.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(461, 220, 'Manage Multimedia', '../myportaladmin/', 'a_media.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(462, 230, 'Manage Customer Manuals', '../myportaladmin/', 'a_manuals.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(463, 240, 'Manage Scheduling', '../myportaladmin/', 'a_scheduling.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(464, 250, 'Manage Maintenance', '../myportaladmin/', 'a_maintenance.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(465, 260, 'Manage News', '../myportaladmin/', 'a_news.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(466, 270, 'Manage Services', '../myportaladmin/', 'a_service.php?', '4All', '10', NULL, 'Yes', 'MyPortal Admin', NULL, NULL, NULL, NULL),
(504, 2100, 'Trades - Deficiencies By Trade By Unit By Inspection Date', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSReportTradesByTradeByUnitByInspectionDate.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(503, 1900, 'Trades - Appointment Calendar By Site', '../_gen/', 'GENListProject.php?varShowProject=1&ReportName=../DBPass/HSTradeCalendar.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(505, 2330, 'Trades - Deficiency Count By Type For Site - Aged', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportOutstandingDefByTradeByTypeAged.php&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(506, 2420, 'Trades - Deficiency Detail By Deficiency Type, Site and Phase', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php&varShowProject=1&varShowPhase=1&var_GoToTradeListFromHere=Yes', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(484, 29, 'Associate Trades to Deficiency Groups', '../DBPass/', 'HSDefGroups.php?', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, '484', '117', NULL),
(485, 130, 'Verify Tarion Login', '../Tarion/', 'ViewTarionRecords.php?testconn=1', '4All', '10', 'Yes', 'Yes', 'Tarion Admin', NULL, NULL, NULL, NULL),
(501, 710, 'Deficiencies - List All for PA', '../DBPass/', 'HSDeficiencyListAllforPA.php?', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(472, 10, 'Labels - By Site', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Site', '4All', '22', NULL, 'Yes', 'CDMS Labels', NULL, NULL, NULL, NULL),
(496, 110, 'Deficiency Investigation', '../_builder/', 'FormDeficiencyInvestigation.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(468, 30, 'Stage Definition Detail', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSStageDetail.php&varShowProject=1&varShowPhase=1&varShowLotClass=1', '4All', '15', NULL, 'Yes', 'SOS Admin', NULL, NULL, NULL, NULL),
(490, 10, 'Zancor Checklist', '../_builder/', 'HSReportDeficiencyCheckList.php?', 'Zan', '10', 'Yes', 'Yes', 'Form', NULL, '490', '197', NULL),
(502, 1800, 'Address - Trades - Deficiency Detail - Seasonal', '../_gen/', 'GENListTradesWithAssignments.php?var_MiscParams=~var_ShowAddress=Yes~var_MiscParams=Seasonal&ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(469, 100, 'Site Schedule Late Stages (Site/Phase/Lot Class)', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSStageLateActivity.php&varShowCentre=1&varShowPhase=1&varShowLotClass=1', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(470, 110, 'Site Schedule Late Stages (Site/Phase/Lot)', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSStageLateActivity.php&varShowCentre=1&varShowPhase=1&varShowLot=1', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(471, 120, 'Site Schedule Late Stages (Site/Phase)', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSStageLateActivity.php&varShowCentre=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'SOS Schedule', NULL, NULL, NULL, NULL),
(500, 460, 'Deficiencies - Selected Trade By Floor By Unit', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSReportTradesByUnitByFloorGroupByTrade.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(473, 20, 'Labels - By Phase', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Phase', '4All', '22', NULL, 'Yes', 'CDMS Labels', NULL, NULL, NULL, NULL),
(474, 30, 'Labels - By Lot', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=Single', '4All', '22', NULL, 'Yes', 'CDMS Labels', NULL, NULL, NULL, NULL),
(475, 40, 'Labels - By Closing', '../_gen/', 'GENSelectDates.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Closing', '4All', '22', NULL, 'Yes', 'CDMS Labels', NULL, NULL, NULL, NULL),
(476, 50, 'Labels - By Site & Closing', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_SiteClosing', '4All', '22', NULL, 'Yes', 'CDMS Labels', NULL, NULL, NULL, NULL),
(477, 60, 'Labels - By Phase & Closing', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_PhaseClosing', '4All', '22', NULL, 'Yes', 'CDMS Labels', NULL, NULL, NULL, NULL),
(478, 10, 'Labels - By Site', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Site', '4All', '10', NULL, 'Yes', 'CMS Labels', NULL, NULL, NULL, NULL),
(479, 20, 'Labels - By Phase', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Phase', '4All', '10', NULL, 'Yes', 'CMS Labels', NULL, NULL, NULL, NULL),
(480, 30, 'Labels - By Lot', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=Single', '4All', '10', NULL, 'Yes', 'CMS Labels', NULL, NULL, NULL, NULL),
(481, 40, 'Labels - By Closing', '../_gen/', 'GENSelectDates.php?ReportName=../_gen/GENLabel.php&varLabelType=By_Closing', '4All', '10', NULL, 'Yes', 'CMS Labels', NULL, NULL, NULL, NULL),
(482, 50, 'Labels - By Site & Closing', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_SiteClosing', '4All', '10', NULL, 'Yes', 'CMS Labels', NULL, NULL, NULL, NULL),
(483, 60, 'Labels - By Phase & Closing', '../_gen/', 'GENListProject.php?ReportName=../_gen/GENLabel.php&varLabelType=By_PhaseClosing', '4All', '10', NULL, 'Yes', 'CMS Labels', NULL, NULL, NULL, NULL),
(487, 310, 'Appointments View - Trade - To be Sent', '../_rep/', 'EmailAppointmentTrade.php?var_ViewOnly=1', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(488, 320, 'Appointments View - Purchaser - To be Sent', '../_rep/', 'EmailAppointmentPurchaser.php?var_ViewOnly=1', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(491, 30, 'Checklist - By Type', '../_builder/', 'FormDeficiencyCheckList.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(492, 40, 'Checklist (Two Step) - By Type', '../_builder/', 'FormDeficiencyCheckList2Step.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(493, 60, 'Cover Sheet', '../_builder/', 'LECoverSheet.php?', '4All', '10', 'Yes', 'Yes', 'Form', NULL, NULL, NULL, NULL),
(768, 117, '(27) Deficiencies - List All - By Site and Phase - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowProject=1&varShowPhase=1&var_MiscParams=~var_DaysOut=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(775, 124, '(34) REMOVE: Deficiencies - By Site - Unassigned Summary', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassignedSummary.php&varShowProject=1', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(769, 10, 'Lot Number - Site/Phase ', '../_gen/', 'GENListProject.php?ReportName=../_gen/HSPurchaserInfo.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '8', NULL, 'Yes', 'Tarion Search', NULL, '1', '120', NULL),
(736, 10, 'Initialize New Accounts', '../positivepay/', 'CFPReadXLSXFile.php?var_KeepFile=1', '4All', '5', 'Yes', 'Yes', 'PositivePay Admin', NULL, NULL, NULL, NULL),
(738, 10, 'Pinnacle Checklist - PDI Only', '../_builder/', 'HSReportDeficiencyCheckListPDIOnly.php?', 'Pin', '10', 'Yes', 'Yes', 'Form', NULL, '490', '197', NULL),
(739, 30, 'Email Document', '../BuildPro/', 'DocumentEmail.php?', '4All', '3', 'Yes', 'Yes', 'BuildPro Menu', NULL, NULL, NULL, NULL),
(740, 40, 'Lot Address ', '../_gen/', 'HSCustSearch.php?TheDescription=LotAddress', '4All', '5', NULL, 'Yes', 'DBPass Search', NULL, '5', '83', NULL),
(741, 9010, 'Concord Export Deficiency Assignment', '../_gen/', 'GENListProject.php?var_ShowAvailable=1&var_MiscParams=Quality%20Control&ReportName=../DBPass/HSReportExportDeficiencyAndAssignment.php&varShowProject=1&varShowPhase=1', 'Con', '15', NULL, 'Yes', 'DBPass Report', 'new', NULL, NULL, NULL),
(742, 10, 'Amacon Construction Menu', '../_builder/', 'AmaConstructionMenu.php?', 'Ama', '15', NULL, 'Yes', 'DBPass Forms', NULL, NULL, NULL, NULL),
(743, 20, 'Concord Menu', '../_gen/', 'GENListProject.php?ReportName=../_builder/ConMenu.php&varShowProject=1&varShowPhase=1', 'Con', '15', 'Yes', 'Yes', 'DBPass Forms', NULL, NULL, NULL, NULL),
(744, 30, 'Concord Construction Menu', '../_builder/', 'ConConstructionMenu.php?', 'Con', '15', 'Yes', 'Yes', 'DBPass Forms', NULL, NULL, NULL, NULL),
(745, 40, 'Concord New Construction Menu', '../_builder/', 'ConNewConstructionMenu.php?', 'Con', '15', 'Yes', 'Yes', 'DBPass Forms', NULL, NULL, NULL, NULL),
(770, 46, '(19) Deficiencies - Stats By Site - Open Deficiencies', '../DBPass/', 'HSReportStatsByCentre.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(749, 21, '(11) EXECUTIVE: Deficiencies - List All - By Site - No Appointments', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowCentre=1&var_MiscParams=~var_ShowAppointment=None', '4All', '99', 'No', 'Yes', 'DBPass Report', '', '53', '92', NULL),
(750, 845, 'Deficiencies - List All - No Appointments', '../DBPass/', 'HSDeficiencyListAll.php?var_ShowAppointment=None', '4All', '15', 'No', 'Yes', 'DBPass Report', '', '41', '95', NULL),
(751, 855, 'Deficiencies - By Site and Phase - Repairs Past Due', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyRepairPastDue.php&varShowProject=1&varShowPhase=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(752, 122, '(32) REMOVE: Deficiencies - List All - Not Sent - Days Out', '../DBPass/', 'HSDeficiencyAssignmentNotSent.php?&var_DaysOut=1', '4All', '88', 'No', 'Yes', 'DBPass Report', '', '41', '95', NULL),
(753, 121, '(31) REMOVE: Trades - Deficiency Detail - Not Sent', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSDeficiencyAssignmentNotSent.php', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(754, 22, '(12) EXECUTIVE: Deficiencies Detail - By Site - Not Sent', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyAssignmentNotSent.php&varShowCentre=1', '4All', '44', 'No', 'Yes', 'DBPass Report', '', '53', '92', NULL),
(755, 50, 'Work Force Ready', '../SOS/', 'SOSWorkReady.php?', '4All', '10', 'Yes', 'Yes', 'SOS Report', NULL, NULL, NULL, NULL),
(756, 430, 'Deficiencies - Stats By Floor', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDeficienciesByFloor.php&varShowProject=1&varShowPhase=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(757, 1, '(01) EXECUTIVE: Deficiencies - Stats By Site - Deficiency Summary', '../DBPass/', 'HSReportStatsByCentreDetail.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(663, 45, 'CDMS Bulk Email', '../CMS/', 'BulkEmail.php?', '4All', '99', 'Yes', 'Yes', 'CDMS Admin', NULL, NULL, NULL, NULL),
(772, 112, '(25) Appointment - By Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAppointmentSite.php&var_CallDateSelection=Yes&varShowProject=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(773, 113, '(26) Appointment - By Trade', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSReportAppointmentTrade.php&var_CallDateSelection=Yes', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(774, 130, '(37) REMOVE: Deficiencies - List All - All Types', '../DBPass/', 'HSDeficiencyListAll.php?&var_DaysOut=1', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(662, 70, 'CMS Bulk Email', '../CMS/', 'BulkEmail.php?', '4All', '99', 'Yes', 'Yes', 'CMS Admin', NULL, NULL, NULL, NULL),
(777, 852, 'Deficiencies -  By Site and Phase - Unassigned Summary', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassignedSummary.php&varShowProject=1&varShowPhase=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(554, 130, 'Upload - PO', '../BuildPro/', 'DocumentUpload.php?uploadtype=POUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(555, 220, 'Status - PO', '../BuildPro/', 'DocumentStatus.php?uploadtype=POUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(556, 320, 'Non-Viewed - PO', '../BuildPro/', 'ListNonViewed.php?uploadtype=POUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(557, 430, 'Edit - PO', '../BuildPro/', 'DocumentEdit.php?uploadtype=POUpload', '4All', '10', NULL, 'Yes', 'BuildPro Document', NULL, NULL, NULL, NULL),
(767, 14, '(10) EXECUTIVE: Deficiencies - List All - By Site - All Types - Non-Seasonal', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowProject=1&var_MiscParams=~var_DaysOut=1~var_SeasonalYNB=No', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(759, 5, '(05) EXECUTIVE: QC-PDI - Progress By Site', '../DBPass/', 'HSReportPDIProgressCompletedQC.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(763, 846, 'Deficiencies - List All  - By Site - No Show', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowCentre=1&var_MiscParams=~var_ShowAppointment=NoShow', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(764, 41, 'Add Edit Deficiency Keyword', '../_gen/', 'GENListProject.php?ReportName=../DBPass/AEDeficiencyKeyword.php?&varShowCentre=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Admin', NULL, NULL, NULL, NULL),
(776, 850, 'Deficiencies - Unassigned Summary', '../DBPass/', 'HSDeficiencyListAllUnassignedSummary.php?', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(765, 123, '(33) REMOVE: Deficiencies - Unassigned Summary', '../DBPass/', 'HSDeficiencyListAllUnassignedSummary.php?', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(766, 125, '(35) REMOVE: Deficiencies - By Site and Phase - Unassigned Summary', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassignedSummary.php&varShowProject=1&varShowPhase=1', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(565, 50, 'Portal BuildProJr List Units', '../../portal/BuildProJr/', 'ListUnitsWithDocs.php?', '4All', '5', 'Yes', 'Yes', 'DocManagement Admin', NULL, NULL, NULL, NULL),
(737, 10, 'Pinnacle Checklist', '../_builder/', 'HSReportDeficiencyCheckList.php?', 'Pin', '10', 'Yes', 'Yes', 'Form', NULL, '490', '197', NULL),
(747, 30, '(17) Deficiencies - By Site - Stats By Lot Detail - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportStatsByUnitByTypeDetail.php&varShowProject=1&varShowPhase=1', '4All', '44', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(783, 145, 'Quality Control - Deficiency Punch List', '../DBPass/', 'QCDeficiencyPunchList.php?', '4All', '80', 'Yes', 'Yes', 'DBPass Report', 'test', NULL, NULL, NULL),
(782, 24, '(14) EXECUTIVE: Deficiencies - List All - By Site - No Show', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowCentre=1&var_MiscParams=~var_ShowAppointment=NoShow', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(781, 120, '(30) REMOVE: Deficiencies - List All - No Appointments', '../DBPass/', 'HSDeficiencyListAll.php?var_ShowAppointment=None', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(780, 23, '(13) EXECUTIVE: Deficiencies - Repairs Past Due', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyRepairPastDue.php&varShowProject=1&varShowPhase=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(779, 8, '(08) EXECUTIVE: Trade Analysis - GC Confirmed vs Confirmed - Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportStatsByTradeDeficiencyVSAssignment.php&varShowProject=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(778, 7, '(07) EXECUTIVE: Trade Analysis - GC Confirmed vs Confirmed - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportStatsByTradeDeficiencyVSAssignment.php&varShowProject=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(735, 40, 'Work Force Statistics', '../SOS/', 'SOSWorkStats.php?', '4All', '10', 'Yes', 'Yes', 'SOS Report', NULL, NULL, NULL, NULL),
(733, 840, 'Deficiencies - List All - Unassigned By Site and Phase', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassigned.php&varShowProject=1&varShowPhase=1', '4All', '15', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(593, 580, 'Suppliers List', '../estimate/', 'ActiveSuppliersList.php', '4All', '10', NULL, 'Yes', 'Estimate Forms', NULL, NULL, NULL, NULL),
(797, 2, '(02) EXECUTIVE: Deficiencies Outstanding - By Site - Stats By Lot Detail - All Types', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportStatsByUnitByTypeDetail.php&varShowProject=1&varShowPhase=1&var_MiscParams=~var_Open=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(796, 812, 'Deficiencies - List All - By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSDeficiencyListAll.php', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(795, 431, 'Deficiencies - Stats By Floor By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportDeficienciesByFloor.php&varShowProject=1&varShowPhase=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(794, 429, 'Deficiencies - Stats By Lot By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportDeficienciesByLot.php&varShowProject=1&varShowPhase=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(793, 428, 'Deficiencies - Stats By Lot', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDeficienciesByLot.php&varShowProject=1&varShowPhase=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(792, 135, 'Decor Control Sheet', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDecorNotes.php&varShowProject=1&varShowPhase=1', '4All', '80', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(791, 203, 'Homeowner Availability Summary', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=PhoneEmailAvail', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(790, 126, '(36) REMOVE: Deficiencies - List All - Unassigned', '../DBPass/', 'HSDeficiencyListAllUnassigned.php?', '4All', '88', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(789, 36, 'Post from Single Line Vendor Invoices', '../_gen/', 'GENListProject.php?var_ToggleCP=Project&varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../irsplus/VendorInvoiceOutstanding.php', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(788, 32, 'Add Single Line Vendor Invoices', '../_gen/', 'GENListProject.php?var_ToggleCP=Project&varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../irsplus/AEVendorInvoiceMultiple.php', '4All', '10', 'No', 'Yes', 'IRS Forms', '', NULL, NULL, NULL),
(787, 3455, 'Close Deficiencies By Print Session', '../DBPass/', 'HSCloseDeficiencyByTrade.php?var_Session=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(786, 2345, 'Trades - Deficiency Count By Type For Site - Aged By Date', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportOutstandingDefByTradeByTypeAged.php&var_CallDateSelection=Yes&StartDateNumberFromToday=-30&EndDateNumberFromToday=0&varShowProject=1', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(785, 2340, 'Trades - Deficiency Count By Type - Aged By Date', '../_gen/', 'GENSelectDates.php?StartDateNumberFromToday=-30&EndDateNumberFromToday=0&ReportName=../DBPass/HSReportOutstandingDefByTradeByTypeAged.php&var_MiscParams=PDI', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(784, 146, 'Quality Control - Deficiency Punch List Report', '../_gen/', 'GENListProject.php?ReportName=../DBPass/QCReportDeficiencyPunchList.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '80', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(623, 20, 'Lot Definition / Plotting By Site/Phase (Low Rise)', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/Main.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(624, 20, 'Site Plan By Site/Phase', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/Client.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'SitePlan LowRise', NULL, NULL, NULL, NULL),
(625, 30, 'Unit Definition / Plotting By Site/Building/Floor (High Rise)', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/Main.php&varShowProject=1&varShowPhase=1&varShowFloor=1', '4All', '10', 'Yes', 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(626, 20, 'Site Plan By Site/Building/Floor', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/Client.php&varShowProject=1&varShowPhase=1&varShowFloor=1', '4All', '10', 'Yes', 'Yes', 'SitePlan HighRise', NULL, NULL, NULL, NULL),
(627, 40, 'Siting Analysis - Conflicting Lots', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/SitingAnalysis.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(628, 10, 'Add Edit Images - Site Map', '../SitePlan/', 'AESiteMapPlan.php?', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(629, 60, 'Add Edit Menu - User Defined', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/AESiteMapMenuUser.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(630, 70, 'Add Edit Images - Floor/Model/Lot Class (Fancy Box)', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/AESiteMapImage.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(631, 30, 'PDF Site Plan By Site/Phase', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/SitePlanPdfApps2.php&varShowProject=1&varShowPhase=1', '4All', '10', 'Yes', 'Yes', 'SitePlan LowRise', NULL, NULL, NULL, NULL),
(632, 30, 'PDF Site Plan By Site/Building/Floor', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/SitePlanPdfApps2.php&varShowProject=1&varShowPhase=1&varShowFloor=1', '4All', '10', 'Yes', 'Yes', 'SitePlan HighRise', NULL, NULL, NULL, NULL),
(633, 50, 'Add Edit Menu - Standard', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/AESiteMapMenuStandard.php&varShowProject=1&varShowPhase=1', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(634, 10, 'Launch Positive Pay', '../positivepay/', 'CFPReadXLSXFile.php?var_LaunchWriteBank=1&var_LaunchDownloadFile=1', '4All', '10', 'Yes', 'Yes', 'PositivePay Menu', NULL, NULL, NULL, NULL),
(635, 20, 'Read Latest Excel File', '../positivepay/', 'CFPReadXLSXFile.php?', '4All', '10', 'Yes', 'Yes', 'PositivePay Menu', NULL, NULL, NULL, NULL),
(636, 100, 'Create Bank File Only', '../positivepay/', 'CFPWriteBankFile.php?', '4All', '10', 'Yes', 'Yes', 'PositivePay Menu', NULL, NULL, NULL, NULL),
(637, 110, 'Edit Accounts', '../positivepay/', 'CFPAEAccount.php?', '4All', '10', 'Yes', 'Yes', 'PositivePay Admin', NULL, NULL, NULL, NULL),
(638, 30, 'Create Bank File And Download', '../positivepay/', 'CFPWriteBankFile.php?var_LaunchDownloadFile=1', '4All', '10', 'Yes', 'Yes', 'PositivePay Menu', NULL, NULL, NULL, NULL),
(639, 40, 'Download Latest Bank File', '../positivepay/', 'CFPDownloadBankFile.php?', '4All', '10', 'Yes', 'Yes', 'PositivePay Menu', NULL, NULL, NULL, NULL),
(640, 210, 'Recreate Bank File Date/Time And Download', '../positivepay/', 'CFPSelectDateTime.php?', '4All', '10', 'Yes', 'Yes', 'PositivePay Admin', NULL, NULL, NULL, NULL),
(641, 10, 'Add Edit Status Types', '../../apps2/InOut/', 'AEInOutStatus.php?', '4All', '10', NULL, 'Yes', 'InOut Admin', NULL, NULL, NULL, NULL),
(642, 10, 'Log In', '../../apps2/InOut/', 'InOutLogin.php?', '4All', '10', NULL, 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL),
(643, 30, 'In/Out Status Board', '../../apps2/InOut/', 'InOutStatus.php?', '4All', '10', 'Yes', 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL),
(644, 60, 'In/Out Activity Log', '../../apps2/InOut/', 'InOutActivityLog.php?', '4All', '10', NULL, 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL),
(645, 50, 'In/Out Text Log', '../../apps2/InOut/', 'InOutTextLog.php?', '4All', '10', NULL, 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL),
(646, 20, 'Add Edit In/Out Users', '../../apps2/InOut/', 'AEInOutUser.php?', '4All', '10', NULL, 'Yes', 'InOut Admin', NULL, NULL, NULL, NULL),
(647, 40, 'In/Out Attendance', '../../apps2/InOut/', 'InOutAttendance.php?', '4All', '10', 'Yes', 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL),
(648, 20, 'Log Out', '../../apps2/InOut/', 'InOutLogout.php?', '4All', '10', NULL, 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL),
(649, 70, 'In/Out Attendance Log', '../../apps2/InOut/', 'InOutAttendanceReport.php?', '4All', '10', NULL, 'Yes', 'InOut Menu', NULL, NULL, NULL, NULL);
INSERT INTO `tb_AdminFormNew` (`col_AdminFormID`, `col_Order`, `col_LabelName`, `col_Path`, `col_URL`, `col_Parameter`, `col_SecurityLevel`, `col_OpenOnTopYN`, `col_ShowAvailableYN`, `col_Type`, `col_Comment`, `col_HeaderDefinition`, `col_FooterDefinition`, `col_MiscValue`) VALUES
(650, 80, 'Add Edit Images - Model Graphic', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/AEModelGraphic.php&varShowProject=1&varShowModel=1', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(651, 90, 'Viewer - Model Graphic By Site/Model', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/ModelGraphicViewer.php&varShowProject=1&varShowModel=1', '4All', '10', 'Yes', 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(652, 100, 'Viewer - Model Graphic By Site/Phase/Lot Class', '../_gen/', 'GENListProject.php?ReportName=../SitePlan/ModelGraphicViewer.php&varShowProject=1&varShowPhase=1&varShowLotClass=1', '4All', '10', 'Yes', 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(653, 110, 'Add Edit Data Files', '../SitePlan/', 'AESiteMapFileCopy.php?', '4All', '10', NULL, 'Yes', 'SitePlan Admin', NULL, NULL, NULL, NULL),
(654, 10, 'Target Closings', '../_gen/', 'GENListProject.php?ReportName=../SOS/SOSClosing.php&varShowProject=1&varShowPhase=1', '4All', '9', NULL, 'Yes', 'SOS Admin', NULL, NULL, NULL, NULL),
(655, 184, 'Addresses Compare', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressCompare.php&varShowProject=1&varShowPhase=1', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(656, 185, 'Addresses and Unit Compare', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressCompare.php&varShowProject=1&varShowPhase=1&var_MiscParams=apt', '4All', '99', NULL, 'Yes', 'DBPass Report', NULL, NULL, NULL, NULL),
(659, 310, 'Zancor Letter - Warranty Service', '../_builder/', 'LEWarrantyService.php?', 'Zan', '10', 'Yes', 'Yes', 'Form', NULL, '', '', NULL),
(658, 340, 'Zancor Letter - Record Access', '../_builder/', 'LERecordAccess.php?', 'Zan', '10', 'Yes', 'Yes', 'Form', NULL, '', '', NULL),
(760, 96, '(21) PASS 30-Day Trade Warning - By Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportDeficiencyWarning.php&varShowProject=1&var_MiscParams=~var_Days=30~var_DaysOut=1~var_Menu=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(660, 320, 'Zancor Letter - Withdrawal', '../_builder/', 'LEWithdrawal.php?', 'Zan', '10', 'Yes', 'Yes', 'Form', NULL, '', '', NULL),
(657, 330, 'Zancor Letter - Ack Repairs', '../_builder/', 'LEAckRepairs.php?', 'Zan', '10', 'Yes', 'Yes', 'Form', NULL, '', '', NULL),
(771, 97, '(22) Homeowner Availability Summary', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSReportAddressPhonesEmail.php&varShowProject=1&varShowPhase=1&var_MiscParams=PhoneEmailAvail', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(758, 4, '(04) EXECUTIVE: Deficiencies - Service Letter', '../DBPass/', 'HSReportServiceLetter.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(734, 30, 'Work Force Requirements', '../SOS/', 'SOSWorkForce.php?', '4All', '10', 'Yes', 'Yes', 'SOS Report', NULL, NULL, NULL, NULL),
(798, 3, '(03) EXECUTIVE: Deficiencies Outstanding - By Site - Stats By Lot Detail - By Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSReportStatsByUnitByTypeDetail.php&varShowProject=1&varShowPhase=1&var_MiscParams=~var_Open=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(799, 49, '(20) (Fa) Deficiencies Detail - By Site - Not Sent - Excluding Heathwood ', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyAssignmentNotSent.php&varShowCentre=1&var_MiscParams=~var_HideCompanyName=Heathwood', 'Her', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(800, 9, '(09) EXECUTIVE: Trades - Deficiency Detail ', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(801, 812, 'Deficiencies - List All - By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSDeficiencyListAll.php', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(802, 812, 'Deficiencies - List All - By Deficiency Type', '../_gen/', 'GENListDefType.php?ReportName=../DBPass/HSDeficiencyListAll.php', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(803, 25, '(15) EXECUTIVE: Deficiency - Deficiency Count By Month - By Site ', '../DBPass/', 'HSReportDefSummByMonthCentre.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(804, 26, '(16) EXECUTIVE: Deficiency - Lot Count By Month - By Site ', '../DBPass/', 'HSReportDefSummByMonthCentreLotCount.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(805, 100, '(24) Deficiencies - List All - Unassigned By Site', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAllUnassigned.php&varShowProject=1', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(806, 118, '(28) Customer Care Warranty', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSCustomerCareWarranty.php&varShowProject=1&varShowPhase=1', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(807, 119, '(29) Conciliation - By Customer', '../DBPass/', 'HSConciliationListByCustomerSummary.php?', '4All', '10', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(808, 2435, 'Trades - Deficiency Detail By Site - Rejections Pending GC', '../_gen/', 'GENListProject.php?varShowProject=1&var_GoToTradeListFromHere=Yes&ReportName=../DBPass/HSDeficiencyDetailByTradeRejectionsPendingGC.php', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(809, 147, 'Quality Control - Deficiency Punch List - Not Sent', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyAssignmentNotSent.php&varShowCentre=1&var_MiscParams=punchlist', '4All', '15', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(811, 20, '(10b) EXECUTIVE: Deficiencies - List All - By Site - All Types - Seasonal Only', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowProject=1&var_MiscParams=~var_DaysOut=1~var_SeasonalYNB=Yes', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(810, 17, '(10a) EXECUTIVE: Deficiencies - List All - By Site - All Types - Exterior Only', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAll.php&varShowProject=1&var_MiscParams=~var_DaysOut=1~var_Room=Exterior%', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(812, 24, '(14) EXECUTIVE: Deficiencies - List All  - By Site - No Show', '../_gen/', 'GENListProject.php?ReportName=../DBPass/HSDeficiencyListAppointment.php&varShowCentre=1&var_MiscParams=~var_ShowAppointment=NoShow', '4All', '99', 'No', 'Yes', 'DBPass Report', '', NULL, NULL, NULL),
(835, 120, 'Add Edit Contract Status', '../SOS/', 'AEContractStatus.php?', '4All', '9', 'No', 'Yes', 'SOS Admin', '', NULL, NULL, NULL),
(834, 60, 'Lot Scheduling Summary', '../_gen/', 'GENListProject.php?ReportName=../SOS/LotSchedulingSummary.php&varShowProject=1&varShowPhase=1', '4All', '10', 'No', 'Yes', 'SOS Report', '', NULL, NULL, NULL),
(846, 445, 'Edit - Model Group', '../BuildPro/', 'DocumentEdit.php?uploadtype=ModelGroup', '4All', '10', 'No', 'Yes', 'BuildPro Document', '', NULL, NULL, NULL),
(878, 210, 'Construction Closing List', '../_gen/', 'GENListProject.php?ReportName=../SOS/ConstructionClosingList.php&varShowProject=1&varShowPhase=1', '4All', '10', 'No', 'Yes', 'SOS Report', '', NULL, NULL, NULL),
(877, 200, 'Sales Closing List', '../_gen/', 'GENListProject.php?ReportName=../CMS/SalesClosingList.php&varShowProject=1&varShowPhase=1', '4All', '10', 'No', 'Yes', 'CDMS Report', '', NULL, NULL, NULL),
(843, 135, 'Upload - Model Group', '../BuildPro/', 'DocumentUpload.php?uploadtype=ModelGroup', '4All', '10', 'No', 'Yes', 'BuildPro Document', '', NULL, NULL, NULL),
(844, 235, 'Status - Model Group', '../BuildPro/', 'DocumentStatus.php?uploadtype=ModelGroup', '4All', '10', 'No', 'Yes', 'BuildPro Document', '', NULL, NULL, NULL),
(845, 335, 'Non-Viewed - Model Group', '../BuildPro/', 'ListNonViewed.php?uploadtype=ModelGroup', '4All', '10', 'No', 'Yes', 'BuildPro Document', '', NULL, NULL, NULL),
(856, 56, 'Decor', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=Decor', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'DE'),
(857, 55, 'Extras', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=Extras', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'EX'),
(858, 54, 'Indirect Construction', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=Indirect%20Construction', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'IN'),
(859, 52, 'Sales', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_POPrefix=SA', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'SA'),
(860, 51, 'Land', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=Land', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'LD'),
(864, 53, 'Marketing', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_POPrefix=MA', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'MA'),
(865, 57, 'Recoverables', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_POPrefix=RE', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'RE'),
(855, 20, 'Decor Work/Purchase Order', '../_gen/', 'GENListProject.php?ReportName=../PO/DecorWorkOrder.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'No', 'Yes', 'PO List', '', NULL, NULL, NULL),
(866, 30, 'Payment Approvals', '../PO/', 'POPaymentApproval.php?', '4All', '10', 'No', 'Yes', 'PO List', '', NULL, NULL, NULL),
(867, 15, 'Lot Invoices', '../_gen/', 'GENListProject.php?ReportName=../PO/InvoiceDisplay.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '10', 'No', 'Yes', 'PO List', '', NULL, NULL, NULL),
(852, 10, 'Decor Catalog', '../Decor/', 'ShowUpgrades.php?', '4All', '5', 'No', 'Yes', 'Decor Search', '', NULL, NULL, NULL),
(853, 15, 'Decor Control Sheet', '../_gen/', 'GENListProject.php?ReportName=../Decor/HSReportDecorNotes.php&varShowProject=1&varShowPhase=1', '4All', '5', 'No', 'Yes', 'Decor Search', '', NULL, NULL, NULL),
(854, 5, 'Lot Extras', '../_gen/', 'GENListProject.php?ReportName=../Decor/LotDetailExtras.php&varShowProject=1&varShowPhase=1&varShowLot=1', '4All', '5', 'No', 'Yes', 'Decor Search', '', NULL, NULL, NULL),
(869, 65, 'Completion and Payment', '../SOS/', 'SOSCompletionPayment.php?', '4All', '5', 'No', 'Yes', 'SOS Report', '', NULL, NULL, NULL),
(870, 70, 'Batch Completion Slips', '../SOS/', 'SOSBatchCompletion.php?dateTxt1=&var_NoEmail=1', '4All', '5', 'Yes', 'Yes', 'SOS Report', '', NULL, NULL, NULL),
(847, 12, 'Add Edit Model Groups', '../BuildPro/', 'AEModelGroups.php?', '4All', '10', 'No', 'Yes', 'BuildPro Admin', '', NULL, NULL, NULL),
(879, 54, 'Finance and General', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=Finance%20and%20General', '4All', '99', 'No', 'Yes', 'PO', '', NULL, NULL, 'FI'),
(880, 30, 'PE - Lot Specific', '../_gen/', 'GENListProject.php?ReportName=../PO/POAEPO.php&varShowPhase=1&varShowLot=1&var_MiscParams=var_PurchaseOrderType=PE%20-%20Lot%20Specific', '4All', '10', NULL, 'Yes', 'PO', NULL, '315', '153', 'PE'),
(891, 65, 'CDMS Bulk Email Contact', '../CMS/', 'BulkEmailContact.php?', '4All', '15', 'Yes', 'Yes', 'CDMS Admin', '', NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminPaymentType`
--

CREATE TABLE IF NOT EXISTS `tb_AdminPaymentType` (
  `col_AdminPaymentTypeID` int(11) DEFAULT NULL,
  `col_PaymentType` varchar(65) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminStage`
--

CREATE TABLE IF NOT EXISTS `tb_AdminStage` (
  `col_AdminStageID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_SaturdayWeight` decimal(10,2) DEFAULT NULL,
  `col_SundayWeight` decimal(10,2) DEFAULT NULL,
  `col_StartThreshold` decimal(10,2) DEFAULT NULL,
  `col_EndThreshold` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`col_AdminStageID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminTax`
--

CREATE TABLE IF NOT EXISTS `tb_AdminTax` (
  `col_AdminTaxID` int(11) NOT NULL AUTO_INCREMENT,
  `col_TaxName` varchar(10) DEFAULT NULL,
  `col_TaxRate` decimal(4,2) DEFAULT NULL,
  PRIMARY KEY (`col_AdminTaxID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminTradeContractCostCodes`
--

CREATE TABLE IF NOT EXISTS `tb_AdminTradeContractCostCodes` (
  `col_ListCompanyID` int(11) NOT NULL DEFAULT '0',
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_SubContractID` varchar(50) NOT NULL,
  `col_CostCode` varchar(50) NOT NULL,
  `col_StageName` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`col_ListCompanyID`),
  KEY `indxCentrePhaseStageLotType` (`col_ListCompanyID`,`col_Centre`,`col_Phase`,`col_Type`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_AdminVendorTax`
--

CREATE TABLE IF NOT EXISTS `tb_AdminVendorTax` (
  `col_AdminVendorTaxID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_TaxName` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_AdminVendorTaxID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Appointment`
--

CREATE TABLE IF NOT EXISTS `tb_Appointment` (
  `col_AppointmentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PostDate` date DEFAULT NULL,
  `col_AppointmentDate` date DEFAULT NULL,
  `col_AppointmentTime` varchar(40) DEFAULT NULL,
  `col_CustConfirmedWith` varchar(65) DEFAULT NULL,
  `col_CustConfirmed` date DEFAULT NULL,
  `col_TradeConfirmedWith` varchar(65) DEFAULT NULL,
  `col_TradeConfirmed` date DEFAULT NULL,
  `col_AppointmentNotes` varchar(200) DEFAULT NULL,
  `col_DeficiencyAssignmentID` int(11) DEFAULT NULL,
  `col_DeficiencyID` int(11) DEFAULT NULL,
  `col_Active_YN` varchar(10) DEFAULT NULL,
  `col_AppointmentDuration` varchar(6) DEFAULT NULL,
  `col_EntryPermission` varchar(65) DEFAULT NULL,
  `col_CancelledBy` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_AppointmentID`),
  KEY `col_DeficiencyAssignmentID` (`col_DeficiencyAssignmentID`),
  KEY `col_DeficiencyAssignmentID_2` (`col_DeficiencyAssignmentID`),
  KEY `indxDefID` (`col_DeficiencyID`),
  KEY `indx` (`col_DeficiencyAssignmentID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=4 ;

--
-- Dumping data for table `tb_Appointment`
--

-- Table structure for table `tb_AvailableProjects`
--

CREATE TABLE IF NOT EXISTS `tb_AvailableProjects` (
  `col_AvailableProjectsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UsersName` varchar(100) NOT NULL DEFAULT '',
  `col_Project` varchar(60) NOT NULL DEFAULT '',
  `col_Centre` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`col_AvailableProjectsID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=54 ;

--
-- Dumping data for table `tb_AvailableProjects`
--

--
-- Table structure for table `tb_BackupLogs`
--

CREATE TABLE IF NOT EXISTS `tb_BackupLogs` (
  `col_BackupLogsId` int(11) DEFAULT NULL,
  `col_UserName` varchar(25) DEFAULT NULL,
  `col_WorkStationID` varchar(15) DEFAULT NULL,
  `col_ComputerName` varchar(15) DEFAULT NULL,
  `col_BackupTime` datetime DEFAULT NULL,
  `col_BackupDate` datetime DEFAULT NULL,
  `col_BackupDone` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Batch`
--

CREATE TABLE IF NOT EXISTS `tb_Batch` (
  `col_BatchID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_Report` varchar(100) DEFAULT NULL,
  `col_RunDay` varchar(100) DEFAULT NULL,
  `col_LastRunDate` date DEFAULT NULL,
  `col_MinimumDaysAfterLastRun` varchar(10) NOT NULL DEFAULT '0',
  `col_Path` varchar(100) DEFAULT NULL,
  `col_URL` varchar(255) DEFAULT NULL,
  `col_Comment` varchar(255) DEFAULT NULL,
  `col_Subject` varchar(255) DEFAULT NULL,
  `col_Link` varchar(255) DEFAULT NULL,
  `col_ReplyEmail` varchar(255) DEFAULT NULL,
  `col_SentFromEmail` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`col_BatchID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=39 ;

--
-- Dumping data for table `tb_Batch`
--
--------------------------------------------------------

--
-- Table structure for table `tb_BatchSend`
--

CREATE TABLE IF NOT EXISTS `tb_BatchSend` (
  `col_BatchSendID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UsersName` varchar(100) DEFAULT NULL,
  `col_Report` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_BatchSendID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=19 ;

--
-- Dumping data for table `tb_BatchSend`
--


-- --------------------------------------------------------

--
-- Table structure for table `tb_Bid`
--

CREATE TABLE IF NOT EXISTS `tb_Bid` (
  `col_BidID` int(11) NOT NULL AUTO_INCREMENT,
  `col_BidOID` int(11) NOT NULL DEFAULT '0',
  `col_TradeOID` int(11) DEFAULT NULL,
  `col_Group` varchar(65) DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_Description` varchar(200) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_BidClosedDate` date DEFAULT NULL,
  `col_RecordExpired` date DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_PhaseID` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_BidID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidCompany`
--

CREATE TABLE IF NOT EXISTS `tb_BidCompany` (
  `col_BidCompanyID` int(11) NOT NULL AUTO_INCREMENT,
  `col_BidCompanyOID` int(11) NOT NULL DEFAULT '0',
  `col_BidOID` int(11) NOT NULL DEFAULT '0',
  `col_ListCompanyID` int(11) NOT NULL DEFAULT '0',
  `col_DisciplineID` int(11) DEFAULT NULL,
  `col_ActiveYN` varchar(10) DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_RecordExpired` datetime DEFAULT NULL,
  `col_Shortlist` datetime DEFAULT NULL,
  `col_Selected` datetime DEFAULT NULL,
  `col_Rejected` datetime DEFAULT NULL,
  PRIMARY KEY (`col_BidCompanyID`),
  KEY `indxListCompanyID` (`col_ListCompanyID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidDocument`
--

CREATE TABLE IF NOT EXISTS `tb_BidDocument` (
  `col_BidDocumentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_BidSentItemID` int(11) DEFAULT NULL,
  `col_BidOID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_PageCount` int(11) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_FileName` varchar(220) DEFAULT NULL,
  `col_OriginalFileName` varchar(100) DEFAULT NULL,
  `col_DocumentType` varchar(65) DEFAULT NULL,
  `col_DocumentDescription` varchar(200) DEFAULT NULL,
  `col_DocumentTypeCategory` varchar(65) DEFAULT NULL,
  `col_DocumentTypeCategoryOrder` int(11) DEFAULT NULL,
  `col_ActiveYN` varchar(10) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_FilePath` varchar(220) DEFAULT NULL,
  `col_TempFilePath` varchar(220) DEFAULT NULL,
  `col_ModelGroup` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_BidDocumentID`),
  UNIQUE KEY `col_BidDocumentID` (`col_BidDocumentID`),
  KEY `indxDocTypBidOIDActive` (`col_DocumentType`,`col_BidOID`,`col_ActiveYN`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidDocumentDistribution`
--

CREATE TABLE IF NOT EXISTS `tb_BidDocumentDistribution` (
  `col_BidDocumentDistributionID` int(11) DEFAULT NULL,
  `col_BidDocumentTypeOID` int(11) DEFAULT NULL,
  `col_TradeOID` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidDocumentType`
--

CREATE TABLE IF NOT EXISTS `tb_BidDocumentType` (
  `col_BidDocumentTypeID` int(11) DEFAULT NULL,
  `col_BidDocumentTypeOID` int(11) DEFAULT NULL,
  `col_DistributeYN` varchar(10) DEFAULT NULL,
  `col_Description` varchar(65) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_RecordExpired` datetime DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidDocumentVisit`
--

CREATE TABLE IF NOT EXISTS `tb_BidDocumentVisit` (
  `col_BidDocumentVisitID` int(11) NOT NULL AUTO_INCREMENT,
  `col_BidDocumentID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_PostDateTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `col_PostUser` varchar(14) DEFAULT NULL,
  PRIMARY KEY (`col_BidDocumentVisitID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidSentItem`
--

CREATE TABLE IF NOT EXISTS `tb_BidSentItem` (
  `col_BidSentItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_BidDocumentID` int(11) DEFAULT NULL,
  `col_BidSentItemOID` int(11) DEFAULT NULL,
  `col_BidCompanyOID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_ActiveYN` varchar(10) DEFAULT NULL,
  `col_SentVia` varchar(65) DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_ViewedBy` varchar(65) DEFAULT NULL,
  `col_Type` varchar(50) DEFAULT NULL,
  `col_EmailSubject` varchar(65) DEFAULT NULL,
  `col_EmailBody` text,
  `col_PostDate` datetime DEFAULT NULL,
  `col_DateViewed` datetime DEFAULT NULL,
  `col_RecordExpired` datetime DEFAULT NULL,
  `col_Email` varchar(65) DEFAULT NULL,
  `col_EmailStatus` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_BidSentItemID`),
  KEY `indxListCompanyID` (`col_BidDocumentID`),
  KEY `indxBidDocIDExpired` (`col_BidDocumentID`,`col_RecordExpired`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_BidTemplate`
--

CREATE TABLE IF NOT EXISTS `tb_BidTemplate` (
  `col_BidInvitationTemplateID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Type` varchar(25) NOT NULL,
  `col_Subject` varchar(65) DEFAULT NULL,
  `col_EmailBodyUpper` text,
  `col_EmailBodyLower` text,
  `col_Comment` varchar(200) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`col_BidInvitationTemplateID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Building`
--

CREATE TABLE IF NOT EXISTS `tb_Building` (
  `col_BuildingAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ProjectAutoID` int(11) DEFAULT NULL,
  `col_Building` varchar(65) DEFAULT NULL,
  `col_Address` varchar(65) DEFAULT NULL,
  `col_City` varchar(65) DEFAULT NULL,
  `col_Province` varchar(65) DEFAULT NULL,
  `col_Postal` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn1` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn2` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn3` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn4` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn5` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn6` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn7` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn8` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn9` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn10` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn11` varchar(65) DEFAULT NULL,
  `col_TDAttributesColumn12` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_BuildingAutoID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CancelledStatus`
--

CREATE TABLE IF NOT EXISTS `tb_CancelledStatus` (
  `col_CancelledStatusID` int(11) DEFAULT NULL,
  `col_CancelledStatus` varchar(65) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Centre`
--

CREATE TABLE IF NOT EXISTS `tb_Centre` (
  `col_CentreID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_CentreShort` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_CentreID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `tb_Centre`
--

INSERT INTO `tb_Centre` (`col_CentreID`, `col_Centre`, `col_CentreShort`) VALUES
(1, 'Azura Condos', 'ac');

-- --------------------------------------------------------

--
-- Table structure for table `tb_CFPAccount`
--

CREATE TABLE IF NOT EXISTS `tb_CFPAccount` (
  `col_AccountID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ProcessYN` varchar(3) DEFAULT NULL,
  `col_CFPAccountNumber` varchar(20) DEFAULT NULL,
  `col_TransitNumber` varchar(50) DEFAULT NULL,
  `col_BankAccount` varchar(50) DEFAULT NULL,
  `col_AccountNumber` varchar(50) DEFAULT NULL,
  `col_BankName` varchar(100) DEFAULT NULL,
  `col_PayorName` varchar(100) DEFAULT NULL,
  `col_PayorCode` varchar(10) DEFAULT NULL,
  `col_VersionFlag` varchar(10) DEFAULT NULL,
  `col_HeaderFlag` varchar(10) DEFAULT NULL,
  `col_UserName` varchar(65) DEFAULT NULL,
  `col_PostDateTime` datetime DEFAULT NULL,
  PRIMARY KEY (`col_AccountID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CFPActivity`
--

CREATE TABLE IF NOT EXISTS `tb_CFPActivity` (
  `col_ActivityID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PostDateTime` datetime DEFAULT NULL,
  `col_Type` varchar(100) DEFAULT NULL,
  `col_UserName` varchar(65) DEFAULT NULL,
  `col_FileRead` varchar(200) DEFAULT NULL,
  `col_FileWrite` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`col_ActivityID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CFPMaster`
--

CREATE TABLE IF NOT EXISTS `tb_CFPMaster` (
  `col_MasterID` int(11) NOT NULL AUTO_INCREMENT,
  `col_LastFCNumber` int(11) NOT NULL DEFAULT '0',
  `col_ActiveYN` varchar(3) DEFAULT NULL,
  PRIMARY KEY (`col_MasterID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CFPTransaction`
--

CREATE TABLE IF NOT EXISTS `tb_CFPTransaction` (
  `col_TransactionID` int(11) NOT NULL AUTO_INCREMENT,
  `col_AccountID` int(11) DEFAULT NULL,
  `col_FCNumber` int(11) DEFAULT NULL,
  `col_Type` varchar(10) DEFAULT NULL,
  `col_PayeeName` varchar(100) DEFAULT NULL,
  `col_ChequeNumber` varchar(20) DEFAULT NULL,
  `col_ChequeAmount` decimal(10,2) DEFAULT NULL,
  `col_ChequeIssueDate` date DEFAULT NULL,
  `col_ChequePrintDateTime` datetime DEFAULT NULL,
  `col_ChequeVoidDateTime` datetime DEFAULT NULL,
  `col_ReceivedDateTime` datetime DEFAULT NULL,
  `col_ProcessedDateTime` datetime DEFAULT NULL,
  `col_ReceivedVoidDateTime` datetime DEFAULT NULL,
  `col_ProcessedVoidDateTime` datetime DEFAULT NULL,
  `col_Status` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`col_TransactionID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Clause`
--

CREATE TABLE IF NOT EXISTS `tb_Clause` (
  `col_ClauseID` int(11) NOT NULL DEFAULT '0',
  `col_OrderNo` int(11) DEFAULT NULL,
  `col_RefClause` int(11) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_ClauseNo` varchar(25) DEFAULT NULL,
  `col_SlsPerson` varchar(65) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Amended` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `col_Created` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `col_Locked` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `col_Clause` text,
  PRIMARY KEY (`col_ClauseID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ClosingAmendment`
--

CREATE TABLE IF NOT EXISTS `tb_ClosingAmendment` (
  `col_ClosingAmendmentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_id` varchar(14) DEFAULT NULL,
  `col_Current` varchar(15) DEFAULT NULL,
  `col_sales_center` varchar(40) DEFAULT NULL,
  `col_NewClosingDate` date DEFAULT NULL,
  `col_AmendmentReceiptDate` date DEFAULT NULL,
  PRIMARY KEY (`col_ClosingAmendmentID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ColourSheet`
--

CREATE TABLE IF NOT EXISTS `tb_ColourSheet` (
  `col_ColourSheetID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Locked` date DEFAULT NULL,
  `col_CustomerID` varchar(50) NOT NULL DEFAULT '',
  `col_Centre` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`col_ColourSheetID`),
  KEY `indxCentreCustID` (`col_Centre`,`col_CustomerID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Commission`
--

CREATE TABLE IF NOT EXISTS `tb_Commission` (
  `col_CommissionId` int(11) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_PurchaserIncentives` double DEFAULT NULL,
  `col_UpgradesOptionsNetofGST` double DEFAULT NULL,
  `col_IntCommissionBonus` double DEFAULT NULL,
  `col_Int1stPaymentChequeDate` datetime DEFAULT NULL,
  `col_Int1stPaymentChequeNumber` varchar(40) DEFAULT NULL,
  `col_Int1stPaymentChequeMailedToBroker` datetime DEFAULT NULL,
  `col_Int1stPaymentChequeRecdFromVan` datetime DEFAULT NULL,
  `col_Int1stPaymentInvoiceSent` datetime DEFAULT NULL,
  `col_Int1stPaymentCommissionApproved` datetime DEFAULT NULL,
  `col_Int1stPaymentSentToVancouver` datetime DEFAULT NULL,
  `col_Int2stPaymentChequeDate` datetime DEFAULT NULL,
  `col_Int2stPaymentChequeNumber` varchar(40) DEFAULT NULL,
  `col_Int2stPaymentChequeMailedToBroker` datetime DEFAULT NULL,
  `col_Int2stPaymentChequeRecdFromVan` datetime DEFAULT NULL,
  `col_Int2stPaymentInvoiceSent` datetime DEFAULT NULL,
  `col_Int2stPaymentCommissionApproved` datetime DEFAULT NULL,
  `col_Int2stPaymentSentToVancouver` datetime DEFAULT NULL,
  `col_IntCommissionRate` double DEFAULT NULL,
  `col_IntPaymentTermsDays` double DEFAULT NULL,
  `col_IntNote` mediumtext,
  `col_ExtCommissionBonus` double DEFAULT NULL,
  `col_Ext1stPaymentChequeDate` datetime DEFAULT NULL,
  `col_Ext1stPaymentChequeNumber` varchar(40) DEFAULT NULL,
  `col_Ext1stPaymentChequeMailedToBroker` datetime DEFAULT NULL,
  `col_Ext1stPaymentChequeRecdFromVan` datetime DEFAULT NULL,
  `col_Ext1stPaymentInvoiceSent` datetime DEFAULT NULL,
  `col_Ext1stPaymentCommissionApproved` datetime DEFAULT NULL,
  `col_Ext1stPaymentSentToVancouver` datetime DEFAULT NULL,
  `col_Ext2stPaymentChequeDate` datetime DEFAULT NULL,
  `col_Ext2stPaymentChequeNumber` varchar(40) DEFAULT NULL,
  `col_Ext2stPaymentChequeMailedToBroker` datetime DEFAULT NULL,
  `col_Ext2stPaymentChequeRecdFromVan` datetime DEFAULT NULL,
  `col_Ext2stPaymentInvoiceSent` datetime DEFAULT NULL,
  `col_Ext2stPaymentCommissionApproved` datetime DEFAULT NULL,
  `col_Ext2stPaymentSentToVancouver` datetime DEFAULT NULL,
  `col_ExtCommissionRate` double DEFAULT NULL,
  `col_ExtPaymentTermsDays` double DEFAULT NULL,
  `col_ExtNote` mediumtext,
  `col_GSTOnFirstPaymentOut` double DEFAULT NULL,
  `col_AmountFirstPaymentOut` double DEFAULT NULL,
  `col_OutSideBrokerRate` double DEFAULT NULL,
  `col_PaymentTerms` varchar(50) DEFAULT NULL,
  `col_GSTRate` varchar(50) DEFAULT NULL,
  `Col_DueDateOut` datetime DEFAULT NULL,
  `col_DateCheckSentOut` datetime DEFAULT NULL,
  `col_DateCheckSent` datetime DEFAULT NULL,
  `col_PercDepsBeforePMT` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CompanyPersonel`
--

CREATE TABLE IF NOT EXISTS `tb_CompanyPersonel` (
  `col_CompanyPersonelID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PersonName` varchar(65) DEFAULT NULL,
  `col_Address` varchar(65) DEFAULT NULL,
  `col_City` varchar(65) DEFAULT NULL,
  `col_PostalCode` varchar(11) DEFAULT NULL,
  `col_Spouse` varchar(65) DEFAULT NULL,
  `col_CompanyPersonelRcdExpiry` date DEFAULT NULL,
  `col_CompanyPersonelOID` int(11) DEFAULT NULL,
  `col_ListCompanyOID` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_CompanyPersonelID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CompanyTrade`
--

CREATE TABLE IF NOT EXISTS `tb_CompanyTrade` (
  `col_CompanyTradeID` int(11) NOT NULL AUTO_INCREMENT,
  `col_CompanyTradeRcdExpiry` date DEFAULT NULL,
  `col_CompanyTradeOID` int(11) DEFAULT NULL,
  `col_TradeOID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_CompanyTradeID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ConstructionCodes`
--

CREATE TABLE IF NOT EXISTS `tb_ConstructionCodes` (
  `col_ConstructionCodesID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ConstructionCodesOID` int(11) DEFAULT NULL,
  `col_ConstructionCodesOrder` int(11) DEFAULT NULL,
  `col_ConstructionCode` varchar(10) NOT NULL,
  `col_SummaryCode` varchar(10) NOT NULL DEFAULT '',
  `col_AccountCode` varchar(10) NOT NULL DEFAULT '',
  `col_AccountName` varchar(65) NOT NULL DEFAULT '',
  `col_ConstructionCodesRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_ConstructionCodesID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Contact`
--

CREATE TABLE IF NOT EXISTS `tb_Contact` (
  `col_ContactAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ContactAppointmentAutoID` int(11) DEFAULT NULL,
  `col_UsersID` int(11) NOT NULL DEFAULT '0',
  `col_Type` varchar(100) DEFAULT NULL,
  `col_Status` varchar(30) DEFAULT NULL,
  `col_Method` varchar(30) NOT NULL,
  `col_Centre` varchar(50) NOT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Detail` text,
  `col_CompletedOn` date DEFAULT NULL,
  `col_ContactedOn` date DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_FileName` varchar(220) DEFAULT NULL,
  PRIMARY KEY (`col_ContactAutoID`),
  KEY `indxCentrePhaseLotType` (`col_Centre`,`col_Phase`,`col_Lot`,`col_Type`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=570 ;

--
-- Dumping data for table `tb_Contact`
--

--
-- Table structure for table `tb_ContactAppointment`
--

CREATE TABLE IF NOT EXISTS `tb_ContactAppointment` (
  `col_ContactAppointmentAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UsersID` int(11) DEFAULT NULL,
  `col_Detail` varchar(250) DEFAULT NULL,
  `col_Type` varchar(45) DEFAULT NULL,
  `col_Method` varchar(30) DEFAULT NULL,
  `col_Centre` varchar(50) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_ContactDate` date DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  PRIMARY KEY (`col_ContactAppointmentAutoID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ContractedTrades`
--

CREATE TABLE IF NOT EXISTS `tb_ContractedTrades` (
  `col_ContractedTradesID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ListCompanyID` int(11) NOT NULL DEFAULT '0',
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_ContractTerms` text,
  `col_ContractAmountPer` decimal(10,2) DEFAULT NULL,
  `col_PerDefinition` varchar(200) DEFAULT NULL,
  `col_CompanyName` varchar(100) DEFAULT NULL,
  `col_StageName` varchar(200) DEFAULT NULL,
  `col_Type` varchar(15) DEFAULT NULL,
  `col_StageWorkCompletionEmail` varchar(65) DEFAULT NULL,
  `col_StageStartWorkEmail` varchar(65) DEFAULT NULL,
  `col_SubContractID` varchar(50) NOT NULL,
  PRIMARY KEY (`col_ContractedTradesID`),
  KEY `indxCentrePhaseStageLotType` (`col_Centre`,`col_Phase`,`col_StageName`,`col_Lot`,`col_Type`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ContractStatus`
--

CREATE TABLE IF NOT EXISTS `tb_ContractStatus` (
  `col_ContractStatusID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_StageName` varchar(200) DEFAULT NULL,
  `col_CompanyName` varchar(100) DEFAULT NULL,
  `col_ContractStatus` varchar(25) DEFAULT NULL,
  `col_StatusStartDate` date DEFAULT NULL,
  `col_StatusStartDatePosted` date DEFAULT NULL,
  `col_StatusEndDate` date DEFAULT NULL,
  `col_StatusEndDatePosted` date DEFAULT NULL,
  `col_Comment` text,
  `col_StatusHistory` text,
  `col_PrintedOn` varchar(10) DEFAULT NULL,
  `col_PrintTime` varchar(10) DEFAULT NULL,
  `col_PrintedBy` varchar(50) DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_ActiveYN` varchar(3) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_StageStartWorkDate` date DEFAULT NULL,
  `col_StageStartWorkRequest` date DEFAULT NULL,
  `col_ContractStatusIDAtCSPrint` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_ContractStatusID`),
  KEY `indxCentrePhaseLot` (`col_Centre`,`col_Phase`,`col_Lot`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_CriticalDate`
--

CREATE TABLE IF NOT EXISTS `tb_CriticalDate` (
  `col_CriticalDateID` int(11) DEFAULT NULL,
  `col_DateID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_ActiveYN` varchar(3) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_DateName` varchar(65) DEFAULT NULL,
  `col_DateType` varchar(65) DEFAULT NULL,
  `col_Date` date DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_DateID`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1509 ;

--
-- Dumping data for table `tb_CriticalDate`
--

-- Table structure for table `tb_CustomerDocuments`
--

CREATE TABLE IF NOT EXISTS `tb_CustomerDocuments` (
  `col_CustomerDocumentsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Type` varchar(65) NOT NULL DEFAULT '',
  `col_FileName` varchar(200) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_MediaDesc` varchar(255) DEFAULT NULL,
  `col_ActiveYN` varchar(3) DEFAULT NULL,
  `col_ThumbFileName` varchar(255) DEFAULT NULL,
  `col_OriginalFileName` varchar(100) DEFAULT NULL,
  `col_DeactivatedBy` varchar(65) DEFAULT NULL,
  `col_OldFileName` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_CustomerDocumentsID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Dashboard`
--

CREATE TABLE IF NOT EXISTS `tb_Dashboard` (
  `col_DashboardID` int(11) NOT NULL AUTO_INCREMENT,
  `col_NumberOfRows` int(11) DEFAULT NULL,
  `col_NumberOfColumns` int(11) DEFAULT NULL,
  `col_TableTitle` varchar(250) DEFAULT NULL,
  `col_TableCSS` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`col_DashboardID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;

--
-- Dumping data for table `tb_Dashboard`
--

INSERT INTO `tb_Dashboard` (`col_DashboardID`, `col_NumberOfRows`, `col_NumberOfColumns`, `col_TableTitle`, `col_TableCSS`) VALUES
(1, 6, 3, 'Dashboard', 'width:1200px;'),
(2, 1, 2, 'Dashboard2', 'width:1200px;');

-- --------------------------------------------------------

--
-- Table structure for table `tb_DashboardItem`
--

CREATE TABLE IF NOT EXISTS `tb_DashboardItem` (
  `col_DashboardItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DashboardID` int(11) DEFAULT NULL,
  `col_TableRow` int(11) DEFAULT NULL,
  `col_TableColumn` int(11) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_Text` varchar(100) DEFAULT NULL,
  `col_Mouseover` varchar(100) DEFAULT NULL,
  `col_LinkText` varchar(100) DEFAULT NULL,
  `col_SQL` varchar(1000) DEFAULT NULL,
  `col_Link` varchar(250) DEFAULT NULL,
  `col_Graphic` varchar(250) DEFAULT NULL,
  `col_CSSCell` varchar(250) DEFAULT NULL,
  `col_CSSGraphic` varchar(250) DEFAULT NULL,
  `col_CSSText` varchar(250) DEFAULT NULL,
  `col_CSSValue` varchar(250) DEFAULT NULL,
  `col_CSSLink` varchar(250) DEFAULT NULL,
  PRIMARY KEY (`col_DashboardItemID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=26 ;

--
-- Dumping data for table `tb_DashboardItem`
--

INSERT INTO `tb_DashboardItem` (`col_DashboardItemID`, `col_DashboardID`, `col_TableRow`, `col_TableColumn`, `col_Type`, `col_Text`, `col_Mouseover`, `col_LinkText`, `col_SQL`, `col_Link`, `col_Graphic`, `col_CSSCell`, `col_CSSGraphic`, `col_CSSText`, `col_CSSValue`, `col_CSSLink`) VALUES
(1, 1, 2, 1, 'value', 'Outstanding Deficiencies', 'Deficiency List', 'View More', 'SELECT count(*)\nFROM tb_Deficiency\nLEFT JOIN tb_DeficiencyAssignment \nON tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID\nLEFT JOIN tb_Appointment \nON tb_DeficiencyAssignment.col_DeficiencyAssignmentID = tb_Appointment.col_DeficiencyAssignmentID \nAND (tb_Appointment.col_Active_YN = ''Yes'' OR tb_Appointment.col_Active_YN IS NULL)\nWHERE tb_Deficiency.col_CompletedDate = ''0000-00-00''\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\n', 'HSDeficiencyListAll.php?', 'zoomout.png', 'width:300px; height:50px; background-color:#FF9700;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(2, 1, 2, 2, 'value', 'Unassigned Deficiencies', 'Unassigned Deficiency Summary', 'View More', 'SELECT count(*)\nFROM tb_Deficiency\nLEFT JOIN tb_DeficiencyAssignment \nON tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID\nWHERE tb_Deficiency.col_CompletedDate = ''0000-00-00''\nAND (tb_DeficiencyAssignment.col_CompanyName IS NULL\nOR tb_DeficiencyAssignment.col_CompanyName = '''')\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\n', 'HSDeficiencyListAllUnassignedSummary.php?', 'wrong.png', 'width:300px; height:50px; background-color:#FFEB3C;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(3, 1, 7, 1, 'user value', 'Assigned to me', 'Trade Summary', 'View More', 'SELECT count(*)\r\nFROM tb_ListCompany\r\nLEFT JOIN tb_DeficiencyAssignment\r\nON tb_DeficiencyAssignment.col_CompanyName = tb_ListCompany.col_CompanyName and col_CompletedDate=''0000-00-00''\r\nLEFT JOIN tb_Deficiency\r\nON tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID\r\nWHERE tb_ListCompany.col_UserID = ''$var_User''\r\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''', 'HSReportTradeSummaryByUnit.php?', 'zoomout.png', 'width:300px; height:50px; background-color:#4CB050;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(4, 1, 1, 3, 'value', 'Avg Days Open', 'Deficiencies', 'View More', 'SELECT AVG(DATEDIFF(CURDATE(),tb_Deficiency.col_PostDate)) FROM tb_Deficiency WHERE tb_Deficiency.col_CompletedDate LIKE ''%%''', '', 'zoom.png', 'width:300px; height:50px; background-color:#2196F3;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(6, 1, 1, 2, 'value', 'Open This Week', 'Last 7 Days', 'View More', 'SELECT count(*) FROM tb_DeficiencyWHERE tb_Deficiency.col_ReportedDate <= CURDATE()AND tb_Deficiency.col_ReportedDate >= (CURDATE() - INTERVAL 7 DAY)AND tb_Deficiency.col_Centre LIKE ''$var_Centre''', 'HSDeficiencyListAll7Day.php?', 'pie.png', 'width:300px; height:50px; background-color:#00BCD5;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(7, 1, 3, 1, 'value', 'Assignments No Appointment', 'No Appointment', 'View More', 'SELECT count(*)FROM tb_DeficiencyAssignmentLEFT JOIN tb_DeficiencyON tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyIDLEFT JOIN tb_AppointmentON tb_Appointment.col_DeficiencyAssignmentID = tb_DeficiencyAssignment.col_DeficiencyAssignmentIDWHERE (tb_Appointment.col_AppointmentDate IS NULL or tb_Appointment.col_AppointmentDate = ', 'HSDeficiencyListAll.php?var_ShowAppointment=None', 'right.png', 'width:300px; height:50px; background-color:#9C28B1;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(8, 1, 3, 2, 'value', 'Warnings', 'Warnings ', 'View More', 'SELECT count(*) \nFROM tb_Deficiency\nLEFT JOIN tb_ListDeficiencyType ON tb_ListDeficiencyType.col_DeficiencyType = tb_Deficiency.col_DeficiencyType\nWHERE tb_Deficiency.col_CompletedDate = ''0000-00-00'' \nAND (tb_Deficiency.col_Seasonal IS NULL OR tb_Deficiency.col_Seasonal <> ''Yes'') \nAND (to_days(current_date) - to_days(tb_Deficiency.col_ReportedDate)) >= tb_ListDeficiencyType.col_DaysWarning\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\n', 'HSReportDeficiencyWarning.php?', 'add.png', 'width:300px; height:50px; background-color:#EA1E63;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(21, 1, 4, 3, 'value', 'Closed This Week', 'Last 7 Days', 'View More', 'SELECT count(*) FROM tb_Deficiency WHERE tb_Deficiency.col_CompletedDate <= CURDATE() AND tb_Deficiency.col_CompletedDate >= (CURDATE() - INTERVAL 7 DAY) AND tb_Deficiency.col_Centre LIKE ''$var_Centre''', 'HSDeficiencyClosed.php?&var_Days=7', 'pie.png', 'width:300px; height:50px; background-color:#00BCD5;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(14, 1, 3, 3, 'table', 'Assigned To', 'Deficiencies', '', 'SELECT tb_Users.col_UsersName, count(*) FROM tb_ListCompany LEFT JOIN tb_Users ON tb_Users.col_UserID = tb_ListCompany.col_UserID LEFT JOIN tb_DeficiencyAssignment ON tb_DeficiencyAssignment.col_CompanyName = tb_ListCompany.col_CompanyName AND col_CompletedDate=''0000-00-00'' LEFT JOIN tb_Deficiency ON tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID WHERE (tb_ListCompany.col_UserID IS NOT NULL AND tb_ListCompany.col_UserID <> ''0'') AND tb_Deficiency.col_Centre LIKE ''$var_Centre'' GROUP BY tb_ListCompany.col_UserID ORDER BY tb_Users.col_UsersName LIMIT 7', 'HSReportTradeSummaryByUnit.php?var_UsersName=', 'wrong.png', 'width:300px; height:50px; background-color:#2196F3;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(15, 2, 1, 1, 'value', 'Open Today', 'Deficiencies', 'View More', 'SELECT count(*) FROM tb_Deficiency  WHERE col_PostDate = CURDATE() AND tb_Deficiency.col_Centre LIKE ''$var_Centre''', 'HSDeficiencyListAll7Day.php?StartDateNumberFromToday=0', 'zoomin.png', 'width:300px; height:50px; background-color:#FFEB3C;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(10, 1, 4, 1, 'table', 'QC Top 5', 'Problem Trades', 'View More', 'SELECT tb_DeficiencyAssignment.col_CompanyName, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency, tb_DeficiencyAssignment \nWHERE tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID \nAND tb_Deficiency.col_DeficiencyType = ''Quality Control'' \nAND tb_Deficiency.col_CompletedDate = ''0000-00-00'' \nAND tb_DeficiencyAssignment.col_CompletedDate = ''0000-00-00'' \nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_DeficiencyAssignment.col_CompanyName \nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC, tb_DeficiencyAssignment.col_CompanyName LIMIT 5', 'HSDeficiencyDetailByTrade.php?&var_DeficiencyType=Quality%20Control&var_CompanyName=', 'pie.png', 'width:300px; height:50px; background-color:#FF9700;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(20, 1, 5, 2, 'table', 'Closed Today', 'Deficiencies', 'View More', 'SELECT tb_Deficiency.col_DeficiencyType, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency\nLEFT JOIN tb_ListDeficiencyType ON tb_ListDeficiencyType.col_DeficiencyType = tb_Deficiency.col_DeficiencyType\nWHERE tb_Deficiency.col_CompletedDate = CURDATE() \nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_Deficiency.col_DeficiencyType\nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC\nLIMIT 5\n', 'HSDeficiencyClosed.php?&var_Days=1&var_DeficiencyType=', 'wrong.png', 'width:300px; height:50px; background-color:#2196F3;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(11, 1, 4, 2, 'table', 'Warnings By Type', 'Warnings ', 'View More', 'SELECT tb_Deficiency.col_DeficiencyType, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency\nLEFT JOIN tb_ListDeficiencyType ON tb_ListDeficiencyType.col_DeficiencyType = tb_Deficiency.col_DeficiencyType\nWHERE tb_Deficiency.col_CompletedDate = ''0000-00-00'' \nAND (tb_Deficiency.col_Seasonal IS NULL OR tb_Deficiency.col_Seasonal <> ''Yes'') \nAND (to_days(current_date) - to_days(tb_Deficiency.col_ReportedDate)) >= tb_ListDeficiencyType.col_DaysWarning\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_Deficiency.col_DeficiencyType\nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC\nLIMIT 5\n', 'HSDeficiencyListAll.php?var_DeficiencyType=', 'wrong.png', 'width:300px; height:50px; background-color:#2196F3;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(5, 1, 1, 1, 'value', 'Open Today', 'Deficiencies', 'View More', 'SELECT count(*) FROM tb_Deficiency  WHERE col_PostDate = CURDATE() AND tb_Deficiency.col_Centre LIKE ''$var_Centre''', 'HSDeficiencyListAll7Day.php?StartDateNumberFromToday=0', 'zoomin.png', 'width:300px; height:50px; background-color:#FFEB3C;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(13, 1, 2, 3, 'value', 'Not Sent', 'Deficiencies', 'View More', 'SELECT COUNT(tb_DeficiencyAssignment.col_DeficiencyAssignmentID) \nFROM        tb_Deficiency\nLEFT JOIN   tb_Lot\nON          tb_Lot.col_Phase = tb_Deficiency.col_Phase\nAND         tb_Lot.col_Centre = tb_Deficiency.col_Centre\nAND         tb_Lot.col_Lot = tb_Deficiency.col_Lot\nLEFT JOIN   tb_DeficiencyAssignment \nON          tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID\nLEFT JOIN   tb_SentItem\nON          tb_DeficiencyAssignment.col_DeficiencyAssignmentID = tb_SentItem.col_DeficiencyAssignmentID\nWHERE       tb_DeficiencyAssignment.col_CompletedDate = ''0000-00-00''\nAND tb_SentItem.col_DeficiencyAssignmentID IS NULL\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\n', 'HSDeficiencyAssignmentNotSent.php?', 'wrong.png', 'width:300px; height:50px; background-color:#2196F3;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(16, 2, 1, 2, 'value', 'Open This Week', 'Last 7 Days', 'View More', 'SELECT count(*)\nFROM tb_Deficiency\nWHERE tb_Deficiency.col_ReportedDate <= CURDATE()\nAND tb_Deficiency.col_ReportedDate >= (CURDATE() - INTERVAL 7 DAY)\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\n', 'HSDeficiencyListAll7Day.php?', 'pie.png', 'width:300px; height:50px; background-color:#00BCD5;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(19, 1, 5, 1, 'value', 'Closed Today', 'Deficiencies', 'View More', 'SELECT count(*) FROM tb_Deficiency  WHERE col_CompletedDate = CURDATE() AND tb_Deficiency.col_Centre LIKE ''$var_Centre''', 'HSDeficiencyClosed.php?&var_Days=1', 'zoomin.png', 'width:300px; height:50px; background-color:#FFEB3C;', 'width:75px; height:auto; opacity: 0.1;', '', 'font-size: 50px;', ''),
(22, 1, 5, 3, 'table', 'Closed This Week', 'Last 7 Days', 'View More', 'SELECT tb_Deficiency.col_DeficiencyType, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency\nLEFT JOIN tb_ListDeficiencyType ON tb_ListDeficiencyType.col_DeficiencyType = tb_Deficiency.col_DeficiencyType\nWHERE tb_Deficiency.col_CompletedDate <= CURDATE()\nAND tb_Deficiency.col_CompletedDate >= (CURDATE() - INTERVAL 7 DAY)\nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_Deficiency.col_DeficiencyType\nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC\nLIMIT 5\n', 'HSDeficiencyClosed.php?&var_Days=7&var_DeficiencyType=', 'wrong.png', 'width:300px; height:50px; background-color:#2196F3;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(23, 1, 6, 1, 'table', 'PDI Top 5', 'Problem Trades', 'View More', 'SELECT tb_DeficiencyAssignment.col_CompanyName, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency, tb_DeficiencyAssignment \nWHERE tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID \nAND tb_Deficiency.col_DeficiencyType = ''PDI'' \nAND tb_Deficiency.col_CompletedDate = ''0000-00-00'' \nAND tb_DeficiencyAssignment.col_CompletedDate = ''0000-00-00'' \nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_DeficiencyAssignment.col_CompanyName \nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC, tb_DeficiencyAssignment.col_CompanyName LIMIT 5', 'HSDeficiencyDetailByTrade.php?&var_DeficiencyType=PDI&var_CompanyName=', 'pie.png', 'width:300px; height:50px; background-color:#FF9700;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(24, 1, 6, 2, 'table', '30-Day Top 5', 'Problem Trades', 'View More', 'SELECT tb_DeficiencyAssignment.col_CompanyName, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency, tb_DeficiencyAssignment \nWHERE tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID \nAND tb_Deficiency.col_DeficiencyType = ''30-Day'' \nAND tb_Deficiency.col_CompletedDate = ''0000-00-00'' \nAND tb_DeficiencyAssignment.col_CompletedDate = ''0000-00-00'' \nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_DeficiencyAssignment.col_CompanyName \nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC, tb_DeficiencyAssignment.col_CompanyName LIMIT 5\n', 'HSDeficiencyDetailByTrade.php?&var_DeficiencyType=30-Day&var_CompanyName=', 'pie.png', 'width:300px; height:50px; background-color:#FF9700;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL),
(25, 1, 6, 3, 'table', '1 Year Top 5', 'Problem Trades', 'View More', 'SELECT tb_DeficiencyAssignment.col_CompanyName, COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) \nFROM tb_Deficiency, tb_DeficiencyAssignment \nWHERE tb_Deficiency.col_DeficiencyID = tb_DeficiencyAssignment.col_DeficiencyID \nAND tb_Deficiency.col_DeficiencyType = ''1 Year'' \nAND tb_Deficiency.col_CompletedDate = ''0000-00-00'' \nAND tb_DeficiencyAssignment.col_CompletedDate = ''0000-00-00'' \nAND tb_Deficiency.col_Centre LIKE ''$var_Centre''\nGROUP BY tb_DeficiencyAssignment.col_CompanyName \nORDER BY COUNT(DISTINCT tb_Deficiency.col_DeficiencyID) DESC, tb_DeficiencyAssignment.col_CompanyName LIMIT 5\n', 'HSDeficiencyDetailByTrade.php?&var_DeficiencyType=1%20Year&var_CompanyName=', 'pie.png', 'width:300px; height:50px; background-color:#FF9700;', 'width:75px; height:auto; opacity: 0.1;', NULL, 'font-size: 50px;', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_DashboardUserLinks`
--

CREATE TABLE IF NOT EXISTS `tb_DashboardUserLinks` (
  `col_DashboardUserLinksID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_UserID` varchar(10) DEFAULT NULL,
  `col_LabelName` varchar(155) DEFAULT NULL,
  `col_Mouseover` varchar(100) DEFAULT NULL,
  `col_Path` varchar(75) DEFAULT NULL,
  `col_URL` text,
  PRIMARY KEY (`col_DashboardUserLinksID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=17 ;

--
-- Dumping data for table `tb_DashboardUserLinks`
--

INSERT INTO `tb_DashboardUserLinks` (`col_DashboardUserLinksID`, `col_Order`, `col_UserID`, `col_LabelName`, `col_Mouseover`, `col_Path`, `col_URL`) VALUES
(1, 5, 'rwright', 'Suite Lookup', 'Purchaser Information', '../_gen/', 'GENListProject.php?ReportName=../_gen/HSPurchaserInfo.php&varShowProject=1&varShowPhase=1&varShowLot=1'),
(2, 10, 'rwright', 'Unassigned Deficiencies', 'Outstanding Deficiencies', '../DBPass/', 'HSDeficiencyListAllUnassignedSummary.php?&var_selected_app=PASS&var_ShowAvailable=1'),
(3, 80, 'rwright', 'Deficiencies List All', 'Outstanding Deficiencies', '../DBPass/', 'HSDeficiencyListAll.php?'),
(4, 1, 'rwright', 'Lot Number - Site/Phase', 'Purchaser Information', '../_gen/', 'HSCloseDeficiencyByTrade.php?var_Session=1&var_selected_app=PASS&var_ShowAvailable=1'),
(15, 20, 'rwright', 'Trade Deficiency Detail', 'List By Trade of Outstanding', '../_gen/', 'GENListTradesWithAssignments.php?ReportName=../DBPass/HSDeficiencyDetailByTrade.php&var_selected_app=PASS&var_ShowAvailable=1'),
(16, 25, 'rwright', 'Close By Print Session', 'Close By Print Session', '../DBPass/', 'HSCloseDeficiencyByTrade.php?var_Session=1&var_selected_app=PASS&var_ShowAvailable=1');

-- --------------------------------------------------------

--
-- Table structure for table `tb_Deal`
--

CREATE TABLE IF NOT EXISTS `tb_Deal` (
  `col_DealAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OriginatingDealID` int(11) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Centre` varchar(50) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_Status` varchar(20) DEFAULT NULL,
  `col_DealType` varchar(1) DEFAULT NULL,
  `col_ActiveYN` varchar(10) DEFAULT NULL,
  `col_ModelPrice` varchar(50) DEFAULT NULL,
  `col_Price` varchar(50) DEFAULT NULL,
  `col_DealDate` date DEFAULT NULL,
  PRIMARY KEY (`col_DealAutoID`),
  KEY `DealKey` (`col_Lot`,`col_Phase`,`col_Centre`),
  KEY `indxCentre` (`col_Centre`),
  KEY `origDealID` (`col_OriginatingDealID`,`col_Centre`),
  KEY `indxCentrePhaseLotActiveStatus` (`col_Centre`,`col_Phase`,`col_Lot`,`col_ActiveYN`,`col_Status`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1176 ;

--
-- Dumping data for table `tb_Deal`
--

--
-- Table structure for table `tb_Deficiency`
--

CREATE TABLE IF NOT EXISTS `tb_Deficiency` (
  `col_DeficiencyID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyNumber` int(11) DEFAULT NULL,
  `col_HomeOwnerDeficiencyID` int(11) DEFAULT NULL,
  `col_ReferenceNumber` varchar(65) DEFAULT NULL,
  `col_Centre` varchar(40) NOT NULL,
  `col_Phase` varchar(20) NOT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_ReportedDate` date DEFAULT NULL,
  `col_PromiseDate` date DEFAULT NULL,
  `col_CompletedDate` date DEFAULT NULL,
  `col_CondoBoardSignOff` date DEFAULT NULL,
  `col_DefectOrDamage` varchar(65) DEFAULT NULL,
  `col_WorkOrder` varchar(8) DEFAULT NULL,
  `col_Warrantied` varchar(10) DEFAULT NULL,
  `col_Conciliation` varchar(10) DEFAULT NULL,
  `col_Seasonal` varchar(10) DEFAULT NULL,
  `col_DeficiencyType` varchar(65) NOT NULL,
  `col_DeficiencyGroup` varchar(150) DEFAULT NULL,
  `col_ReportedMethod` varchar(65) DEFAULT NULL,
  `col_Room` varchar(35) DEFAULT NULL,
  `col_Issues` text,
  `col_ClosingNotes` varchar(254) DEFAULT NULL,
  `col_CompletedBy` varchar(65) DEFAULT NULL,
  `col_CreatedBy` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_DeficiencyID`),
  KEY `LotPhaseCentre` (`col_Lot`,`col_Phase`,`col_Centre`),
  KEY `Type` (`col_DeficiencyType`),
  KEY `indxDefType` (`col_DeficiencyType`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=2210 ;

--
-- Dumping data for table `tb_Deficiency`
--

--
-- Table structure for table `tb_DeficiencyAssignment`
--

CREATE TABLE IF NOT EXISTS `tb_DeficiencyAssignment` (
  `col_DeficiencyAssignmentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyID` int(11) NOT NULL DEFAULT '0',
  `col_PostDate` date DEFAULT NULL,
  `col_AssignmentDate` date DEFAULT NULL,
  `col_AssignedBy` varchar(200) DEFAULT NULL,
  `col_AssignMethod` varchar(65) DEFAULT NULL,
  `col_AssignedAddress` varchar(200) DEFAULT NULL,
  `col_CompanyName` varchar(100) NOT NULL DEFAULT '',
  `col_CompletionDateEstimate` date DEFAULT NULL,
  `col_BackChargeToCompany` varchar(100) DEFAULT NULL,
  `col_CompletedDate` date NOT NULL DEFAULT '0000-00-00',
  `col_ClosingNotes` text,
  `col_Order` int(11) DEFAULT NULL,
  `col_ClosingUser` varchar(65) DEFAULT NULL,
  `col_CompletedBy` varchar(65) DEFAULT NULL,
  `col_LastUser` varchar(65) DEFAULT NULL,
  `col_LastDateTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `col_SignOffType` varchar(100) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_DeficiencyAssignmentID`),
  KEY `CompleteDateCompanyName` (`col_CompletedDate`,`col_CompanyName`),
  KEY `DeficiencyID` (`col_DeficiencyID`),
  KEY `CompanyOnlyDA` (`col_CompanyName`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=2214 ;

--
-- Dumping data for table `tb_DeficiencyAssignment`
--
--
-- Table structure for table `tb_DeficiencyAssignmentHistory`
--

CREATE TABLE IF NOT EXISTS `tb_DeficiencyAssignmentHistory` (
  `col_DeficiencyAssignmentHistoryID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyAssignmentID` int(11) NOT NULL DEFAULT '0',
  `col_DeficiencyID` int(11) NOT NULL DEFAULT '0',
  `col_Order` int(11) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_AssignmentDate` date DEFAULT NULL,
  `col_CompletionDateEstimate` date DEFAULT NULL,
  `col_CompletedDate` date NOT NULL DEFAULT '0000-00-00',
  `col_AssignMethod` varchar(65) DEFAULT NULL,
  `col_AssignedBy` varchar(200) DEFAULT NULL,
  `col_AssignedAddress` varchar(200) DEFAULT NULL,
  `col_CompanyName` varchar(100) NOT NULL DEFAULT '',
  `col_BackChargeToCompany` varchar(100) DEFAULT NULL,
  `col_SignOffType` varchar(100) DEFAULT NULL,
  `col_ClosingNotes` text,
  `col_CompletedBy` varchar(65) DEFAULT NULL,
  `col_ClosingUser` varchar(65) DEFAULT NULL,
  `col_LastUser` varchar(65) DEFAULT NULL,
  `col_LastDateTime` datetime DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  UNIQUE KEY `col_DeficiencyAssignmentHistor_2` (`col_DeficiencyAssignmentHistoryID`),
  KEY `CompleteDateCompanyName` (`col_CompletedDate`,`col_CompanyName`),
  KEY `DeficiencyID` (`col_DeficiencyID`),
  KEY `CompanyOnlyDA` (`col_CompanyName`),
  KEY `col_DeficiencyAssignmentHistoryID` (`col_DeficiencyAssignmentHistoryID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=4900 ;

--
-- Dumping data for table `tb_DeficiencyAssignmentHistory`
--


--
-- Table structure for table `tb_DeficiencyComment`
--

CREATE TABLE IF NOT EXISTS `tb_DeficiencyComment` (
  `col_DeficiencyCommentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyID` int(11) NOT NULL,
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  `col_PostUser` varchar(100) NOT NULL DEFAULT '',
  `col_InternalOnly` varchar(10) NOT NULL DEFAULT '',
  `col_DeficiencyComment` varchar(1000) NOT NULL,
  PRIMARY KEY (`col_DeficiencyCommentID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_DeficiencyKeyword`
--

CREATE TABLE IF NOT EXISTS `tb_DeficiencyKeyword` (
  `col_DeficiencyKeywordID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_CompanyName` varchar(100) DEFAULT NULL,
  `col_Keyword` varchar(65) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`col_DeficiencyKeywordID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_DeficiencyPhoto`
--

CREATE TABLE IF NOT EXISTS `tb_DeficiencyPhoto` (
  `col_DeficiencyPhotoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyID` int(11) NOT NULL DEFAULT '0',
  `col_Order` int(11) DEFAULT NULL,
  `col_DeficiencyPhotoName` varchar(65) NOT NULL DEFAULT '',
  `col_OriginalFileName` varchar(100) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_RecordExpired` date DEFAULT NULL,
  PRIMARY KEY (`col_DeficiencyPhotoID`),
  KEY `indxDeficiencyID` (`col_DeficiencyID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=792 ;

--
-- Dumping data for table `tb_DeficiencyPhoto`
--

CREATE TABLE IF NOT EXISTS `tb_HomeOwnerLogin` (
  `col_HomeOwnerLoginID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OID` varchar(14) NOT NULL DEFAULT '',
  `col_BuilderUserID` varchar(7) NOT NULL DEFAULT '',
  `col_BuilderPasword` varchar(7) NOT NULL DEFAULT '',
  `col_HomeOwnerUserID` varchar(25) DEFAULT NULL,
  `col_HomeOwnerPasword` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`col_HomeOwnerLoginID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=654 ;

--
-- Dumping data for table `tb_HomeOwnerLogin`
--


--
-- Table structure for table `tb_ImportEmailSchedules`
--

CREATE TABLE IF NOT EXISTS `tb_ImportEmailSchedules` (
  `col_Subject` varchar(200) DEFAULT NULL,
  `col_Schedule` varchar(100) DEFAULT NULL,
  `col_ImportEmailSchedulesId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_InOutActivity`
--

CREATE TABLE IF NOT EXISTS `tb_InOutActivity` (
  `col_InOutActivityID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Status` varchar(3) DEFAULT NULL,
  `col_EmployeeName` varchar(100) DEFAULT NULL,
  `col_StatusDetail` varchar(200) DEFAULT NULL,
  `col_StatusNote` varchar(250) DEFAULT NULL,
  `col_PostUser` varchar(100) DEFAULT NULL,
  `col_PostDateTime` datetime DEFAULT NULL,
  UNIQUE KEY `col_InOutActivityID` (`col_InOutActivityID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_InOutStatus`
--

CREATE TABLE IF NOT EXISTS `tb_InOutStatus` (
  `col_InOutStatusID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_Type` varchar(10) DEFAULT NULL,
  `col_Description` varchar(65) DEFAULT NULL,
  `col_Status` varchar(3) DEFAULT NULL,
  `col_InOutStatusRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_InOutStatusID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Invoice`
--

CREATE TABLE IF NOT EXISTS `tb_Invoice` (
  `col_InvoiceType` varchar(65) DEFAULT NULL,
  `col_InvoiceAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OriginatingUpgradeInvoiceID` int(11) DEFAULT NULL,
  `col_InvoiceID` int(11) DEFAULT NULL,
  `col_InvoiceNo` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Assignee` varchar(250) DEFAULT NULL,
  `col_Assignor` varchar(250) DEFAULT NULL,
  `col_CreatedOn` date DEFAULT NULL,
  `col_ClosedOn` date DEFAULT NULL,
  `col_LockedOn` date DEFAULT NULL,
  `col_LockIndex` int(11) DEFAULT NULL,
  `col_Note` text,
  `col_LockedBy` varchar(99) DEFAULT NULL,
  KEY `col_InvoiceAutoID` (`col_InvoiceAutoID`),
  KEY `origInvoiceID` (`col_OriginatingUpgradeInvoiceID`,`col_Centre`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_InvoiceItem`
--

CREATE TABLE IF NOT EXISTS `tb_InvoiceItem` (
  `col_InvoiceItemAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_InvoiceAutoID` int(11) DEFAULT NULL,
  `col_InvoiceItemID` int(11) DEFAULT NULL,
  `col_InvoiceID` int(11) NOT NULL DEFAULT '0',
  `col_InvoiceNo` int(11) DEFAULT NULL,
  `col_InvoiceType` varchar(65) DEFAULT NULL,
  `col_LockIndex` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) NOT NULL,
  `col_Group` varchar(65) DEFAULT NULL,
  `col_Description` varchar(250) DEFAULT NULL,
  `col_Quantity` decimal(8,4) DEFAULT NULL,
  `col_Employee` varchar(65) DEFAULT NULL,
  `col_UnitPrice` decimal(18,2) DEFAULT NULL,
  `col_Cost` decimal(18,2) DEFAULT NULL,
  `col_LineNo` int(11) DEFAULT NULL,
  `col_LineOrder` int(11) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Note` text,
  `col_CancelItem` varchar(65) DEFAULT NULL,
  `col_ConstructionComments` varchar(254) DEFAULT NULL,
  `col_ConstructionEmployee` varchar(65) DEFAULT NULL,
  `col_ConstructionOrder` int(11) DEFAULT NULL,
  `col_OriginatingUpgradeInvoiceItemID` int(11) DEFAULT NULL,
  `col_ChecklistComment` text,
  `col_ChecklistClosedDate` date DEFAULT NULL,
  `col_ChecklistClosedEmployee` varchar(65) DEFAULT NULL,
  `col_ReleaseToSiteDate` date DEFAULT NULL,
  `col_ReleaseToSiteUser` varchar(100) DEFAULT NULL,
  `col_OldInvoiceID` int(11) DEFAULT NULL,
  `col_Measurement` varchar(65) DEFAULT NULL,
  `col_Delete` varchar(16) DEFAULT NULL,
  `col_OldID` varchar(14) DEFAULT NULL,
  `col_UpgradeID` int(11) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_AccountName` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_InvoiceItemAutoID`),
  KEY `IdDescCentre` (`col_InvoiceID`,`col_Description`,`col_Centre`),
  KEY `orignvoiceItemID` (`col_OriginatingUpgradeInvoiceItemID`,`col_Centre`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_InvoiceItemTax`
--

CREATE TABLE IF NOT EXISTS `tb_InvoiceItemTax` (
  `col_InvoiceItemTaxID` int(11) NOT NULL DEFAULT '0',
  `col_InvoiceItemID` int(11) DEFAULT NULL,
  `col_OrderNo` int(11) DEFAULT NULL,
  `col_DisplayRate` decimal(18,6) DEFAULT NULL,
  `col_AppliedRate` decimal(18,6) DEFAULT NULL,
  `col_TaxName` varchar(40) DEFAULT NULL,
  `col_ExemptionReason` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_InvoiceItemTaxID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_IRSGroupAndDescription`
--

CREATE TABLE IF NOT EXISTS `tb_IRSGroupAndDescription` (
  `col_IRSGroupAndDescriptionID` int(11) NOT NULL AUTO_INCREMENT,
  `col_IRSGroup` varchar(65) DEFAULT NULL,
  `col_IRSDescription` varchar(254) DEFAULT NULL,
  `col_CountYN` varchar(65) DEFAULT NULL,
  `col_DescriptionPrompt` varchar(25) DEFAULT NULL,
  `col_QuantityControl` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`col_IRSGroupAndDescriptionID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Item`
--

CREATE TABLE IF NOT EXISTS `tb_Item` (
  `col_ItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ItemOID` int(11) DEFAULT NULL,
  `col_TradeOID` int(11) DEFAULT NULL,
  `col_ItemOrder` int(11) DEFAULT NULL,
  `col_ItemName` varchar(65) DEFAULT NULL,
  `col_AccountingType` varchar(65) DEFAULT NULL,
  `col_ItemRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_ItemID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ItemCosts`
--

CREATE TABLE IF NOT EXISTS `tb_ItemCosts` (
  `col_ItemCostsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ItemCostsOID` int(11) DEFAULT NULL,
  `col_ItemOID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_ItemCostsRcdExpiry` date DEFAULT NULL,
  `col_EffectiveDate` date DEFAULT NULL,
  `col_ExpiryDate` date DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_Cost` decimal(8,2) DEFAULT NULL,
  `col_Credit` decimal(8,2) DEFAULT NULL,
  `col_Grade` varchar(10) DEFAULT NULL,
  `col_CalcType` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_ItemCostsID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Labels`
--

CREATE TABLE IF NOT EXISTS `tb_Labels` (
  `col_LabelID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `col_DateTime` varchar(20) DEFAULT NULL,
  `col_LabelLine1` varchar(100) DEFAULT NULL,
  `col_LabelLine2` varchar(100) DEFAULT NULL,
  `col_LabelLine3` varchar(100) DEFAULT NULL,
  `col_LabelLine4` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_LabelID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=402 ;

--
-- Dumping data for table `tb_Labels`
--
-- Table structure for table `tb_LineCoordinate`
--

CREATE TABLE IF NOT EXISTS `tb_LineCoordinate` (
  `col_LineCoordinateID` int(11) NOT NULL AUTO_INCREMENT,
  `col_X1` int(11) DEFAULT NULL,
  `col_Y1` int(11) DEFAULT NULL,
  `col_X2` int(11) DEFAULT NULL,
  `col_Y2` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_DisplayFloor` varchar(25) DEFAULT NULL,
  `col_Type` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_LineCoordinateID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ;

--
-- Dumping data for table `tb_ListCompany`
--

--
-- Table structure for table `tb_ListCompanyContact`
--

CREATE TABLE IF NOT EXISTS `tb_ListCompanyContact` (
  `col_ListCompanyContactID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_PersonID` int(11) DEFAULT NULL,
  `col_CompanyName` varchar(100) DEFAULT NULL,
  `col_Name` varchar(65) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`col_ListCompanyContactID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;

--
-- Dumping data for table `tb_ListCompanyHistory`
--

--
-- Table structure for table `tb_ListDeficiencyGroup`
--

CREATE TABLE IF NOT EXISTS `tb_ListDeficiencyGroup` (
  `col_ListDeficiencyGroupID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `col_DeficiencyGroup` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`col_ListDeficiencyGroupID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=30 ;

--
-- Dumping data for table `tb_ListDeficiencyGroup`
--

INSERT INTO `tb_ListDeficiencyGroup` (`col_ListDeficiencyGroupID`, `col_DeficiencyGroup`) VALUES
(1, 'Aluminum Siding & Soffit'),
(2, 'Appliances'),
(3, 'Appliance Scratch'),
(4, 'Blinds'),
(5, 'Cabinets - Kitchen & Bathroom'),
(6, 'Cable/Telephone'),
(7, 'Caulking'),
(8, 'Ceramic Tiles'),
(9, 'Concrete'),
(10, 'Countertops'),
(11, 'Custom Island'),
(12, 'Drywall'),
(13, 'Electrical'),
(14, 'Flooring - Laminate/Hardwood'),
(15, 'Floor Leveling'),
(16, 'General'),
(17, 'Glass Scratch'),
(18, 'HVAC'),
(19, 'Mirrors, Sliding Glass Doors, Shelving'),
(20, 'Painting'),
(21, 'Plumbing'),
(22, 'Railings & Dividers - Exterior'),
(24, 'Sprinkers'),
(25, 'Structural Steel'),
(26, 'Trim Carpenty - Interior'),
(27, 'Tub Dent/Scratch'),
(28, 'Waterproofing'),
(29, 'Windows & Doors');

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListDeficiencyType`
--

CREATE TABLE IF NOT EXISTS `tb_ListDeficiencyType` (
  `col_ListDeficiencyTypeID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyType` varchar(65) DEFAULT NULL,
  `col_TarionDeficiencyType` varchar(65) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_DaysDeficiency` int(11) DEFAULT NULL,
  `col_DaysAcceptStart` int(11) DEFAULT NULL,
  `col_DaysAcceptEnd` int(11) DEFAULT NULL,
  `col_DaysWarning` int(11) DEFAULT NULL,
  `col_DaysRepairDeadline` int(11) DEFAULT NULL,
  `col_AvailableOnMobile` char(3) DEFAULT NULL,
  `col_PDIComponentVersion` int(11) DEFAULT NULL,
  `col_DaysWarningExecutive` int(11) DEFAULT NULL,
  `col_DaysTarget` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_ListDeficiencyTypeID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=15 ;

--
-- Dumping data for table `tb_ListDeficiencyType`
--

INSERT INTO `tb_ListDeficiencyType` (`col_ListDeficiencyTypeID`, `col_DeficiencyType`, `col_TarionDeficiencyType`, `col_Order`, `col_DaysDeficiency`, `col_DaysAcceptStart`, `col_DaysAcceptEnd`, `col_DaysWarning`, `col_DaysRepairDeadline`, `col_AvailableOnMobile`, `col_PDIComponentVersion`, `col_DaysWarningExecutive`, `col_DaysTarget`) VALUES
(1, '2 Year', NULL, 50, 0, 366, 730, 30, 120, 'Yes', 2, 100, 8),
(3, '1 Year', NULL, 40, 0, 335, 365, 30, 120, 'Yes', 2, 100, 7),
(4, '30-Day', NULL, 30, 0, 0, 30, 30, 120, 'Yes', 2, 100, 6),
(5, 'PDI', NULL, 20, 0, 0, 0, 20, 10, 'Yes', 2, 11, 5),
(6, 'Quality Control', NULL, 10, 0, 0, 0, 10, 10, 'Yes', 2, 150, 4),
(7, 'Interval', NULL, 60, 0, 0, 0, 10, 0, NULL, NULL, NULL, 9),
(8, 'MSD', NULL, 80, 0, 0, NULL, 10, 0, NULL, NULL, NULL, 12),
(9, 'Emergency', NULL, 70, 0, 0, NULL, 10, 0, NULL, NULL, NULL, 10),
(14, '6 Month', NULL, 35, 0, 180, 300, 30, 120, 'Yes', 2, 100, 7);

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListDocGroup`
--

CREATE TABLE IF NOT EXISTS `tb_ListDocGroup` (
  `col_ListDocGroupID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DocGroup` varchar(40) NOT NULL DEFAULT '',
  PRIMARY KEY (`col_ListDocGroupID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListDocType`
--

CREATE TABLE IF NOT EXISTS `tb_ListDocType` (
  `col_ListDocTypeID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Type` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`col_ListDocTypeID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListGroup`
--

CREATE TABLE IF NOT EXISTS `tb_ListGroup` (
  `col_ListGroupID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Group` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_ListGroupID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListMailGroup`
--

CREATE TABLE IF NOT EXISTS `tb_ListMailGroup` (
  `col_ListMailGroupID` int(11) NOT NULL AUTO_INCREMENT,
  `col_MailGroup` varchar(50) DEFAULT NULL,
  `col_Name` varchar(65) DEFAULT NULL,
  `col_Email` varchar(254) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  KEY `col_ListMailGroupID` (`col_ListMailGroupID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListPayableType`
--

CREATE TABLE IF NOT EXISTS `tb_ListPayableType` (
  `col_ListPayableTypeID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PayableType` varchar(65) NOT NULL DEFAULT '',
  PRIMARY KEY (`col_ListPayableTypeID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListReportedMethod`
--

CREATE TABLE IF NOT EXISTS `tb_ListReportedMethod` (
  `col_ListReportedMethodID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `col_ReportedMethod` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`col_ListReportedMethodID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;

--
-- Dumping data for table `tb_ListReportedMethod`
--

INSERT INTO `tb_ListReportedMethod` (`col_ListReportedMethodID`, `col_ReportedMethod`) VALUES
(1, 'Inspection'),
(2, 'Returned Work Order'),
(3, 'Telephone-Trade Reported'),
(4, 'Letter-Tarion'),
(5, 'Letter-Gas Company'),
(6, 'Letter-Customer Complaint'),
(7, 'Telephone-Customer Complaint'),
(8, 'E-mail'),
(9, 'Active Letter');

-- --------------------------------------------------------

--
-- Table structure for table `tb_ListRoom`
--

CREATE TABLE IF NOT EXISTS `tb_ListRoom` (
  `col_ListRoomID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Room` varchar(35) DEFAULT NULL,
  `col_DestinationField` varchar(65) DEFAULT NULL,
  `col_Model` varchar(100) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_ListRoomID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=19 ;

--
-- Dumping data for table `tb_ListRoom`
--

INSERT INTO `tb_ListRoom` (`col_ListRoomID`, `col_Room`, `col_DestinationField`, `col_Model`, `col_Order`) VALUES
(1, 'GENERAL', NULL, NULL, NULL),
(2, 'FOYER / ENTRY', NULL, NULL, NULL),
(3, 'FOYER CLOSET', NULL, NULL, NULL),
(4, 'KITCHEN', NULL, NULL, NULL),
(5, 'LIVING/DINING ROOM', NULL, NULL, NULL),
(6, 'LAUNDRY', NULL, NULL, NULL),
(7, 'MAIN BATHROOM', NULL, NULL, NULL),
(8, 'POWDER ROOM', NULL, NULL, NULL),
(9, 'DEN', NULL, NULL, NULL),
(10, 'BEDROOM 1', NULL, NULL, NULL),
(11, 'ENSUITE', NULL, NULL, NULL),
(12, 'BEDROOM 2', NULL, NULL, NULL),
(13, 'BEDROOM 2 ENSUITE', NULL, NULL, NULL),
(14, 'BEDROOM 3', NULL, NULL, NULL),
(15, 'BEDROOM 4', NULL, NULL, NULL),
(16, 'COMMON ELEMENT - BALCONY', NULL, NULL, NULL),
(17, 'COMMON ELEMENT - SUITE ENTRY DOOR', NULL, NULL, NULL),
(18, 'COMMON ELEMENT - WINDOWS', NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_Lists`
--

CREATE TABLE IF NOT EXISTS `tb_Lists` (
  `col_ListsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ListsOID` int(11) DEFAULT NULL,
  `col_VariableName` varchar(65) DEFAULT NULL,
  `col_Value` varchar(65) DEFAULT NULL,
  `col_ValueOrder` int(11) DEFAULT NULL,
  `col_ListsRcdExpiry` date DEFAULT NULL,
  `col_Prefix` varchar(10) DEFAULT NULL,
  `col_AccessLevel` int(11) DEFAULT NULL,
  `col_ReqID` char(3) DEFAULT NULL,
  `col_MiscValue` varchar(250) DEFAULT NULL,
  `col_MiscValue2` varchar(250) DEFAULT NULL,
  `col_PurchaserViewYN` char(3) DEFAULT NULL,
  PRIMARY KEY (`col_ListsID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=428 ;

--
-- Dumping data for table `tb_Lists`
--

INSERT INTO `tb_Lists` (`col_ListsID`, `col_ListsOID`, `col_VariableName`, `col_Value`, `col_ValueOrder`, `col_ListsRcdExpiry`, `col_Prefix`, `col_AccessLevel`, `col_ReqID`, `col_MiscValue`, `col_MiscValue2`, `col_PurchaserViewYN`) VALUES
(1, NULL, 'CMS-TypeForAddAppointment', 'Callback', 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 0, 'NULL', 'Letter From Decor', NULL, NULL, NULL, NULL, NULL, 'LetterFromDecor.php', NULL, NULL),
(3, 0, 'NULL', 'Introduction', NULL, NULL, NULL, NULL, NULL, 'Introduction.php', NULL, NULL),
(4, 0, 'NULL', 'Review Decor Experience', NULL, NULL, NULL, NULL, NULL, 'ReviewDecorExp.php', NULL, NULL),
(5, 0, 'NULL', 'Receipt of Building Permit (If Applicable)', NULL, NULL, NULL, NULL, NULL, 'RecieptBuildingPermit.php', NULL, NULL),
(6, 0, 'NULL', 'PDI - Closing Procedures', NULL, NULL, NULL, NULL, NULL, 'PDI-Closing.php', NULL, NULL),
(7, 0, 'NULL', 'Final Contact', NULL, NULL, NULL, NULL, NULL, 'FinalContact.php', NULL, NULL),
(8, 0, 'NULL', 'First Tentative', NULL, NULL, NULL, NULL, NULL, 'FirstTentative.php', NULL, NULL),
(9, 0, 'NULL', 'Notice to set Delayed Closing Date (10 Day)', NULL, NULL, NULL, NULL, NULL, 'DelayedClosingDate.php', NULL, NULL),
(10, 0, 'NULL', 'Notice to set Second Tentative Closing Date', NULL, NULL, NULL, NULL, NULL, 'SecondTentative.php', NULL, NULL),
(11, 0, 'NULL', 'Notice to set Firm Closing Date', NULL, NULL, NULL, NULL, NULL, 'FirmClosing.php', NULL, NULL),
(12, 0, 'NULL', 'Construction Start', NULL, NULL, NULL, NULL, NULL, 'ConstructionStart.php', NULL, NULL),
(13, 0, 'NULL', 'Validate Email', NULL, NULL, NULL, NULL, NULL, 'ValidateEmail.php', NULL, NULL),
(14, 0, 'NULL', 'Meet Tentative', NULL, NULL, NULL, NULL, NULL, 'MeetTentative.php', NULL, NULL),
(15, NULL, 'NoteType', 'General', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(16, NULL, 'SignOffType', 'Complete - HO Signed Checklist', 6, NULL, NULL, 0, NULL, '', NULL, NULL),
(17, NULL, 'SignOffType', 'Complete - HO Signed PDI', 5, NULL, NULL, 0, NULL, '', NULL, NULL),
(18, NULL, 'SignOffType', 'Complete - HO Signed WO', 4, NULL, NULL, 0, NULL, '', NULL, NULL),
(19, NULL, 'SignOffType', 'Complete - As per Trade', 3, NULL, NULL, 0, NULL, '', NULL, NULL),
(20, NULL, 'SignOffType', 'Complete - As Per Site', 2, NULL, NULL, 0, NULL, '', NULL, NULL),
(21, NULL, 'SignOffType', 'Not Applicable', 1, NULL, NULL, 0, NULL, '', NULL, NULL),
(22, NULL, 'PhoneType', 'Cell', 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(23, NULL, 'PhoneType', 'Home', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(24, NULL, 'PhoneType', 'Work', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(25, NULL, 'PhoneType', 'Fax', 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(26, 0, 'PersonType', 'Contact', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(27, NULL, 'PhoneType', 'Local', 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(28, NULL, 'SignOffType', 'Duplicate', 7, NULL, NULL, 0, NULL, '', NULL, NULL),
(29, NULL, 'SignOffType', 'Entered in Error', 8, NULL, NULL, 0, NULL, '', NULL, NULL),
(30, NULL, 'BuildProType', 'Decor', 1, NULL, '', 4, NULL, NULL, '', NULL),
(31, NULL, 'BuildProPhaseCategory', 'Brochures', 2, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(32, NULL, 'BuildProPhaseCategory', 'Phase Colour Package', 4, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(33, NULL, 'BuildProModelCategory', 'Working Drawing - Final Architectual', 33, NULL, '', 4, NULL, 'GENERIC', 'FolderGreen.jpg', NULL),
(34, NULL, 'BuildProModelCategory', 'Floor Layout - Final Engineered', 30, NULL, NULL, 0, NULL, 'GENERIC', 'FolderGreen.jpg', NULL),
(35, NULL, 'BuildProModelCategory', 'HVAC Drawing - Final', 31, NULL, NULL, 0, NULL, 'GENERIC', 'FolderGreen.jpg', NULL),
(36, NULL, 'BuildProModelCategory', 'Truss Layout - Final', 32, NULL, NULL, 0, NULL, 'GENERIC', 'FolderGreen.jpg', NULL),
(37, NULL, 'BuildProPhaseCategory', 'Municipal Addresses', 9, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(38, NULL, 'BuildProPhaseCategory', 'Production Schedule', 10, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(39, NULL, 'BuildProPhaseCategory', 'Site/Key Plan', 11, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(40, NULL, 'BuildProPhaseCategory', 'Tub Specs', 3, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(41, NULL, 'BuildProUnitCategory', 'Siting', 488, NULL, '', 4, NULL, 'GENERIC', 'FolderGreen.jpg', NULL),
(42, NULL, 'BuildProPhaseCategory', 'Cover Letter', 8, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(43, NULL, 'BuildProPhaseCategory', 'Feature Sheet', 7, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(44, NULL, 'BuildProPhaseCategory', 'Health and Safety', 6, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(45, NULL, 'BuildProUnitCategory', 'Construction Summary', 444, NULL, '', 4, NULL, 'GENERIC', 'FolderOrange.jpg', NULL),
(46, NULL, 'BuildProUnitCategory', 'Working Drawing -  Lot Specific', 521, NULL, NULL, NULL, NULL, 'GENERIC', 'FolderAqua.jpg', NULL),
(47, NULL, 'BuildProUnitCategory', 'Streetscapes', 522, NULL, NULL, NULL, NULL, 'GENERIC', 'FolderAqua.jpg', NULL),
(48, NULL, 'BuildProUnitCategory', 'Soil Report', 523, NULL, NULL, NULL, NULL, 'GENERIC', 'FolderAqua.jpg', NULL),
(49, NULL, 'DeficiencyDefectDamage', 'Defect', 10, NULL, NULL, 0, NULL, '', NULL, NULL),
(50, NULL, 'DeficiencyDefectDamage', 'Damage', 20, NULL, NULL, 0, NULL, '', NULL, NULL),
(51, NULL, 'BuildProUnitCategory', 'Siting - Veneer', 524, NULL, NULL, NULL, NULL, 'GENERIC', 'FolderAqua.jpg', NULL),
(52, NULL, 'BuildProModelCategory', 'Brochure', 34, NULL, NULL, 0, NULL, 'GENERIC', 'FolderGreen.jpg', NULL),
(53, NULL, 'BuildProPhaseCategory', 'Grading', 5, NULL, NULL, 0, NULL, 'GENERIC', 'FolderBlue.jpg', NULL),
(54, NULL, 'BuildProUnitCategory', 'Exterior Colour Package', 525, NULL, NULL, 0, NULL, 'GENERIC', 'FolderOrange.jpg', NULL),
(57, 1, 'PersonType', 'Tenant', 1, NULL, NULL, 0, NULL, '1', NULL, NULL),
(58, 2, 'PersonType', 'Assignee', 3, NULL, NULL, 0, NULL, '', NULL, NULL),
(59, 3, 'PersonType', 'Purchaser', 4, NULL, NULL, 0, NULL, '', NULL, NULL),
(60, NULL, 'BuildProPOCategory', 'POs', 1, NULL, NULL, NULL, NULL, 'GENERIC', '', NULL),
(89, NULL, 'BuildProPOCategory', 'SOS', 2, NULL, NULL, NULL, NULL, 'GENERIC', '', NULL),
(70, 4, 'XXCustomer Documents', 'Centre Global', 10, NULL, NULL, 1, NULL, '', '', NULL),
(78, NULL, 'CMS-TypeForAddAppointment', 'Meet Firm', NULL, NULL, NULL, NULL, NULL, 'GreConfirmFirmClosing.php', NULL, NULL),
(79, NULL, 'CMS-TypeForAddAppointment', 'Meet Second', NULL, NULL, NULL, NULL, NULL, 'GreSecondTentativeConfirm.php', NULL, NULL),
(80, NULL, 'CMS-TypeForAddAppointment', 'Formal Zoning Approval', NULL, NULL, NULL, NULL, NULL, 'GreFormalZoningApproval.php', NULL, NULL),
(81, NULL, 'CMS-TypeForAddAppointment', 'Satisfy Early Temination', NULL, NULL, NULL, NULL, NULL, 'GreSatisfyEarlyTemination.php', NULL, NULL),
(82, NULL, 'CMS-TypeForAddAppointment', 'Strike Notice May 2016', NULL, NULL, NULL, NULL, NULL, 'GreStrikeMay2016.php', NULL, NULL),
(83, NULL, 'CMS-TypeForAddAppointment', 'End Of Strike Notice May 2016', NULL, NULL, NULL, NULL, NULL, 'GreStrikeEndMay2016.php', NULL, NULL),
(84, NULL, 'BuildProTypeCategory', 'Brochures', 2, NULL, NULL, NULL, NULL, 'GENERIC', NULL, NULL),
(85, NULL, 'BuildProTypeCategory', 'Working Drawings', 3, NULL, NULL, NULL, NULL, 'GENERIC', NULL, NULL),
(86, NULL, 'CMS-TypeForAddAppointment', 'Follow Up', NULL, NULL, NULL, NULL, NULL, 'GreStrikeMay2016.php', NULL, NULL),
(91, NULL, 'AppointmentCancelReason', 'Homeowner No Show', 10, NULL, NULL, 1, NULL, '', '', NULL),
(92, NULL, 'AppointmentCancelReason', 'Homeowner Cancelled', 20, NULL, NULL, 0, NULL, '', '', NULL),
(93, NULL, 'AppointmentCancelReason', 'Trade No Show', 30, NULL, NULL, 0, NULL, '', '', NULL),
(94, NULL, 'AppointmentCancelReason', 'Trade Cancelled', 40, NULL, NULL, 0, NULL, '', '', NULL),
(95, NULL, 'AppointmentCancelReason', 'Builder Cancelled', 50, NULL, NULL, 0, NULL, '', '', NULL),
(96, NULL, 'AppointmentCancelReason', 'Parts Required', 50, NULL, NULL, 0, NULL, '', '', NULL),
(97, 17, 'NoteType', 'Availability', 20, NULL, NULL, 0, NULL, '', '', NULL),
(98, 18, 'AppointmentCancelReason', 'Due To Weather', 60, NULL, NULL, 0, NULL, '', '', NULL),
(99, 19, 'AppointmentCancelReason', 'Due to House Condition', 70, NULL, NULL, 0, NULL, '', '', NULL),
(193, NULL, 'ListCompanyColor', 'Olive', 1, NULL, NULL, 0, NULL, '#808000', '', NULL),
(192, NULL, 'ListCompanyColor', 'Green', 1, NULL, NULL, 0, NULL, '#008000', '', NULL),
(191, NULL, 'ListCompanyColor', 'Maroon', 1, NULL, NULL, 0, NULL, '#800000', '', NULL),
(190, NULL, 'ListCompanyColor', 'Brown', 1, NULL, NULL, 0, NULL, '#A52A2A', '', NULL),
(189, NULL, 'ListCompanyColor', 'Orange', 1, NULL, NULL, 0, NULL, '#FFA500', '', NULL),
(188, NULL, 'ListCompanyColor', 'Black', 1, NULL, NULL, 0, NULL, '#000000', '', NULL),
(187, NULL, 'ListCompanyColor', 'Gray or Grey', 1, NULL, NULL, 0, NULL, '#808080', '', NULL),
(186, NULL, 'ListCompanyColor', 'Silver', 1, NULL, NULL, 0, NULL, '#C0C0C0', '', NULL),
(185, NULL, 'ListCompanyColor', 'White', 1, NULL, NULL, 0, NULL, '#FFFFFF', '', NULL),
(184, NULL, 'ListCompanyColor', 'Magenta', 1, NULL, NULL, 0, NULL, '#FF00FF', '', NULL),
(183, NULL, 'ListCompanyColor', 'Lime', 1, NULL, NULL, 0, NULL, '#00FF00', '', NULL),
(182, NULL, 'ListCompanyColor', 'Yellow', 1, NULL, NULL, 0, NULL, '#FFFF00', '', NULL),
(181, NULL, 'ListCompanyColor', 'Purple', 1, NULL, NULL, 0, NULL, '#800080', '', NULL),
(180, NULL, 'ListCompanyColor', 'LightBlue', 1, NULL, NULL, 0, NULL, '#ADD8E6', '', NULL),
(179, NULL, 'ListCompanyColor', 'DarkBlue', 1, NULL, NULL, 0, NULL, '#0000A0', '', NULL),
(178, NULL, 'ListCompanyColor', 'Blue', 1, NULL, NULL, 0, NULL, '#0000FF', '', NULL),
(177, NULL, 'ListCompanyColor', 'Cyan', 1, NULL, NULL, 0, NULL, '#00FFFF', '', NULL),
(176, NULL, 'ListCompanyColor', 'Red', 1, NULL, NULL, 0, NULL, '#FF0000', '', NULL),
(174, NULL, 'SOS-ContractStatus', 'Roof Ply', 30, NULL, NULL, 0, NULL, '', '', NULL),
(173, NULL, 'SOS-ContractStatus', 'Trusses', 30, NULL, NULL, 0, NULL, '', '', NULL),
(172, NULL, 'SOS-ContractStatus', 'Loft Part', 30, NULL, NULL, 0, NULL, '', '', NULL),
(171, NULL, 'SOS-ContractStatus', 'Loft Sub', 30, NULL, NULL, 0, NULL, '', '', NULL),
(170, NULL, 'SOS-ContractStatus', '2nd Part', 30, NULL, NULL, 0, NULL, '', '', NULL),
(169, NULL, 'SOS-ContractStatus', '2nd Sub', 30, NULL, NULL, 0, NULL, '', '', NULL),
(168, NULL, 'SOS-ContractStatus', '1st Part', 30, NULL, NULL, 0, NULL, '', '', NULL),
(167, NULL, 'SOS-ContractStatus', '1st Sub', 20, NULL, NULL, 0, NULL, '', '', NULL),
(166, NULL, 'SOS-ContractStatus', 'IP', 30, NULL, NULL, 0, NULL, '', '', NULL),
(165, NULL, 'Customer Documents', 'SERVICE-ENTRY PERMISSION', 120, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(164, NULL, 'Customer Documents', 'PDI-WORKORDER COMPLETION-TRADE', 110, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(163, NULL, 'Customer Documents', 'MORTGAGE AND FINANCE', 100, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(162, NULL, 'Customer Documents', 'DEPOSIT CHEQUES', 90, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(161, NULL, 'Customer Documents', 'DÉCOR', 80, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(160, NULL, 'Customer Documents', 'CORRESPONDENCE - FILE', 70, NULL, NULL, 30, NULL, NULL, NULL, NULL),
(159, NULL, 'Customer Documents', 'EXTERIOR COLOUR SCHEME', 60, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(158, NULL, 'Customer Documents', 'BROKER AND AGENT CO-OP', 50, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(157, NULL, 'Customer Documents', 'ASSIGNMENT', 40, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(156, NULL, 'Customer Documents', 'APS - NOT EXECUTED', 30, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(155, NULL, 'Customer Documents', 'APS - EXECUTED', 20, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(154, NULL, 'Customer Documents', 'AMENDMENTS', 10, NULL, NULL, 50, NULL, NULL, NULL, NULL),
(151, NULL, 'SOS-ContractStatus', 'Del', 10, NULL, NULL, 0, NULL, '', '', NULL),
(152, NULL, 'SOS-ContractStatus', 'On Order', 20, NULL, NULL, 0, NULL, '', '', NULL),
(153, NULL, 'SOS-ContractStatus', 'N/A', 30, NULL, NULL, 0, NULL, '', '', NULL),
(408, NULL, 'BuildProType', 'Internal', 0, NULL, NULL, NULL, NULL, NULL, '', NULL),
(409, NULL, 'BuildProUnitCategory', 'Decor', 0, NULL, NULL, NULL, NULL, 'Decor', 'FolderAqua.jpg', NULL),
(411, NULL, 'BuildProPOCategory', 'Decor POs', 0, NULL, NULL, NULL, NULL, 'Decor', 'FolderBlue.jpg', NULL),
(412, NULL, 'BuildProPhaseCategory', 'Decor', 0, NULL, NULL, NULL, NULL, 'Decor', 'FolderAqua.jpg', NULL),
(427, NULL, 'PO-AccountName', 'n/a', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(420, NULL, 'BuildProModelGroupCategory', 'Arch Plan', 0, NULL, NULL, NULL, NULL, 'Internal', 'FolderAqua.jpg', NULL),
(421, NULL, 'BuildProModelCategory', 'Arch Plan', 0, NULL, NULL, NULL, NULL, 'Internal', 'FolderAqua.jpg', NULL),
(422, NULL, 'BuildProType', 'Construction', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(424, NULL, 'BuildProPhaseCategory', 'Arch Plan', 0, NULL, NULL, NULL, NULL, 'Construction', 'FolderAqua.jpg', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_Lot`
--

CREATE TABLE IF NOT EXISTS `tb_Lot` (
  `col_LotID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OriginatingLotID` int(11) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_LotShort` varchar(10) DEFAULT NULL,
  `col_LotClass` varchar(10) DEFAULT NULL,
  `col_Munaddress` varchar(100) DEFAULT NULL,
  `col_Apartment` varchar(15) DEFAULT NULL,
  `col_City` varchar(25) DEFAULT NULL,
  `col_Province` varchar(25) DEFAULT NULL,
  `col_PostalCode` varchar(20) DEFAULT NULL,
  `col_LegalDesc` varchar(254) DEFAULT NULL,
  `col_MunType` varchar(25) DEFAULT NULL,
  `col_MortRate` varchar(10) DEFAULT NULL,
  `col_CapRate` varchar(10) DEFAULT NULL,
  `col_MaxMort` varchar(10) DEFAULT NULL,
  `col_Lender` varchar(25) DEFAULT NULL,
  `col_SalesStatus` varchar(20) DEFAULT NULL,
  `col_Bonus` varchar(100) DEFAULT NULL,
  `col_Orientation` varchar(15) DEFAULT NULL,
  `col_Frontage` varchar(10) DEFAULT NULL,
  `col_Depth` varchar(20) DEFAULT NULL,
  `col_CondoFee` varchar(10) DEFAULT NULL,
  `col_CondoCorp` varchar(10) DEFAULT NULL,
  `col_CondoLevel` varchar(10) DEFAULT NULL,
  `col_DisplayFloor` varchar(25) DEFAULT NULL,
  `col_TaxRollNumber` varchar(30) DEFAULT NULL,
  `col_ParkingUnit` varchar(20) DEFAULT NULL,
  `col_BlockNumber` varchar(20) DEFAULT NULL,
  `col_SizeArea` varchar(65) DEFAULT NULL,
  `col_BuildingPermitIssuedYN` varchar(10) DEFAULT NULL,
  `col_BuildingPermitNumber` varchar(20) DEFAULT NULL,
  `col_BuildingPermitIssueDate` date DEFAULT NULL,
  `col_CDMSComments` varchar(250) DEFAULT NULL,
  `col_LotAccountingCode` varchar(25) DEFAULT NULL,
  `col_ToProcess` varchar(10) DEFAULT NULL,
  `col_Condition` varchar(65) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_RateExpiry` date DEFAULT NULL,
  `col_CutoffInterior` date DEFAULT NULL,
  `col_CutoffPlumbing` date DEFAULT NULL,
  `col_ExpectedConstructionStartDate` date DEFAULT NULL,
  `col_ConstructionStartDate` date NOT NULL DEFAULT '0000-00-00',
  `col_StartDate` date DEFAULT NULL,
  `col_ReleaseDate` date DEFAULT NULL,
  `col_TargetClosing` date DEFAULT NULL,
  `col_OccDate` date DEFAULT NULL,
  `col_Condo` char(3) DEFAULT NULL,
  `col_NoPrint` char(3) DEFAULT NULL,
  `col_Print` char(3) DEFAULT NULL,
  `col_ReleaseToStage` varchar(200) DEFAULT NULL,
  `col_ExternalLot` varchar(100) DEFAULT NULL,
  `col_SOSComment` varchar(400) DEFAULT NULL,
  `col_SOSShowOnInternalSchedYN` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`col_LotID`),
  KEY `LotPhaseCentre2` (`col_Lot`,`col_Phase`,`col_Centre`),
  KEY `indxCentrePhase` (`col_Centre`,`col_Phase`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1238 ;

--
-- Dumping data for table `tb_Lot`
--

CREATE TABLE IF NOT EXISTS `tb_LotConflict` (
  `col_LotConflictID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_ConflictLot` varchar(40) DEFAULT NULL,
  `col_ConflictPhase` varchar(20) DEFAULT NULL,
  `col_ConflictCentre` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`col_LotConflictID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_LotCoordinate`
--

CREATE TABLE IF NOT EXISTS `tb_LotCoordinate` (
  `col_LotCoordinateID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_DisplayFloor` varchar(25) DEFAULT NULL,
  `col_PrettyLotNumber` varchar(40) DEFAULT NULL,
  `col_XYPoints` varchar(255) DEFAULT NULL,
  `col_NumberX` int(11) DEFAULT NULL,
  `col_NumberY` int(11) DEFAULT NULL,
  `col_PremiumX` int(11) DEFAULT NULL,
  `col_PremiumY` int(11) DEFAULT NULL,
  `col_DotX` int(11) DEFAULT NULL,
  `col_DotY` int(11) DEFAULT NULL,
  `col_LinkPath` varchar(250) DEFAULT NULL,
  `col_Link` varchar(250) DEFAULT NULL,
  `col_Type` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_LotCoordinateID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=172 ;

--
-- Dumping data for table `tb_LotCoordinate`
--

CREATE TABLE IF NOT EXISTS `tb_MaintenanceReminders` (
  `col_MaintenanceReminderID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(40) DEFAULT NULL,
  `col_Lot` varchar(20) DEFAULT NULL,
  `col_LastSendDate` date DEFAULT NULL,
  `col_ActiveYN` char(3) DEFAULT NULL,
  `col_ScheduledEventID` varchar(4) DEFAULT NULL,
  PRIMARY KEY (`col_MaintenanceReminderID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_MiscAdmin`
--

CREATE TABLE IF NOT EXISTS `tb_MiscAdmin` (
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_SiteId` varchar(10) DEFAULT NULL,
  `col_ActiveYN` char(3) DEFAULT NULL,
  `col_OriginatingMiscAdminID` int(11) DEFAULT NULL,
  `col_BSTSyncYN` char(3) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Model`
--

CREATE TABLE IF NOT EXISTS `tb_Model` (
  `col_ModelID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OriginatingModelID` int(11) DEFAULT NULL,
  `col_ModelOID` int(11) DEFAULT NULL,
  `col_ModelOrder` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_CondoFee` varchar(10) DEFAULT NULL,
  `col_ModelPrice` varchar(10) DEFAULT NULL,
  `col_ModelType` varchar(65) DEFAULT NULL,
  `col_ModelClass` varchar(65) DEFAULT NULL,
  `col_ApproxTax` varchar(10) DEFAULT NULL,
  `col_ApproxHeat` varchar(10) DEFAULT NULL,
  `col_SquareFeet` varchar(10) DEFAULT NULL,
  `col_TotalSqFt` decimal(8,2) DEFAULT NULL,
  `col_FinishedFloorSqFt` decimal(8,2) DEFAULT NULL,
  `col_Tenancy` varchar(65) DEFAULT NULL,
  `col_GarageType` varchar(10) DEFAULT NULL,
  `col_ToProcess` varchar(10) DEFAULT NULL,
  `col_ScrambledName` varchar(50) DEFAULT NULL,
  `col_ModelRcdExpiry` date DEFAULT NULL,
  `col_ModelLink` varchar(250) DEFAULT NULL,
  `col_LotClass` varchar(10) DEFAULT NULL,
  `col_ModelGroup` varchar(65) DEFAULT NULL,
  `col_ExternalModel` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_ModelID`),
  KEY `origModelID` (`col_OriginatingModelID`,`col_Centre`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ModelGraphic`
--

CREATE TABLE IF NOT EXISTS `tb_ModelGraphic` (
  `col_ModelGraphicID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_GraphicFile` varchar(50) DEFAULT NULL,
  `col_GraphicType` varchar(50) DEFAULT NULL,
  `col_GraphicLink` varchar(200) DEFAULT NULL,
  `col_GraphicDescription` varchar(200) DEFAULT NULL,
  `col_OriginalFileName` varchar(100) DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_ModelGraphicRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_ModelGraphicID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ModelPhase`
--

CREATE TABLE IF NOT EXISTS `tb_ModelPhase` (
  `col_ModelPhaseID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ModelOID` int(11) DEFAULT NULL,
  `col_PhaseOID` int(11) DEFAULT NULL,
  `col_ModelPhaseOID` int(11) DEFAULT NULL,
  `col_ModelPhaseRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_ModelPhaseID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_MyPortalServices`
--

CREATE TABLE IF NOT EXISTS `tb_MyPortalServices` (
  `col_MyPortalServicesID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ServiceTitle` varchar(65) NOT NULL DEFAULT '',
  `col_ServiceDetail` text,
  PRIMARY KEY (`col_MyPortalServicesID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Note`
--

CREATE TABLE IF NOT EXISTS `tb_Note` (
  `col_NoteID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Note` text,
  `col_PostDate` date DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  `col_App` varchar(15) DEFAULT NULL,
  `col_Type` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`col_NoteID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_OptGroup`
--

CREATE TABLE IF NOT EXISTS `tb_OptGroup` (
  `col_OptGroupID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OptGroup` varchar(40) NOT NULL,
  `col_Markup` decimal(10,6) DEFAULT NULL,
  `col_MinimumSellingPrice` decimal(18,2) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_OptGroupID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Payables`
--

CREATE TABLE IF NOT EXISTS `tb_Payables` (
  `col_PayablesID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_CompanyName` varchar(100) NOT NULL DEFAULT '',
  `col_Amount` decimal(18,2) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_ProcessedDate` date DEFAULT NULL,
  `col_Employee` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_PayablesID`),
  KEY `indxCompanyname` (`col_CompanyName`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_PaymentType`
--

CREATE TABLE IF NOT EXISTS `tb_PaymentType` (
  `col_PaymentTypeID` int(11) DEFAULT NULL,
  `col_InvoiceID` int(11) DEFAULT NULL,
  `col_PaymentType` varchar(65) DEFAULT NULL,
  `col_PaymentAmount` decimal(14,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_PDIComponent`
--

CREATE TABLE IF NOT EXISTS `tb_PDIComponent` (
  `col_PDIComponentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Version` int(11) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_Room` varchar(30) DEFAULT NULL,
  `col_Component` varchar(30) DEFAULT NULL,
  `col_DropProblem` text,
  `col_DropLocation` varchar(255) DEFAULT NULL,
  `col_DeficiencyGroup` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`col_PDIComponentID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=133 ;

--
-- Dumping data for table `tb_PDIComponent`
--

INSERT INTO `tb_PDIComponent` (`col_PDIComponentID`, `col_Version`, `col_Order`, `col_Room`, `col_Component`, `col_DropProblem`, `col_DropLocation`, `col_DeficiencyGroup`) VALUES
(1, 2, 10100, 'GENERAL', '-', '', NULL, NULL),
(2, 2, 10200, 'GENERAL', 'NOTE', '', NULL, NULL),
(3, 2, 12100, 'FOYER / ENTRY', '-', '', NULL, NULL),
(4, 2, 12200, 'FOYER / ENTRY', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(5, 2, 12300, 'FOYER / ENTRY', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(6, 2, 12400, 'FOYER / ENTRY', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(7, 2, 12500, 'FOYER / ENTRY', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(8, 2, 12600, 'FOYER / ENTRY', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(9, 2, 12700, 'FOYER / ENTRY', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(10, 2, 12800, 'FOYER / ENTRY', 'NOTE', '', NULL, NULL),
(11, 2, 14100, 'FOYER CLOSET', '-', '', NULL, NULL),
(12, 2, 14200, 'FOYER CLOSET', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(13, 2, 16100, 'KITCHEN', '-', '', NULL, NULL),
(14, 2, 16200, 'KITCHEN', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(15, 2, 16300, 'KITCHEN', 'CABINETS', 'O.K. ,ADJUST ,CABINET ,CHIPPED ,CORNER CABINET ,DENTED ,DRAWER ,DRAWER RAIL ,DRAWERS FRONT ,EXCESSIVE GAP ,FILLER STRIP ,FINISHED END ,GABLE END ,GLASS DOOR ,HANDLES ,LEFT DOOR ,LOWER ,MICROWAVE ,MISSING ,NEXT TO FRIDGE ,NEXT TO MICROWAVE ,NEXT TO SINK ,NEXT TO STOVE ,REPLACE ,RIDGE PANEL ,RIGHT DOOR ,SCRATCHED ,SCREWS ,SHELF ,TO LEFT OF ,TO RIGHT OF ,UPPER CABINET', NULL, NULL),
(16, 2, 16400, 'KITCHEN', 'COUNTERTOPS', 'O.K. ,AND ,AT ,BACK ,BACKSPLASH ,BY SINK ,BY WALL ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,CRACKED ,DEBRIS ,DENTED ,EDGE ,FINISHED EDGE ,FRONT ,GRANITE ,GROUT ,INCOMPLETE ,LEVEL ,MISSING ,ON ,PAINT ,POLISH ,REMOVE ,REPAIR SEAM ,REPAIR TILE ,REPLACE ,ROLL ,SCRATCHED ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDER MOUNT SINK ,WRONG COLOUR', NULL, NULL),
(17, 2, 16500, 'KITCHEN', 'SINK', 'O.K. ,AERATOR ,AND ,AT ,BACKSPLASH ,CHIPPED ,COLD WATER ,DEBRIS ,DENTED ,EDGE ,FAUCET ,HOT COLD ,HOT WATER ,LEVER ,LINK ,MARKS ,MISSING ,NO WATER ,O RING ,PAINT ,PEDESTAL ,REMOVE ,REPAIR CHIP ,SCRATCHED ,SHUT OFF VALVE ,SILICONE ,SINGLE ,SINK STRAINER ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDERMOUNT SINK ,VEGETABLE SPRAYER', NULL, NULL),
(18, 2, 16600, 'KITCHEN', 'APPLIANCE', 'AT ,ALONG ,BACK ,BLACK ,BOTTOM ,CHIPPED ,COOK TOP ,CRACKED ,DENTED ,DISHWASHER ,EDGE ,FRIDGE ,FRONT ,KNOB ,LEVEL ,LIGHT BULBS ,MICROWAVE ,MICROWAVE EXHAUST ,NOT CONNECTED ,NOT HOOKED UP ,PAINT ,PLATE ,POWER ,RANGE ,REMOVE ,REVERSE DOOR ,SCRATCHED ,STAINLESS STEEL ,STOVE ,TOE TES', NULL, NULL),
(19, 2, 16700, 'KITCHEN', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(20, 2, 16800, 'KITCHEN', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(21, 2, 16900, 'KITCHEN', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(22, 2, 17100, 'KITCHEN', 'BACKSPLASH', '', NULL, NULL),
(23, 2, 17200, 'KITCHEN', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(24, 2, 17300, 'KITCHEN', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(25, 2, 17400, 'KITCHEN', 'NOTE', '', NULL, NULL),
(26, 2, 20100, 'LIVING/DINING ROOM', '-', '', NULL, NULL),
(27, 2, 20200, 'LIVING/DINING ROOM', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(28, 2, 20300, 'LIVING/DINING ROOM', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(29, 2, 20400, 'LIVING/DINING ROOM', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(30, 2, 20500, 'LIVING/DINING ROOM', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(31, 2, 20600, 'LIVING/DINING ROOM', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(32, 2, 20700, 'LIVING/DINING ROOM', 'NOTE', '', NULL, NULL),
(33, 2, 22100, 'LAUNDRY CLOSET', '-', '', NULL, NULL),
(34, 2, 22200, 'LAUNDRY CLOSET', 'NOTE', '', NULL, NULL),
(35, 2, 22300, 'LAUNDRY CLOSET', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(36, 2, 22400, 'LAUNDRY CLOSET', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(37, 2, 23100, 'MAIN BATHROOM', '-', '', NULL, NULL),
(38, 2, 23200, 'MAIN BATHROOM', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOILET PAPER HOLDER ,TOUCH UP WHERE MARKED WITH NOTES ,TOWEL BAR', NULL, NULL),
(39, 2, 23300, 'MAIN BATHROOM', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(40, 2, 23400, 'MAIN BATHROOM', 'TUB', 'O.K. ,ALONG ,AT ,BACK ,BOTTOM ,CALUKING ,CHIPPED ,CLEAN ,COLD WATER ,DENTED ,EDGE ,FAUCET ,FRONT ,GROUT ,HOT WATER ,JACCUZI ,LEDGE ,LEFT SIDE ,NOT ,PLATE ,PLUGGED ,REPLACE ,RIGHT SIDE ,SCRATCHED ,SHOWER DOOR ,SHOWER FLOOR ,SHOWER HEAD ,SHOWER ROD ,SILICONE ,SOAP DISH ,SPOUT ,TILE SURROUND ,TUB PLUG ,TUB STOPPER ,WATER ,WORKING', NULL, NULL),
(41, 2, 23500, 'MAIN BATHROOM', 'TOILET', 'O.K. ,AND ,AROUND ,AT ,CAULK ,CHECK ,CLEAN ,CONTINUOUSLY ,DEBRIS ,FLANGE ,FLOAT ,FOR ,INSTALL ,LID ,MISSING ,O RINGS ,PAINT ,REMOVE ,ROUND ,RUNS ,SCREW CAPS ,SHUT OFF VALVE ,SILICONE ,SQUARE ,TOILET SEAT ,TOILET TANK ,WATER LEVEL', NULL, NULL),
(42, 2, 23600, 'MAIN BATHROOM', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(43, 2, 23700, 'MAIN BATHROOM', 'SINK', 'O.K. ,AERATOR ,AND ,AT ,BACKSPLASH ,CHIPPED ,COLD WATER ,DEBRIS ,DENTED ,EDGE ,FAUCET ,HOT COLD ,HOT WATER ,LEVER ,LINK ,MARKS ,MISSING ,NO WATER ,O RING ,PAINT ,PEDESTAL ,REMOVE ,REPAIR CHIP ,SCRATCHED ,SHUT OFF VALVE ,SILICONE ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDERMOUNT SINK', NULL, NULL),
(44, 2, 23900, 'MAIN BATHROOM', 'COUNTERTOPS', 'O.K. ,AND ,AT ,BACK ,BACKSPLASH ,BY SINK ,BY WALL ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,CRACKED ,DEBRIS ,DENTED ,EDGE ,FINISHED EDGE ,FRONT ,GRANITE ,GROUT ,INCOMPLETE ,LEVEL ,MISSING ,ON ,PAINT ,POLISH ,REMOVE ,REPAIR SEAM ,REPAIR TILE ,REPLACE ,ROLL ,SCRATCHED ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDER MOUNT SINK ,VANITY MIRROR ,WRONG COLOUR', NULL, NULL),
(45, 2, 24000, 'MAIN BATHROOM', 'VANITY CABINETS', 'O.K. ,ACCESS DOOR ,AROUND PIPES ,CAILKING ,CHIPPED ,DENTED ,DRAWER ,FINISHED END ,GABLE END ,HANDLES ,KICK PLATE ,LEFT DOOR ,MISSING ,PAINT ,PATCH ,REPAINT ,REPAIR ,RIGHT DOOR ,SCRATCHED ,TO LEFT OF ,TO RIGHT OF', NULL, NULL),
(46, 2, 24100, 'MAIN BATHROOM', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(47, 2, 24200, 'MAIN BATHROOM', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(48, 2, 24300, 'MAIN BATHROOM', 'NOTE', '', NULL, NULL),
(49, 2, 26100, 'POWDER ROOM', '-', '', NULL, NULL),
(50, 2, 26200, 'POWDER ROOM', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOILET PAPER HOLDER ,TOUCH UP WHERE MARKED WITH NOTES ,TOWEL BAR', NULL, NULL),
(51, 2, 26300, 'POWDER ROOM', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(52, 2, 26400, 'POWDER ROOM', 'TOILET', 'O.K. ,AND ,AROUND ,AT ,CAULK ,CHECK ,CLEAN ,CONTINUOUSLY ,DEBRIS ,FLANGE ,FLOAT ,FOR ,INSTALL ,LID ,MISSING ,O RINGS ,PAINT ,REMOVE ,ROUND ,RUNS ,SCREW CAPS ,SHUT OFF VALVE ,SILICONE ,SQUARE ,TOILET SEAT ,TOILET TANK ,WATER LEVEL', NULL, NULL),
(53, 2, 26500, 'POWDER ROOM', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(54, 2, 26600, 'POWDER ROOM', 'SINK', 'O.K. ,AERATOR ,AND ,AT ,BACKSPLASH ,CHIPPED ,COLD WATER ,DEBRIS ,DENTED ,EDGE ,FAUCET ,HOT COLD ,HOT WATER ,LEVER ,LINK ,MARKS ,MISSING ,NO WATER ,O RING ,PAINT ,PEDESTAL ,REMOVE ,REPAIR CHIP ,SCRATCHED ,SHUT OFF VALVE ,SILICONE ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDERMOUNT SINK', NULL, NULL),
(55, 2, 26700, 'POWDER ROOM', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(56, 2, 26800, 'POWDER ROOM', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(57, 2, 26900, 'POWDER ROOM', 'NOTE', '', NULL, NULL),
(58, 2, 28100, 'DEN', '-', '', NULL, NULL),
(59, 2, 28200, 'DEN', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(60, 2, 28300, 'DEN', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(61, 2, 28400, 'DEN', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(62, 2, 28500, 'DEN', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(63, 2, 28600, 'DEN', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(64, 2, 28700, 'DEN', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(65, 2, 28800, 'DEN', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(66, 2, 28900, 'DEN', 'NOTE', '', NULL, NULL),
(67, 2, 30100, 'BEDROOM 1', '-', '', NULL, NULL),
(68, 2, 30200, 'BEDROOM 1', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(69, 2, 30300, 'BEDROOM 1', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(70, 2, 30400, 'BEDROOM 1', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(71, 2, 30500, 'BEDROOM 1', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(72, 2, 30600, 'BEDROOM 1', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(73, 2, 30700, 'BEDROOM 1', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(74, 2, 30800, 'BEDROOM 1', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(75, 2, 30900, 'BEDROOM 1', 'NOTE', '', NULL, NULL),
(76, 2, 32100, 'ENSUITE', '-', '', NULL, NULL),
(77, 2, 32200, 'ENSUITE', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOILET PAPER HOLDER ,TOUCH UP WHERE MARKED WITH NOTES ,TOWEL BAR', NULL, NULL),
(78, 2, 32300, 'ENSUITE', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(79, 2, 32400, 'ENSUITE', 'TUB', 'O.K. ,ALONG ,AT ,BACK ,BOTTOM ,CALUKING ,CHIPPED ,CLEAN ,COLD WATER ,DENTED ,EDGE ,FAUCET ,FRONT ,GROUT ,HOT WATER ,JACCUZI ,LEDGE ,LEFT SIDE ,NOT ,PLATE ,PLUGGED ,REPLACE ,RIGHT SIDE ,SCRATCHED ,SHOWER DOOR ,SHOWER FLOOR ,SHOWER HEAD ,SHOWER ROD ,SILICONE ,SOAP DISH ,SPOUT ,TILE SURROUND ,TUB PLUG ,TUB STOPPER ,WATER ,WORKING', NULL, NULL),
(80, 2, 32500, 'ENSUITE', 'TOILET', 'O.K. ,AND ,AROUND ,AT ,CAULK ,CHECK ,CLEAN ,CONTINUOUSLY ,DEBRIS ,FLANGE ,FLOAT ,FOR ,INSTALL ,LID ,MISSING ,O RINGS ,PAINT ,REMOVE ,ROUND ,RUNS ,SCREW CAPS ,SHUT OFF VALVE ,SILICONE ,SQUARE ,TOILET SEAT ,TOILET TANK ,WATER LEVEL', NULL, NULL),
(81, 2, 32600, 'ENSUITE', 'SINK', 'O.K. ,AERATOR ,AND ,AT ,BACKSPLASH ,CHIPPED ,COLD WATER ,DEBRIS ,DENTED ,EDGE ,FAUCET ,HOT COLD ,HOT WATER ,LEVER ,LINK ,MARKS ,MISSING ,NO WATER ,O RING ,PAINT ,PEDESTAL ,REMOVE ,REPAIR CHIP ,SCRATCHED ,SHUT OFF VALVE ,SILICONE ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDERMOUNT SINK', NULL, NULL),
(82, 2, 32800, 'ENSUITE', 'COUNTERTOPS', 'O.K. ,AND ,AT ,BACK ,BACKSPLASH ,BY SINK ,BY WALL ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,CRACKED ,DEBRIS ,DENTED ,EDGE ,FINISHED EDGE ,FRONT ,GRANITE ,GROUT ,INCOMPLETE ,LEVEL ,MISSING ,ON ,PAINT ,POLISH ,REMOVE ,REPAIR SEAM ,REPAIR TILE ,REPLACE ,ROLL ,SCRATCHED ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDER MOUNT SINK ,VANITY MIRROR ,WRONG COLOUR', NULL, NULL),
(83, 2, 32900, 'ENSUITE', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(84, 2, 33000, 'ENSUITE', 'VANITY CABINETS', 'O.K. ,ACCESS DOOR ,AROUND PIPES ,CAILKING ,CHIPPED ,DENTED ,DRAWER ,FINISHED END ,GABLE END ,HANDLES ,KICK PLATE ,LEFT DOOR ,MISSING ,PAINT ,PATCH ,REPAINT ,REPAIR ,RIGHT DOOR ,SCRATCHED ,TO LEFT OF ,TO RIGHT OF', NULL, NULL),
(85, 2, 33100, 'ENSUITE', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(86, 2, 33200, 'ENSUITE', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(87, 2, 33300, 'ENSUITE', 'NOTE', '', NULL, NULL),
(88, 2, 35100, 'BEDROOM 2', '-', '', NULL, NULL),
(89, 2, 35200, 'BEDROOM 2', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(90, 2, 35300, 'BEDROOM 2', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(91, 2, 35400, 'BEDROOM 2', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(92, 2, 35500, 'BEDROOM 2', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(93, 2, 35600, 'BEDROOM 2', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(94, 2, 35700, 'BEDROOM 2', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(95, 2, 35800, 'BEDROOM 2', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(96, 2, 35900, 'BEDROOM 2', 'NOTE', '', NULL, NULL),
(97, 2, 37100, 'BEDROOM 2 ENSUITE', '-', '', NULL, NULL),
(98, 2, 37200, 'BEDROOM 2 ENSUITE', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOILET PAPER HOLDER ,TOUCH UP WHERE MARKED WITH NOTES ,TOWEL BAR', NULL, NULL),
(99, 2, 37300, 'BEDROOM 2 ENSUITE', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(100, 2, 37400, 'BEDROOM 2 ENSUITE', 'TUB', 'O.K. ,ALONG ,AT ,BACK ,BOTTOM ,CALUKING ,CHIPPED ,CLEAN ,COLD WATER ,DENTED ,EDGE ,FAUCET ,FRONT ,GROUT ,HOT WATER ,JACCUZI ,LEDGE ,LEFT SIDE ,NOT ,PLATE ,PLUGGED ,REPLACE ,RIGHT SIDE ,SCRATCHED ,SHOWER DOOR ,SHOWER FLOOR ,SHOWER HEAD ,SHOWER ROD ,SILICONE ,SOAP DISH ,SPOUT ,TILE SURROUND ,TUB PLUG ,TUB STOPPER ,WATER ,WORKING', NULL, NULL),
(101, 2, 37500, 'BEDROOM 2 ENSUITE', 'TOILET', 'O.K. ,AND ,AROUND ,AT ,CAULK ,CHECK ,CLEAN ,CONTINUOUSLY ,DEBRIS ,FLANGE ,FLOAT ,FOR ,INSTALL ,LID ,MISSING ,O RINGS ,PAINT ,REMOVE ,ROUND ,RUNS ,SCREW CAPS ,SHUT OFF VALVE ,SILICONE ,SQUARE ,TOILET SEAT ,TOILET TANK ,WATER LEVEL', NULL, NULL),
(102, 2, 37600, 'BEDROOM 2 ENSUITE', 'SINK', 'O.K. ,AERATOR ,AND ,AT ,BACKSPLASH ,CHIPPED ,COLD WATER ,DEBRIS ,DENTED ,EDGE ,FAUCET ,HOT COLD ,HOT WATER ,LEVER ,LINK ,MARKS ,MISSING ,NO WATER ,O RING ,PAINT ,PEDESTAL ,REMOVE ,REPAIR CHIP ,SCRATCHED ,SHUT OFF VALVE ,SILICONE ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDERMOUNT SINK', NULL, NULL),
(103, 2, 37800, 'BEDROOM 2 ENSUITE', 'COUNTERTOPS', 'O.K. ,AND ,AT ,BACK ,BACKSPLASH ,BY SINK ,BY WALL ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,CRACKED ,DEBRIS ,DENTED ,EDGE ,FINISHED EDGE ,FRONT ,GRANITE ,GROUT ,INCOMPLETE ,LEVEL ,MISSING ,ON ,PAINT ,POLISH ,REMOVE ,REPAIR SEAM ,REPAIR TILE ,REPLACE ,ROLL ,SCRATCHED ,SINGLE ,SPLATTERS ,TO ,TO BE INSTALLED ,TRAP ,UNDER MOUNT SINK ,VANITY MIRROR ,WRONG COLOUR', NULL, NULL),
(104, 2, 37900, 'BEDROOM 2 ENSUITE', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(105, 2, 38000, 'BEDROOM 2 ENSUITE', 'VANITY CABINETS', 'O.K. ,ACCESS DOOR ,AROUND PIPES ,CAILKING ,CHIPPED ,DENTED ,DRAWER ,FINISHED END ,GABLE END ,HANDLES ,KICK PLATE ,LEFT DOOR ,MISSING ,PAINT ,PATCH ,REPAINT ,REPAIR ,RIGHT DOOR ,SCRATCHED ,TO LEFT OF ,TO RIGHT OF', NULL, NULL),
(106, 2, 38100, 'BEDROOM 2 ENSUITE', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(107, 2, 38200, 'BEDROOM 2 ENSUITE', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(108, 2, 38300, 'BEDROOM 2 ENSUITE', 'NOTE', '', NULL, NULL),
(109, 2, 40100, 'BEDROOM 3', '-', '', NULL, NULL),
(110, 2, 40200, 'BEDROOM 3', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(111, 2, 40300, 'BEDROOM 3', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(112, 2, 40400, 'BEDROOM 3', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(113, 2, 40500, 'BEDROOM 3', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(114, 2, 40600, 'BEDROOM 3', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(115, 2, 40700, 'BEDROOM 3', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(116, 2, 40800, 'BEDROOM 3', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(117, 2, 40900, 'BEDROOM 3', 'NOTE', '', NULL, NULL),
(118, 2, 42100, 'BEDROOM 4', '-', '', NULL, NULL),
(119, 2, 42200, 'BEDROOM 4', 'WALLS', 'O.K. ,AROUND ,AT ,DENTED ,DRYWALL ,DRYWALL REPAIR WHERE NOTED PATCH/PAINT ,FILTER ,GRILLS ,HOLE ,MISSING ,ON ,POPPED DRYWALL SCREW ,REPAINT ,REQUIRED ,SECURITY SYSTEM ,THERMOSTAT NOT WORKING ,TOUCH UP WHERE MARKED WITH NOTES', NULL, NULL),
(120, 2, 42300, 'BEDROOM 4', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(121, 2, 42400, 'BEDROOM 4', 'FLOORING', 'O.K. ,ADJACENT TO ,ADJUST ,AROUND ,BASEBOARD ,BROKEN ,CABINETS ,CARPET ,CAULKING REQUIRED ,CERAMIC ,CHIPPED ,CLEAN ,CUPPING ,DAMAGED WHERE MARKED ,DEBRIS ,DENTED ,DISCOLOURED BOARDS ,DISHWASHER PANEL ,EXCESSIVE GAP ,FRONT GABLE ,GAP ,GOUGE ,GROUT ,HARDWOOD FLOOR ,LEVEL ,MARKS ,MISSING ,ON ,PAINT ,QUARTER ROUND ,REGROUT ,REMOVE ,REPAINT ,REPAIR CHIP ,REPLACE ,SCRATCHED ,SEAM ,STEAM CLEAN ,STRETCH ,T-CAP ,TOUCH UP ,TRANSITION STRIP ,VARNISH ,WHERE NOTED', NULL, NULL),
(122, 2, 42500, 'BEDROOM 4', 'CEILING', 'O.K. ,AIR HOLES ,AROUND ,AROUND DEVICES ,BACK ,BACKSPLASH ,BULKHEAD ,CAULKING ,CHIPPED ,CLEAN ,CORNER ,DEVICE ,DROP ,DRYWALL ,EDGE ,EXHAUST FAN ,FRONT ,GRILL ,INCOMPLETE ,LIGHT FIXTURE ,MISSING ,ON ,OUT OF SQUARE ,PAINT ,PATCH/REPAINT ,REMOVE ,REPLACE ,RESPRAY ,ROLL ,SCRATCHED ,SMOOTH CEILING ,STIPPLE ,TOUCH-UP', NULL, NULL),
(123, 2, 42600, 'BEDROOM 4', 'CLOSET', 'O.K. ,ADJUST ,ADJUST TRACK ,BASEBOARD ,BINDING ,BUMPERS ,CARPET ,CAULKING ,CEILING ,CERAMIC ,CLEAN ,CLOSET ROD ,DRYWALL ,FLAT PANEL ,GROUT ,INSTALL ,LEVEL ,MARKS ,MARKS/STAINS ,MISSING ,PAINT ,REPAIR ,RESPRAY ,ROD ,SCRATCHED ,SCREWS ,SLIDING DOORS ,STEAM CLEAN ,STIPPLE ,STRETCH ,TOUCH UP WHERE NOTED ,TRACK ,WIRE SHELVING', NULL, NULL),
(124, 2, 42700, 'BEDROOM 4', 'ELECTRICAL/LIGHTING', 'O.K. ,AND ,AROUND ,AT ,BULBS ,BURNED OUT ,CANOPY PLATE ,CLEAN ,COVER PLATE ,DAMAGED ,EXHAUST FAN ,FIXTURE ,FLUSH ,GFI PLUG ,LIGHT FIXTURE ,LIGHT NOT WORKING ,LOOSE ,MISSING ,NETWORK ,NOT INSTALLED ,NOT WORKING ,OUTLET ,PLATE ,REMOVE EXCESS PAINT ,REQUIRED ,ROUGH-IN ,SCRATCHED ,SPEAKER ,STRAIGHTEN ,SWITCH PLATE ,TBI ,TO BE INSTALLED ,TOUCH UP ,TRACK LIGHT ,TV/CABLE ,WIRED', NULL, NULL),
(125, 2, 42800, 'BEDROOM 4', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL),
(126, 2, 42900, 'BEDROOM 4', 'NOTE', '', NULL, NULL),
(127, 2, 44100, 'COMMON ELEMENT - BALCONY', '-', '', NULL, NULL),
(128, 2, 44200, 'COMMON ELEMENT - BALCONY', 'GENERAL', 'O.K. ,CLEAN ,ELECTRICAL PLUG EXTERIOR ,RAILINGS BALCONY SILL CONCRETE CEILING ,GLASS MISSING ,PAINT ,PATCH ,TOP CAP', NULL, NULL),
(129, 2, 46100, 'COMMON ELEMENT - SUITE ENTRY D', '-', '', NULL, NULL),
(130, 2, 46200, 'COMMON ELEMENT - SUITE ENTRY D', 'DOORS', 'O.K. ,ADJUST ,AROUND ,AT ,BOWED ,CASING ,CAULKING REQUIRED ,CRACKED ,DEAD BOLT ,DENTED ,DOOR CLOSURE ,DOOR STOP ,EXCESSIVE GAP ,FRAME ,HANDLE ,HARDWARE ,HINGE ,HINGE SCREWS MISSING ,HOLE ,KNOB ,LATCH ,MISSING ,ON ,PEEP HOLE ,REPAINT ,REPAIR MITRE JOINT ,REQUIRED ,RESTAIN ,REVARNISH ,RUBS ,SCRATCHED ,SLIDING DOOR ,STAIN ,SUITE ENTRY DOOR ,THRESHOLD ,TOUCH-UP ,WEATHER STRIPPING', NULL, NULL),
(131, 2, 48100, 'COMMON ELEMENT - WINDOWS', '-', '', NULL, NULL),
(132, 2, 48200, 'COMMON ELEMENT - WINDOWS', 'WINDOWS', 'O.K. ,ADJUST ,ALUMINUM ,ALUMINUM THRESHOLD ,AT ,BALCONY H.M. DOOR ,BALCONY SILL ,BROKEN ,BUG SCREEN ,CAULKING ,CEILING CLOSURE ANGLE ,CHIPPED ,CLEAN ,CRACKED ,DENTED ,FLOOR CLOSURE ANGLE ,FRAME ,GLASS ,GRILLS ,HARDWARE ,JAMB ,MISSING ,MULLION ,NIGHT LOCK ,REPAINT ,SCRATCHED ,SCREENS ,SCREWS ,SILLS ,THRESHOLD ,TOUCH-UP PAINT ,TOUCH-UP WHERE ,TRIM', NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_Person`
--

CREATE TABLE IF NOT EXISTS `tb_Person` (
  `col_PersonID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_PurchaserNumber` int(4) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_salutation` varchar(65) DEFAULT NULL,
  `col_Name` varchar(65) DEFAULT NULL,
  `col_Misc1` varchar(100) DEFAULT NULL,
  `col_Spouse` varchar(65) DEFAULT NULL,
  `col_Address` varchar(100) DEFAULT NULL,
  `col_Apartment` varchar(5) DEFAULT NULL,
  `col_City` varchar(65) DEFAULT NULL,
  `col_Province` varchar(65) DEFAULT NULL,
  `col_Postal` varchar(65) DEFAULT NULL,
  `col_Country` varchar(65) DEFAULT NULL,
  `col_DOB` date DEFAULT NULL,
  `col_Email` varchar(254) DEFAULT NULL,
  `col_SIN` varchar(40) DEFAULT NULL,
  `col_DL` varchar(65) DEFAULT NULL,
  `col_Employer` varchar(100) DEFAULT NULL,
  `col_Occupation` varchar(100) DEFAULT NULL,
  `col_Phone1` varchar(25) DEFAULT NULL,
  `col_Phone1Type` varchar(10) DEFAULT NULL,
  `col_Phone1Desc` varchar(25) DEFAULT NULL,
  `col_Phone2` varchar(25) DEFAULT NULL,
  `col_Phone2Type` varchar(10) DEFAULT NULL,
  `col_Phone2Desc` varchar(25) DEFAULT NULL,
  `col_Phone3` varchar(25) DEFAULT NULL,
  `col_Phone3Type` varchar(10) DEFAULT NULL,
  `col_Phone3Desc` varchar(25) DEFAULT NULL,
  `col_WebLastUpdatedDate` datetime DEFAULT NULL,
  `col_WebLastUpdatedUser` varchar(10) DEFAULT NULL,
  `col_ContactPersonYN` varchar(3) DEFAULT NULL,
  `col_ContactPersonOriginalYN` varchar(3) DEFAULT NULL,
  PRIMARY KEY (`col_PersonID`),
  UNIQUE KEY `col_PersonID` (`col_PersonID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2091 ;

--
-- Dumping data for table `tb_Person`
--

--
-- Table structure for table `tb_PersonForContact`
--

CREATE TABLE IF NOT EXISTS `tb_PersonForContact` (
  `col_PersonForContactID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PurchaserNumber` int(4) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_salutation` varchar(65) DEFAULT NULL,
  `col_Name` varchar(65) DEFAULT NULL,
  `col_Misc1` varchar(100) DEFAULT NULL,
  `col_Spouse` varchar(65) DEFAULT NULL,
  `col_Address` varchar(100) DEFAULT NULL,
  `col_Apartment` varchar(5) DEFAULT NULL,
  `col_City` varchar(65) DEFAULT NULL,
  `col_Province` varchar(65) DEFAULT NULL,
  `col_Postal` varchar(65) DEFAULT NULL,
  `col_Country` varchar(65) DEFAULT NULL,
  `col_DOB` date DEFAULT NULL,
  `col_Email` varchar(254) DEFAULT NULL,
  `col_SIN` varchar(40) DEFAULT NULL,
  `col_DL` varchar(65) DEFAULT NULL,
  `col_Employer` varchar(100) DEFAULT NULL,
  `col_Occupation` varchar(100) DEFAULT NULL,
  `col_Phone1` varchar(25) DEFAULT NULL,
  `col_Phone1Type` varchar(10) DEFAULT NULL,
  `col_Phone1Desc` varchar(25) DEFAULT NULL,
  `col_Phone2` varchar(25) DEFAULT NULL,
  `col_Phone2Type` varchar(10) DEFAULT NULL,
  `col_Phone2Desc` varchar(25) DEFAULT NULL,
  `col_Phone3` varchar(25) DEFAULT NULL,
  `col_Phone3Type` varchar(10) DEFAULT NULL,
  `col_Phone3Desc` varchar(25) DEFAULT NULL,
  `col_WebLastUpdatedDate` datetime DEFAULT NULL,
  `col_WebLastUpdatedUser` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_PersonForContactID`),
  UNIQUE KEY `col_PersonForContactID` (`col_PersonForContactID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Phase`
--

CREATE TABLE IF NOT EXISTS `tb_Phase` (
  `col_PhaseID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Project` varchar(60) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_ReleaseDate` date DEFAULT NULL,
  `col_MortRate` varchar(10) DEFAULT NULL,
  `col_CapRate` varchar(10) DEFAULT NULL,
  `col_RateExpiry` date DEFAULT NULL,
  `col_Lender` varchar(25) DEFAULT NULL,
  `col_PlanNo` varchar(50) DEFAULT NULL,
  `col_TaxrollNo` varchar(10) DEFAULT NULL,
  `col_RegistrationNo` varchar(20) DEFAULT NULL,
  `col_Region` varchar(50) DEFAULT NULL,
  `col_HOComments` mediumtext,
  `col_Law_Name` varchar(65) DEFAULT NULL,
  `col_Law_Add1` varchar(65) DEFAULT NULL,
  `col_Law_Add2` varchar(65) DEFAULT NULL,
  `col_Law_City` varchar(65) DEFAULT NULL,
  `col_Law_Province` varchar(65) DEFAULT NULL,
  `col_Law_Postal` varchar(14) DEFAULT NULL,
  `col_Law_Phone` varchar(14) DEFAULT NULL,
  `col_Law_Fax` varchar(14) DEFAULT NULL,
  `col_PropertyInSubdivYN` varchar(10) DEFAULT NULL,
  `col_SubdivRegisteredYN` varchar(10) DEFAULT NULL,
  `col_SubdivDraftPlanApprovedYN` varchar(10) DEFAULT NULL,
  `col_SufficientWaterSewageYN` varchar(10) DEFAULT NULL,
  `col_WaterSewerConfirmation` varchar(250) DEFAULT NULL,
  `col_WaterSewerIssues` varchar(250) DEFAULT NULL,
  `col_EarlyTermin1ClauseYN` varchar(10) DEFAULT NULL,
  `col_EarlyTermin1Desc` varchar(250) DEFAULT NULL,
  `col_EarlyTermin1Authority` varchar(250) DEFAULT NULL,
  `col_EarlyTermin1Expiry` date DEFAULT NULL,
  `col_EarlyTermin2ClauseYN` varchar(10) DEFAULT NULL,
  `col_EarlyTermin2Desc` varchar(250) DEFAULT NULL,
  `col_EarlyTermin2Authority` varchar(250) DEFAULT NULL,
  `col_EarlyTermin2Expiry` date DEFAULT NULL,
  `col_ToProcess` varchar(10) DEFAULT NULL,
  `col_PropertyType` varchar(30) DEFAULT NULL,
  `col_ProcessAccounting` char(3) DEFAULT NULL,
  `col_SubdivRegisteredComment` varchar(250) DEFAULT NULL,
  `col_SufficientWaterSewageComment` varchar(250) DEFAULT NULL,
  `col_SchWorkOnSat` char(3) DEFAULT NULL,
  `col_SchWorkOnSun` char(3) DEFAULT NULL,
  `col_DecorPortalCatalogToShow` varchar(10) DEFAULT NULL,
  `col_OriginatingPhaseID` int(11) DEFAULT NULL,
  `col_FormalZoningApproval` date DEFAULT NULL,
  `col_OutsideClosingDate` date DEFAULT NULL,
  `col_RoofWork` date DEFAULT NULL,
  `col_Logo1` varchar(65) DEFAULT NULL,
  `col_Logo2` varchar(65) DEFAULT NULL,
  `col_MILImage1` varchar(65) DEFAULT NULL,
  `col_MILImage2` varchar(65) DEFAULT NULL,
  `col_MILForm` varchar(65) DEFAULT NULL,
  `col_LabelCentre` varchar(35) DEFAULT NULL,
  `col_LabelPhase` varchar(35) DEFAULT NULL,
  `col_LabelModel` varchar(50) DEFAULT NULL,
  `col_LabelLot` varchar(35) DEFAULT NULL,
  `col_ListForPayables` varchar(25) DEFAULT NULL,
  `col_TarionLastPullDate` date DEFAULT NULL,
  `col_TarionProcessYN` varchar(3) DEFAULT NULL,
  `col_SOSSendCompletionCertificatesYN` varchar(10) DEFAULT NULL,
  `col_SiteEmail` varchar(50) DEFAULT NULL,
  `col_SitePhone` varchar(20) DEFAULT NULL,
  `col_SiteFax` varchar(20) DEFAULT NULL,
  `col_SitePlanModelLookUp` varchar(20) DEFAULT NULL,
  `col_PDIWareInspectionEmailTo` varchar(65) DEFAULT NULL,
  `col_ExternalPhase` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_PhaseID`),
  KEY `PhaseKey` (`col_Centre`,`col_Phase`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `tb_Phase`
--

INSERT INTO `tb_Phase` (`col_PhaseID`, `col_Project`, `col_Centre`, `col_Phase`, `col_ReleaseDate`, `col_MortRate`, `col_CapRate`, `col_RateExpiry`, `col_Lender`, `col_PlanNo`, `col_TaxrollNo`, `col_RegistrationNo`, `col_Region`, `col_HOComments`, `col_Law_Name`, `col_Law_Add1`, `col_Law_Add2`, `col_Law_City`, `col_Law_Province`, `col_Law_Postal`, `col_Law_Phone`, `col_Law_Fax`, `col_PropertyInSubdivYN`, `col_SubdivRegisteredYN`, `col_SubdivDraftPlanApprovedYN`, `col_SufficientWaterSewageYN`, `col_WaterSewerConfirmation`, `col_WaterSewerIssues`, `col_EarlyTermin1ClauseYN`, `col_EarlyTermin1Desc`, `col_EarlyTermin1Authority`, `col_EarlyTermin1Expiry`, `col_EarlyTermin2ClauseYN`, `col_EarlyTermin2Desc`, `col_EarlyTermin2Authority`, `col_EarlyTermin2Expiry`, `col_ToProcess`, `col_PropertyType`, `col_ProcessAccounting`, `col_SubdivRegisteredComment`, `col_SufficientWaterSewageComment`, `col_SchWorkOnSat`, `col_SchWorkOnSun`, `col_DecorPortalCatalogToShow`, `col_OriginatingPhaseID`, `col_FormalZoningApproval`, `col_OutsideClosingDate`, `col_RoofWork`, `col_Logo1`, `col_Logo2`, `col_MILImage1`, `col_MILImage2`, `col_MILForm`, `col_LabelCentre`, `col_LabelPhase`, `col_LabelModel`, `col_LabelLot`, `col_ListForPayables`, `col_TarionLastPullDate`, `col_TarionProcessYN`, `col_SOSSendCompletionCertificatesYN`, `col_SiteEmail`, `col_SitePhone`, `col_SiteFax`, `col_SitePlanModelLookUp`, `col_PDIWareInspectionEmailTo`, `col_ExternalPhase`) VALUES
(1, '15-21 Holmes Development Inc.', 'Azura Condos', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', 'City of Toronto', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'No', 'No', 'No', 'No', NULL, NULL, 'No', NULL, NULL, NULL, 'No', NULL, NULL, NULL, 'update', 'Condo', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2027-05-14', NULL, 'LogoGreatHomeSM????.jpg', NULL, NULL, NULL, NULL, 'Project', 'Building', 'Floor Plan', 'Suite', NULL, NULL, 'No', NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_POFulfillmentRelation`
--

CREATE TABLE IF NOT EXISTS `tb_POFulfillmentRelation` (
  `col_POFulfillmentRelationID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_User` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`col_POFulfillmentRelationID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_POPayment`
--

CREATE TABLE IF NOT EXISTS `tb_POPayment` (
  `col_POPaymentID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PurchaseOrderID` int(11) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_VendorInvoiceNumber` varchar(25) DEFAULT NULL,
  `col_VendorAmount` decimal(18,2) DEFAULT NULL,
  PRIMARY KEY (`col_POPaymentID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_POPaymentApproval`
--

CREATE TABLE IF NOT EXISTS `tb_POPaymentApproval` (
  `col_POPaymentApprovalID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_User` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`col_POPaymentApprovalID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_POTransaction`
--

CREATE TABLE IF NOT EXISTS `tb_POTransaction` (
  `col_POTransactionID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `col_PurchaseOrderID` int(10) DEFAULT NULL,
  `col_Note` text,
  `col_PostDate` date DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_Email` varchar(65) DEFAULT NULL,
  `col_EmailStatus` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_POTransactionID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=654 ;

--
-- Dumping data for table `tb_POTransaction`
--

-- --------------------------------------------------------

--
-- Table structure for table `tb_POUserRelation`
--

CREATE TABLE IF NOT EXISTS `tb_POUserRelation` (
  `POUserRelationID` int(11) NOT NULL AUTO_INCREMENT,
  `col_LoggedInUser` varchar(20) NOT NULL DEFAULT '',
  `col_UsersName` varchar(20) NOT NULL DEFAULT '',
  `col_Type` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`POUserRelationID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;

--
-- Dumping data for table `tb_POUserRelation`
--


-- --------------------------------------------------------

--
-- Table structure for table `tb_PrelimQuote`
--

CREATE TABLE IF NOT EXISTS `tb_PrelimQuote` (
  `col_PrelimQuoteID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PrelimQuoteOID` int(11) DEFAULT NULL,
  `col_ModelOID` int(11) DEFAULT NULL,
  `col_PhaseOID` int(11) DEFAULT NULL,
  `col_TradeOID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_OriginalQuote` decimal(8,2) DEFAULT NULL,
  `col_AdjustDolarQuote` decimal(8,2) DEFAULT NULL,
  `col_AdjustPercentQuote` decimal(8,2) DEFAULT NULL,
  `col_FinalQuote` decimal(8,2) DEFAULT NULL,
  `col_Project` varchar(60) DEFAULT NULL,
  `col_AcceptedYN` varchar(3) DEFAULT NULL,
  `col_PrelimQuoteRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_PrelimQuoteID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_PrelimQuoteNote`
--

CREATE TABLE IF NOT EXISTS `tb_PrelimQuoteNote` (
  `col_PrelimQuoteNoteID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PrelimQuoteNoteOID` int(11) NOT NULL DEFAULT '0',
  `col_PhaseOID` int(11) DEFAULT NULL,
  `col_TradeOID` int(11) DEFAULT NULL,
  `col_Project` varchar(250) DEFAULT NULL,
  `col_PrelimQuoteNote` text,
  `col_PrelimQuoteNoteRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_PrelimQuoteNoteID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Premium`
--

CREATE TABLE IF NOT EXISTS `tb_Premium` (
  `col_PremiumID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OriginatingPremiumID` int(11) DEFAULT NULL,
  `col_PremiumName` varchar(65) NOT NULL,
  `col_PremiumNameAcr` varchar(65) NOT NULL,
  `col_Centre` varchar(65) NOT NULL,
  `col_Phase` varchar(65) NOT NULL,
  `col_Lot` varchar(65) NOT NULL,
  `col_Viewable` varchar(10) DEFAULT NULL,
  `col_Amount` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`col_PremiumID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Price`
--

CREATE TABLE IF NOT EXISTS `tb_Price` (
  `col_PriceID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OriginatingPriceID` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Sited` varchar(20) DEFAULT NULL,
  `col_Model` varchar(50) DEFAULT NULL,
  `col_LotPrem` decimal(18,2) DEFAULT NULL,
  `tmp` varchar(99) DEFAULT NULL,
  PRIMARY KEY (`col_PriceID`),
  KEY `origPriceID` (`col_OriginatingPriceID`,`col_Centre`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `tb_PrintItem`
--

CREATE TABLE IF NOT EXISTS `tb_Product` (
  `col_ProductID` int(11) NOT NULL AUTO_INCREMENT,
  `col_OptionDescriptionPre` varchar(100) DEFAULT NULL,
  `col_OptionDescriptionPost` varchar(100) DEFAULT NULL,
  `opt_group` varchar(100) NOT NULL,
  `col_CostPer` decimal(20,2) DEFAULT NULL,
  `col_ListPer` decimal(20,2) DEFAULT NULL,
  `col_Category` varchar(100) NOT NULL,
  `col_Centre` varchar(40) NOT NULL,
  `col_Phase` varchar(10) NOT NULL,
  `col_Supplier` varchar(100) DEFAULT NULL,
  `col_InsertDate` date DEFAULT NULL,
  `col_LastEditDate` date DEFAULT NULL,
  `col_Disclaimer` varchar(250) DEFAULT NULL,
  `col_Level` varchar(40) DEFAULT NULL,
  `col_AvailableOnWebYN` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_ProductID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ProductDetail`
--

CREATE TABLE IF NOT EXISTS `tb_ProductDetail` (
  `col_ProductDetailID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Description` varchar(250) NOT NULL,
  `opt_Group` varchar(100) NOT NULL,
  `col_Category` varchar(100) NOT NULL,
  `col_Level` varchar(40) NOT NULL,
  `col_Centre` varchar(40) NOT NULL,
  `col_Phase` varchar(10) NOT NULL,
  `col_Supplier` varchar(100) DEFAULT NULL,
  `col_InsertDate` date DEFAULT NULL,
  `col_LastEditDate` date DEFAULT NULL,
  PRIMARY KEY (`col_ProductDetailID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Project`
--

CREATE TABLE IF NOT EXISTS `tb_Project` (
  `col_ProjectAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ProjectName` varchar(65) DEFAULT NULL,
  `col_ProjectShortName` varchar(65) DEFAULT NULL,
  `col_CharactersPerPage` int(11) DEFAULT NULL,
  `col_ExternalProjectPrefix` varchar(25) DEFAULT NULL,
  `col_ExternalProjectID` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`col_ProjectAutoID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ProjectItem`
--

CREATE TABLE IF NOT EXISTS `tb_ProjectItem` (
  `col_ProjectItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ProjectItemOrder` int(11) DEFAULT NULL,
  `col_ProjectItemOID` int(11) DEFAULT NULL,
  `col_PhaseOID` int(11) DEFAULT NULL,
  `col_ModelPhaseOID` int(11) DEFAULT NULL,
  `col_ModelOID` int(11) DEFAULT NULL,
  `col_TakeOffOID` int(11) DEFAULT NULL,
  `col_QuoteOID` int(11) DEFAULT NULL,
  `col_ItemCostsOID` int(11) DEFAULT NULL,
  `col_ItemOID` int(11) DEFAULT NULL,
  `col_Amount` decimal(8,2) DEFAULT NULL,
  `col_Type` varchar(65) DEFAULT NULL,
  `col_Project` varchar(60) DEFAULT NULL,
  `col_ApportioningType` varchar(65) DEFAULT NULL,
  `col_ProjectItemRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_ProjectItemID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ProjectModels`
--

CREATE TABLE IF NOT EXISTS `tb_ProjectModels` (
  `col_ProjectModelsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ProjectModelsOID` int(11) DEFAULT NULL,
  `col_PhaseOID` int(11) DEFAULT NULL,
  `col_ModelOID` int(11) DEFAULT NULL,
  `col_Project` varchar(60) DEFAULT NULL,
  `col_ProjectModelsRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_ProjectModelsID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Prospect`
--

CREATE TABLE IF NOT EXISTS `tb_Prospect` (
  `col_ID` varchar(14) NOT NULL DEFAULT '',
  `col_OID` varchar(14) DEFAULT NULL,
  `col_OriginatingProspectID` int(11) DEFAULT NULL,
  `col_salutation` varchar(65) DEFAULT NULL,
  `col_LastName` varchar(25) DEFAULT NULL,
  `col_FirstName` varchar(25) DEFAULT NULL,
  `col_Address` varchar(100) DEFAULT NULL,
  `col_Apartment` varchar(15) DEFAULT NULL,
  `col_City` varchar(25) DEFAULT NULL,
  `col_Province` varchar(25) DEFAULT NULL,
  `col_PostalCode` varchar(7) DEFAULT NULL,
  `col_StatusDate` date DEFAULT NULL,
  `col_StatusTime` varchar(8) DEFAULT NULL,
  `col_StatusType` char(1) DEFAULT NULL,
  `col_Salesperson` varchar(25) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Cell1` varchar(14) DEFAULT NULL,
  `col_ExtBus` varchar(25) DEFAULT NULL,
  `col_PhoneRes` varchar(14) DEFAULT NULL,
  `col_PhoneBus` varchar(14) DEFAULT NULL,
  `col_PhoneBusExt` varchar(20) DEFAULT NULL,
  `col_PhoneBusComment` varchar(35) DEFAULT NULL,
  `col_PhoneBus2` varchar(14) DEFAULT NULL,
  `col_PhoneBus2Ext` varchar(20) DEFAULT NULL,
  `col_PhoneBus2Comment` varchar(35) DEFAULT NULL,
  `col_Email` varchar(65) DEFAULT NULL,
  `col_Email2` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`col_ID`),
  UNIQUE KEY `ID` (`col_ID`),
  KEY `origProspectID` (`col_OriginatingProspectID`,`col_Centre`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1;

--
-- Dumping data for table `tb_Prospect`
--
--
-- Table structure for table `tb_PurchaseOrder`
--

CREATE TABLE IF NOT EXISTS `tb_PurchaseOrder` (
  `col_PurchaseOrderID` int(11) NOT NULL AUTO_INCREMENT,
  `col_ReferenceListCompanyID` int(11) DEFAULT NULL,
  `col_VendorListCompanyID` int(11) DEFAULT NULL,
  `col_DeficiencyID` int(11) DEFAULT NULL,
  `col_AmountPaid` decimal(18,2) DEFAULT NULL,
  `col_Reference` varchar(65) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Creator` varchar(65) DEFAULT NULL,
  `col_LockedOn` date DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_RequiredDate` date DEFAULT NULL,
  `col_PurchaseOrderDate` date DEFAULT NULL,
  `col_ReconcileDate` date DEFAULT NULL,
  `col_CancelledOn` date DEFAULT NULL,
  `col_Terms` varchar(254) DEFAULT NULL,
  `col_ShipTo` varchar(254) DEFAULT NULL,
  `col_Note` varchar(254) DEFAULT NULL,
  `col_PurchaseOrderType` varchar(25) DEFAULT NULL,
  `col_AuthorizedBy` varchar(65) DEFAULT NULL,
  `col_Status` varchar(25) DEFAULT NULL,
  `col_ReconcileNote` varchar(254) DEFAULT NULL,
  `col_CancelledBy` varchar(65) DEFAULT NULL,
  `col_CancelledReason` varchar(250) DEFAULT NULL,
  `col_POPrefix` varchar(25) DEFAULT NULL,
  `col_CompletedOn` date DEFAULT NULL,
  `col_CompletedBy` varchar(65) DEFAULT NULL,
  `col_FulfillmentApprovalBy` varchar(65) DEFAULT NULL,
  `col_FulfillmentApprovalDate` date DEFAULT NULL,
  `col_PaymentApprovalBy` varchar(65) DEFAULT NULL,
  `col_PaymentApprovalDate` date DEFAULT NULL,
  `col_POCompletionNumber` varchar(25) DEFAULT NULL,
  `col_ExternalLot` varchar(100) DEFAULT NULL,
  `col_AssociatedPurchaseOrderID` int(11) DEFAULT NULL,
  `col_PendingDate` date DEFAULT NULL,
  `col_ExternalPOCreateFailure` datetime DEFAULT NULL,
  `col_ExternalPOCompleteFailure` datetime DEFAULT NULL,
  PRIMARY KEY (`col_PurchaseOrderID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_PurchaseOrderItem`
--

CREATE TABLE IF NOT EXISTS `tb_PurchaseOrderItem` (
  `col_PurchaseOrderItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PurchaseOrderID` int(11) NOT NULL DEFAULT '0',
  `col_Creator` varchar(65) DEFAULT NULL,
  `col_Category` varchar(65) DEFAULT NULL,
  `col_Description` text,
  `col_UnitPrice` decimal(18,2) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_AccountName` varchar(65) DEFAULT NULL,
  `col_Quantity` decimal(6,2) DEFAULT NULL,
  `col_InvoiceItemAutoID` int(11) DEFAULT NULL,
  `col_CancelledPrice` decimal(18,2) DEFAULT NULL,
  `col_Group` varchar(65) NOT NULL DEFAULT '',
  `col_PurchaseOrderType` varchar(65) DEFAULT NULL,
  `col_ControlItem` varchar(10) DEFAULT NULL,
  `col_CountYN` varchar(65) DEFAULT NULL,
  `col_DescriptionPrompt` varchar(25) DEFAULT NULL,
  `col_QuantityControl` varchar(25) DEFAULT NULL,
  `col_SubContractID` varchar(50) DEFAULT NULL,
  `col_ExternalPOCreate` datetime DEFAULT NULL,
  `col_ExternalPOComplete` datetime DEFAULT NULL,
  PRIMARY KEY (`col_PurchaseOrderItemID`),
  KEY `indxPOid` (`col_PurchaseOrderID`),
  KEY `indxGroup` (`col_Group`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Reminder`
--

CREATE TABLE IF NOT EXISTS `tb_Reminder` (
  `col_ReminderID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PostDate` date DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Stage` varchar(200) DEFAULT NULL,
  `col_Note` text,
  `col_ReminderDate` date DEFAULT NULL,
  `col_ReminderTime` time DEFAULT NULL,
  `col_CompletedDate` date DEFAULT NULL,
  `col_CompletedUser` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`col_ReminderID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ReversedVendorInvoice`
--

CREATE TABLE IF NOT EXISTS `tb_ReversedVendorInvoice` (
  `col_ReversedVendorInvoiceID` int(11) NOT NULL AUTO_INCREMENT,
  `col_VendorInvoiceID` int(11) DEFAULT NULL,
  `col_ReturnDetail` text,
  PRIMARY KEY (`col_ReversedVendorInvoiceID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFP`
--

CREATE TABLE IF NOT EXISTS `tb_RFP` (
  `col_RFPID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) NOT NULL DEFAULT '',
  `col_Phase` varchar(20) NOT NULL DEFAULT '',
  `col_Lot` varchar(20) NOT NULL DEFAULT '',
  `col_Model` varchar(50) NOT NULL DEFAULT '',
  `col_Purchaser` varchar(100) NOT NULL DEFAULT '',
  `col_CreateUser` varchar(65) NOT NULL DEFAULT '',
  `col_CreateDate` date NOT NULL DEFAULT '0000-00-00',
  `col_CreateTime` time NOT NULL DEFAULT '00:00:00',
  `col_ClosedUser` varchar(65) DEFAULT NULL,
  `col_ClosedDate` date DEFAULT NULL,
  `col_ClosedTime` time DEFAULT NULL,
  `col_Comments` text,
  `col_Invoice` varchar(12) DEFAULT NULL,
  `col_Source` varchar(12) DEFAULT NULL,
  `col_Accepted` date DEFAULT NULL,
  `col_LastUser` varchar(65) DEFAULT NULL,
  `col_LastStatus` varchar(65) DEFAULT NULL,
  `col_LastAccessed` date DEFAULT NULL,
  `col_LastAccessedTime` time DEFAULT NULL,
  `col_CurrentUser` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_RFPID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPAttach`
--

CREATE TABLE IF NOT EXISTS `tb_RFPAttach` (
  `col_RFPAttachID` int(11) NOT NULL AUTO_INCREMENT,
  `col_RFPItemID` int(11) NOT NULL DEFAULT '0',
  `col_RFPCostID` int(11) NOT NULL DEFAULT '0',
  `col_RFPPriceID` int(11) NOT NULL DEFAULT '0',
  `col_Keyword` varchar(60) NOT NULL DEFAULT '',
  `col_AttachNote` text NOT NULL,
  `col_AttachPath` varchar(100) NOT NULL DEFAULT '',
  `col_AttachFileName` varchar(100) NOT NULL DEFAULT '',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  `col_RFPItemOID` int(11) DEFAULT NULL,
  `col_RFPCostOID` int(11) DEFAULT NULL,
  `col_AttachDesc` varchar(100) NOT NULL DEFAULT '',
  PRIMARY KEY (`col_RFPAttachID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPCost`
--

CREATE TABLE IF NOT EXISTS `tb_RFPCost` (
  `col_RFPCostID` int(11) NOT NULL AUTO_INCREMENT,
  `col_RFPItemID` int(11) NOT NULL DEFAULT '0',
  `col_RFPCostOID` int(11) NOT NULL DEFAULT '0',
  `col_Order` int(11) NOT NULL DEFAULT '0',
  `col_Vendor` varchar(65) NOT NULL DEFAULT '',
  `col_CostComments` text NOT NULL,
  `col_Cost` decimal(18,2) NOT NULL DEFAULT '0.00',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  `col_RFPItemOID` int(11) DEFAULT NULL,
  `col_ReplacedByRFPCostID` int(11) DEFAULT NULL,
  `col_CostDescription` text NOT NULL,
  PRIMARY KEY (`col_RFPCostID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPFrames`
--

CREATE TABLE IF NOT EXISTS `tb_RFPFrames` (
  `col_RFPFramesID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UsersID` int(11) NOT NULL DEFAULT '0',
  `col_Order` int(11) NOT NULL DEFAULT '0',
  `col_Type` varchar(65) DEFAULT NULL,
  `col_Filter` text,
  `col_Caption` varchar(255) DEFAULT NULL,
  `col_Height` int(11) NOT NULL DEFAULT '0',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  PRIMARY KEY (`col_RFPFramesID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPItem`
--

CREATE TABLE IF NOT EXISTS `tb_RFPItem` (
  `col_RFPItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_RFPID` int(11) DEFAULT NULL,
  `col_RFPItemOID` int(11) DEFAULT NULL,
  `col_Order` int(11) NOT NULL DEFAULT '0',
  `col_RFPDescription` text NOT NULL,
  `col_RFPExtraKeyword` varchar(45) NOT NULL DEFAULT '',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  `col_ReplacedByRFPItemID` int(11) DEFAULT NULL,
  `col_RFPItemNumber` varchar(25) DEFAULT NULL,
  `col_Decline` varchar(100) DEFAULT NULL,
  `col_DeclineBy` varchar(65) DEFAULT NULL,
  `col_DeclineReason` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_RFPItemID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPLog`
--

CREATE TABLE IF NOT EXISTS `tb_RFPLog` (
  `col_RFPLogID` int(11) NOT NULL AUTO_INCREMENT,
  `col_RFPID` int(11) NOT NULL DEFAULT '0',
  `col_Action` varchar(25) NOT NULL DEFAULT '',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  PRIMARY KEY (`col_RFPLogID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPPrice`
--

CREATE TABLE IF NOT EXISTS `tb_RFPPrice` (
  `col_RFPPriceID` int(11) NOT NULL AUTO_INCREMENT,
  `col_RFPItemID` int(11) DEFAULT NULL,
  `col_RFPPriceOID` int(11) NOT NULL DEFAULT '0',
  `Col_Order` int(11) NOT NULL DEFAULT '0',
  `col_Price_Comments` text NOT NULL,
  `col_Price` decimal(18,2) NOT NULL DEFAULT '0.00',
  `col_PriceDeadline` date NOT NULL DEFAULT '0000-00-00',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` text NOT NULL,
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  `col_RFPItemOID` int(11) NOT NULL DEFAULT '0',
  `col_ReplacedByRFPPriceID` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_RFPPriceID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPStdDescription`
--

CREATE TABLE IF NOT EXISTS `tb_RFPStdDescription` (
  `col_RFPDescID` int(11) NOT NULL AUTO_INCREMENT,
  `col_StdDescription` text NOT NULL,
  PRIMARY KEY (`col_RFPDescID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPUserRights`
--

CREATE TABLE IF NOT EXISTS `tb_RFPUserRights` (
  `col_UserRightsID` int(10) NOT NULL AUTO_INCREMENT,
  `col_UsersID` varchar(10) NOT NULL DEFAULT '',
  `col_ViewPrice` varchar(10) NOT NULL DEFAULT '',
  `col_ViewCost` varchar(10) NOT NULL DEFAULT '',
  `col_PrintRetailCopy` varchar(10) NOT NULL DEFAULT '',
  `col_PrintInternalCopy` varchar(10) NOT NULL DEFAULT '',
  `col_AddRetailLine` varchar(10) NOT NULL DEFAULT '',
  `col_AddCost` varchar(10) NOT NULL DEFAULT '',
  `col_AddVendor` varchar(10) NOT NULL DEFAULT '',
  `col_AddPrice` varchar(10) NOT NULL DEFAULT '',
  `col_AllowAnotate` varchar(10) NOT NULL DEFAULT '',
  `col_ManuallySelectReceipient` varchar(10) NOT NULL DEFAULT '',
  `col_SuppressRetailLine` varchar(10) NOT NULL DEFAULT '',
  `col_SuppressInternalLine` varchar(10) NOT NULL DEFAULT '',
  `col_WhoCanEdit` varchar(10) NOT NULL DEFAULT '',
  `col_ViewAcceptForCustomer` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_UserRightsID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_RFPView`
--

CREATE TABLE IF NOT EXISTS `tb_RFPView` (
  `col_RFPViewID` int(11) NOT NULL AUTO_INCREMENT,
  `col_RFPViewOID` int(11) NOT NULL DEFAULT '0',
  `col_UsersID` varchar(10) NOT NULL DEFAULT '',
  `col_WhoCanISee` varchar(65) NOT NULL DEFAULT '',
  `col_PostDate` date NOT NULL DEFAULT '0000-00-00',
  `col_PostTime` time NOT NULL DEFAULT '00:00:00',
  `col_PostUser` varchar(65) NOT NULL DEFAULT '',
  PRIMARY KEY (`col_RFPViewID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_ScheduledEvents`
--

CREATE TABLE IF NOT EXISTS `tb_ScheduledEvents` (
  `col_ScheduledEventsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Title` varchar(255) DEFAULT NULL,
  `col_Description` text,
  `col_StartDate` date DEFAULT NULL,
  `col_EndDate` date DEFAULT NULL,
  `col_StartTime` time DEFAULT NULL,
  `col_EndTime` time DEFAULT NULL,
  `col_ActiveYN` char(3) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(40) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Type` varchar(40) DEFAULT NULL,
  `col_RecurringYN` char(3) DEFAULT NULL,
  `col_RecPeriodDays` varchar(5) DEFAULT NULL,
  `col_ScheduleType` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`col_ScheduledEventsID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SendBulkEmail`
--

CREATE TABLE IF NOT EXISTS `tb_SendBulkEmail` (
  `col_SendBulkEmailID` int(11) NOT NULL AUTO_INCREMENT,
  `col_FromName` varchar(100) DEFAULT NULL,
  `col_ToName` varchar(100) DEFAULT NULL,
  `col_FromEmail` varchar(65) DEFAULT NULL,
  `col_ToEmail` varchar(500) DEFAULT NULL,
  `col_CcEmail` varchar(65) DEFAULT NULL,
  `col_Project` varchar(60) DEFAULT NULL,
  `col_Centre` varchar(60) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_FileName` varchar(100) DEFAULT NULL,
  `col_Subject` varchar(200) DEFAULT NULL,
  `col_Body` text,
  `col_PostDate` date DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  PRIMARY KEY (`col_SendBulkEmailID`),
  UNIQUE KEY `col_SendBulkEmailID` (`col_SendBulkEmailID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SendWorkOrders`
--

CREATE TABLE IF NOT EXISTS `tb_SendWorkOrders` (
  `col_MessageID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Method` varchar(10) DEFAULT NULL,
  `col_SendEmailAddress` varchar(50) DEFAULT NULL,
  `col_SendFax` varchar(11) DEFAULT NULL,
  `col_Centre` varchar(50) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_SourceCompanyName` varchar(100) DEFAULT NULL,
  `col_BuilderNameSuffix` varchar(20) DEFAULT NULL,
  `col_BuilderPhone` varchar(20) DEFAULT NULL,
  `col_BuilderFax` varchar(20) DEFAULT NULL,
  `col_CentreProject` varchar(100) DEFAULT NULL,
  `col_Address` varchar(255) DEFAULT NULL,
  `col_City` varchar(100) DEFAULT NULL,
  `col_OccDate` varchar(20) DEFAULT NULL,
  `col_Today` varchar(20) DEFAULT NULL,
  `col_TheNames` varchar(255) DEFAULT NULL,
  `col_PhoneRes` varchar(15) DEFAULT NULL,
  `col_PhoneBus` varchar(15) DEFAULT NULL,
  `col_PhoneBus2` varchar(15) DEFAULT NULL,
  `col_Cell1` varchar(15) DEFAULT NULL,
  `col_SubCompanyName` varchar(255) DEFAULT NULL,
  `col_SubContact` varchar(50) DEFAULT NULL,
  `col_SubPhone` varchar(15) DEFAULT NULL,
  `col_SubFax` varchar(15) DEFAULT NULL,
  `col_SentBy` varchar(50) DEFAULT NULL,
  `col_SentAt` varchar(20) DEFAULT NULL,
  `col_EmailMessage` varchar(200) DEFAULT NULL,
  `col_FaxMessage` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`col_MessageID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SentItem`
--

CREATE TABLE IF NOT EXISTS `tb_SentItem` (
  `col_SentItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DeficiencyAssignmentID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_CompanyName` varchar(100) DEFAULT NULL,
  `col_Fax` varchar(25) DEFAULT NULL,
  `col_Email` varchar(65) DEFAULT NULL,
  `col_EmailStatus` varchar(100) DEFAULT NULL,
  `col_UserName` varchar(65) DEFAULT NULL,
  `col_PostTime` time DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_VerifiedDate` date DEFAULT NULL,
  `col_StageStartWorkDate` date DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_StageName` varchar(200) DEFAULT NULL,
  `col_SentFrom` varchar(65) DEFAULT NULL,
  `col_SentTo` varchar(200) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_FaxID` int(11) DEFAULT NULL,
  `col_AssociatedID` int(11) DEFAULT NULL,
  `col_AssociatedTableName` varchar(65) DEFAULT NULL,
  `col_AssociatedType` varchar(65) DEFAULT NULL,
  `col_AssociatedDetail` text,
  `col_Note` text,
  PRIMARY KEY (`col_SentItemID`),
  KEY `indxDeficiencyAssignmentID` (`col_DeficiencyAssignmentID`),
  KEY `indxStageCentrePhaseLotType` (`col_StageName`,`col_Centre`,`col_Phase`,`col_Lot`,`col_Type`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13750 ;

--
-- Dumping data for table `tb_SentItem`
--

--
-- Table structure for table `tb_Settings`
--

CREATE TABLE IF NOT EXISTS `tb_Settings` (
  `col_SettingID` int(11) DEFAULT NULL,
  `col_User` varchar(25) DEFAULT NULL,
  `col_SettingName` varchar(65) DEFAULT NULL,
  `col_SettingValue` varchar(65) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SiteMapGraphic`
--

CREATE TABLE IF NOT EXISTS `tb_SiteMapGraphic` (
  `col_SiteMapGraphicID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_SiteMapCircleDiameter` int(11) DEFAULT NULL,
  `col_SiteMapCircleBorderWidth` int(11) DEFAULT NULL,
  `col_SiteMapCircleBorderColor` varchar(255) DEFAULT NULL,
  `col_SiteMapFontSize` int(11) DEFAULT NULL,
  `col_SiteMapWidth` int(11) DEFAULT NULL,
  `col_SiteMapHeight` int(11) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_DisplayFloor` varchar(25) DEFAULT NULL,
  `col_SiteMapName` varchar(50) DEFAULT NULL,
  `col_SiteMapFileName` varchar(250) DEFAULT NULL,
  `col_OriginalFileName` varchar(100) DEFAULT NULL,
  `col_ShowLotNumber` varchar(3) DEFAULT NULL,
  `col_ShowLotPremium` varchar(3) DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_SiteMapGraphicRcdExpiry` date DEFAULT NULL,
  `col_PdfSiteMapCircleRadius` decimal(6,2) DEFAULT NULL,
  `col_PdfSiteMapHeight` int(11) DEFAULT NULL,
  `col_PdfSiteMapWidth` int(11) DEFAULT NULL,
  `col_PdfSiteMapOrientation` varchar(10) DEFAULT NULL,
  `col_Type` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_SiteMapGraphicID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `tb_SiteMapGraphic`
--
----------------------------------------------

--
-- Table structure for table `tb_SiteMapLink`
--

CREATE TABLE IF NOT EXISTS `tb_SiteMapLink` (
  `col_SiteMapLinkID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Order` int(11) DEFAULT NULL,
  `col_OpenOnTopYN` varchar(3) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_Name` varchar(50) DEFAULT NULL,
  `col_Title` varchar(50) DEFAULT NULL,
  `col_Link` varchar(255) DEFAULT NULL,
  `col_Image` varchar(255) DEFAULT NULL,
  `col_ImageStyle` varchar(255) DEFAULT NULL,
  `col_LinkStyle` varchar(255) DEFAULT NULL,
  `col_ImageOriginalFileName` varchar(100) DEFAULT NULL,
  `col_LinkOriginalFileName` varchar(100) DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_SiteMapLinkRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_SiteMapLinkID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SiteMapStyle`
--

CREATE TABLE IF NOT EXISTS `tb_SiteMapStyle` (
  `col_SiteMapStyleID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(50) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_MenuVertHorz` varchar(1) DEFAULT NULL,
  `col_MenuDivStyle` varchar(255) NOT NULL,
  `col_MenuRowStyle` varchar(255) NOT NULL,
  `col_ModelLabel` varchar(50) DEFAULT NULL,
  `col_ModelTitle` varchar(50) DEFAULT NULL,
  `col_ModelImage` varchar(255) DEFAULT NULL,
  `col_ModelImageStyle` varchar(255) DEFAULT NULL,
  `col_ModelRowStyle` varchar(255) DEFAULT NULL,
  `col_ModelFancyStyle` varchar(255) DEFAULT NULL,
  `col_ModelFancyImage` varchar(255) DEFAULT NULL,
  `col_LotClassLabel` varchar(50) DEFAULT NULL,
  `col_LotClassTitle` varchar(50) DEFAULT NULL,
  `col_LotClassImage` varchar(255) DEFAULT NULL,
  `col_LotClassImageStyle` varchar(255) DEFAULT NULL,
  `col_LotClassRowStyle` varchar(255) DEFAULT NULL,
  `col_LotClassFancyStyle` varchar(255) DEFAULT NULL,
  `col_LotClassFancyImage` varchar(255) DEFAULT NULL,
  `col_FloorLabel` varchar(50) DEFAULT NULL,
  `col_FloorTitle` varchar(50) DEFAULT NULL,
  `col_FloorImage` varchar(255) DEFAULT NULL,
  `col_FloorImageStyle` varchar(255) DEFAULT NULL,
  `col_FloorRowStyle` varchar(255) DEFAULT NULL,
  `col_FloorFancyStyle` varchar(255) DEFAULT NULL,
  `col_FloorFancyImage` varchar(255) DEFAULT NULL,
  `col_ClearLabel` varchar(50) DEFAULT NULL,
  `col_ClearTitle` varchar(50) DEFAULT NULL,
  `col_ClearImage` varchar(255) DEFAULT NULL,
  `col_ClearImageStyle` varchar(255) DEFAULT NULL,
  `col_ClearRowStyle` varchar(255) DEFAULT NULL,
  `col_ModelGalleryLabel` varchar(50) DEFAULT NULL,
  `col_ModelGalleryTitle` varchar(50) DEFAULT NULL,
  `col_ModelGalleryImage` varchar(255) DEFAULT NULL,
  `col_ModelGalleryImageStyle` varchar(255) DEFAULT NULL,
  `col_ModelGalleryRowStyle` varchar(255) DEFAULT NULL,
  `col_ModelOriginalFileName` varchar(100) DEFAULT NULL,
  `col_FloorOriginalFileName` varchar(100) DEFAULT NULL,
  `col_ClearOriginalFileName` varchar(100) DEFAULT NULL,
  `col_LotClassOriginalFileName` varchar(100) DEFAULT NULL,
  `col_ModelGalleryOriginalFileName` varchar(100) DEFAULT NULL,
  `col_PostUser` varchar(25) DEFAULT NULL,
  `col_PostDate` datetime DEFAULT NULL,
  `col_SiteMapStyleRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_SiteMapStyleID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SpecChar`
--

CREATE TABLE IF NOT EXISTS `tb_SpecChar` (
  `col_SpecCharID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Char` varchar(5) NOT NULL DEFAULT '',
  `col_Word` varchar(25) NOT NULL DEFAULT '',
  PRIMARY KEY (`col_SpecCharID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Stage`
--

CREATE TABLE IF NOT EXISTS `tb_Stage` (
  `col_StageID` int(11) NOT NULL AUTO_INCREMENT,
  `col_StageName` varchar(200) DEFAULT NULL,
  `col_StageShort` varchar(10) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_LotClass` varchar(200) NOT NULL,
  `col_PerDefinition` varchar(200) DEFAULT NULL,
  `col_Comment` text,
  `col_WorkingDaysToComplete` decimal(10,2) DEFAULT NULL,
  `col_WorkingDaysFromStart` decimal(10,2) DEFAULT NULL,
  `col_WorkingDaysToClosing` decimal(10,2) DEFAULT NULL,
  `col_StartEmailContent` varchar(200) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  `col_View` int(11) unsigned NOT NULL DEFAULT '0',
  `col_Group` int(11) unsigned NOT NULL DEFAULT '0',
  `col_StartWorkYN` varchar(3) DEFAULT NULL,
  `col_SendStageEstStartDateYN` varchar(3) DEFAULT NULL,
  `col_SendCompletionCertificateYN` varchar(3) DEFAULT NULL,
  `col_SubContractID` varchar(50) DEFAULT NULL,
  `col_ActivityCode` varchar(50) DEFAULT NULL,
  `col_DrawNumber` varchar(50) DEFAULT NULL,
  `col_InternalStageYN` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_StageID`),
  KEY `indxCentrePhaseLotClass` (`col_Centre`,`col_Phase`,`col_LotClass`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SuppLot`
--

CREATE TABLE IF NOT EXISTS `tb_SuppLot` (
  `col_SuppLotID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(20) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_Type` varchar(20) DEFAULT NULL,
  `col_WarrantyNumber` varchar(25) DEFAULT NULL,
  `col_CustomerSignOffDate` date DEFAULT NULL,
  `col_DateAdded` date DEFAULT NULL,
  `col_StartDate` date DEFAULT NULL,
  `col_ElectDate` date DEFAULT NULL,
  `col_GasDate` date DEFAULT NULL,
  `col_PDIDate` datetime DEFAULT NULL,
  `col_QCDate` datetime DEFAULT NULL,
  PRIMARY KEY (`col_SuppLotID`),
  KEY `col_Centre` (`col_Centre`,`col_Phase`,`col_Lot`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1202 ;

--
-- Dumping data for table `tb_SuppLot`
--
----------

--
-- Table structure for table `tb_SuppWorksheet`
--

CREATE TABLE IF NOT EXISTS `tb_SuppWorksheet` (
  `ID1` int(11) DEFAULT NULL,
  `ID` varchar(14) DEFAULT NULL,
  `col_Assignment` varchar(50) DEFAULT NULL,
  `col_AssgnmentForFee` varchar(50) DEFAULT NULL,
  `col_LeaingConsentYN` tinyint(1) DEFAULT NULL,
  `col_LeasingConsentFee` varchar(50) DEFAULT NULL,
  `col_CashOutOnOccupancyYN` tinyint(1) DEFAULT NULL,
  `col_InvestorYN` tinyint(1) DEFAULT NULL,
  `col_Nationality` varchar(50) DEFAULT NULL,
  `col_CreditCommissAmountYN` varchar(50) DEFAULT NULL,
  `col_BrokerLetterToCreditCommission` datetime DEFAULT NULL,
  `col_CreditCashbackAmount` varchar(50) DEFAULT NULL,
  `col_DistExecOfferToLLD` datetime DEFAULT NULL,
  `col_PreApprovaltoLLT` datetime DEFAULT NULL,
  `col_OfferToLawer` datetime DEFAULT NULL,
  `col_YVRDate` datetime DEFAULT NULL,
  `col_CompanyPapersRecd` datetime DEFAULT NULL,
  `col_PowerOfAttornRecd` datetime DEFAULT NULL,
  `col_StainlessSteel` varchar(50) DEFAULT NULL,
  `col_FrontLoadWasher` varchar(50) DEFAULT NULL,
  `col_MirroredBathRoomMedCabinets` varchar(50) DEFAULT NULL,
  `col_PreAprovalRecd` datetime DEFAULT NULL,
  `col_QualLetterRecd` datetime DEFAULT NULL,
  `col_HighRationGuaranteeRecd` datetime DEFAULT NULL,
  `col_LawSocietyFee` tinyint(1) DEFAULT NULL,
  `col_ChequeChargeFee` tinyint(1) DEFAULT NULL,
  `col_MortDischFee` tinyint(1) DEFAULT NULL,
  `col_InsuranceLevy` tinyint(1) DEFAULT NULL,
  `col_DevCharge` varchar(50) DEFAULT NULL,
  `col_ArtLevy` double DEFAULT NULL,
  `col_WaterMeter` double DEFAULT NULL,
  `col_ContractNote` mediumtext,
  `col_Int1stPaymentChequeRecdFromVanOut` datetime DEFAULT NULL,
  `col_Int1stPaymentChequeRecdFromVan` datetime DEFAULT NULL,
  `col_Int1stPaymentChequeMailedToBroker` datetime DEFAULT NULL,
  `col_Int1stPaymentChequeMailedToBrokerOut` datetime DEFAULT NULL,
  `col_CompanyPapersRecdYN` tinyint(1) DEFAULT NULL,
  `col_PowerOfAttornRecdYN` tinyint(1) DEFAULT NULL,
  `col_CommentOutSide` varchar(250) DEFAULT NULL,
  `col_CommentInSide` varchar(250) DEFAULT NULL,
  `col_IPODPromo` tinyint(1) DEFAULT NULL,
  `col_InsideInvoiceNo` varchar(15) DEFAULT NULL,
  `col_ClosingNote` mediumtext,
  `col_InsHoldCommission1` datetime DEFAULT NULL,
  `col_InsReleaseHoldCommission1` datetime DEFAULT NULL,
  `col_InsHoldCommission1Comment` varchar(100) DEFAULT NULL,
  `col_InsHoldCommission2` datetime DEFAULT NULL,
  `col_InsReleaseHoldCommission2` datetime DEFAULT NULL,
  `col_InsHoldCommission2Comment` varchar(100) DEFAULT NULL,
  `col_OutHoldCommission1` datetime DEFAULT NULL,
  `col_OutReleaseHoldCommission1` datetime DEFAULT NULL,
  `col_OutHoldCommission1Comment` varchar(100) DEFAULT NULL,
  `col_OutHoldCommission2` datetime DEFAULT NULL,
  `col_OutReleaseHoldCommission2` datetime DEFAULT NULL,
  `col_OutHoldCommission2Comment` varchar(100) DEFAULT NULL,
  `col_HeadOfficeComment` mediumtext,
  `col_PurchaseType` varchar(25) DEFAULT NULL,
  `col_HoldCommission` datetime DEFAULT NULL,
  `col_ReleaseHoldCommission` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_SyncLog`
--

CREATE TABLE IF NOT EXISTS `tb_SyncLog` (
  `col_SyncLogID` int(11) NOT NULL AUTO_INCREMENT,
  `col_SiteId` varchar(100) NOT NULL DEFAULT '',
  `col_FileName` varchar(100) NOT NULL DEFAULT '',
  `col_PostedDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `col_RunDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `col_BackupDate` date NOT NULL DEFAULT '0000-00-00',
  PRIMARY KEY (`col_SyncLogID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_TakeOff`
--

CREATE TABLE IF NOT EXISTS `tb_TakeOff` (
  `col_TakeOffID` int(11) NOT NULL AUTO_INCREMENT,
  `col_TakeOffOID` int(11) DEFAULT NULL,
  `col_ModelOID` int(11) DEFAULT NULL,
  `col_TradeOID` int(11) DEFAULT NULL,
  `col_Count` int(11) DEFAULT NULL,
  `col_TakeOffOrder` int(11) DEFAULT NULL,
  `col_TakeOffName` varchar(65) DEFAULT NULL,
  `col_Component` varchar(65) DEFAULT NULL,
  `col_Length` decimal(8,2) DEFAULT NULL,
  `col_Width` decimal(8,2) DEFAULT NULL,
  `col_Dimension` decimal(8,2) DEFAULT NULL,
  `col_TakeOffRcdExpiry` date DEFAULT NULL,
  `col_Model` varchar(100) NOT NULL,
  `col_Room` varchar(100) NOT NULL,
  `col_Category` varchar(100) NOT NULL,
  `col_MeasurementType` varchar(25) DEFAULT NULL,
  `col_Size` decimal(20,2) DEFAULT NULL,
  PRIMARY KEY (`col_TakeOffID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_TarionActivity`
--

CREATE TABLE IF NOT EXISTS `tb_TarionActivity` (
  `col_TarionActivityID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Project` varchar(60) DEFAULT NULL,
  `col_Builder` varchar(20) DEFAULT NULL,
  `col_ExtraPullYN` varchar(3) DEFAULT NULL,
  `col_PullCompleteYN` varchar(3) DEFAULT NULL,
  `col_PostDateTime` datetime DEFAULT NULL,
  `col_StartDate` date DEFAULT NULL,
  `col_EndDate` date DEFAULT NULL,
  `col_ErrorNo` int(11) DEFAULT NULL,
  `col_SqlErrorCount` int(11) DEFAULT NULL,
  `col_PullTimeSeconds` int(11) DEFAULT NULL,
  `col_RecordCount` int(11) DEFAULT NULL,
  `col_ThirtyDayCount` int(11) DEFAULT NULL,
  `col_YearEndCount` int(11) DEFAULT NULL,
  `col_TwoYearCount` int(11) DEFAULT NULL,
  `col_MsdCount` int(11) DEFAULT NULL,
  `col_DcdoCount` int(11) DEFAULT NULL,
  `col_AaCount` int(11) DEFAULT NULL,
  UNIQUE KEY `col_TarionActivityID_2` (`col_TarionActivityID`),
  KEY `col_TarionActivityID` (`col_TarionActivityID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ;

--
-- Dumping data for table `tb_TarionActivity`
--
CREATE TABLE IF NOT EXISTS `tb_TarionDeficiency` (
  `col_HomeOwnerDeficiencyID` int(11) NOT NULL AUTO_INCREMENT,
  `col_DefectNo` int(11) DEFAULT NULL,
  `col_ItemNo` int(11) DEFAULT NULL,
  `col_Vendor` varchar(65) DEFAULT NULL,
  `col_Enrolment` varchar(25) DEFAULT NULL,
  `col_CaseID` varchar(14) DEFAULT NULL,
  `col_DeficiencyType` varchar(65) DEFAULT NULL,
  `col_Room` varchar(35) DEFAULT NULL,
  `col_Status` varchar(25) DEFAULT NULL,
  `col_Description` text,
  `col_PostDate` date DEFAULT NULL,
  `col_ReportedDate` date DEFAULT NULL,
  `col_Location` varchar(65) DEFAULT NULL,
  PRIMARY KEY (`col_HomeOwnerDeficiencyID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=584 ;

--
-- Dumping data for table `tb_TarionDeficiency`
--


--
-- Table structure for table `tb_TarionDelayedClosing`
--

CREATE TABLE IF NOT EXISTS `tb_TarionDelayedClosing` (
  `col_HomeOwnerDelayedID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PostDate` date DEFAULT NULL,
  `col_ReportedDate` date DEFAULT NULL,
  `col_Vendor` varchar(65) DEFAULT NULL,
  `col_Enrolment` varchar(25) DEFAULT NULL,
  `col_CaseID` varchar(14) DEFAULT NULL,
  `col_LivingExpenseDays` int(11) DEFAULT NULL,
  `col_LivingExpenseCost` varchar(50) DEFAULT NULL,
  `col_AdditionalMovingCost` varchar(50) DEFAULT NULL,
  `col_AdditionalStorageCost` varchar(50) DEFAULT NULL,
  `col_AdditionalOtherCost` varchar(50) DEFAULT NULL,
  `col_AdditionalTotalCost` varchar(50) DEFAULT NULL,
  `col_InsufficientNoticeDays` int(11) DEFAULT NULL,
  `col_InsufficientNoticeCost` varchar(50) DEFAULT NULL,
  `col_TotalClaimIncurred` varchar(50) DEFAULT NULL,
  `col_TotalClaimAmount` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`col_HomeOwnerDelayedID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_TarionPurchaser`
--

CREATE TABLE IF NOT EXISTS `tb_TarionPurchaser` (
  `col_HomeOwnerInfoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_PossessionDate` date DEFAULT NULL,
  `col_Vendor` varchar(65) DEFAULT NULL,
  `col_Enrolment` varchar(25) DEFAULT NULL,
  `col_StreetNumber` varchar(10) DEFAULT NULL,
  `col_StreetName` varchar(100) DEFAULT NULL,
  `col_CondoSuite` varchar(10) DEFAULT NULL,
  `col_City` varchar(25) DEFAULT NULL,
  `col_PostalCode` varchar(7) DEFAULT NULL,
  `col_Project` varchar(65) DEFAULT NULL,
  `col_SubDivision` varchar(65) DEFAULT NULL,
  `col_Lot` varchar(40) DEFAULT NULL,
  `col_HomeOwner1` varchar(65) DEFAULT NULL,
  `col_HomeOwner2` varchar(65) DEFAULT NULL,
  `col_DayPhone1` varchar(35) DEFAULT NULL,
  `col_DayPhone2` varchar(35) DEFAULT NULL,
  `col_EveningPhone1` varchar(35) DEFAULT NULL,
  `col_EveningPhone2` varchar(35) DEFAULT NULL,
  `col_Fax1` varchar(35) DEFAULT NULL,
  `col_Fax2` varchar(35) DEFAULT NULL,
  `col_Email1` varchar(35) DEFAULT NULL,
  `col_Email2` varchar(35) DEFAULT NULL,
  `col_OriginalOwner1` char(3) DEFAULT NULL,
  `col_OriginalOwner2` char(3) DEFAULT NULL,
  `col_MailSameAddress` varchar(3) DEFAULT NULL,
  `col_MailStreetNumber` varchar(10) DEFAULT NULL,
  `col_MailStreetName` varchar(100) DEFAULT NULL,
  `col_MailCondoSuite` varchar(10) DEFAULT NULL,
  `col_MailCity` varchar(25) DEFAULT NULL,
  `col_MailProvince` varchar(25) DEFAULT NULL,
  `col_MailCountry` varchar(25) DEFAULT NULL,
  `col_MailPostalCode` varchar(7) DEFAULT NULL,
  PRIMARY KEY (`col_HomeOwnerInfoID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=54 ;

--
-- Dumping data for table `tb_TarionPurchaser`
--
CREATE TABLE IF NOT EXISTS `tb_TmpLabels` (
  `col_LabelID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `col_DateTime` varchar(20) DEFAULT NULL,
  `col_LabelLine1` varchar(100) DEFAULT NULL,
  `col_LabelLine2` varchar(100) DEFAULT NULL,
  `col_LabelLine3` varchar(100) DEFAULT NULL,
  `col_LabelLine4` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`col_LabelID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Trade`
--

CREATE TABLE IF NOT EXISTS `tb_Trade` (
  `col_TradeID` int(11) NOT NULL DEFAULT '0',
  `col_TradeOID` int(11) NOT NULL DEFAULT '0',
  `col_TradeOrder` int(11) DEFAULT NULL,
  `col_CompanyTradeID` int(11) DEFAULT NULL,
  `col_ConstructionCodesOID` int(11) DEFAULT NULL,
  `col_ConstructionCode` varchar(10) DEFAULT NULL,
  `col_Trade` varchar(65) DEFAULT NULL,
  `col_ActiveYN` varchar(10) DEFAULT NULL,
  `col_TradeRcdExpiry` date DEFAULT NULL,
  PRIMARY KEY (`col_TradeOID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `tb_TradeLink`
--

CREATE TABLE IF NOT EXISTS `tb_TradeLink` (
  `col_TradeLinkID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UpgradeID` int(11) DEFAULT NULL,
  `col_ProductID` int(11) DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_SubContractID` varchar(50) DEFAULT NULL,
  `col_Supplier` varchar(250) DEFAULT NULL,
  `col_SupplierComment` varchar(200) DEFAULT NULL,
  `col_Confirmed` varchar(10) DEFAULT NULL,
  `col_ConfirmedYN` varchar(10) DEFAULT NULL,
  `col_ConfirmedUser` varchar(40) DEFAULT NULL,
  `col_LastEditUser` varchar(40) DEFAULT NULL,
  `col_Cost` decimal(18,2) DEFAULT NULL,
  `col_ConfirmedDate` date DEFAULT NULL,
  `col_InsertDate` date DEFAULT NULL,
  `col_LastEditDate` date DEFAULT NULL,
  PRIMARY KEY (`col_TradeLinkID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_UpgradeGroup`
--

CREATE TABLE IF NOT EXISTS `tb_UpgradeGroup` (
  `col_UpgradeGroupID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UpgradeGroup` varchar(40) DEFAULT NULL,
  `col_Markup` decimal(20,6) DEFAULT NULL,
  `col_MinimumSellingPrice` decimal(12,2) DEFAULT NULL,
  `col_Order` int(11) DEFAULT NULL,
  PRIMARY KEY (`col_UpgradeGroupID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_UserActivity`
--

CREATE TABLE IF NOT EXISTS `tb_UserActivity` (
  `col_UserActivityID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `col_UsersID` int(11) DEFAULT NULL,
  `col_UsersName` varchar(100) DEFAULT NULL,
  `col_ServerTime` varchar(15) DEFAULT NULL,
  `col_Date` date DEFAULT NULL,
  PRIMARY KEY (`col_UserActivityID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2105 ;


-- --------------------------------------------------------

--
-- Table structure for table `tb_UsersSendCC`
--

CREATE TABLE IF NOT EXISTS `tb_UsersSendCC` (
  `col_UsersSendCCID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UsersID` int(11) NOT NULL,
  `col_ActiveYN` varchar(10) DEFAULT 'No',
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_FileName` varchar(100) DEFAULT NULL,
  `col_Comment` varchar(250) DEFAULT NULL,
  KEY `col_UsersSendCCID` (`col_UsersSendCCID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_UsersSendMailCC`
--

CREATE TABLE IF NOT EXISTS `tb_UsersSendMailCC` (
  `col_UsersSendMailID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UserID` varchar(10) DEFAULT NULL,
  `col_BPNewDocumentAlertCCYN` varchar(3) DEFAULT NULL,
  `col_BPTradeInvitationCCYN` varchar(3) DEFAULT NULL,
  `col_BPRejectTradeTenderAlertCCYN` varchar(3) DEFAULT NULL,
  `col_SOSStageCompleteAlertCCYN` varchar(3) DEFAULT NULL,
  `col_SOSStartWorkAlertCCYN` varchar(3) DEFAULT NULL,
  `col_CMSLetterEmailCCYN` varchar(3) DEFAULT NULL,
  `col_PASSSendWorkOrderCCYN` varchar(3) DEFAULT NULL,
  `col_PASSDeficiencyDetailByTradeCCYN` varchar(3) DEFAULT NULL,
  `col_BSTValidateEmailAddressCCYN` varchar(3) DEFAULT NULL,
  `col_BSTSendMailEmailAddressCCYN` varchar(3) DEFAULT NULL,
  PRIMARY KEY (`col_UsersSendMailID`),
  UNIQUE KEY `col_UserID` (`col_UserID`),
  KEY `col_UsersSendMailID` (`col_UsersSendMailID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Dumping data for table `tb_UsersSendMailCC`
--

INSERT INTO `tb_UsersSendMailCC` (`col_UsersSendMailID`, `col_UserID`, `col_BPNewDocumentAlertCCYN`, `col_BPTradeInvitationCCYN`, `col_BPRejectTradeTenderAlertCCYN`, `col_SOSStageCompleteAlertCCYN`, `col_SOSStartWorkAlertCCYN`, `col_CMSLetterEmailCCYN`, `col_PASSSendWorkOrderCCYN`, `col_PASSDeficiencyDetailByTradeCCYN`, `col_BSTValidateEmailAddressCCYN`, `col_BSTSendMailEmailAddressCCYN`) VALUES
(1, 'rwright', NULL, NULL, NULL, NULL, NULL, 'Yes', NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tb_VendorInvoice`
--

CREATE TABLE IF NOT EXISTS `tb_VendorInvoice` (
  `col_VendorInvoiceID` int(11) NOT NULL AUTO_INCREMENT,
  `col_CompanyName` varchar(100) DEFAULT NULL,
  `col_VendorInvoiceDate` date DEFAULT NULL,
  `col_VendorInvoiceNumber` varchar(25) DEFAULT NULL,
  `col_InvoiceNo` int(11) DEFAULT NULL,
  `col_Description` varchar(254) DEFAULT NULL,
  `col_ID` varchar(14) DEFAULT NULL,
  `col_VendorAmount` decimal(18,2) DEFAULT NULL,
  `col_AddedInvoiceItemID` int(11) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_ListCompanyID` int(11) DEFAULT NULL,
  `col_InvoiceType` varchar(65) DEFAULT NULL,
  `col_VendorInvoiceAmount` decimal(18,2) DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_OutstandingBalance` decimal(18,2) DEFAULT NULL,
  `col_ReturnToVendor` varchar(25) DEFAULT NULL,
  `col_DateReceived` date DEFAULT NULL,
  PRIMARY KEY (`col_VendorInvoiceID`),
  UNIQUE KEY `ID` (`col_VendorInvoiceID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_VendorInvoiceItem`
--

CREATE TABLE IF NOT EXISTS `tb_VendorInvoiceItem` (
  `col_VendorInvoiceItemID` int(11) NOT NULL AUTO_INCREMENT,
  `col_VendorInvoiceID` int(11) NOT NULL DEFAULT '0',
  `col_InvoiceNo` int(11) DEFAULT NULL,
  `col_PostDate` date DEFAULT NULL,
  `col_PurchaseOrderItemID` int(11) NOT NULL DEFAULT '0',
  `col_InvoiceItemAutoID` int(11) NOT NULL DEFAULT '0',
  `col_VendorLineAmount` decimal(18,2) DEFAULT NULL,
  `col_PostUser` varchar(65) DEFAULT NULL,
  `col_Quantity` decimal(8,4) DEFAULT NULL,
  `col_InvoiceItemType` varchar(20) NOT NULL DEFAULT '',
  `col_Description` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`col_VendorInvoiceItemID`),
  KEY `indxVendorInvoiceItem` (`col_VendorInvoiceID`),
  KEY `indxInvItemID` (`col_InvoiceItemAutoID`),
  KEY `indxPurchaseOrder` (`col_PurchaseOrderItemID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_VendorInvoiceLink`
--

CREATE TABLE IF NOT EXISTS `tb_VendorInvoiceLink` (
  `col_VendorInvoiceLinkID` int(11) NOT NULL AUTO_INCREMENT,
  `col_VendorInvoiceID` int(11) DEFAULT NULL,
  `col_PhaseID` int(11) DEFAULT NULL,
  `col_Project` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`col_VendorInvoiceLinkID`),
  KEY `indxVndrInvID` (`col_VendorInvoiceID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_VendorInvoiceTax`
--

CREATE TABLE IF NOT EXISTS `tb_VendorInvoiceTax` (
  `col_VendorInvoiceTaxID` int(11) NOT NULL AUTO_INCREMENT,
  `col_VendorInvoiceID` int(11) DEFAULT NULL,
  `col_TaxAmount` decimal(18,2) DEFAULT NULL,
  `col_TaxName` varchar(10) DEFAULT NULL,
  `col_CalcRateYN` char(3) DEFAULT NULL,
  PRIMARY KEY (`col_VendorInvoiceTaxID`),
  KEY `indxVendInvID` (`col_VendorInvoiceID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Views`
--

CREATE TABLE IF NOT EXISTS `tb_Views` (
  `col_ViewsID` int(11) NOT NULL AUTO_INCREMENT,
  `col_View` int(11) NOT NULL DEFAULT '0',
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Phase` varchar(10) DEFAULT NULL,
  `col_ViewName` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`col_ViewsID`),
  UNIQUE KEY `ind_1` (`col_Centre`,`col_Phase`,`col_View`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Weather`
--

CREATE TABLE IF NOT EXISTS `tb_Weather` (
  `col_WeatherID` int(11) NOT NULL AUTO_INCREMENT,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Precipitation` varchar(7) DEFAULT NULL,
  `col_Temp` varchar(7) DEFAULT NULL,
  `col_Comment` varchar(255) DEFAULT NULL,
  `col_Date` date DEFAULT NULL,
  `col_Time` time DEFAULT NULL,
  PRIMARY KEY (`col_WeatherID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- Table structure for table `tb_Worksheet`
--

CREATE TABLE IF NOT EXISTS `tb_Worksheet` (
  `col_ID` varchar(14) NOT NULL DEFAULT '',
  `col_OriginatingWorksheetID` int(11) DEFAULT NULL,
  `col_Name1` varchar(40) DEFAULT NULL,
  `col_Name2` varchar(40) DEFAULT NULL,
  `col_SolicitorName` varchar(40) DEFAULT NULL,
  `col_SolicitorAddress` varchar(65) DEFAULT NULL,
  `col_SolicitorCity` varchar(30) DEFAULT NULL,
  `col_SolicitorProvince` varchar(30) DEFAULT NULL,
  `col_SolicitorZip` varchar(7) DEFAULT NULL,
  `col_SolicitorPhone` varchar(10) DEFAULT NULL,
  `col_SolicitorExtension` varchar(10) DEFAULT NULL,
  `col_SolicitorFax` varchar(10) DEFAULT NULL,
  `col_Salesperson` varchar(40) DEFAULT NULL,
  `col_CustOffer` decimal(10,2) DEFAULT NULL,
  `col_AgreementSchedules` varchar(254) DEFAULT NULL,
  `col_BlockNumber` varchar(20) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Note` text,
  `col_Locked` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `col_ContractDate` date DEFAULT NULL,
  `col_FinalClosing` date DEFAULT NULL,
  `col_ActualClosing` date DEFAULT NULL,
  `col_PermissionToEnterDetail` varchar(200) DEFAULT NULL,
  `col_AcceptedTargetClosing` char(3) DEFAULT NULL,
  `col_PossessionDate` date DEFAULT NULL,
  `col_LeaseStart` date DEFAULT NULL,
  `col_LeaseExpiry` date DEFAULT NULL,
  `col_InsuranceExpiry` date DEFAULT NULL,
  `col_EnviroExpiry` date DEFAULT NULL,
  `col_KeyRecieved` date DEFAULT NULL,
  `col_WhichInsuranceLetter` varchar(65) DEFAULT NULL,
  `col_RequireSeal` char(3) DEFAULT 'YES',
  `col_HVAC` decimal(18,2) DEFAULT NULL,
  `col_HvacComment` varchar(65) DEFAULT NULL,
  `col_SquareFeet` varchar(40) DEFAULT NULL,
  `col_EstimatedTaxPer` decimal(18,2) DEFAULT NULL,
  `col_EstimatedCAMPer` decimal(18,2) DEFAULT NULL,
  `col_GasMeterNumber` varchar(65) DEFAULT NULL,
  `col_HydroMeterNumber` varchar(65) DEFAULT NULL,
  `col_GasWhoPays` varchar(10) DEFAULT NULL,
  `col_HydroWhoPays` varchar(10) NOT NULL,
  `col_RenewalOption` varchar(65) DEFAULT NULL,
  `col_RenewalDetail` varchar(65) DEFAULT NULL,
  `col_PostDatedCheques` varchar(150) DEFAULT NULL,
  `col_ParkingSpaceDetail` varchar(150) DEFAULT NULL,
  `col_HvacSize` varchar(65) DEFAULT NULL,
  `col_HydroServiceSize` varchar(65) DEFAULT NULL,
  `col_ElectricalServiceSize` varchar(65) DEFAULT NULL,
  `col_ManagementFee` decimal(5,2) DEFAULT NULL,
  `col_ExternalPostDate` date DEFAULT NULL,
  `col_DateFirm` date DEFAULT NULL,
  PRIMARY KEY (`col_ID`),
  UNIQUE KEY `ID` (`col_ID`),
  KEY `indxContractDate` (`col_ContractDate`),
  KEY `indxcombo` (`col_ID`,`col_ContractDate`),
  KEY `origWorksheetID` (`col_OriginatingWorksheetID`,`col_Centre`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1;

--
-- Dumping data for table `tb_Worksheet`
--

--
-- Table structure for table `UPGRADE`
--

CREATE TABLE IF NOT EXISTS `UPGRADE` (
  `col_UpgradeAutoID` int(11) NOT NULL AUTO_INCREMENT,
  `col_UpgradeID` int(11) NOT NULL,
  `MODEL` varchar(50) DEFAULT NULL,
  `opt_group` varchar(40) NOT NULL,
  `OPT_DESC` varchar(254) NOT NULL,
  `PRICE` decimal(18,2) DEFAULT NULL,
  `opt_disc` varchar(254) DEFAULT NULL,
  `col_Type` varchar(25) DEFAULT NULL,
  `col_Item` varchar(65) DEFAULT NULL,
  `col_Cost` decimal(18,2) DEFAULT NULL,
  `col_Supplier` varchar(250) DEFAULT NULL,
  `col_Phase` varchar(250) DEFAULT NULL,
  `col_Centre` varchar(40) DEFAULT NULL,
  `col_Credit` decimal(18,2) DEFAULT NULL,
  `col_Instruction` varchar(254) DEFAULT NULL,
  `col_Detail` varchar(254) DEFAULT NULL,
  `col_InsertDate` date DEFAULT NULL,
  `col_LastEditDate` date DEFAULT NULL,
  `col_Room` varchar(100) DEFAULT NULL,
  `col_Level` varchar(40) DEFAULT NULL,
  `col_StructuralYN` varchar(10) DEFAULT NULL,
  `col_lot` varchar(20) DEFAULT NULL,
  `col_SourceID` int(11) DEFAULT NULL,
  `col_UpgradeMaster` int(11) DEFAULT NULL,
  `col_AccountName` varchar(65) DEFAULT NULL,
  `col_ActiveYN` varchar(10) DEFAULT NULL,
  `col_AvailableOnWebYN` varchar(10) DEFAULT NULL,
  `col_LockRetailPriceYN` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`col_UpgradeAutoID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=101291 ;

--
-- Dumping data for table `UPGRADE`
--


