SELECT [AuxDslvQueue].[TankNo] AS [TankNo], [AuxDslvQueue].[Dyelot] AS [Dyelot], [AuxDslvQueue].[ReDye] AS [ReDye], [AuxDslvQueue].[StepNumber] AS [StepNumber], [AuxDslvQueue].[Station] AS [Station], [AuxDslvQueue].[Industry] AS [Industry], [AuxDslvQueue].[State] AS [State], [AuxDslvQueue].[Machine] AS [Machine], [AuxDslvQueue].[Volume] AS [Volume], [AuxDslvQueue].[ShelfID] AS [ShelfID], [AuxDslvQueue].[Updated] AS [Updated] FROM [dbo].[AuxDslvQueue] AS [AuxDslvQueue] SELECT [AuxDslvQueueHistory].[TankNo] AS [TankNo], [AuxDslvQueueHistory].[Dyelot] AS [Dyelot], [AuxDslvQueueHistory].[ReDye] AS [ReDye], [AuxDslvQueueHistory].[StepNumber] AS [StepNumber], [AuxDslvQueueHistory].[Station] AS [Station], [AuxDslvQueueHistory].[Industry] AS [Industry], [AuxDslvQueueHistory].[State] AS [State], [AuxDslvQueueHistory].[Machine] AS [Machine], [AuxDslvQueueHistory].[Volume] AS [Volume], [AuxDslvQueueHistory].[ShelfID] AS [ShelfID], [AuxDslvQueueHistory].[Created] AS [Created] FROM [dbo].[AuxDslvQueueHistory] AS [AuxDslvQueueHistory] SELECT [BucketCrane].[Dyelot] AS [Dyelot], [BucketCrane].[ReDye] AS [ReDye], [BucketCrane].[StepNumber] AS [StepNumber], [BucketCrane].[DevideNo] AS [DevideNo], [BucketCrane].[BucketNo] AS [BucketNo], [BucketCrane].[DID] AS [DID], [BucketCrane].[State] AS [State], [BucketCrane].[Updated] AS [Updated] FROM [dbo].[BucketCrane] AS [BucketCrane] SELECT [BucketCraneHistory].[Dyelot] AS [Dyelot], [BucketCraneHistory].[ReDye] AS [ReDye], [BucketCraneHistory].[StepNumber] AS [StepNumber], [BucketCraneHistory].[DevideNo] AS [DevideNo], [BucketCraneHistory].[BucketNo] AS [BucketNo], [BucketCraneHistory].[DID] AS [DID], [BucketCraneHistory].[State] AS [State], [BucketCraneHistory].[Created] AS [Created] FROM [dbo].[BucketCraneHistory] AS [BucketCraneHistory] SELECT [BucketInfo].[BucketNo] AS [BucketNo], [BucketInfo].[DID] AS [DID], [BucketInfo].[StartTime] AS [StartTime], [BucketInfo].[EndTime] AS [EndTime], [BucketInfo].[Used] AS [Used], [BucketInfo].[UserAccount] AS [UserAccount] FROM [dbo].[BucketInfo] AS [BucketInfo] SELECT [BucketShelf].[BucketNo] AS [BucketNo], [BucketShelf].[ShelfID] AS [ShelfID], [BucketShelf].[Dyelot] AS [Dyelot], [BucketShelf].[ReDye] AS [ReDye], [BucketShelf].[StepNumber] AS [StepNumber], [BucketShelf].[Station] AS [Station], [BucketShelf].[DID] AS [DID], [BucketShelf].[TotalBuckets] AS [TotalBuckets], [BucketShelf].[DevideNo] AS [DevideNo], [BucketShelf].[XPos] AS [XPos], [BucketShelf].[YPos] AS [YPos], [BucketShelf].[State] AS [State], [BucketShelf].[OnShelfTime] AS [OnShelfTime], [BucketShelf].[UserAccount] AS [UserAccount], [BucketShelf].[Locked] AS [Locked], [BucketShelf].[ProductCode] AS [ProductCode], [BucketShelf].[OriginDyelot] AS [OriginDyelot] FROM [dbo].[BucketShelf] AS [BucketShelf] SELECT [BucketShelfHistory].[BucketNo] AS [BucketNo], [BucketShelfHistory].[ShelfID] AS [ShelfID], [BucketShelfHistory].[Dyelot] AS [Dyelot], [BucketShelfHistory].[ReDye] AS [ReDye], [BucketShelfHistory].[StepNumber] AS [StepNumber], [BucketShelfHistory].[Station] AS [Station], [BucketShelfHistory].[DID] AS [DID], [BucketShelfHistory].[TotalBuckets] AS [TotalBuckets], [BucketShelfHistory].[DevideNo] AS [DevideNo], [BucketShelfHistory].[XPos] AS [XPos], [BucketShelfHistory].[YPos] AS [YPos], [BucketShelfHistory].[State] AS [State], [BucketShelfHistory].[OnShelfTime] AS [OnShelfTime], [BucketShelfHistory].[UserAccount] AS [UserAccount], [BucketShelfHistory].[Locked] AS [Locked], [BucketShelfHistory].[ProductCode] AS [ProductCode], [BucketShelfHistory].[OriginDyelot] AS [OriginDyelot] FROM [dbo].[BucketShelfHistory] AS [BucketShelfHistory] SELECT [BucketShelfQueue].[BucketNo] AS [BucketNo], [BucketShelfQueue].[ShelfID] AS [ShelfID], [BucketShelfQueue].[Dyelot] AS [Dyelot], [BucketShelfQueue].[ReDye] AS [ReDye], [BucketShelfQueue].[StepNumber] AS [StepNumber], [BucketShelfQueue].[TotalBuckets] AS [TotalBuckets], [BucketShelfQueue].[DevideNo] AS [DevideNo], [BucketShelfQueue].[XPos] AS [XPos], [BucketShelfQueue].[YPos] AS [YPos], [BucketShelfQueue].[State] AS [State], [BucketShelfQueue].[Updated] AS [Updated] FROM [dbo].[BucketShelfQueue] AS [BucketShelfQueue] SELECT [BucketShelfQueueHistory].[BucketNo] AS [BucketNo], [BucketShelfQueueHistory].[ShelfID] AS [ShelfID], [BucketShelfQueueHistory].[Dyelot] AS [Dyelot], [BucketShelfQueueHistory].[ReDye] AS [ReDye], [BucketShelfQueueHistory].[StepNumber] AS [StepNumber], [BucketShelfQueueHistory].[TotalBuckets] AS [TotalBuckets], [BucketShelfQueueHistory].[DevideNo] AS [DevideNo], [BucketShelfQueueHistory].[XPos] AS [XPos], [BucketShelfQueueHistory].[YPos] AS [YPos], [BucketShelfQueueHistory].[State] AS [State], [BucketShelfQueueHistory].[Created] AS [Created] FROM [dbo].[BucketShelfQueueHistory] AS [BucketShelfQueueHistory] SELECT [CleanDevice].[ID] AS [ID], [CleanDevice].[State] AS [State], [CleanDevice].[Enabled] AS [Enabled] FROM [dbo].[CleanDevice] AS [CleanDevice] SELECT [DispenserEvent].[EventID] AS [EventID], [DispenserEvent].[EventType] AS [EventType], [DispenserEvent].[Dispenser] AS [Dispenser], [DispenserEvent].[Device] AS [Device], [DispenserEvent].[Dyelot] AS [Dyelot], [DispenserEvent].[ReDye] AS [ReDye], [DispenserEvent].[StepNumber] AS [StepNumber], [DispenserEvent].[Code] AS [Code], [DispenserEvent].[Description] AS [Description], [DispenserEvent].[Description_BIG] AS [Description_BIG], [DispenserEvent].[Description_GB] AS [Description_GB], [DispenserEvent].[CreateDate] AS [CreateDate], [DispenserEvent].[ConfirmDate] AS [ConfirmDate], [DispenserEvent].[FinishDate] AS [FinishDate], [DispenserEvent].[Shift] AS [Shift], [DispenserEvent].[UserAccount] AS [UserAccount] FROM [dbo].[DispenserEvent] AS [DispenserEvent] SELECT [DispenserLifeStatus].[Dispenser] AS [Dispenser], [DispenserLifeStatus].[Device] AS [Device], [DispenserLifeStatus].[HeartBeat] AS [HeartBeat], [DispenserLifeStatus].[LifeTime] AS [LifeTime], [DispenserLifeStatus].[UpdateDate] AS [UpdateDate], [DispenserLifeStatus].[Created] AS [Created] FROM [dbo].[DispenserLifeStatus] AS [DispenserLifeStatus] SELECT [Dispensers].[Name] AS [Name], [Dispensers].[Description] AS [Description], [Dispensers].[Device] AS [Device], [Dispensers].[Dyelot] AS [Dyelot], [Dispensers].[ReDye] AS [ReDye], [Dispensers].[StepNumber] AS [StepNumber], [Dispensers].[Station] AS [Station], [Dispensers].[State] AS [State], [Dispensers].[Status] AS [Status], [Dispensers].[Action] AS [Action], [Dispensers].[ProductCode] AS [ProductCode], [Dispensers].[SN] AS [SN], [Dispensers].[Automatic] AS [Automatic], [Dispensers].[Enabled] AS [Enabled], [Dispensers].[HeartBeat] AS [HeartBeat], [Dispensers].[CheckPeriod] AS [CheckPeriod], [Dispensers].[UpdateDate] AS [UpdateDate], [Dispensers].[CreateDate] AS [CreateDate], [Dispensers].[UserAccount] AS [UserAccount] FROM [dbo].[Dispensers] AS [Dispensers] SELECT [DispenserUtilization].[Dispenser] AS [Dispenser], [DispenserUtilization].[Device] AS [Device], [DispenserUtilization].[Dyelot] AS [Dyelot], [DispenserUtilization].[ReDye] AS [ReDye], [DispenserUtilization].[StepNumber] AS [StepNumber], [DispenserUtilization].[UtilStartDate] AS [UtilStartDate], [DispenserUtilization].[UtilEndDate] AS [UtilEndDate], [DispenserUtilization].[UtilTimes] AS [UtilTimes], [DispenserUtilization].[UserAccount] AS [UserAccount] FROM [dbo].[DispenserUtilization] AS [DispenserUtilization] SELECT [DissolveArt].[Name] AS [Name], [DissolveArt].[ProductClass] AS [ProductClass], [DissolveArt].[LiquidRatio] AS [LiquidRatio], [DissolveArt].[MinWeight] AS [MinWeight], [DissolveArt].[MaxWeight] AS [MaxWeight], [DissolveArt].[DissolveTemperature] AS [DissolveTemperature], [DissolveArt].[UseLiquidDye] AS [UseLiquidDye], [DissolveArt].[UseChemical] AS [UseChemical], [DissolveArt].[Process] AS [Process], [DissolveArt].[TankSize] AS [TankSize], [DissolveArt].[Created] AS [Created] FROM [dbo].[DissolveArt] AS [DissolveArt] SELECT [DissolveArtHistory].[Name] AS [Name], [DissolveArtHistory].[ProductClass] AS [ProductClass], [DissolveArtHistory].[LiquidRatio] AS [LiquidRatio], [DissolveArtHistory].[MinWeight] AS [MinWeight], [DissolveArtHistory].[MaxWeight] AS [MaxWeight], [DissolveArtHistory].[DissolveTemperature] AS [DissolveTemperature], [DissolveArtHistory].[UseLiquidDye] AS [UseLiquidDye], [DissolveArtHistory].[UseChemical] AS [UseChemical], [DissolveArtHistory].[Process] AS [Process], [DissolveArtHistory].[TankSize] AS [TankSize], [DissolveArtHistory].[Updated] AS [Updated] FROM [dbo].[DissolveArtHistory] AS [DissolveArtHistory] SELECT [DyelotBuckets].[Dyelot] AS [Dyelot], [DyelotBuckets].[ReDye] AS [ReDye], [DyelotBuckets].[StepNumber] AS [StepNumber], [DyelotBuckets].[DevideNo] AS [DevideNo], [DyelotBuckets].[ProductCode] AS [ProductCode], [DyelotBuckets].[BucketNo] AS [BucketNo], [DyelotBuckets].[DID] AS [DID], [DyelotBuckets].[Final] AS [Final], [DyelotBuckets].[Dissolved] AS [Dissolved], [DyelotBuckets].[Created] AS [Created] FROM [dbo].[DyelotBuckets] AS [DyelotBuckets] SELECT [DyelotBucketsHistory].[Dyelot] AS [Dyelot], [DyelotBucketsHistory].[ReDye] AS [ReDye], [DyelotBucketsHistory].[StepNumber] AS [StepNumber], [DyelotBucketsHistory].[DevideNo] AS [DevideNo], [DyelotBucketsHistory].[ProductCode] AS [ProductCode], [DyelotBucketsHistory].[BucketNo] AS [BucketNo], [DyelotBucketsHistory].[DID] AS [DID], [DyelotBucketsHistory].[Final] AS [Final], [DyelotBucketsHistory].[Dissolved] AS [Dissolved], [DyelotBucketsHistory].[Created] AS [Created] FROM [dbo].[DyelotBucketsHistory] AS [DyelotBucketsHistory] SELECT [DyelotBucketSummary].[Dyelot] AS [Dyelot], [DyelotBucketSummary].[ReDye] AS [ReDye], [DyelotBucketSummary].[StepNumber] AS [StepNumber], [DyelotBucketSummary].[TotalBuckets] AS [TotalBuckets], [DyelotBucketSummary].[Final] AS [Final], [DyelotBucketSummary].[Created] AS [Created] FROM [dbo].[DyelotBucketSummary] AS [DyelotBucketSummary] SELECT [DyelotDetail].[Dyelot] AS [Dyelot], [DyelotDetail].[ReDye] AS [ReDye], [DyelotDetail].[StepNumber] AS [StepNumber], [DyelotDetail].[Station] AS [Station], [DyelotDetail].[ProductCode] AS [ProductCode], [DyelotDetail].[ProductName] AS [ProductName], [DyelotDetail].[ProductType] AS [ProductType], [DyelotDetail].[Grams] AS [Grams], [DyelotDetail].[Created] AS [Created], [DyelotDetail].[SN] AS [SN], [DyelotDetail].[DispenseTime] AS [DispenseTime], [DyelotDetail].[DispenseGrams] AS [DispenseGrams], [DyelotDetail].[CurrDispGrams] AS [CurrDispGrams], [DyelotDetail].[LADispenseResult] AS [LADispenseResult], [DyelotDetail].[Error] AS [Error], [DyelotDetail].[UserAccount] AS [UserAccount], [DyelotDetail].[Volume] AS [Volume], [DyelotDetail].[CurrDispTime] AS [CurrDispTime], [DyelotDetail].[CurrVolume] AS [CurrVolume], [DyelotDetail].[RemainVolume] AS [RemainVolume], [DyelotDetail].[FinalPickup] AS [FinalPickup], [DyelotDetail].[LFManual] AS [LFManual] FROM [dbo].[DyelotDetail] AS [DyelotDetail] SELECT [DyelotDslvQueue].[TankNo] AS [TankNo], [DyelotDslvQueue].[Dyelot] AS [Dyelot], [DyelotDslvQueue].[ReDye] AS [ReDye], [DyelotDslvQueue].[StepNumber] AS [StepNumber], [DyelotDslvQueue].[TotalBuckets] AS [TotalBuckets], [DyelotDslvQueue].[DivideNo] AS [DivideNo], [DyelotDslvQueue].[State] AS [State], [DyelotDslvQueue].[ShelfID] AS [ShelfID], [DyelotDslvQueue].[SchDispenseTime] AS [SchDispenseTime], [DyelotDslvQueue].[BucketNo] AS [BucketNo], [DyelotDslvQueue].[Updated] AS [Updated] FROM [dbo].[DyelotDslvQueue] AS [DyelotDslvQueue] SELECT [DyelotDslvQueueHistory].[TankNo] AS [TankNo], [DyelotDslvQueueHistory].[Dyelot] AS [Dyelot], [DyelotDslvQueueHistory].[ReDye] AS [ReDye], [DyelotDslvQueueHistory].[StepNumber] AS [StepNumber], [DyelotDslvQueueHistory].[TotalBuckets] AS [TotalBuckets], [DyelotDslvQueueHistory].[DivideNo] AS [DivideNo], [DyelotDslvQueueHistory].[State] AS [State], [DyelotDslvQueueHistory].[ShelfID] AS [ShelfID], [DyelotDslvQueueHistory].[SchDispenseTime] AS [SchDispenseTime], [DyelotDslvQueueHistory].[BucketNo] AS [BucketNo], [DyelotDslvQueueHistory].[Created] AS [Created] FROM [dbo].[DyelotDslvQueueHistory] AS [DyelotDslvQueueHistory] SELECT [DyelotsBatch].[Dyelot] AS [Dyelot], [DyelotsBatch].[ReDye] AS [ReDye], [DyelotsBatch].[StepNumber] AS [StepNumber], [DyelotsBatch].[Station] AS [Station], [DyelotsBatch].[ShotNo] AS [ShotNo], [DyelotsBatch].[ProductCode] AS [ProductCode], [DyelotsBatch].[SN] AS [SN], [DyelotsBatch].[Grams] AS [Grams], [DyelotsBatch].[DispenseStartTime] AS [DispenseStartTime], [DyelotsBatch].[DispenseEndTime] AS [DispenseEndTime], [DyelotsBatch].[DispenseGrams] AS [DispenseGrams], [DyelotsBatch].[LADispenseResult] AS [LADispenseResult], [DyelotsBatch].[DyeWeightTime] AS [DyeWeightTime], [DyelotsBatch].[Process] AS [Process], [DyelotsBatch].[FinalProcess] AS [FinalProcess], [DyelotsBatch].[DispenseWater] AS [DispenseWater], [DyelotsBatch].[DrainWater] AS [DrainWater], [DyelotsBatch].[DissolveTemperature] AS [DissolveTemperature], [DyelotsBatch].[SchDispenseTime] AS [SchDispenseTime], [DyelotsBatch].[UserAccount] AS [UserAccount] FROM [dbo].[DyelotsBatch] AS [DyelotsBatch] SELECT [DyelotsBulkedRecipeHistory].[Dyelot] AS [Dyelot], [DyelotsBulkedRecipeHistory].[ReDye] AS [ReDye], [DyelotsBulkedRecipeHistory].[StepNumber] AS [StepNumber], [DyelotsBulkedRecipeHistory].[Station] AS [Station], [DyelotsBulkedRecipeHistory].[DevideNo] AS [DevideNo], [DyelotsBulkedRecipeHistory].[ShotNo] AS [ShotNo], [DyelotsBulkedRecipeHistory].[ProductCode] AS [ProductCode], [DyelotsBulkedRecipeHistory].[ProductName] AS [ProductName], [DyelotsBulkedRecipeHistory].[ProductType] AS [ProductType], [DyelotsBulkedRecipeHistory].[ProductLot] AS [ProductLot], [DyelotsBulkedRecipeHistory].[ProductClass] AS [ProductClass], [DyelotsBulkedRecipeHistory].[SN] AS [SN], [DyelotsBulkedRecipeHistory].[Amount] AS [Amount], [DyelotsBulkedRecipeHistory].[Grams] AS [Grams], [DyelotsBulkedRecipeHistory].[Created] AS [Created], [DyelotsBulkedRecipeHistory].[DispenseStartTime] AS [DispenseStartTime], [DyelotsBulkedRecipeHistory].[DispenseEndTime] AS [DispenseEndTime], [DyelotsBulkedRecipeHistory].[DispenseTime] AS [DispenseTime], [DyelotsBulkedRecipeHistory].[DispenseGrams] AS [DispenseGrams], [DyelotsBulkedRecipeHistory].[DispenseResult] AS [DispenseResult], [DyelotsBulkedRecipeHistory].[LADispenseResult] AS [LADispenseResult], [DyelotsBulkedRecipeHistory].[Volume] AS [Volume], [DyelotsBulkedRecipeHistory].[HostRead] AS [HostRead], [DyelotsBulkedRecipeHistory].[State] AS [State], [DyelotsBulkedRecipeHistory].[NeedDispense] AS [NeedDispense], [DyelotsBulkedRecipeHistory].[MixTankNo] AS [MixTankNo], [DyelotsBulkedRecipeHistory].[DyeWeightTime] AS [DyeWeightTime], [DyelotsBulkedRecipeHistory].[Process] AS [Process], [DyelotsBulkedRecipeHistory].[FinalProcess] AS [FinalProcess], [DyelotsBulkedRecipeHistory].[Dispenser] AS [Dispenser], [DyelotsBulkedRecipeHistory].[TankNo] AS [TankNo], [DyelotsBulkedRecipeHistory].[Error] AS [Error], [DyelotsBulkedRecipeHistory].[BucketNo] AS [BucketNo], [DyelotsBulkedRecipeHistory].[DID] AS [DID], [DyelotsBulkedRecipeHistory].[StepDevideNo] AS [StepDevideNo], [DyelotsBulkedRecipeHistory].[StepTotalBuckets] AS [StepTotalBuckets], [DyelotsBulkedRecipeHistory].[ReferenceDyelot] AS [ReferenceDyelot], [DyelotsBulkedRecipeHistory].[DispenseWater] AS [DispenseWater], [DyelotsBulkedRecipeHistory].[DrainWater] AS [DrainWater], [DyelotsBulkedRecipeHistory].[DissolveTemperature] AS [DissolveTemperature], [DyelotsBulkedRecipeHistory].[SchDispenseTime] AS [SchDispenseTime], [DyelotsBulkedRecipeHistory].[FinishTime] AS [FinishTime], [DyelotsBulkedRecipeHistory].[UserAccount] AS [UserAccount], [DyelotsBulkedRecipeHistory].[Updated] AS [Updated], [DyelotsBulkedRecipeHistory].[Tagged] AS [Tagged], [DyelotsBulkedRecipeHistory].[TotalBuckets] AS [TotalBuckets], [DyelotsBulkedRecipeHistory].[Final] AS [Final], [DyelotsBulkedRecipeHistory].[DissolveManual] AS [DissolveManual], [DyelotsBulkedRecipeHistory].[DeductTotalBuckets] AS [DeductTotalBuckets], [DyelotsBulkedRecipeHistory].[DeductBuckets] AS [DeductBuckets] FROM [dbo].[DyelotsBulkedRecipeHistory] AS [DyelotsBulkedRecipeHistory] SELECT [DyelotsHistory].[ID] AS [ID], [DyelotsHistory].[Dyelot] AS [Dyelot], [DyelotsHistory].[ReDye] AS [ReDye], [DyelotsHistory].[Industry] AS [Industry], [DyelotsHistory].[Machine] AS [Machine], [DyelotsHistory].[DispenseMachine] AS [DispenseMachine], [DyelotsHistory].[StartTime] AS [StartTime], [DyelotsHistory].[EndTime] AS [EndTime], [DyelotsHistory].[StandardTime] AS [StandardTime], [DyelotsHistory].[TotalShot] AS [TotalShot], [DyelotsHistory].[State] AS [State], [DyelotsHistory].[Blocked] AS [Blocked], [DyelotsHistory].[Program] AS [Program], [DyelotsHistory].[Color] AS [Color], [DyelotsHistory].[CreationTime] AS [CreationTime], [DyelotsHistory].[Batch] AS [Batch], [DyelotsHistory].[OrderNo] AS [OrderNo], [DyelotsHistory].[TotalWeight] AS [TotalWeight], [DyelotsHistory].[LiquidRatio] AS [LiquidRatio], [DyelotsHistory].[TotalVolume] AS [TotalVolume], [DyelotsHistory].[AcidQty] AS [AcidQty], [DyelotsHistory].[ActualAcidQty] AS [ActualAcidQty], [DyelotsHistory].[Sequence] AS [Sequence], [DyelotsHistory].[DispenseMode] AS [DispenseMode], [DyelotsHistory].[DyeDissolve] AS [DyeDissolve], [DyelotsHistory].[CheDissolve] AS [CheDissolve], [DyelotsHistory].[TotalBuckets] AS [TotalBuckets], [DyelotsHistory].[SpcTotalBuckets] AS [SpcTotalBuckets], [DyelotsHistory].[DissolveMethod] AS [DissolveMethod], [DyelotsHistory].[ReferenceDyelot] AS [ReferenceDyelot], [DyelotsHistory].[Final] AS [Final], [DyelotsHistory].[Shade] AS [Shade], [DyelotsHistory].[UserAccount] AS [UserAccount], [DyelotsHistory].[Updated] AS [Updated] FROM [dbo].[DyelotsHistory] AS [DyelotsHistory] SELECT [DyelotsInAuto].[Machine] AS [Machine], [DyelotsInAuto].[Dyelot] AS [Dyelot], [DyelotsInAuto].[ReDye] AS [ReDye], [DyelotsInAuto].[StepNumber] AS [StepNumber], [DyelotsInAuto].[DyeState] AS [DyeState], [DyelotsInAuto].[SchDispenseTime] AS [SchDispenseTime], [DyelotsInAuto].[IsCheck] AS [IsCheck], [DyelotsInAuto].[Shade] AS [Shade] FROM [dbo].[DyelotsInAuto] AS [DyelotsInAuto] SELECT [DyelotsInAutoHistory].[Machine] AS [Machine], [DyelotsInAutoHistory].[Dyelot] AS [Dyelot], [DyelotsInAutoHistory].[ReDye] AS [ReDye], [DyelotsInAutoHistory].[StepNumber] AS [StepNumber], [DyelotsInAutoHistory].[DyeState] AS [DyeState], [DyelotsInAutoHistory].[SchDispenseTime] AS [SchDispenseTime], [DyelotsInAutoHistory].[IsCheck] AS [IsCheck], [DyelotsInAutoHistory].[Shade] AS [Shade] FROM [dbo].[DyelotsInAutoHistory] AS [DyelotsInAutoHistory] SELECT [EventList].[Code] AS [Code], [EventList].[Description] AS [Description], [EventList].[Description_BIG] AS [Description_BIG], [EventList].[Description_GB] AS [Description_GB], [EventList].[CreateDate] AS [CreateDate] FROM [dbo].[EventList] AS [EventList] SELECT [LA571Tanks].[Name] AS [Name], [LA571Tanks].[Station] AS [Station], [LA571Tanks].[Tank] AS [Tank], [LA571Tanks].[Volume] AS [Volume], [LA571Tanks].[State] AS [State] FROM [dbo].[LA571Tanks] AS [LA571Tanks] SELECT [LabDyeDslvQueue].[TankNo] AS [TankNo], [LabDyeDslvQueue].[Dyelot] AS [Dyelot], [LabDyeDslvQueue].[ReDye] AS [ReDye], [LabDyeDslvQueue].[StepNumber] AS [StepNumber], [LabDyeDslvQueue].[State] AS [State], [LabDyeDslvQueue].[ShelfID] AS [ShelfID], [LabDyeDslvQueue].[DistID] AS [DistID], [LabDyeDslvQueue].[SchDispenseTime] AS [SchDispenseTime], [LabDyeDslvQueue].[Updated] AS [Updated] FROM [dbo].[LabDyeDslvQueue] AS [LabDyeDslvQueue] SELECT [LabDyeDslvQueueHistory].[TankNo] AS [TankNo], [LabDyeDslvQueueHistory].[Dyelot] AS [Dyelot], [LabDyeDslvQueueHistory].[ReDye] AS [ReDye], [LabDyeDslvQueueHistory].[StepNumber] AS [StepNumber], [LabDyeDslvQueueHistory].[State] AS [State], [LabDyeDslvQueueHistory].[ShelfID] AS [ShelfID], [LabDyeDslvQueueHistory].[DistID] AS [DistID], [LabDyeDslvQueueHistory].[SchDispenseTime] AS [SchDispenseTime], [LabDyeDslvQueueHistory].[Created] AS [Created] FROM [dbo].[LabDyeDslvQueueHistory] AS [LabDyeDslvQueueHistory] SELECT [MachinesHistory].[Machine] AS [Machine], [MachinesHistory].[DispenseDyelot] AS [DispenseDyelot], [MachinesHistory].[DispenseReDye] AS [DispenseReDye], [MachinesHistory].[ChemicalCallOff] AS [ChemicalCallOff], [MachinesHistory].[ChemicalState] AS [ChemicalState], [MachinesHistory].[ChemicalTank] AS [ChemicalTank], [MachinesHistory].[ChemicalTankSize] AS [ChemicalTankSize], [MachinesHistory].[ChemicalDispenser] AS [ChemicalDispenser], [MachinesHistory].[ChemicalError] AS [ChemicalError], [MachinesHistory].[ChemicalCallOff2] AS [ChemicalCallOff2], [MachinesHistory].[ChemicalState2] AS [ChemicalState2], [MachinesHistory].[ChemicalTank2] AS [ChemicalTank2], [MachinesHistory].[DyeCallOff] AS [DyeCallOff], [MachinesHistory].[DyeState] AS [DyeState], [MachinesHistory].[DyeTank] AS [DyeTank], [MachinesHistory].[DyeTankSize] AS [DyeTankSize], [MachinesHistory].[DyeDispenser] AS [DyeDispenser], [MachinesHistory].[DyeError] AS [DyeError], [MachinesHistory].[PowderCallOff] AS [PowderCallOff], [MachinesHistory].[PowderState] AS [PowderState], [MachinesHistory].[PowderTank] AS [PowderTank], [MachinesHistory].[PowderTankSize] AS [PowderTankSize], [MachinesHistory].[PowderDispenser] AS [PowderDispenser], [MachinesHistory].[PowderError] AS [PowderError], [MachinesHistory].[HostRead] AS [HostRead], [MachinesHistory].[DyeDispenseDyelot] AS [DyeDispenseDyelot], [MachinesHistory].[DyeDispenseReDye] AS [DyeDispenseReDye], [MachinesHistory].[CheDispenseDyelot] AS [CheDispenseDyelot], [MachinesHistory].[CheDispenseReDye] AS [CheDispenseReDye], [MachinesHistory].[PwdDispenseDyelot] AS [PwdDispenseDyelot], [MachinesHistory].[PwdDispenseReDye] AS [PwdDispenseReDye], [MachinesHistory].[Updated] AS [Updated] FROM [dbo].[MachinesHistory] AS [MachinesHistory] SELECT [MachinesHistoryOld].[Machine] AS [Machine], [MachinesHistoryOld].[DispenseDyelot] AS [DispenseDyelot], [MachinesHistoryOld].[DispenseReDye] AS [DispenseReDye], [MachinesHistoryOld].[ChemicalCallOff] AS [ChemicalCallOff], [MachinesHistoryOld].[ChemicalState] AS [ChemicalState], [MachinesHistoryOld].[ChemicalTank] AS [ChemicalTank], [MachinesHistoryOld].[ChemicalTankSize] AS [ChemicalTankSize], [MachinesHistoryOld].[ChemicalDispenser] AS [ChemicalDispenser], [MachinesHistoryOld].[ChemicalError] AS [ChemicalError], [MachinesHistoryOld].[ChemicalCallOff2] AS [ChemicalCallOff2], [MachinesHistoryOld].[ChemicalState2] AS [ChemicalState2], [MachinesHistoryOld].[ChemicalTank2] AS [ChemicalTank2], [MachinesHistoryOld].[DyeCallOff] AS [DyeCallOff], [MachinesHistoryOld].[DyeState] AS [DyeState], [MachinesHistoryOld].[DyeTank] AS [DyeTank], [MachinesHistoryOld].[DyeTankSize] AS [DyeTankSize], [MachinesHistoryOld].[DyeDispenser] AS [DyeDispenser], [MachinesHistoryOld].[DyeError] AS [DyeError], [MachinesHistoryOld].[PowderCallOff] AS [PowderCallOff], [MachinesHistoryOld].[PowderState] AS [PowderState], [MachinesHistoryOld].[PowderTank] AS [PowderTank], [MachinesHistoryOld].[PowderTankSize] AS [PowderTankSize], [MachinesHistoryOld].[PowderDispenser] AS [PowderDispenser], [MachinesHistoryOld].[PowderError] AS [PowderError], [MachinesHistoryOld].[HostRead] AS [HostRead], [MachinesHistoryOld].[DyeDispenseDyelot] AS [DyeDispenseDyelot], [MachinesHistoryOld].[DyeDispenseReDye] AS [DyeDispenseReDye], [MachinesHistoryOld].[Updated] AS [Updated] FROM [dbo].[MachinesHistoryOld] AS [MachinesHistoryOld] SELECT [MachineStateHistory].[Machine] AS [Machine], [MachineStateHistory].[DispenseDyelot] AS [DispenseDyelot], [MachineStateHistory].[DispenseReDye] AS [DispenseReDye], [MachineStateHistory].[ChemicalCallOff] AS [ChemicalCallOff], [MachineStateHistory].[ChemicalState] AS [ChemicalState], [MachineStateHistory].[ChemicalTank] AS [ChemicalTank], [MachineStateHistory].[ChemicalTankSize] AS [ChemicalTankSize], [MachineStateHistory].[ChemicalDispenser] AS [ChemicalDispenser], [MachineStateHistory].[ChemicalError] AS [ChemicalError], [MachineStateHistory].[ChemicalTargetSelect] AS [ChemicalTargetSelect], [MachineStateHistory].[DyeCallOff] AS [DyeCallOff], [MachineStateHistory].[DyeState] AS [DyeState], [MachineStateHistory].[DyeTank] AS [DyeTank], [MachineStateHistory].[DyeTankSize] AS [DyeTankSize], [MachineStateHistory].[DyeDispenser] AS [DyeDispenser], [MachineStateHistory].[DyeError] AS [DyeError], [MachineStateHistory].[PowderCallOff] AS [PowderCallOff], [MachineStateHistory].[PowderState] AS [PowderState], [MachineStateHistory].[PowderTank] AS [PowderTank], [MachineStateHistory].[PowderTankSize] AS [PowderTankSize], [MachineStateHistory].[PowderDispenser] AS [PowderDispenser], [MachineStateHistory].[PowderError] AS [PowderError], [MachineStateHistory].[HostRead] AS [HostRead], [MachineStateHistory].[Updated] AS [Updated] FROM [dbo].[MachineStateHistory] AS [MachineStateHistory] SELECT [ManualWeightQueue].[Dyelot] AS [Dyelot], [ManualWeightQueue].[ReDye] AS [ReDye], [ManualWeightQueue].[StepNumber] AS [StepNumber], [ManualWeightQueue].[State] AS [State], [ManualWeightQueue].[CallTime] AS [CallTime], [ManualWeightQueue].[Module] AS [Module], [ManualWeightQueue].[ModuleName] AS [ModuleName], [ManualWeightQueue].[Area] AS [Area], [ManualWeightQueue].[EndTime] AS [EndTime], [ManualWeightQueue].[Updated] AS [Updated] FROM [dbo].[ManualWeightQueue] AS [ManualWeightQueue] SELECT [ManualWeightQueueHistory].[Dyelot] AS [Dyelot], [ManualWeightQueueHistory].[ReDye] AS [ReDye], [ManualWeightQueueHistory].[StepNumber] AS [StepNumber], [ManualWeightQueueHistory].[State] AS [State], [ManualWeightQueueHistory].[CallTime] AS [CallTime], [ManualWeightQueueHistory].[Module] AS [Module], [ManualWeightQueueHistory].[ModuleName] AS [ModuleName], [ManualWeightQueueHistory].[Area] AS [Area], [ManualWeightQueueHistory].[EndTime] AS [EndTime], [ManualWeightQueueHistory].[Created] AS [Created] FROM [dbo].[ManualWeightQueueHistory] AS [ManualWeightQueueHistory] SELECT [PartsStatus].[CUST_CODE] AS [CUST_CODE], [PartsStatus].[Dispenser] AS [Dispenser], [PartsStatus].[Device] AS [Device], [PartsStatus].[PartsCode] AS [PartsCode], [PartsStatus].[PartsName] AS [PartsName], [PartsStatus].[PartsType] AS [PartsType], [PartsStatus].[Description] AS [Description], [PartsStatus].[FactoryValue] AS [FactoryValue], [PartsStatus].[UsedCount] AS [UsedCount], [PartsStatus].[RunningTime] AS [RunningTime], [PartsStatus].[ResetDate] AS [ResetDate], [PartsStatus].[WarnDate] AS [WarnDate], [PartsStatus].[UpdateDate] AS [UpdateDate], [PartsStatus].[CreateDate] AS [CreateDate], [PartsStatus].[UserAccount] AS [UserAccount] FROM [dbo].[PartsStatus] AS [PartsStatus] SELECT [PartsStatusHistory].[CUST_CODE] AS [CUST_CODE], [PartsStatusHistory].[Dispenser] AS [Dispenser], [PartsStatusHistory].[Device] AS [Device], [PartsStatusHistory].[PartsCode] AS [PartsCode], [PartsStatusHistory].[PartsName] AS [PartsName], [PartsStatusHistory].[PartsType] AS [PartsType], [PartsStatusHistory].[Description] AS [Description], [PartsStatusHistory].[FactoryValue] AS [FactoryValue], [PartsStatusHistory].[UsedCount] AS [UsedCount], [PartsStatusHistory].[RunningTime] AS [RunningTime], [PartsStatusHistory].[ResetDate] AS [ResetDate], [PartsStatusHistory].[WarnDate] AS [WarnDate], [PartsStatusHistory].[UpdateDate] AS [UpdateDate], [PartsStatusHistory].[CreateDate] AS [CreateDate], [PartsStatusHistory].[UserAccount] AS [UserAccount] FROM [dbo].[PartsStatusHistory] AS [PartsStatusHistory] SELECT [PipeRefill].[ProductCode] AS [ProductCode], [PipeRefill].[ProductName] AS [ProductName], [PipeRefill].[ProductType] AS [ProductType], [PipeRefill].[ProductLot] AS [ProductLot], [PipeRefill].[Dispenser] AS [Dispenser], [PipeRefill].[No] AS [No], [PipeRefill].[Qty] AS [Qty], [PipeRefill].[Percentage] AS [Percentage], [PipeRefill].[RefillTime] AS [RefillTime], [PipeRefill].[AlarmTime] AS [AlarmTime], [PipeRefill].[Updated] AS [Updated] FROM [dbo].[PipeRefill] AS [PipeRefill] SELECT [PipeRefillHistory].[ProductCode] AS [ProductCode], [PipeRefillHistory].[ProductName] AS [ProductName], [PipeRefillHistory].[ProductType] AS [ProductType], [PipeRefillHistory].[ProductLot] AS [ProductLot], [PipeRefillHistory].[Dispenser] AS [Dispenser], [PipeRefillHistory].[No] AS [No], [PipeRefillHistory].[Qty] AS [Qty], [PipeRefillHistory].[Percentage] AS [Percentage], [PipeRefillHistory].[RefillTime] AS [RefillTime], [PipeRefillHistory].[AlarmTime] AS [AlarmTime], [PipeRefillHistory].[Created] AS [Created] FROM [dbo].[PipeRefillHistory] AS [PipeRefillHistory] SELECT [Pipes].[ProductCode] AS [ProductCode], [Pipes].[ProductName] AS [ProductName], [Pipes].[ProductType] AS [ProductType], [Pipes].[ProductLot] AS [ProductLot], [Pipes].[Dispenser] AS [Dispenser], [Pipes].[Enabled] AS [Enabled], [Pipes].[No] AS [No], [Pipes].[MinLimit] AS [MinLimit], [Pipes].[MaxLimit] AS [MaxLimit], [Pipes].[MinAction] AS [MinAction], [Pipes].[MaxAction] AS [MaxAction], [Pipes].[Conc] AS [Conc], [Pipes].[Gravity] AS [Gravity], [Pipes].[Alarm] AS [Alarm] FROM [dbo].[Pipes] AS [Pipes] SELECT [ProductLocation].[ProductCode] AS [ProductCode], [ProductLocation].[ProductName] AS [ProductName], [ProductLocation].[Type] AS [Type], [ProductLocation].[Dispenser] AS [Dispenser], [ProductLocation].[Position] AS [Position], [ProductLocation].[TablePosition] AS [TablePosition], [ProductLocation].[StockDate] AS [StockDate], [ProductLocation].[StockUsage] AS [StockUsage], [ProductLocation].[StockOnHand] AS [StockOnHand], [ProductLocation].[Alarm] AS [Alarm], [ProductLocation].[AlarmTime] AS [AlarmTime], [ProductLocation].[Enabled] AS [Enabled] FROM [dbo].[ProductLocation] AS [ProductLocation] SELECT [ProductLocationHistory].[ProductCode] AS [ProductCode], [ProductLocationHistory].[ProductName] AS [ProductName], [ProductLocationHistory].[Type] AS [Type], [ProductLocationHistory].[Dispenser] AS [Dispenser], [ProductLocationHistory].[Position] AS [Position], [ProductLocationHistory].[TablePosition] AS [TablePosition], [ProductLocationHistory].[StockDate] AS [StockDate], [ProductLocationHistory].[StockUsage] AS [StockUsage], [ProductLocationHistory].[StockOnHand] AS [StockOnHand], [ProductLocationHistory].[Alarm] AS [Alarm], [ProductLocationHistory].[AlarmTime] AS [AlarmTime], [ProductLocationHistory].[Enabled] AS [Enabled], [ProductLocationHistory].[Updated] AS [Updated] FROM [dbo].[ProductLocationHistory] AS [ProductLocationHistory] SELECT [RecipeDeduct].[Dyelot] AS [Dyelot], [RecipeDeduct].[ReDye] AS [ReDye], [RecipeDeduct].[StepNumber] AS [StepNumber], [RecipeDeduct].[Station] AS [Station], [RecipeDeduct].[ShotNo] AS [ShotNo], [RecipeDeduct].[ProductCode] AS [ProductCode], [RecipeDeduct].[DeductTime] AS [DeductTime], [RecipeDeduct].[DeductGrams] AS [DeductGrams], [RecipeDeduct].[BucketNo] AS [BucketNo], [RecipeDeduct].[DID] AS [DID], [RecipeDeduct].[UserAccount] AS [UserAccount] FROM [dbo].[RecipeDeduct] AS [RecipeDeduct] SELECT [RecipeDeductHistory].[Dyelot] AS [Dyelot], [RecipeDeductHistory].[ReDye] AS [ReDye], [RecipeDeductHistory].[StepNumber] AS [StepNumber], [RecipeDeductHistory].[Station] AS [Station], [RecipeDeductHistory].[ShotNo] AS [ShotNo], [RecipeDeductHistory].[ProductCode] AS [ProductCode], [RecipeDeductHistory].[DeductTime] AS [DeductTime], [RecipeDeductHistory].[DeductGrams] AS [DeductGrams], [RecipeDeductHistory].[BucketNo] AS [BucketNo], [RecipeDeductHistory].[DID] AS [DID], [RecipeDeductHistory].[UserAccount] AS [UserAccount], [RecipeDeductHistory].[Updated] AS [Updated] FROM [dbo].[RecipeDeductHistory] AS [RecipeDeductHistory] SELECT [RecipeDetail].[RcpCode] AS [RcpCode], [RecipeDetail].[ProductCode] AS [ProductCode], [RecipeDetail].[ProductName] AS [ProductName], [RecipeDetail].[Conc] AS [Conc], [RecipeDetail].[HostRead] AS [HostRead], [RecipeDetail].[Created] AS [Created] FROM [dbo].[RecipeDetail] AS [RecipeDetail] SELECT [Recipes].[RcpCode] AS [RcpCode], [Recipes].[RcpName] AS [RcpName], [Recipes].[Unit] AS [Unit], [Recipes].[Created] AS [Created] FROM [dbo].[Recipes] AS [Recipes] SELECT [RFIDRecordQueue].[Station] AS [Station], [RFIDRecordQueue].[Dyelot] AS [Dyelot], [RFIDRecordQueue].[ReDye] AS [ReDye], [RFIDRecordQueue].[StepNumber] AS [StepNumber], [RFIDRecordQueue].[Machine] AS [Machine], [RFIDRecordQueue].[DevideNo] AS [DevideNo], [RFIDRecordQueue].[TotalBuckets] AS [TotalBuckets], [RFIDRecordQueue].[State] AS [State], [RFIDRecordQueue].[BucketNo] AS [BucketNo], [RFIDRecordQueue].[DID] AS [DID], [RFIDRecordQueue].[Source] AS [Source], [RFIDRecordQueue].[Dest] AS [Dest], [RFIDRecordQueue].[ProductCode] AS [ProductCode], [RFIDRecordQueue].[Updated] AS [Updated] FROM [dbo].[RFIDRecordQueue] AS [RFIDRecordQueue] SELECT [RFIDRecordQueueHistory].[Station] AS [Station], [RFIDRecordQueueHistory].[Dyelot] AS [Dyelot], [RFIDRecordQueueHistory].[ReDye] AS [ReDye], [RFIDRecordQueueHistory].[StepNumber] AS [StepNumber], [RFIDRecordQueueHistory].[Machine] AS [Machine], [RFIDRecordQueueHistory].[DevideNo] AS [DevideNo], [RFIDRecordQueueHistory].[TotalBuckets] AS [TotalBuckets], [RFIDRecordQueueHistory].[State] AS [State], [RFIDRecordQueueHistory].[BucketNo] AS [BucketNo], [RFIDRecordQueueHistory].[DID] AS [DID], [RFIDRecordQueueHistory].[ProductCode] AS [ProductCode], [RFIDRecordQueueHistory].[Created] AS [Created] FROM [dbo].[RFIDRecordQueueHistory] AS [RFIDRecordQueueHistory] SELECT [SampleDyeDslvQueue].[TankNo] AS [TankNo], [SampleDyeDslvQueue].[Dyelot] AS [Dyelot], [SampleDyeDslvQueue].[ReDye] AS [ReDye], [SampleDyeDslvQueue].[StepNumber] AS [StepNumber], [SampleDyeDslvQueue].[State] AS [State], [SampleDyeDslvQueue].[PassAuto] AS [PassAuto], [SampleDyeDslvQueue].[ShelfID] AS [ShelfID], [SampleDyeDslvQueue].[Machine] AS [Machine], [SampleDyeDslvQueue].[SchDispenseTime] AS [SchDispenseTime], [SampleDyeDslvQueue].[Updated] AS [Updated] FROM [dbo].[SampleDyeDslvQueue] AS [SampleDyeDslvQueue] SELECT [SampleDyeDslvQueueHistory].[TankNo] AS [TankNo], [SampleDyeDslvQueueHistory].[Dyelot] AS [Dyelot], [SampleDyeDslvQueueHistory].[ReDye] AS [ReDye], [SampleDyeDslvQueueHistory].[StepNumber] AS [StepNumber], [SampleDyeDslvQueueHistory].[State] AS [State], [SampleDyeDslvQueueHistory].[PassAuto] AS [PassAuto], [SampleDyeDslvQueueHistory].[ShelfID] AS [ShelfID], [SampleDyeDslvQueueHistory].[Machine] AS [Machine], [SampleDyeDslvQueueHistory].[SchDispenseTime] AS [SchDispenseTime], [SampleDyeDslvQueueHistory].[Created] AS [Created] FROM [dbo].[SampleDyeDslvQueueHistory] AS [SampleDyeDslvQueueHistory] SELECT [ScheduledDyelot].[ID] AS [ID], [ScheduledDyelot].[Dyelot] AS [Dyelot], [ScheduledDyelot].[ReDye] AS [ReDye], [ScheduledDyelot].[StepNumber] AS [StepNumber], [ScheduledDyelot].[Process] AS [Process], [ScheduledDyelot].[Dispenser] AS [Dispenser], [ScheduledDyelot].[Machine] AS [Machine], [ScheduledDyelot].[TankNo] AS [TankNo], [ScheduledDyelot].[ScheduledTime] AS [ScheduledTime], [ScheduledDyelot].[Checked] AS [Checked], [ScheduledDyelot].[UserAccount] AS [UserAccount] FROM [dbo].[ScheduledDyelot] AS [ScheduledDyelot] SELECT [ScheduledDyelotHistory].[ID] AS [ID], [ScheduledDyelotHistory].[Dyelot] AS [Dyelot], [ScheduledDyelotHistory].[ReDye] AS [ReDye], [ScheduledDyelotHistory].[StepNumber] AS [StepNumber], [ScheduledDyelotHistory].[Process] AS [Process], [ScheduledDyelotHistory].[Dispenser] AS [Dispenser], [ScheduledDyelotHistory].[Machine] AS [Machine], [ScheduledDyelotHistory].[TankNo] AS [TankNo], [ScheduledDyelotHistory].[ScheduledTime] AS [ScheduledTime], [ScheduledDyelotHistory].[Checked] AS [Checked], [ScheduledDyelotHistory].[UserAccount] AS [UserAccount], [ScheduledDyelotHistory].[Updated] AS [Updated] FROM [dbo].[ScheduledDyelotHistory] AS [ScheduledDyelotHistory] SELECT [Shelf].[ShelfID] AS [ShelfID], [Shelf].[MaxLayer] AS [MaxLayer], [Shelf].[MaxPosition] AS [MaxPosition] FROM [dbo].[Shelf] AS [Shelf] SELECT [TagShelf].[BucketNo] AS [BucketNo], [TagShelf].[Dyelot] AS [Dyelot], [TagShelf].[Machines] AS [Machines], [TagShelf].[TagManagerNo] AS [TagManagerNo], [TagShelf].[ReDye] AS [ReDye], [TagShelf].[StepNumber] AS [StepNumber], [TagShelf].[DID] AS [DID], [TagShelf].[TotalBuckets] AS [TotalBuckets], [TagShelf].[DevideNo] AS [DevideNo], [TagShelf].[OnShelfTime] AS [OnShelfTime] FROM [dbo].[TagShelf] AS [TagShelf]