USE [Actions02_Def]
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemQueries] WHERE nID=26)
	INSERT [dbo].[tblSystemQueries] ([nID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [nDtsFieldID], [nValueType]) 
	VALUES (26, N'Action Type', N'=', N'Charge', N'Or', NULL, NULL, NULL, 2, 1, 798, NULL);

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemQueries] WHERE nID=28)
	INSERT [dbo].[tblSystemQueries] ([nID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [nDtsFieldID], [nValueType]) 
	VALUES (28, N'Action Category', N'=', N'Charge Back', NULL, NULL, NULL, NULL, NULL, 1, 800, NULL);

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemQueries] WHERE nID=29)
	INSERT [dbo].[tblSystemQueries] ([nID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [nDtsFieldID], [nValueType]) 
	VALUES (29, N'Action Category', N'=', N'Fine', NULL, NULL, NULL, NULL, NULL, 1, 800, NULL);

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemQueries] WHERE nID=27)
	INSERT [dbo].[tblSystemQueries] ([nID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [nDtsFieldID], [nValueType]) 
	VALUES (27, N'Action Type', N'<>', N'Charge', N'And', NULL, NULL, NULL, 2, 1, 798, NULL);
