USE [Configuration02_Def]
GO

IF NOT EXISTS( SELECT * FROM [dbo].[tblSystemCustomLayouts] WHERE [nID]=1 )
	INSERT [dbo].[tblSystemCustomLayouts] ([nID], [tName], [tCaption], [nParentTableID], [fFieldsChanged]) 
	VALUES (1, N'Import$Rule', N'Import Rule', 2, 2)
GO

IF NOT EXISTS( SELECT * FROM [dbo].[tblSystemCustomLayouts] WHERE [nID]=2 )
	INSERT [dbo].[tblSystemCustomLayouts] ([nID], [tName], [tCaption], [nParentTableID], [fFieldsChanged]) 
	VALUES (2, N'Mapping$Group', N'Mapping Group', 2, 2)
GO

IF NOT EXISTS( SELECT * FROM [dbo].[tblSystemCustomLayouts] WHERE [nID]=3 )
	INSERT [dbo].[tblSystemCustomLayouts] ([nID], [tName], [tCaption], [nParentTableID], [fFieldsChanged]) 
	VALUES (3, N'Settings', N'Settings', 2, 2)
GO


