delete from GridsInfo where ID=30
GO
Delete From [InfoParamDescribtion] where [ParamName]='@__Year' or [ParamName]='@__Mount'
INSERT INTO [dbo].[InfoParamDescribtion]
           ([ParamName]
           ,[ParamDescribtion]
           ,[EditorType]
           ,[ParamValue])
     VALUES
           ('@__Year'
           ,N'سال'
           ,null
           ,90)
GO
INSERT INTO [dbo].[InfoParamDescribtion]
           ([ParamName]
           ,[ParamDescribtion]
           ,[EditorType]
           ,[ParamValue])
     VALUES
           ('@__Mount'
           ,N'ماه(0 برای کلیه ماه ها)'
           ,null
           ,0)
GO
Delete From [GridsInfo] Where [RefrenceName]= 'VisitorReports'
INSERT INTO [dbo].[GridsInfo]
           ([ID]
           ,[STPname]
           ,[RefrenceName]
           ,[DisplayName]
           ,[DefaultRef]
           ,[OrderNo]
           ,[RemainField]
           ,[Field1name]
           ,[Field2name]
           ,[CanPolicy]
           ,[DetailRef]
           ,[RelationColumn]
           ,[PrintingSystem]
           ,[PrintOutPut]
           ,[MultiTable]
           ,[PrintStPName]
           ,[TableName]
           ,[PolicyComment]
           ,[PolicyLevel]
           ,[Disable])
     VALUES
           (200
           ,'[STPListVisitorMonthlyReport]'
           ,'VisitorReports'
           ,N'گزارش عملکرد ماهانه بازاریاب'
           ,0
           ,66
           ,null
           ,null
           ,null
           ,1
           ,null
           ,null
           ,null
           ,null
           ,null
           ,null
           ,null
           ,N'گزارش عملکرد ماهانه بازاریاب'
           ,7100
           ,null)
GO
Delete From [GridsInfo] Where [RefrenceName]= 'CheckInForPrint'
INSERT INTO [dbo].[GridsInfo]
           ([ID]
           ,[STPname]
           ,[RefrenceName]
           ,[DisplayName]
           ,[DefaultRef]
           ,[OrderNo]
           ,[RemainField]
           ,[Field1name]
           ,[Field2name]
           ,[CanPolicy]
           ,[DetailRef]
           ,[RelationColumn]
           ,[PrintingSystem]
           ,[PrintOutPut]
           ,[MultiTable]
           ,[PrintStPName]
           ,[TableName]
           ,[PolicyComment]
           ,[PolicyLevel]
           ,[Disable])
     VALUES
           (180
           ,''
           ,'CheckInForPrint'
           ,N'چاپ چکهای به حساب گذاشته شده'
           ,1
           ,1
           ,null
           ,null
           ,null
           ,1
           ,null
           ,null
           ,1
           ,1
           ,1
           ,'[StpListStpForCheckInsPrint]'
           ,null
           ,N'چاپ چکهای به حساب گذاشته شده'
           ,7000
           ,null)