How can we help you today? How can we help you today?
tanya
Hi George, Thank you for reporting the issue. We have been able to replicate the crash and will have it fixed for the beta release. Apologies for the inconvenience caused. Regards, Tanya Project Manager Red Gate Software Ltd / comments
Hi George, Thank you for reporting the issue. We have been able to replicate the crash and will have it fixed for the beta release. Apologies for the inconvenience caused. Regards, Tanya Project Ma...
0 votes
Hi Mike, Thank you for the feedback and the script. It is because temporary tables are not understood by SQL Prompt as yet as the functionality is not implemented. However, this will be resolved in the next release build. Thanks, Tanya Project Manager Red Gate Software Ltd MikeONeill wrote: This is a good example , it seems to be not liking the #Machine I'm not sure if you can replicate not having the Db All the Inner Joins are underlined -- Retrieve Unique List of Machines INSERT INTO #Machines (Machine, MachineDesc) EXECUTE dbo.SelectMachineBy @LotSummaryName = 'PA-MATUR,PA-FERME,PA-FLAVO,PA-FILTR,PA-DABPR', @BrandCode = '-1', @MachineType = 'Bright Beer Tank,Fermentation Vessel,Storage Vessel', @ExcludeOffline = 1 INSERT INTO @Inventory SELECT DISTINCT MT.Machine ,ISNULL(L.LotID, '') ,ISNULL(R.[Description], 'None') ,QuantityStart = ISNULL(dbo.fncLotDestinationQuantity(L.LotID, @SelectedDate), 0) ,QuantityCurrent = ISNULL(L.PrimaryQty, 0) ,ISNULL(B.ShortDescription, '') ,ISNULL(B.LongDescription, '') ,ISNULL(L.MaterialName, '') ,ISNULL(L.MaterialVersion, '') ,ISNULL(SUBSTRING(M.MaterialName, 3, 10) , '') ,ISNULL(M.Description, '') ,FilledOn = ISNULL(dbo.fncFilledOn(L.LotID), '') ,StdGravity = ISNULL(dbo.fncStdGravity(L.LotID, 0), 0) ,Actual = ISNULL(dbo.fncStdGravity(L.LotID, 1), 0) ,ProcessTimeTarget = ISNULL(CASE WHEN R.RouteName LIKE 'Fermentation%' THEN BA.FVDaysProcess WHEN R.RouteName LIKE 'Maturation%' THEN BA.SVDaysProcess WHEN R.RouteName LIKE 'Filtration%' THEN BA.BBTDaysProcess END, 0) ,ISNULL(LI.CreateTimeLogged, '') ,CreateDate = ISNULL(LI.DueDate, '') ,ISNULL(R.paqtMenuCol, 0) ,ISNULL(R.DisplayOrder, 0) ,ISNULL(MC.Location, '') ,ISNULL(L.FinishedOn, '') ,'IN_USE' ,NULL FROM #Machines MT INNER JOIN Machine MC ON MT.Machine = MC.Machine INNER JOIN StartLog SL ON MT.Machine = SL.Machine INNER JOIN LotBaseLog LBL ON LBL.BaselogID = SL.TransLogID AND Undone = 'False' INNER JOIN Lot L ON L.LotID = LBL.LotID AND L.FinishedOn > @SelectedDate INNER JOIN Route R ON LBL.RouteName = R.RouteName AND LBL.RouteVersion = R.RouteVersion LEFT OUTER JOIN LotInfo LI ON L.LotID = LI.LotID INNER JOIN Material M ON L.MaterialName = M.MaterialName AND L.MaterialVersion = M.MaterialVersion INNER JOIN Brand B ON B.pkBrandCode = M.fkBrandCode INNER JOIN BeerAvailability BA ON BA.fkBrandCode = B.pkBrandCode WHERE LBL.TimeLogged <= @SelectedDate AND L.FinishedOn >= @SelectedDate ORDER BY MT.Machine / comments
Hi Mike, Thank you for the feedback and the script. It is because temporary tables are not understood by SQL Prompt as yet as the functionality is not implemented. However, this will be resolved in...
0 votes