USE [Actions02_Def]
GO

IF NOT EXISTS(SELECT * FROM [tblSystemLayouts] WHERE nID=6 AND nRow=1)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) 
	VALUES (6, N'Left', 10, N'Charge To', 1, 13);

IF NOT EXISTS(SELECT * FROM [tblSystemLayouts] WHERE nID=6 AND nRow=2)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) 
	VALUES (6, N'Left', 10, N'For Asset', 2, 907);

IF NOT EXISTS(SELECT * FROM [tblSystemLayouts] WHERE nID=6 AND nRow=3)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) 
	VALUES (6, N'Left', 10, N'Category', 3, 800);

IF NOT EXISTS(SELECT * FROM [tblSystemLayouts] WHERE nID=6 AND nRow=4)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) 
	VALUES (6, N'Left', 10, NULL, 4, 65);

IF NOT EXISTS(SELECT * FROM [tblSystemLayouts] WHERE nID=6 AND nRow=5)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) 
	VALUES (6, N'Left', 10, NULL, 5, 20);

IF NOT EXISTS(SELECT * FROM [tblSystemLayouts] WHERE nID=6 AND nRow=6)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) 
	VALUES (6, N'Left', 10, N'Opened On', 6, 2);
