C2020-049-Add-the-ability-for-PROMS-to-remember-the-procedure-tabs-that-were-open-when-you-closed-PROMS-4 #420
@ -23798,7 +23798,7 @@ BEGIN TRY -- Try Block
|
||||
--then remove the link from the copy
|
||||
--if original item was not linked, update new items to not be linked
|
||||
DECLARE @xconfig XML = (Select cast(config as xml) xconfig from Contents where ContentID = @ContentID);
|
||||
IF ISNULL(@xconfig.exist('//Enhanced[1]'),0) = 0
|
||||
mschill marked this conversation as resolved
Outdated
|
||||
IF @xconfig.exist('//Enhanced[1]') = 0
|
||||
BEGIN
|
||||
UPDATE Contents SET Config = dbo.vefn_RemoveEnhanced(Contents.Config)
|
||||
Where ContentID in (Select ContentID FROM vefn_ChildItems(@NewItemID))
|
||||
@ -24001,6 +24001,38 @@ UPDATE [dbo].[DisplayTabTmp]
|
||||
SET Active = 0
|
||||
WHERE UserID = @UserID
|
||||
GO
|
||||
-- Table: DisplayTabTmp
|
||||
-- If DisplayTabTmp table already exists then don't drop and recreate it
|
||||
IF Not Exists(SELECT * FROM sys.objects Where name = 'DisplayTabTmp' AND type in (N'U'))
|
||||
Begin
|
||||
SET ANSI_NULLS ON
|
||||
SET QUOTED_IDENTIFIER ON
|
||||
-- =============================================
|
||||
-- Author: Paul Larsen
|
||||
-- Create date: 9/30/2024
|
||||
-- Description: Table to hold tab state in PROMS editor.
|
||||
-- =============================================
|
||||
/****** Object: Table [dbo].[DisplayTabTmp] Script Date: 10/3/2024 11:22:00 AM ******/
|
||||
|
||||
CREATE TABLE [dbo].[DisplayTabTmp](
|
||||
[ID] [int] IDENTITY(1,1) NOT NULL,
|
||||
[ItemID] [int] NOT NULL,
|
||||
[DisplayTabID] [nvarchar](100) NOT NULL,
|
||||
[DisplayTabName] [nchar](100) NOT NULL,
|
||||
[UpdateDate] [datetime] NOT NULL,
|
||||
[UserID] [nchar](100) NOT NULL,
|
||||
[Active] [bit] NOT NULL,
|
||||
[taborder] [int] NOT NULL
|
||||
) ON [PRIMARY]
|
||||
|
||||
ALTER TABLE [dbo].[DisplayTabTmp] ADD CONSTRAINT [DF_DisplayTabTmp_UpdateDate] DEFAULT (getdate()) FOR [UpdateDate]
|
||||
|
||||
ALTER TABLE [dbo].[DisplayTabTmp] ADD CONSTRAINT [DF_DisplayTabTmp_Active] DEFAULT ((1)) FOR [Active]
|
||||
|
||||
ALTER TABLE [dbo].[DisplayTabTmp] ADD DEFAULT ((0)) FOR [taborder]
|
||||
|
||||
End
|
||||
GO
|
||||
/*
|
||||
==========================================================================================================
|
||||
End: C2017-031: SQL to allow copy/replace enhanced step
|
||||
@ -24040,8 +24072,8 @@ BEGIN TRY -- Try Block
|
||||
DECLARE @RevDate varchar(255)
|
||||
DECLARE @RevDescription varchar(255)
|
||||
|
||||
set @RevDate = '09/26/2024 11:24'
|
||||
set @RevDescription = 'SQL to allow copy/replace enhanced step.'
|
||||
set @RevDate = '10/03/2024 11:24'
|
||||
set @RevDescription = 'C2020-049 Add the ability for PROMS to remember the procedure tabs that were open when you closed PROMS'
|
||||
|
||||
Select cast(@RevDate as datetime) RevDate, @RevDescription RevDescription
|
||||
PRINT 'SQL Code Revision ' + @RevDate + ' - ' + @RevDescription
|
||||
|
Loading…
x
Reference in New Issue
Block a user
this change needs to remain in / may need to resubmit with get latest.
this was a change based on what Paul Linn found with the Paste/Replace testing this morning.
I did get latest, and the change was included.
It is still not showing / line 23801 is showing as:
IF @xconfig.exist('//Enhanced[1]') = 0
instead of:
Let me know if you have any questions - I can do a screenshare to show what I am seeing.