USE [Resources02_Def]
GO
IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=120)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (120, 250, N'Assignee Category', N'=', N'', N'AND', 0, 0, 0, 0, 1, NULL, 75);

	
IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=121)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (121, 251, N'Assignee Category', N'=', N'6', N'AND', 0, 0, 0, 0, 1, NULL, 75);

	
IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=122)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (122, 252, N'Assignee Category', N'=', N'4', N'AND', 0, 0, 0, 0, 1, NULL, 75);


IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=123)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (123, 253, N'Assignee Category', N'=', N'16', N'AND', 0, 0, 0, 0, 1, NULL, 75);


IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=124)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (124, 254, N'Assignee Category', N'=', N'13', N'AND', 0, 0, 0, 0, 1, NULL, 75);


IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=125)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (125, 255, N'Track As', N'=', N'', N'AND', 0, 0, 0, 0, 1, NULL, 993);


IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=126)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (126, 256, N'Track As', N'=', N'3', N'AND', 0, 0, 0, 0, 1, NULL, 993);

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=127)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (127, 257, N'Track As', N'=', N'', N'AND', 0, 0, 0, 0, 1, NULL, 993);


IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=128)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (128, 258, N'Track As', N'=', N'3', N'AND', 0, 0, 0, 0, 1, NULL, 993);


IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=129)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (129, 259, N'Track As', N'=', N'3', N'AND', 0, 0, 0, 0, 1, NULL, 993);

GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=130)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (130, 260, N'Assignee Category', N'=', N'<Empty>', N'AND', 0, 0, 0, 0, 1, NULL, 75);

GO
IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=380)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (380, 261, N'Track As', N'=', N'', N'AND', 0, 0, 0, 0, 1, NULL, 993)
GO
IF NOT EXISTS(SELECT * FROM [dbo].[tblRuleCondition] WHERE nID=381)
	INSERT [dbo].[tblRuleCondition] ([nID], [nRuleID], [tName], [tTest], [tValue], [tAndOr], [nLevel], [nParent], [nChild], [nBrother], [nRow], [tValuesSource], [nFieldID]) 
	VALUES (381, 262, N'Track As', N'=', N'3', N'AND', 0, 0, 0, 0, 1, NULL, 993)
GO
