USE [HelpDesk02_Def]
GO

/***  When Condition for Auto-Close Tickets   ***/
IF NOT EXISTS( SELECT * FROM [dbo].[tblSystemCustomConditions] WHERE nID=28 )
	INSERT [dbo].[tblSystemCustomConditions] ([nID], [tName], [tCaption], [nParentTableID], [fFieldsChanged], [fHasTotalVariables])
	VALUES (28, 'Inactivity$Time$Lapsed$-$Auto-Close', 'Inactivity Time Lapsed - Auto-Close', 15, 2, 0);

	
GO

