X Add links in the data base foreign keys X add purple enevlope field in kits to identify them X update insert statements to reflect this change X add purple kit contorlloers X view purple kits option on switch board X Add filename and cass bool to kit table to keep track of what is going on create a list and import and export and process to cass and pave cicd turn off application pool and site before unzipping then restart app and site cicd install service and start cicd stop service and copy zip to folder create a list and import and export and process to cass and pave update label export as pdf for printing add report man dll for dependancies update label csv export for snail works update inkjet createion and csv export for snail works CREATE TABLE [InkjetRecords] ( [ID] COUNTER, [KitID] LONG, [VOTERID] VARCHAR(255), [LASTNAME] VARCHAR(255), [FIRSTNAME] VARCHAR(255), [MIDDLENAME] VARCHAR(255), [SUFFIX] VARCHAR(255), [PRECINCT] VARCHAR(255), [ADDRESS1] VARCHAR(255), [ADDRESS2] VARCHAR(255), [ADDRESS3] VARCHAR(255), [ADDRESS4] VARCHAR(255), [ADDRESS5] VARCHAR(255), [APPSENT] VARCHAR(255), [APPRETURNED] VARCHAR(255), [BALSENT] VARCHAR(255), [BALRETURNED] VARCHAR(255), [CountingBoard] VARCHAR(255), [UOCAVASTATUS] VARCHAR(255), [EMAILADDRESS] VARCHAR(255), [PHONENUMBER] VARCHAR(255), [BALLOT_NUMBER] VARCHAR(255), [CassADDRESS1] VARCHAR(255), [CassADDRESS2] VARCHAR(255), [CassADDRESS3] VARCHAR(255), [CassADDRESS4] VARCHAR(255), [CassADDRESS5] VARCHAR(255) ); CREATE UNIQUE INDEX [ID] ON [InkjetRecords]( [ID] ) WITH PRIMARY; CREATE INDEX [Jcode] ON [InkjetRecords]( [KitID] ); -- Foreign Key Index will be created after with Constraints -- CREATE INDEX [KitInkjetRecords] ON [InkjetRecords]( [KitID] ); CREATE TABLE [Kit] ( [ID] COUNTER, [JobNumber] VARCHAR(255), [Jcode] VARCHAR(255), [CreatedOn] DATETIME, [LabelsPrinted] DATETIME, [ExportedToSnailWorks] DATETIME, [InkJetJob] BIT DEFAULT '0' ); CREATE UNIQUE INDEX [ID] ON [Kit]( [ID] ) WITH PRIMARY; CREATE TABLE [KitLabels] ( [ID] COUNTER, [KitId] LONG, [OutboundSerial] VARCHAR(255), [InBoundSerial] VARCHAR(255), [OutboundIMB] VARCHAR(255), [InBoundIMB] VARCHAR(255), [OutboundIMBDigits] VARCHAR(255), [InBoundIMBDigits] VARCHAR(255), [OutboundIMBPNG] MEMO, [INBOUNDIMBPNG] MEMO, [SetNumber] DOUBLE ); CREATE UNIQUE INDEX [ID] ON [KitLabels]( [ID] ) WITH PRIMARY; -- Foreign Key Index will be created after with Constraints -- CREATE INDEX [KitKitLabels] ON [KitLabels]( [KitId] ); ALTER TABLE [InkjetRecords] ADD CONSTRAINT [KitInkjetRecords] FOREIGN KEY ( [KitID] ) REFERENCES [Kit] ( [ID] ) ON UPDATE CASCADE ON DELETE CASCADE; ALTER TABLE [KitLabels] ADD CONSTRAINT [KitKitLabels] FOREIGN KEY ( [KitId] ) REFERENCES [Kit] ( [ID] ) ON UPDATE CASCADE ON DELETE CASCADE;