﻿-- SQL Server script create script 2.1.0.48
-- search and replace :SYSTEM_CODE with your choice eg replace :SYSTEM_CODE with 'LGX1'

USE [LOGIX]
GO

CREATE TABLE [TBL_ACTION](
	[ACTION_ID] [int] NOT NULL,
	[ACTION_NAME] [varchar](50) NOT NULL,
 CONSTRAINT [PK_TBL_ACTION] PRIMARY KEY CLUSTERED 
(
	[ACTION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_CHART_PROPERTIES]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_CHART_PROPERTIES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[TEMPLATE_NAME] [varchar](50) NOT NULL,
	[PROPERTY_NAME] [varchar](100) NOT NULL,
	[PROPERTY_ID] [int] NULL,
	[PROPERTY_VALUE] [varchar](200) NULL,
	[PROPERTY_TYPE] [varchar](5) NULL,
	[PROPERTY_DESCRIPTION] [varchar](250) NULL,
	[ISACTIVE] [int] NULL,
	[UI_VISIBLE] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_CHART_PROPERTIES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[TEMPLATE_NAME] ASC,
	[PROPERTY_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_CHART_PROPERTIES_LIST]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_CHART_PROPERTIES_LIST](
	[PROPERTY_NAME] [varchar](100) NOT NULL,
	[PROPERTY_ID] [int] NOT NULL,
	[PROPERTY_VALUE] [varchar](50) NULL,
 CONSTRAINT [PK_TBL_CHART_PROP_LIST] PRIMARY KEY CLUSTERED 
(
	[PROPERTY_NAME] ASC,
	[PROPERTY_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_CHART_SERIES]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_CHART_SERIES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SERIES_TYPE] [varchar](50) NOT NULL,
	[SERIES_NAME] [varchar](100) NOT NULL,
 CONSTRAINT [PK_TBL_CHART_SERIES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SERIES_TYPE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_CHART_SERIES_PROPERTIES]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_CHART_SERIES_PROPERTIES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SERIES_TYPE] [varchar](50) NOT NULL,
	[PROPERTY_NAME] [varchar](100) NOT NULL,
	[PROPERTY_VALUE] [varchar](200) NULL,
	[PROPERTY_TYPE] [varchar](5) NULL,
	[PROPERTY_DESCRIPTION] [varchar](250) NULL,
	[UI_VISIBLE] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_CHART_SERIES_PROPERTIES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SERIES_TYPE] ASC,
	[PROPERTY_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_CHART_TEMPLATES]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_CHART_TEMPLATES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[TEMPLATE_NAME] [varchar](50) NOT NULL,
	[CHART_TYPE] [varchar](50) NOT NULL,
	[TEMPLATE_DESCRIPTION] [varchar](250) NULL,
	[ISACTIVE] [int] NULL,
	[MIN_MEASURE] [int] NULL,
	[MAX_MEASURE] [int] NULL,
	[MIN_GROUP] [int] NULL,
	[MAX_GROUP] [int] NULL,
 CONSTRAINT [PK_TBL_CHART_TEMPLATES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[TEMPLATE_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_COMPONENT]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_COMPONENT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FORM_NAME] [varchar](100) NOT NULL,
	[COMPONENT_NAME] [varchar](100) NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
	[PERMISSION_ID] [int] NULL,
	[NOTES] [text] NULL,
 CONSTRAINT [TBL_COMPONENT_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FORM_NAME] ASC,
	[COMPONENT_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_COMPONENT_ACTION]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_COMPONENT_ACTION](
	[COMPONENT_ACTION_ID] [int] NOT NULL,
	[COMPONENT_ID] [int] NOT NULL,
	[ACTION_ID] [int] NOT NULL,
 CONSTRAINT [PK_TBL_COMPONENT_ACTION] PRIMARY KEY CLUSTERED 
(
	[COMPONENT_ACTION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_COMPONENT_DETAIL]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_COMPONENT_DETAIL](
	[COMPONENT_ID] [int] NOT NULL,
	[COMPONENT_NAME] [varchar](50) NOT NULL,
	[IS_LICENSED] [numeric](1, 0) NOT NULL,
	[CONTROLLER_NAME] [varchar](50) NULL,
	[ITEM_NAME] [varchar](50) NULL,
	[PAGE_NAME] [varchar](50) NULL,
	[PARENT_ID] [int] NULL,
 CONSTRAINT [PK_COMPONENT_DETAIL] PRIMARY KEY CLUSTERED 
(
	[COMPONENT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DASHBOARD_ID] [int] NOT NULL,
	[DASHBOARD_NAME] [nvarchar](50) NOT NULL,
	[DISPLAY_NAME] [nvarchar](50) NULL,
	[OWNER_LOGIN_NAME] [varchar](30) NULL,
	[PRIVATE_FLAG] [numeric](1, 0) NOT NULL,
	[DESCRIPTION] [nvarchar](255) NULL,
	[ICON_ID] [int] NULL,
	[LAYOUT_ID] [int] NULL,
	[AUTO_LAUNCH] [numeric](1, 0) NULL,
	[DASHBOARD_THEME] [varchar](20) NULL,
	[FILTER_ZONE_ID] [int] NULL,
	[PERMISSION_GROUP_ID] [int] NOT NULL,
	[FOLDER_ID] [int] NULL,
	[DASHBOARD_ZONE_MODEL] [varchar](20) NULL,
	[FOLDER_SORT_ID] [int] NULL,
 CONSTRAINT [PK_TBL_DASHBOARD] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DASHBOARD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_GROUP]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_GROUP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[GROUP_NAME] [varchar](50) NOT NULL,
	[DESCRIPTION] [varchar](255) NULL,
 CONSTRAINT [PK_TBL_DASHBOARD_GROUP] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_GRP_PERMISSIONS]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_GRP_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DASHBOARD_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NOT NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_DASHBOARD_GRP_PERM_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DASHBOARD_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_LAYOUT]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_LAYOUT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[LAYOUT_ID] [int] NOT NULL,
	[LAYOUT_NAME] [varchar](50) NOT NULL,
	[LAYOUT_TYPE] [varchar](50) NULL,
	[LAYOUT_ICON_ID] [int] NULL,
	[MAX_PANELS] [int] NULL,
 CONSTRAINT [PK_TBL_DASHBOARD_LAYOUT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[LAYOUT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_LAYOUT_ZONE]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_LAYOUT_ZONE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[LAYOUT_ID] [int] NOT NULL,
	[ZONE_ID] [int] NOT NULL,
	[ZONE_WIDTH] [int] NULL,
	[ZONE_HEIGHT] [int] NULL,
	[ZONE_ORDER] [int] NULL,
	[CAN_ZONE_GROW] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_DASHBOARD_LAYOUT_ZONE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[LAYOUT_ID] ASC,
	[ZONE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DASHBOARD_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NOT NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_DASHBOARD_USER_PERM_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DASHBOARD_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_VIEW]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_VIEW](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DASHBOARD_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[VIEW_ORDER] [int] NOT NULL,
	[ZONE_ID] [varchar](50) NULL,
 CONSTRAINT [PK_TBL_DASHBOARD_VIEW] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DASHBOARD_ID] ASC,
	[VIEW_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_VIEW_ATTRIBUTES]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_VIEW_ATTRIBUTES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DASHBOARD_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[ATTRIBUTE_NAME] [varchar](50) NOT NULL,
	[ATTRIBUTE_VALUE] [varchar](100) NULL,
 CONSTRAINT [PK_TBL_DASH_VIEW_ATTRIBUTES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DASHBOARD_ID] ASC,
	[VIEW_ID] ASC,
	[ATTRIBUTE_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DASHBOARD_VIEW_COMMENTS]    Script Date: 10/05/2019 13:20:17 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DASHBOARD_VIEW_COMMENTS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DASHBOARD_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](50) NOT NULL,
	[COMMENTS] [varchar](500) NULL,
	[DATE_OF_COMMENT] [datetime] NOT NULL,
	[COMMENT_ID] [int] NOT NULL,
 CONSTRAINT [PK_TBL_DASHBOARD_VIEW_COMMENTS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DASHBOARD_ID] ASC,
	[VIEW_ID] ASC,
	[DATE_OF_COMMENT] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[PERMISSION_GROUP_ID] [int] NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PRIM_DC_GROUP_GRP_PERM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[CONNECTION_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DATA_CONNECTOR_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[PERMISSION_GROUP_ID] [int] NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_DC_USER_GRP_PERM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[CONNECTION_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DATABASE_ATTRIBUTES]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DATABASE_ATTRIBUTES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DATABASE_VERSION] [varchar](30) NOT NULL,
	[DIALECT] [varchar](20) NOT NULL,
 CONSTRAINT [PK_DATABASE_ATTRIBUTES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DB_CONNECTION]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DB_CONNECTION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[ALIAS_NAME] [varchar](60) NOT NULL,
	[DRIVER_NAME] [varchar](100) NULL,
	[SERVER_NAME] [varchar](250) NULL,
	[INSTANCE_NAME] [varchar](250) NULL,
	[USER_NAME] [varchar](250) NULL,
	[PASSWORD] [varchar](250) NULL,
	[SERVER_IP] [varchar](50) NULL,
	[PORT_NUMBER] [int] NULL,
	[DATABASE_TYPE] [varchar](50) NOT NULL,
	[ISACTIVE] [numeric](1, 0) NOT NULL,
	[CLIENT_ID] [varchar](100) NULL,
	[CLIENT_SECRET] [varchar](50) NULL,
	[IsDatamart] [numeric](1, 0) NULL,
	[NOTES] [text] NULL,
	[ISREMOTESITE] [numeric](1, 0) NOT NULL,
	[DATACONNECTOR_LIST] [varchar](255) NULL,
	[SOURCE_CONNECTION_ID] [int] NULL,
	[PUBLIC_DOMAIN_NAME] [nvarchar](100) NULL,
	[PUBLIC_IP_ADDRESS] [nvarchar](50) NULL,
 CONSTRAINT [PK_TBL_DB_CONNECTION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[CONNECTION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_DELETE]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DELETE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[DELETE_ID] [int] NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
	[SQL_TEXT] [text] NOT NULL,
	[CONNECTION_ID] [int] NULL,
 CONSTRAINT [PK_TBL_DELETE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[DELETE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_DISPLAY_MASK_FORMATS]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DISPLAY_MASK_FORMATS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DATA_TYPE] [int] NOT NULL,
	[DISPLAY_FORMAT] [varchar](50) NOT NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [DISPLAY_MASK_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DATA_TYPE] ASC,
	[DISPLAY_FORMAT] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DOCUMENT_GROUP_PERMISSION]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DOCUMENT_GROUP_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DOCUMENT_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[ACCESS_FLAG] [numeric](1, 0) NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_DOCUMENT_GROUP_PERM_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DOCUMENT_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_DOCUMENT_LIBRARY]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_DOCUMENT_LIBRARY](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DOCUMENT_ID] [int] NOT NULL,
	[DOCUMENT_TITLE] [varchar](200) NOT NULL,
	[DOCUMENT_DESCRIPTION] [varchar](250) NULL,
	[DOCUMENT_NO] [varchar](50) NULL,
	[NOTES] [text] NULL,
	[GROUP_FOLDER_DESCRIPTION] [varchar](200) NULL,
	[ACTIVE_FLAG] [numeric](1, 0) NULL,
	[URL] [varchar](250) NULL,
 CONSTRAINT [TBL_DOCUMENT_LIBRARY_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DOCUMENT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_FIELD]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_FIELD](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FIELD_ID] [int] NOT NULL,
	[FIELD_NAME] [nvarchar](50) NOT NULL,
	[DATA_TYPE] [int] NOT NULL,
	[FIELD_TYPE] [int] NOT NULL,
	[FIELD_MODE] [int] NULL,
	[DEFAULT_VALUE] [nvarchar](500) NULL,
	[DEFAULT_DISPLAY] [nvarchar](500) NULL,
	[FIELD_ORDER] [int] NULL,
	[NUMERIC_SCALE] [int] NULL,
	[PRECISION_VALUE] [int] NULL,
	[FIELD_SIZE] [int] NULL,
	[LOOKUP_OBJECT_ID] [int] NULL,
	[LOOKUP_DISPLAY_FIELD] [nvarchar](50) NULL,
	[LOOKUP_VALUE_FIELD] [nvarchar](50) NULL,
	[FIXED_LIST] [nvarchar](500) NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
	[LOCK_FLAG] [numeric](1, 0) NOT NULL,
	[MANDATORY] [numeric](1, 0) NOT NULL,
	[IS_SOFT_VALUE] [numeric](1, 0) NOT NULL,
	[USER_ATTRIBUTE_FLAG] [numeric](1, 0) NULL,
	[MULTI_SELECT_FLAG] [numeric](1, 0) NULL,
	[ALIGNMENT] [int] NULL,
	[DISPLAY_LABEL] [nvarchar](50) NULL,
	[DISPLAY_WIDTH] [int] NULL,
	[DISPLAY_FORMAT] [nvarchar](50) NULL,
	[SORT_INDEX] [int] NULL,
	[SORT_ORDER] [int] NULL,
	[SORT_ORDER_FIELD] [nvarchar](35) NULL,
	[GUI_META_HINT] [nvarchar](250) NULL,
	[WIDTH] [int] NULL,
	[TAG_LIST] [nvarchar](100) NULL,
	[CALC_FIELD_FORMULA] [nvarchar](250) NULL,
	[CALC_FIELD_ACTIVE] [numeric](1, 0) NULL,
	[FIELD_ALIAS] [nvarchar](50) NULL,
	[DIMENSION_FIELD] [numeric](1, 0) NULL,
	[MEASURE_FIELD] [numeric](1, 0) NULL,
	[FILTER_FIELD] [numeric](1, 0) NULL,
	[CURRENCY_FLAG] [numeric](1, 0) NULL,
	[HIDDEN_FLAG] [numeric](1, 0) NULL,
	[CELL_TYPE] [nvarchar](12) NULL,
	[PARAMETER_TYPE] [nvarchar](12) NULL,
	[RANGE_FROM] [nvarchar](40) NULL,
	[RANGE_TO] [nvarchar](40) NULL,
	[SINGLE] [numeric](1, 0) NULL,
	[PARAM_TYPE] [int] NULL,
	[PARAMETER_BAR_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_FIELD] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FIELD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_FIELD_TYPE]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_FIELD_TYPE](
	[FIELD_TYPE_ID] [int] NOT NULL,
	[FIELD_TYPE_NAME] [varchar](20) NOT NULL,
	[FIELD_TYPE_DESC] [varchar](50) NULL,
 CONSTRAINT [PK_TBL_FIELD_TYPE] PRIMARY KEY CLUSTERED 
(
	[FIELD_TYPE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_FILTERS]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_FILTERS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FILTER_ID] [int] NOT NULL,
	[FILTER_NAME] [varchar](50) NOT NULL,
	[DEFAULT_OBJECT_ID] [int] NULL,
	[FILTER_TYPE] [int] NOT NULL,
	[FILTER_SOURCE] [varchar](250) NULL,
	[TIME_TO_LIVE] [int] NULL,
	[LAST_GENERATED_RESULT] [varchar](250) NULL,
	[LAST_GENERATED_WHEN] [datetime] NULL,
	[DEFAULT_XML_PARAMETERS] [varchar](250) NULL,
 CONSTRAINT [PK_TBL_FILTERS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FILTER_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_FOLDER]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_FOLDER](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FOLDER_ID] [int] IDENTITY(1,1) NOT NULL,
	[FOLDER_NAME] [nvarchar](60) NOT NULL,
	[DISPLAY_NAME] [varchar](100) NULL,
	[FOLDER_NOTES] [ntext] NULL,
	[FOLDER_VERSION] [varchar](20) NULL,
	[PRIVATE_FLAG] [numeric](1, 0) NOT NULL,
	[OWNER_LOGIN_NAME] [varchar](30) NOT NULL,
	[PARENT_FOLDER_ID] [int] NULL,
	[LAST_UPDATED] [datetime] NULL,
 CONSTRAINT [TBL_FOLDER_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FOLDER_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_FORM]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_FORM](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FORM_NAME] [varchar](100) NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
 CONSTRAINT [TBL_FORM_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FORM_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_GROUP]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GROUP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[DESCRIPTION] [varchar](30) NOT NULL,
	[DISABLED_FLAG] [numeric](1, 0) NULL,
	[AUTHENTICATE_AGAINST_CALLISTO] [numeric](1, 0) NULL,
	[AUTHENTICATE_AGAINST_DOMAINS] [varchar](200) NULL,
	[GROUP_NOTES] [text] NULL,
	[PERMISSION_SET_ID] [int] NULL,
 CONSTRAINT [PK_TBL_GROUP] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_GROUP_ATTRIBUTES]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GROUP_ATTRIBUTES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[ATTRIBUTE_CODE] [varchar](40) NOT NULL,
	[ATTRIBUTE_VALUE] [varchar](255) NULL,
	[ELARA_SYSTEM_CODE] [varchar](10) NULL,
	[ELARA_OBJECT_ID] [int] NULL,
 CONSTRAINT [PK_TBL_GROUP_ATTRIBUTES] PRIMARY KEY CLUSTERED 
(
	[ATTRIBUTE_CODE] ASC,
	[GROUP_ID] ASC,
	[SYSTEM_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_GROUP_CREDENTIALS]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GROUP_CREDENTIALS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[CREDENTIAL_CODE] [varchar](40) NOT NULL,
	[XML_CREDENTIALS] [text] NULL,
	[ELARA_SYSTEM_CODE] [varchar](10) NULL,
	[ELARA_OBJECT_ID] [int] NULL,
 CONSTRAINT [PK_TBL_GROUP_CREDENTIALS] PRIMARY KEY CLUSTERED 
(
	[CREDENTIAL_CODE] ASC,
	[GROUP_ID] ASC,
	[SYSTEM_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_GROUP_MEMBERSHIP]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GROUP_MEMBERSHIP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[PRIMARY_FLAG] [numeric](1, 0) NOT NULL,
	[AUTHENTICATION_FLAG] [numeric](1, 0) NULL,
	[PERMISSIONS_FLAG] [numeric](1, 0) NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
 CONSTRAINT [PK_TBL_GROUP_MEMBERSHIP] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[GROUP_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_GROUP_PERMISSIONS]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GROUP_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[PERMISSION_ID] [int] NOT NULL,
	[ORD_VALUE] [int] NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
 CONSTRAINT [TBL_GROUP_PERMISSIONS_PK] PRIMARY KEY CLUSTERED 
(
	[GROUP_ID] ASC,
	[PERMISSION_ID] ASC,
	[SYSTEM_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_GUI_META]    Script Date: 10/05/2019 13:20:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GUI_META](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[FIELD_ID] [int] NOT NULL,
	[FIELD_TYPE] [int] NOT NULL,
	[ALIGNMENT] [int] NULL,
	[DISPLAY_LABEL] [nvarchar](50) NULL,
	[DISPLAY_WIDTH] [int] NULL,
	[DISPLAY_POSITION] [int] NOT NULL,
	[EDIT_MASK] [nvarchar](50) NULL,
	[DISPLAY_FORMAT] [nvarchar](50) NULL,
	[FIELD_KIND] [int] NULL,
	[FIELD_NAME] [nvarchar](50) NOT NULL,
	[READ_ONLY_FLAG] [numeric](1, 0) NOT NULL,
	[REQUIRED_FLAG] [numeric](1, 0) NOT NULL,
	[FIELD_SIZE] [int] NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NOT NULL,
	[PRECISION_VALUE] [int] NULL,
	[CURRENCY_FLAG] [numeric](1, 0) NOT NULL,
	[BEST_FIT_MAX_WIDTH] [int] NULL,
	[GROUP_INDEX] [int] NULL,
	[MIN_WIDTH] [int] NULL,
	[HORIZONTAL_ALIGNMENT] [int] NULL,
	[VERTICAL_ALIGNMENT] [int] NULL,
	[CHAR_CASE] [int] NULL,
	[INCREMENTAL_SEARCH_FLAG] [numeric](1, 0) NOT NULL,
	[SORT_INDEX] [int] NULL,
	[SORT_ORDER] [int] NULL,
	[WIDTH] [int] NULL,
	[NOTES] [ntext] NULL,
	[DEFAULT_CHART_FIELD] [numeric](1, 0) NOT NULL,
	[DEFAULT_CHART_LABELS] [numeric](1, 0) NOT NULL,
	[GUI_META_ID] [int] NULL,
	[PRIMARY_KEY_FIELD_FLAG] [numeric](1, 0) NOT NULL,
	[EXPRESSION] [nvarchar](300) NULL,
	[HIDDEN_FLAG] [numeric](1, 0) NULL,
	[CELL_TYPE] [nvarchar](12) NULL,
	[DISPLAY_MASK_FIELD] [nvarchar](35) NULL,
	[SORT_ORDER_FIELD] [nvarchar](35) NULL,
	[GUI_META_HINT] [nvarchar](250) NULL,
	[CALC_FIELD_FORMULA] [nvarchar](250) NULL,
	[CALC_FIELD_ACTIVE] [numeric](1, 0) NULL,
	[FIELD_ALIAS] [nvarchar](50) NULL,
	[DIMENSION_FIELD] [numeric](1, 0) NULL,
	[MEASURE_FIELD] [numeric](1, 0) NULL,
	[FILTER_FIELD] [numeric](1, 0) NULL,
	[LINK_FIELD_ID] [int] NULL,
	[RANGE_FROM] [nvarchar](40) NULL,
	[RANGE_TO] [nvarchar](40) NULL,
	[SINGLE] [numeric](1, 0) NULL,
	[SS_FIELD_FLAG] [numeric](1, 0) NULL,
	[SS_MODEL_ID] [int] NULL,
	[SS_FIELD_ID] [nvarchar](250) NULL,
 CONSTRAINT [TBL_GUI_META_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[FIELD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_GUI_META_DD_PARAMS]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GUI_META_DD_PARAMS](
	[GMDD_ID] [int] NOT NULL,
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FIELD_ID] [int] NOT NULL,
	[PARAM_OBJECT_ID] [int] NOT NULL,
	[STATEMENT_ID] [int] NOT NULL,
	[PARAMETER_NAME] [varchar](40) NOT NULL,
	[SOURCE_OBJECT_ID] [int] NULL,
	[SOURCE_FIELD_ID] [int] NULL,
 CONSTRAINT [PK_TBL_GUI_META_DD_PARAMS] PRIMARY KEY CLUSTERED 
(
	[GMDD_ID] ASC,
	[SYSTEM_CODE] ASC,
	[FIELD_ID] ASC,
	[PARAM_OBJECT_ID] ASC,
	[STATEMENT_ID] ASC,
	[PARAMETER_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_GUI_META_DRILLDOWN]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_GUI_META_DRILLDOWN](
	[GMDD_ID] [int] NOT NULL,
	[SYSTEM_CODE] [varchar](10) NULL,
	[OBJECT_ID] [int] NULL,
	[FIELD_ID] [int] NULL,
	[NAVIGATOR_ID] [int] NULL,
	[VIEW_ID] [int] NULL,
 CONSTRAINT [PK_TBL_GUI_META_DRILLDOWN] PRIMARY KEY CLUSTERED 
(
	[GMDD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_ICONS]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_ICONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[ICON_ID] [int] NOT NULL,
	[DESCRIPTION] [nvarchar](30) NOT NULL,
	[NOTES] [ntext] NULL,
	[ALT_TEXT] [nvarchar](30) NULL,
 CONSTRAINT [TBL_ICONS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[ICON_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_ICONS_FORMAT]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_ICONS_FORMAT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[ICON_ID] [int] NOT NULL,
	[ICON_PLATFORM] [varchar](10) NOT NULL,
	[ICON] [image] NULL,
	[ICON_TYPE] [varchar](10) NOT NULL,
	[ICON_WIDTH] [int] NULL,
	[ICON_HEIGHT] [int] NULL,
 CONSTRAINT [PK_TBL_ICONS_FORMAT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[ICON_ID] ASC,
	[ICON_PLATFORM] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_INSERT]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_INSERT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[INSERT_ID] [int] NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
	[SQL_TEXT] [text] NOT NULL,
	[CONNECTION_ID] [int] NULL,
 CONSTRAINT [PK_TBL_INSERT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[INSERT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_IP_ATTRIBUTE]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_IP_ATTRIBUTE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[ATTRIBUTE_CODE] [varchar](40) NOT NULL,
	[ATTRIBUTE_VALUE] [varchar](255) NULL,
	[IP_ADDRESS_FROM] [varchar](40) NOT NULL,
	[IP_ADDRESS_TO] [varchar](40) NULL,
	[ENABLED] [varchar](1) NOT NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[ATTRIBUTE_CODE] ASC,
	[IP_ADDRESS_FROM] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_JOIN_TYPE]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_JOIN_TYPE](
	[JOIN_TYPE_ID] [int] NOT NULL,
	[JOIN_TYPE_NAME] [varchar](30) NOT NULL,
 CONSTRAINT [PK_TBL_JOIN_TYPE] PRIMARY KEY CLUSTERED 
(
	[JOIN_TYPE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_LOGIX_SYSTEM]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_LOGIX_SYSTEM](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[DB_CONNECTION_ID] [int] NOT NULL,
	[DESCRIPTION] [nvarchar](200) NULL,
 CONSTRAINT [PK_LOGIX_SYSTEM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[DB_CONNECTION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_MULTI_SOURCE_CONNECTION]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_MULTI_SOURCE_CONNECTION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[ALIAS_NAME] [varchar](60) NOT NULL,
	[SOURCE_CONNECTION_ID] [int] NOT NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[CONNECTION_ID] ASC,
	[ALIAS_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_NAVIGATOR]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_NAVIGATOR](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[NAVIGATOR_ID] [int] NOT NULL,
	[SERVICE_GROUP] [varchar](30) NOT NULL,
	[DESCRIPTION] [nvarchar](100) NOT NULL,
	[NAVIGATOR_CAPTION] [nvarchar](100) NOT NULL,
	[VIEW_GROUPTYPE] [nvarchar](20) NULL,
	[USES_DATE_RANGE_FLAG] [numeric](1, 0) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[NOTES] [ntext] NULL,
	[SORT_ORDER] [int] NOT NULL,
	[FORM_NAME_ID] [int] NULL,
	[ICON_ID] [int] NULL,
 CONSTRAINT [TBL_NAVIGATOR_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[NAVIGATOR_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_NAVIGATOR_GROUP_PERMISSION]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_NAVIGATOR_GROUP_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[NAVIGATOR_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[VIEW_FLAG] [numeric](1, 0) NOT NULL,
	[MODIFY_ROOT_FLAG] [numeric](1, 0) NOT NULL,
	[ADD_ITEM_FLAG] [numeric](1, 0) NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
	[VIEW_QUERY_FLAG] [numeric](1, 0) NULL,
	[EDIT_QUERY_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_NAVIGATOR_GROUP_PERM_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[NAVIGATOR_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_NAVIGATOR_PERMISSION]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_NAVIGATOR_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SYSTEM_PERMISSION_ID] [int] NOT NULL,
	[NAVIGATOR_ID] [int] NOT NULL,
	[STATE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_NAV_PERMISSION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SYSTEM_PERMISSION_ID] ASC,
	[NAVIGATOR_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_NAVIGATOR_SERVICE_GROUP]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_NAVIGATOR_SERVICE_GROUP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[NAVIGATOR_ID] [int] NOT NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[GROUP_ID] ASC,
	[NAVIGATOR_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_NAVIGATOR_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_NAVIGATOR_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[NAVIGATOR_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[VIEW_FLAG] [numeric](1, 0) NOT NULL,
	[MODIFY_ROOT_FLAG] [numeric](1, 0) NOT NULL,
	[ADD_ITEM_FLAG] [numeric](1, 0) NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
	[VIEW_QUERY_FLAG] [numeric](1, 0) NULL,
	[EDIT_QUERY_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_NAVIGATOR_USER_PERM_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[NAVIGATOR_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[OBJECT_NAME] [nvarchar](50) NOT NULL,
	[PUBLIC_FLAG] [numeric](1, 0) NULL,
	[REVISION] [nvarchar](40) NULL,
	[SELECT_XSL] [text] NULL,
	[MERGE_XSLT] [text] NULL,
	[RESULT_SCHEMA] [text] NULL,
	[NEXT_GUI_META_ID] [int] NULL,
	[DESCRIPTION] [nvarchar](60) NULL,
	[CACHE_VIEW] [numeric](1, 0) NULL,
	[PERMISSION_GROUP_ID] [int] NULL,
	[TAG_LIST] [nvarchar](100) NULL,
	[IS_LOOKUP_DS_FLAG] [numeric](1, 0) NOT NULL,
	[USE_DIRECT_SQL_IN_PRO_FLAG] [numeric](1, 0) NOT NULL,
	[STORE_IN_DATA_MART_FLAG] [numeric](1, 0) NOT NULL,
	[DATA_MART_TABLE_NAME] [nvarchar](30) NULL,
	[DATAMART_CONNECTION_ID] [int] NULL,
	[OWNER_LOGIN_NAME] [varchar](50) NULL,
	[SMART_CACHING] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_OBJECT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_GROUP_PERMISSION]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_GROUP_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[PERMISSION_ID] [int] NOT NULL,
	[ACCESS_FLAG] [numeric](1, 0) NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_OBJECT_GROUP_PERMISSION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[GROUP_ID] ASC,
	[PERMISSION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_JOIN]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_JOIN](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[LEFT_OBJECT_ID] [int] NOT NULL,
	[RIGHT_OBJECT_ID] [int] NOT NULL,
	[JOIN_TYPE_ID] [int] NULL,
	[JOIN_ORDER] [int] NULL,
 CONSTRAINT [PK_TBL_OBJECT_JOIN] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[LEFT_OBJECT_ID] ASC,
	[RIGHT_OBJECT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_JOIN_FIELD]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_JOIN_FIELD](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[LEFT_OBJECT_ID] [int] NOT NULL,
	[LEFT_FIELD_ID] [int] NOT NULL,
	[RIGHT_OBJECT_ID] [int] NOT NULL,
	[RIGHT_FIELD_ID] [int] NOT NULL,
 CONSTRAINT [PK_TBL_OBJECT_JOIN_FIELD] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[LEFT_OBJECT_ID] ASC,
	[LEFT_FIELD_ID] ASC,
	[RIGHT_OBJECT_ID] ASC,
	[RIGHT_FIELD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_META]    Script Date: 10/05/2019 13:20:19 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_META](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[LAST_REFRESH] [datetime] NULL,
	[TIMEOUT_PERIOD] [int] NULL,
	[CACHE_START_TIME] [datetime] NULL,
	[CACHE_END_TIME] [datetime] NULL,
	[CACHE_TIME_THRESHOLD] [int] NULL,
	[SCHEDULER_STATUS] [varchar](255) NULL,
	[APPEND_DATE_FIELD_ID] [int] NULL,
	[APPEND_DATE_PARAMETER_NAME] [nvarchar](200) NULL,
	[REGULAR_NUM_OF_DAYS_TO_CACHE] [int] NULL,
	[MAJOR_NUM_OF_DAYS_TO_CACHE] [int] NULL,
	[NEXT_MAJOR_SCHEDULE_DATE] [datetime] NULL,
	[INTERVAL_BETWEEN_MAJOR_SCHEDULES] [int] NULL,
	[SMART_CACHING_TIMEOUT] [int] NULL,
	[SMART_CACHING_START_TIME] [datetime] NULL,
	[SMART_CACHING_END_TIME] [datetime] NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_PERMISSIONS]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[PERMISSION_ID] [int] NOT NULL,
 CONSTRAINT [TBL_OBJECT_PERMISSIONS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[PERMISSION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_RECIPE]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_RECIPE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[RECIPE_ID] [int] NOT NULL,
	[OBJECT_RECIPE_TYPE] [int] NOT NULL,
	[RECIPE_ORDER] [int] NOT NULL,
	[FAILURE_ACTION] [int] NOT NULL,
	[NOTES] [ntext] NOT NULL,
	[ACTIVE_FLAG] [int] NULL,
 CONSTRAINT [PK_OBJECT_RECIPE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[RECIPE_ORDER] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_OBJECT_SCRIPT]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_OBJECT_SCRIPT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SCRIPT_ID] [int] NOT NULL,
	[SCRIPT_ORDER] [int] NOT NULL,
	[FAILURE_ACTION] [int] NULL,
	[NOTES] [ntext] NULL,
	[ACTIVE_FLAG] [int] NULL,
 CONSTRAINT [PK_OBJECT_SCRIPT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[SCRIPT_ORDER] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_PARAMETER]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PARAMETER](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[PARAMETER_ID] [int] NOT NULL,
	[PARAMETER_NAME] [nvarchar](40) NOT NULL,
	[DATA_TYPE] [int] NOT NULL,
	[PARAM_TYPE] [int] NOT NULL,
	[PARAMETER_MODE] [int] NULL,
	[DEFAULT_VALUE] [nvarchar](500) NULL,
	[DEFAULT_DISPLAY] [nvarchar](500) NULL,
	[PARAM_ORDER] [int] NULL,
	[NUMERIC_SCALE] [int] NULL,
	[PRECISION_VALUE] [int] NULL,
	[PARAMETER_SIZE] [int] NULL,
	[PARAMETER_LABEL] [nvarchar](35) NULL,
	[LOOKUP_OBJECT_ID] [int] NULL,
	[LOOKUP_DISPLAY_FIELD] [nvarchar](50) NULL,
	[LOOKUP_VALUE_FIELD] [nvarchar](50) NULL,
	[FIXED_LIST] [nvarchar](500) NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
	[LOCK_FLAG] [numeric](1, 0) NOT NULL,
	[MANDATORY] [numeric](1, 0) NOT NULL,
	[IS_SOFT_VALUE] [numeric](1, 0) NOT NULL,
	[USER_ATTRIBUTE_FLAG] [numeric](1, 0) NULL,
	[MULTI_SELECT_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_PARAMETER] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[PARAMETER_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PARAMETERS]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PARAMETERS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[STATEMENT_ID] [int] NOT NULL,
	[PARAMETER_NAME] [varchar](40) NOT NULL,
	[DATA_TYPE] [int] NOT NULL,
	[PARAM_TYPE] [int] NOT NULL,
	[NUMERIC_SCALE] [int] NULL,
	[PRECISION_VALUE] [int] NULL,
	[PARAM_ORDER] [int] NULL,
	[DEFAULT_VAL_INT] [int] NULL,
	[DEFAULT_VAL_STRING] [nvarchar](200) NULL,
	[DEFAULT_VAL_DATETIME] [datetime] NULL,
	[DEFAULT_VAL_BOOLEAN] [char](1) NULL,
	[PARAMETER_LABEL] [nvarchar](35) NULL,
	[PARAMETER_TYPE] [nvarchar](15) NULL,
	[LOOKUP_OBJECT_ID] [int] NULL,
	[DISPLAY_FIELD] [nvarchar](50) NULL,
	[VALUE_FIELD] [nvarchar](50) NULL,
	[FIXED_LIST] [nvarchar](255) NULL,
	[DISPLAY_FLAG] [numeric](1, 0) NOT NULL,
	[PARAMETER_BAR_FLAG] [numeric](1, 0) NOT NULL,
	[DEFAULT_VALUE] [nvarchar](500) NULL,
	[DEFAULT_DISPLAY] [nvarchar](500) NULL,
	[LOCK_FLAG] [numeric](1, 0) NOT NULL,
	[MANDATORY] [numeric](1, 0) NOT NULL,
	[PARAMETER_SIZE] [int] NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
	[USER_ATTRIBUTE_FLAG] [numeric](1, 0) NULL,
	[MULTI_SELECT_FLAG] [numeric](1, 0) NULL,
	[FIELD_ID] [int] NULL,
 CONSTRAINT [PK_TBL_PARAMETERS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[STATEMENT_ID] ASC,
	[PARAMETER_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PERMISSION]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[PERMISSION_ID] [int] NOT NULL,
	[DESCRIPTION] [varchar](30) NOT NULL,
	[TYPE_CODE] [varchar](10) NOT NULL,
	[NOTES] [text] NULL,
 CONSTRAINT [PK_TBL_PERMISSION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[PERMISSION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_PERMISSION_GROUP]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PERMISSION_GROUP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[PERMISSION_GROUP_ID] [int] NOT NULL,
	[GROUP_NAME] [varchar](30) NULL,
	[DESCRIPTION] [varchar](200) NULL,
	[INHERIT_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PK_PERMISSION_GROUP] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[PERMISSION_GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PERMISSION_GROUP_GROUP]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PERMISSION_GROUP_GROUP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[PERMISSION_GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[DESCRIPTION] [varchar](50) NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
	[EMAIL_FIXED_FORMAT_REPORT_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_EXCEL_TEMPLATE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_PERM_GROUP_GROUP] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[GROUP_ID] ASC,
	[PERMISSION_GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PERMISSION_GROUP_USER]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PERMISSION_GROUP_USER](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[PERMISSION_GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
	[EMAIL_FIXED_FORMAT_REPORT_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_EXCEL_TEMPLATE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_PERM_GROUP_USER] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[LOGIN_NAME] ASC,
	[PERMISSION_GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PERMISSION_SET]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PERMISSION_SET](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[PERMISSION_SET_ID] [int] NOT NULL,
	[PERMISSION_SET_NAME] [varchar](30) NOT NULL,
 CONSTRAINT [PK_TBL_PERMISSION_SET] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[PERMISSION_SET_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PERMISSION_SET_COMPONENT]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PERMISSION_SET_COMPONENT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[PERMISSION_SET_ID] [int] NOT NULL,
	[COMPONENT_ACTION_ID] [int] NOT NULL,
 CONSTRAINT [PK_TBL_PERM_SET_COMPONENT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[PERMISSION_SET_ID] ASC,
	[COMPONENT_ACTION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_PROPERTY_VALUE]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_PROPERTY_VALUE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FORM_NAME] [varchar](100) NOT NULL,
	[COMPONENT_NAME] [varchar](100) NOT NULL,
	[PROPERTY_NAME] [varchar](100) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[ORD_VALUE] [int] NULL,
 CONSTRAINT [TBL_PROPERTY_VALUE_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FORM_NAME] ASC,
	[COMPONENT_NAME] ASC,
	[PROPERTY_NAME] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_RECIPE]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_RECIPE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[RECIPE_ID] [int] NOT NULL,
	[RECIPE_NAME] [nvarchar](100) NOT NULL,
	[RECIPE_TYPE] [int] NOT NULL,
	[RECIPE_NOTES] [ntext] NOT NULL,
	[ACTIVE_FLAG] [int] NOT NULL,
 CONSTRAINT [PK_RECIPE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[RECIPE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_RECIPE_SCRIPTS]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_RECIPE_SCRIPTS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[RECIPE_ID] [int] NOT NULL,
	[SCRIPT_ID] [int] NOT NULL,
	[SCRIPT_ORDER] [int] NOT NULL,
	[FAILURE_ACTION] [int] NOT NULL,
	[NOTES] [ntext] NOT NULL,
	[ACTIVE_FLAG] [int] NOT NULL,
 CONSTRAINT [PK_RECIPE_SCRIPTS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[RECIPE_ID] ASC,
	[SCRIPT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_REGISTRATION]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_REGISTRATION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[INSTALLATION_KEY] [varchar](200) NOT NULL,
	[FIRM_COMPANY_NO] [varchar](30) NOT NULL,
	[REGISTRATION_DATE] [datetime] NOT NULL,
	[COMPANY_NAME] [varchar](60) NULL,
	[CONTACT_FIRST_NAME] [varchar](30) NULL,
	[CONTACT_SURNAME] [varchar](30) NULL,
	[EMAIL_ADDRESS] [varchar](60) NULL,
	[OFFICE_PHONE] [varchar](20) NULL,
	[OFFICE_FAX] [varchar](20) NULL,
	[AUTHORISATION_CODE] [varchar](255) NOT NULL,
	[COMPONENT_KEY] [varchar](4000) NULL,
	[LAST_LICENSE_REFRESH] [datetime] NULL,
	[BYPASS_VIEWER_KEY] [varchar](60) NULL,
 CONSTRAINT [TBL_REGISTRATION_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[INSTALLATION_KEY] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_REPORT]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_REPORT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[REPORT_ID] [int] NOT NULL,
	[REPORT_NAME] [nvarchar](60) NOT NULL,
	[DISPLAY_NAME] [nvarchar](100) NULL,
	[REPORT_NOTES] [ntext] NULL,
	[REPORT_VERSION] [nvarchar](20) NULL,
	[FOLDER_ID] [int] NULL,
	[PRIVATE_FLAG] [numeric](1, 0) NOT NULL,
	[OWNER_LOGIN_NAME] [varchar](30) NOT NULL,
	[FIXED_FORMAT_REPORT] [text] NULL,
	[EXCEL_TEMPLATE] [text] NULL,
	[AUTO_RELEASE_FLAG] [numeric](1, 0) NOT NULL,
	[AUTHORISE_LOGIN_NAME] [varchar](30) NULL,
	[AUTHORISE_GROUP_ID] [int] NULL,
	[LAST_UPDATED] [datetime] NULL,
	[TEMPLATE_MASK] [nvarchar](50) NULL,
	[USE_TEMPLATE_MASK_FLAG] [numeric](1, 0) NULL,
	[SUBFOLDER_NAME] [nvarchar](50) NULL,
	[CREATE_SUBFOLDER_FLAG] [numeric](1, 0) NULL,
	[DEFAULT_FILE_TYPE] [nvarchar](100) NULL,
	[FOLDER_SORT_ID] [int] NULL,
	[OVERWRITE_EXISTING_FILE] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_REPORT_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[REPORT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_REPORT_GROUP_PERMISSION]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_REPORT_GROUP_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[REPORT_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[PERMISSION_GROUP_ID] [int] NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXPORT_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NOT NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PRIM_RP_GROUP_GRP_PERM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[REPORT_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_REPORT_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:20 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_REPORT_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[REPORT_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[PERMISSION_GROUP_ID] [int] NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXPORT_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NOT NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PK_RP_USER_GRP_PERM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[REPORT_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_REPORT_VIEW_PARAMETERS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_REPORT_VIEW_PARAMETERS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[REPORT_ID] [int] NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[VIEW_RUN_ID] [int] NOT NULL,
	[PARAM_NAME] [varchar](50) NOT NULL,
	[PARAM_VALUE] [varchar](4000) NULL,
	[PARAM_DISPLAY] [varchar](4000) NULL,
	[FIELD_ID] [int] NULL,
	[SCHEDULE_REPORT_RUN_ID] [int] NOT NULL,
 CONSTRAINT [PK_REPORT_VIEW_PARAMETERS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[REPORT_ID] ASC,
	[SCHEDULE_ID] ASC,
	[VIEW_ID] ASC,
	[VIEW_RUN_ID] ASC,
	[PARAM_NAME] ASC,
	[SCHEDULE_REPORT_RUN_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_REPORT_VIEWS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_REPORT_VIEWS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[REPORT_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[VIEW_RUN_ID] [int] NOT NULL,
	[TARGET_DATASET_NAME] [varchar](50) NOT NULL,
 CONSTRAINT [PK_TBL_REPORT_VIEWS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[REPORT_ID] ASC,
	[VIEW_ID] ASC,
	[VIEW_RUN_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] IDENTITY(1,1) NOT NULL,
	[PERMISSION_GROUP_ID] [int] NOT NULL,
	[CAPTION] [nchar](50) NULL,
	[EVENTTYPE] [int] NULL,
	[FINISH] [datetime] NULL,
	[START_TIME] [datetime] NULL,
	[LABELCOLOR] [int] NULL,
	[LOCATION] [nchar](50) NULL,
	[MESSAGE] [nchar](1024) NULL,
	[OPTIONS] [int] NULL,
	[PARENTID] [int] NULL,
	[RECURRENCEINDEX] [int] NULL,
	[STATE] [int] NULL,
	[PARENTID_ID] [int] NULL,
	[ACTUALSTART] [int] NULL,
	[ACTUALFINISH] [int] NULL,
	[REMINDERMINUTESBEFORESTART] [int] NULL,
	[REMINDERDATE] [datetime] NULL,
	[LOGIN_NAME] [varchar](50) NULL,
	[TASK_COMPLETE_FIELD] [int] NULL,
	[TASK_INDEX_FIELD] [int] NULL,
	[TASK_STATUS_FIELD] [int] NULL,
	[RI_ALL_DAY_FLAG] [char](1) NULL,
	[RI_DAY_NUMBER] [int] NULL,
	[RI_WEEK_DAYS_MONDAY] [char](1) NULL,
	[RI_WEEK_DAYS_TUESDAY] [char](1) NULL,
	[RI_WEEK_DAYS_WEDNESDAY] [char](1) NULL,
	[RI_WEEK_DAYS_THURSDAY] [char](1) NULL,
	[RI_WEEK_DAYS_FRIDAY] [char](1) NULL,
	[RI_WEEK_DAYS_SATURDAY] [char](1) NULL,
	[RI_WEEK_DAYS_SUNDAY] [char](1) NULL,
	[RI_OCCURRENCE_COUNT] [int] NULL,
	[RI_PERIODICITY] [int] NULL,
	[RI_START] [datetime] NULL,
	[RI_END] [datetime] NULL,
	[RI_TYPE] [int] NULL,
	[LAST_MODIFIED] [datetime] NOT NULL,
	[ACTIVE] [numeric](1, 0) NULL,
 CONSTRAINT [PK_SHD_EVENTS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_ADMIN_GROUPS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_ADMIN_GROUPS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXECUTE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_SCHEDULE_ADMIN_GROUPS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_ADMIN_USERS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_ADMIN_USERS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXECUTE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_SCHEDULE_ADMIN_USERS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_GROUP_PERMISSIONS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_GROUP_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[EMAIL_FIXED_FORMAT_REPORT_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_EXCEL_TEMPLATE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [SCHEDULE_GROUP_PERMISSIONS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_OBJECT]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_OBJECT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SCHEDULE_OBJECT_RUN_ID] [int] NOT NULL,
 CONSTRAINT [PK_OBJECT_SCHEDULE_OBJECT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[OBJECT_ID] ASC,
	[SCHEDULE_OBJECT_RUN_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_PARAMETERS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_PARAMETERS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[PARAM_NAME] [varchar](50) NOT NULL,
	[PARAM_VALUE] [varchar](4000) NULL,
	[PARAM_DISPLAY] [varchar](4000) NULL,
	[FIELD_ID] [int] NULL,
 CONSTRAINT [PK_TBL_REPORT_PARAMETERS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[PARAM_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_REMOTE_JOB]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_REMOTE_JOB](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[JOB_ID] [int] NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[START_TIME] [datetime] NULL,
	[END_TIME] [datetime] NULL,
	[ERROR_MSG] [varchar](200) NULL,
	[CREATION_DATE] [datetime] NULL,
	[NUM_OF_DAYS] [int] NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[JOB_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_REPORTS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_REPORTS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[REPORT_ID] [int] NOT NULL,
	[SCHEDULE_REPORT_RUN_ID] [int] NOT NULL,
	[XLS_FLAG] [numeric](1, 0) NULL,
	[XLSX_FLAG] [numeric](1, 0) NULL,
	[CSV_FLAG] [numeric](1, 0) NULL,
	[RTF_FLAG] [numeric](1, 0) NULL,
	[PDF_FLAG] [numeric](1, 0) NULL,
	[EMAIL_FLAG] [numeric](1, 0) NULL,
	[FTP_FLAG] [numeric](1, 0) NULL,
	[SAVE_FILE_FLAG] [numeric](1, 0) NULL,
	[FTP_FOLDER_LOCATION] [varchar](250) NULL,
	[SAVE_FILE_FOLDER_LOCATION] [varchar](250) NULL,
 CONSTRAINT [PK_REPORT_SCHEDULE_REPORTS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[REPORT_ID] ASC,
	[SCHEDULE_REPORT_RUN_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[EMAIL_FIXED_FORMAT_REPORT_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_EXCEL_TEMPLATE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [SCHEDULE_USER_PERMISSIONS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCHEDULE_VIEW_EXPORT]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCHEDULE_VIEW_EXPORT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCHEDULE_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[EMAIL_FLAG] [numeric](1, 0) NULL,
	[FTP_FLAG] [numeric](1, 0) NULL,
	[SAVE_FILE_FLAG] [numeric](1, 0) NULL,
	[XLS_FLAG] [numeric](1, 0) NULL,
	[XLSX_FLAG] [numeric](1, 0) NULL,
	[CSV_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_SCHEDULE_VIEW_EXPORT_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCHEDULE_ID] ASC,
	[VIEW_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCRIPT]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCRIPT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCRIPT_ID] [int] NOT NULL,
	[SCRIPT_NAME] [nvarchar](100) NOT NULL,
	[SCRIPT_TYPE] [int] NOT NULL,
	[CLASS_NAME] [nvarchar](100) NOT NULL,
	[MEMBER_NAME] [nvarchar](100) NOT NULL,
	[SCRIPT_NOTES] [ntext] NOT NULL,
	[SCRIPT_TEXT] [ntext] NOT NULL,
	[ACTIVE_FLAG] [int] NOT NULL,
 CONSTRAINT [PK_SCRIPT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCRIPT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCRIPT_AVAILABLE_REFERENCE]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCRIPT_AVAILABLE_REFERENCE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCRIPT_REF_ID] [int] NOT NULL,
	[SCRIPT_REF_DESCRIPTION] [nvarchar](100) NOT NULL,
	[FILE_LOCATION] [nvarchar](300) NOT NULL,
 CONSTRAINT [PK_SCRIPT_AVAILABLE_REFERENCE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCRIPT_REF_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SCRIPT_INCLUDED_REFERENCE]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SCRIPT_INCLUDED_REFERENCE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SCRIPT_ID] [int] NOT NULL,
	[SCRIPT_REF_ID] [int] NOT NULL,
 CONSTRAINT [PK_SCRIPT_INCLUDED_REFERENCE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SCRIPT_ID] ASC,
	[SCRIPT_REF_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SELECT]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SELECT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SELECT_ID] [int] NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
	[SQL_TEXT] [text] NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[ROOT_NODE_NAME] [varchar](50) NULL,
	[RECORD_NODE_NAME] [varchar](50) NULL,
	[QUERY_TYPE] [varchar](20) NOT NULL,
	[SELECT_NAME] [varchar](50) NOT NULL,
	[JOIN_TYPE_ID] [int] NULL,
	[JOIN_ORDER] [int] NULL,
	[JOIN_SELECT_ID] [int] NULL,
	[EXCEL_FILE_PATH] [varchar](200) NULL,
	[EXCEL_FILE_SHEET_NUMBER] [numeric](10, 0) NULL,
	[EXCEL_FILE_ROW_HEADER_NUMBER] [numeric](10, 0) NULL,
	[EXCEL_FILE_SHEET_NAME] [varchar](200) NULL,
	[LOGIN_NAME] [varchar](30) NULL,
	[USE_SERVER_MODE_FLAG] [numeric](1, 0) NOT NULL,
	[PREFERRED_TABLE_NAME] [varchar](255) NULL,
 CONSTRAINT [PK_TBL_SELECT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[SELECT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_SELECT_AUDIT]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SELECT_AUDIT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SELECT_ID] [int] NOT NULL,
	[AUDIT_DT] [datetime] NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
	[SQL_TEXT] [text] NOT NULL,
	[CONNECTION_ID] [int] NOT NULL,
	[ROOT_NODE_NAME] [varchar](50) NULL,
	[RECORD_NODE_NAME] [varchar](50) NULL,
	[QUERY_TYPE] [varchar](20) NOT NULL,
	[SELECT_NAME] [varchar](50) NOT NULL,
	[JOIN_TYPE_ID] [int] NULL,
	[JOIN_ORDER] [int] NULL,
	[JOIN_SELECT_ID] [int] NULL,
	[LOGIN_NAME] [varchar](30) NULL,
 CONSTRAINT [PK_TBL_SELECT_AUDIT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[SELECT_ID] ASC,
	[AUDIT_DT] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_SELECT_FIELD]    Script Date: 10/05/2019 13:20:21 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SELECT_FIELD](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SELECT_ID] [int] NOT NULL,
	[SELECT_FIELD_ID] [int] NOT NULL,
	[FIELD_NAME] [varchar](50) NOT NULL,
	[FIELD_TYPE_ID] [int] NOT NULL,
	[FIELD_SIZE] [int] NULL,
 CONSTRAINT [PK_TBL_SELECT_FIELD_1] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[SELECT_ID] ASC,
	[SELECT_FIELD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SELECT_JOIN]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SELECT_JOIN](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SELECT_ID] [int] NOT NULL,
	[SELECT_FIELD_ID] [int] NOT NULL,
	[JOIN_OBJECT_ID] [int] NOT NULL,
	[JOIN_SELECT_ID] [int] NOT NULL,
	[JOIN_SELECT_FIELD_ID] [int] NOT NULL,
 CONSTRAINT [PK_TBL_SELECT_JOIN] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[SELECT_ID] ASC,
	[SELECT_FIELD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SELECT_PARAM]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SELECT_PARAM](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[SELECT_ID] [int] NOT NULL,
	[PARAMETER_ID] [int] NOT NULL,
	[PARAMETER_NAME] [varchar](50) NULL,
	[DATA_TYPE] [int] NULL,
	[PARAMETER_SIZE] [int] NULL,
	[PARAMETER_VALUE] [varchar](500) NULL,
	[PARAMETER_DISPLAY] [varchar](500) NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[SELECT_ID] ASC,
	[PARAMETER_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SERVICE_GROUP]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SERVICE_GROUP](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[GROUP_NAME] [varchar](30) NULL,
	[DESCRIPTION] [varchar](255) NULL,
	[DISPLAY_SERVICE] [numeric](1, 0) NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SPREADSHEET]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SPREADSHEET](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SPREADSHEET_ID] [int] NOT NULL,
	[SPREADSHEET_NAME] [nvarchar](60) NOT NULL,
	[DISPLAY_NAME] [nvarchar](100) NULL,
	[PRIVATE_FLAG] [numeric](1, 0) NOT NULL,
	[OWNER_LOGIN_NAME] [varchar](30) NOT NULL,
	[SPREADSHEET_FILE] [text] NULL,
	[SPREADSHEET_FILE_LOCATION] [nvarchar](255) NULL,
	[LAST_REFRESH] [datetime] NULL,
	[TIMEOUT_PERIOD] [int] NULL,
	[CACHE_START_TIME] [datetime] NULL,
	[CACHE_END_TIME] [datetime] NULL,
	[CACHE_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_SPREADSHEET_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SPREADSHEET_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_SPREADSHEET_GROUP_PERMISSION]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SPREADSHEET_GROUP_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SPREADSHEET_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXPORT_FLAG] [numeric](1, 0) NOT NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PRIM_SPREADSHEET_GROUP_GRP_PERM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SPREADSHEET_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SPREADSHEET_LINKED_OBJECTS]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SPREADSHEET_LINKED_OBJECTS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SPREADSHEET_ID] [int] NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[PARAMETER_PRIORITY] [int] NULL,
	[SAVE_DATA_FLAG] [numeric](1, 0) NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SPREADSHEET_ID] ASC,
	[OBJECT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SPREADSHEET_USER_PERMISSION]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SPREADSHEET_USER_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SPREADSHEET_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](60) NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXPORT_FLAG] [numeric](1, 0) NOT NULL,
	[FORCE_CACHE_REFRESH_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PRIM_SPREADSHEET_USER_USR_PERM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SPREADSHEET_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SYSTEM]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SYSTEM](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SYSTEM_NAME] [varchar](40) NOT NULL,
	[NEXT_FORM_NAME_ID] [int] NULL,
	[NEXT_VIEW_ID] [int] NULL,
 CONSTRAINT [PK_TBL_SYSTEM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SYSTEM_ATTRIBUTES]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SYSTEM_ATTRIBUTES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SYSTEM_ATTRIBUTE_CODE] [varchar](40) NOT NULL,
	[ATTRIBUTE_VALUE] [varchar](255) NULL,
	[ELARA_SYSTEM_CODE] [varchar](10) NULL,
	[ELARA_OBJECT_ID] [int] NULL,
 CONSTRAINT [PK_TBL_SYSTEM_ATTRIBUTES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SYSTEM_ATTRIBUTE_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_SYSTEM_CREDENTIALS]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SYSTEM_CREDENTIALS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SYSTEM_CREDENTIAL_CODE] [varchar](40) NOT NULL,
	[XML_CREDENTIALS] [text] NULL,
	[ELARA_SYSTEM_CODE] [varchar](10) NULL,
	[ELARA_OBJECT_ID] [int] NULL,
 CONSTRAINT [PK_TBL_SYSTEM_CREDENTIALS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SYSTEM_CREDENTIAL_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_SYSTEM_PERMISSION]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_SYSTEM_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SYSTEM_PERMISSION_ID] [int] NOT NULL,
	[SYSTEM_PERMISSION_DESCRIPTION] [varchar](50) NOT NULL,
	[GLOBAL_STATE_FLAG] [numeric](1, 0) NOT NULL,
	[VIEWER_PERMISSION] [numeric](1, 0) NOT NULL,
	[VIEWER_OVERRIDE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_SYSTEM_PERMISSION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SYSTEM_PERMISSION_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_UPDATE]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_UPDATE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[OBJECT_ID] [int] NOT NULL,
	[UPDATE_ID] [int] NOT NULL,
	[DESCRIPTION] [varchar](100) NOT NULL,
	[SQL_TEXT] [text] NOT NULL,
	[CONNECTION_ID] [int] NULL,
 CONSTRAINT [PK_TBL_UPDATE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[OBJECT_ID] ASC,
	[UPDATE_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER](
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[FIRST_NAME] [varchar](20) NOT NULL,
	[SURNAME] [varchar](20) NOT NULL,
	[PASSWORD] [varchar](30) NOT NULL,
	[DISABLED_FLAG] [numeric](1, 0) NULL,
	[AUTHENTICATE_AGAINST_CALLISTO] [numeric](1, 0) NULL,
	[AUTHENTICATE_AGAINST_DOMAINS] [varchar](200) NULL,
	[ADDRESS_LINE_1] [varchar](40) NULL,
	[ADDRESS_LINE_2] [varchar](40) NULL,
	[TOWN] [varchar](40) NULL,
	[POSTCODE] [varchar](40) NULL,
	[COUNTRY] [varchar](40) NULL,
	[DATE_OF_BIRTH] [datetime] NULL,
	[HOME_PHONE_NUMBER] [varchar](20) NULL,
	[WORK_PHONE_NUMBER] [varchar](20) NULL,
	[FAX_PHONE_NUMBER] [varchar](20) NULL,
	[EMAIL_ADDRESS] [varchar](55) NULL,
	[GENDER] [char](1) NULL,
	[MOBILE_PHONE_NUMBER] [varchar](20) NULL,
	[WHEN_LAST_SUCCESSFUL_LOGIN] [datetime] NULL,
	[WHEN_LAST_UNSUCCESSFUL_LOGIN] [datetime] NULL,
	[UNSUCCESSFUL_REASON] [varchar](200) NULL,
	[LAST_AUTHENTICATED_DOMAIN] [varchar](50) NULL,
	[WHEN_LAST_LOGOUT] [datetime] NULL,
	[LAST_LOGOUT_REASON] [varchar](100) NULL,
	[USER_NOTES] [text] NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
	[MACHINE_ID] [varchar](200) NULL,
	[FTP_USERNAME] [varchar](30) NULL,
	[FTP_PASSWORD] [varchar](60) NULL,
	[FTP_ADDRESS] [varchar](250) NULL,
	[NETWORK_LOCATION] [varchar](250) NULL,
	[FILE_NAME_MASK] [varchar](100) NULL,
	[FTP_IS_SFTP] [numeric](1, 0) NULL,
 CONSTRAINT [PK_TBL_USER] PRIMARY KEY CLUSTERED 
(
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_ATTRIBUTE]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_ATTRIBUTE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FIELD_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[PARAMETER_VALUE] [varchar](500) NULL,
	[PARAMETER_DISPLAY] [varchar](500) NULL,
 CONSTRAINT [PK_TBL_USER_ATTRIBUTE] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FIELD_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_ATTRIBUTES]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_ATTRIBUTES](
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[ATTRIBUTE_CODE] [varchar](40) NOT NULL,
	[ATTRIBUTE_VALUE] [varchar](255) NULL,
	[ELARA_SYSTEM_CODE] [varchar](10) NULL,
	[ELARA_OBJECT_ID] [int] NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
 CONSTRAINT [PK_TBL_USER_ATTRIBUTES] PRIMARY KEY CLUSTERED 
(
	[LOGIN_NAME] ASC,
	[ATTRIBUTE_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_COMPONENT]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_COMPONENT](
	[COMPONENT_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
 CONSTRAINT [PK_TBL_USER_COMPONENT] PRIMARY KEY CLUSTERED 
(
	[COMPONENT_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_CREDENTIALS]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_CREDENTIALS](
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[CREDENTIAL_CODE] [varchar](40) NOT NULL,
	[XML_CREDENTIALS] [text] NULL,
	[ELARA_SYSTEM_CODE] [varchar](10) NULL,
	[ELARA_OBJECT_ID] [int] NULL,
 CONSTRAINT [PK_TBL_USER_CREDENTIALS] PRIMARY KEY CLUSTERED 
(
	[LOGIN_NAME] ASC,
	[CREDENTIAL_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_DASHBOARD_ATTRIBUTE]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_DASHBOARD_ATTRIBUTE](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[DASHBOARD_ID] [int] NULL,
	[ATTRIBUTE_NAME] [varchar](255) NULL,
	[ATTRIBUTE_VALUE] [varchar](255) NULL
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_FIELD]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_FIELD](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[FIELD_ID] [int] NOT NULL,
 CONSTRAINT [PK_TBL_USER_FIELD] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[FIELD_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_PERMISSION]    Script Date: 10/05/2019 13:20:22 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[PERMISSION_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[ACCESS_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
 CONSTRAINT [PK_TBL_USER_PERMISSION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[PERMISSION_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_USER_SYSTEM]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_USER_SYSTEM](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[LAST_UPDATED] [datetime] NULL,
 CONSTRAINT [PK_USER_SYSTEM] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[VIEW_NAME] [nvarchar](120) NOT NULL,
	[VIEW_NOTES] [ntext] NULL,
	[VIEW_VERSION] [nvarchar](20) NULL,
	[PRIVATE_FLAG] [numeric](1, 0) NOT NULL,
	[FILTER_CONTENT] [image] NULL,
	[VIEW_CONTENT] [image] NULL,
	[GROUPING_TYPE] [varchar](30) NULL,
	[OWNER_LOGIN_NAME] [varchar](30) NULL,
	[LAST_UPDATED] [datetime] NULL,
	[FOLDER_FLAG] [numeric](1, 0) NOT NULL,
	[FOLDER_ID] [int] NULL,
	[VIEW_GRID_CLASS] [varchar](100) NULL,
	[OBJECT_ID] [int] NULL,
	[FIELD_NAME_LEVEL_1] [varchar](40) NULL,
	[FIELD_NAME_LEVEL_2] [varchar](40) NULL,
	[SAVED_VIEW] [image] NULL,
	[LAST_SAVED_VIEW] [datetime] NULL,
	[CHART_TEMPLATE] [image] NULL,
	[VIEW_GRID_ATTRIBUTES] [image] NULL,
	[VIEW_STATE_XML] [text] NULL,
	[GROUP_EXPANSION] [int] NULL,
	[CURRENT_VIEWTYPE_OPENED] [char](1) NULL,
	[CHART_TEMPLATE_NAME] [varchar](50) NULL,
	[IS_CHART_VISIBLE] [numeric](1, 0) NULL,
	[CHART_PAGE_CURRENT] [int] NULL,
	[CURRENT_OR_LAST_PERIOD] [varchar](50) NULL,
	[DATE_RANGE_OPTION] [int] NULL,
	[CROSS_TAB_ACTIVE] [numeric](1, 0) NULL,
	[SELECTED_SERIES_FOR_CROSSTAB] [int] NULL,
	[VIEW_TITLE_DISPLAY_TYPE] [int] NULL,
	[IS_DATA_VISIBLE] [numeric](1, 0) NULL,
	[VIEW_STATE_VERSION] [int] NULL,
	[IS_GROUP_BY_BOX] [numeric](1, 0) NULL,
	[DISPLAY_NAME] [nvarchar](100) NULL,
	[IS_FOOTER_VISIBLE] [numeric](1, 0) NULL,
	[COLUMN_GRAND_TOTAL_TEXT] [varchar](50) NULL,
	[ROW_GRAND_TOTAL_TEXT] [varchar](50) NULL,
	[OWNER_EDITOR] [varchar](20) NULL,
	[EXCLUDE_FROM_CACHING] [numeric](1, 0) NOT NULL,
	[IMPORT_VIEW_GUID] [varchar](50) NULL,
	[VIEW_LINKING_FORMAT] [int] NULL,
	[URL_VALUE] [nvarchar](300) NULL,
	[VIEW_DATASET] [int] NULL,
	[SELECTED_VIEW_LINK] [int] NULL,
	[EXCLUDE_FROM_SMART_CACHING] [numeric](1, 0) NOT NULL,
 CONSTRAINT [TBL_VIEW_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_ALERT]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_ALERT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[ALERT_ID] [int] NOT NULL,
	[ALERT_NAME] [nvarchar](100) NOT NULL,
	[ACTIVE_FLAG] [int] NOT NULL,
	[CONDITION_EXPRESSION] [nvarchar](300) NULL,
	[EMAIL_ACTIVE_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_BODY] [text] NULL,
	[EMAIL_REPORT_ID] [int] NULL,
	[EXCEPTION_ACTIVE_FLAG] [numeric](1, 0) NOT NULL,
	[EXCEPTION_COLOR] [varchar](20) NULL,
	[EXCEPTION_MESSAGE] [text] NULL,
	[EXCEPTION_LIFETIME_DAYS] [int] NULL,
	[FTP_ACTIVE_FLAG] [numeric](1, 0) NOT NULL,
	[TEMPLATE_MASK] [nvarchar](50) NULL,
	[USE_TEMPLATE_MASK_FLAG] [numeric](1, 0) NULL,
	[SUBFOLDER_NAME] [nvarchar](50) NULL,
	[CREATE_SUBFOLDER_FLAG] [numeric](1, 0) NULL,
	[FTP_REPORT_ID] [int] NULL,
	[REST_API_ACTIVE_FLAG] [numeric](1, 0) NOT NULL,
	[REST_API_CONNECTION_ID] [int] NULL,
	[LAST_UPDATED] [datetime] NULL,
 CONSTRAINT [TBL_VIEW_ALERT_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[ALERT_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_ALERT_GROUP_PERMISSIONS]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_ALERT_GROUP_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[ALERT_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXECUTE_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_FLAG] [numeric](1, 0) NOT NULL,
	[FTP_FLAG] [numeric](1, 0) NOT NULL,
	[DASHBOARD_EXCEPTIONS_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_VIEW_ALERT_GROUP_PERMISSIONS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[ALERT_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_ALERT_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_ALERT_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[ALERT_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[EXECUTE_FLAG] [numeric](1, 0) NOT NULL,
	[EMAIL_FLAG] [numeric](1, 0) NOT NULL,
	[FTP_FLAG] [numeric](1, 0) NOT NULL,
	[DASHBOARD_EXCEPTIONS_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_VIEW_ALERT_USER_PERMISSIONS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[ALERT_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_CHART_PROPERTIES]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_CHART_PROPERTIES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[PROPERTY_NAME] [varchar](100) NOT NULL,
	[PROPERTY_VALUE] [varchar](200) NULL,
	[PROPERTY_TYPE] [varchar](5) NULL,
 CONSTRAINT [PK_TBL_VIEW_CHART_PROPERTIES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[PROPERTY_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_FILTER_DEFINITION]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_FILTER_DEFINITION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[FILTER_ID] [int] NOT NULL,
	[PARENT_ID] [int] NOT NULL,
	[NODE_ID] [int] NOT NULL,
	[FIELD_NAME] [varchar](40) NULL,
	[OPERATOR] [varchar](20) NULL,
	[CONDITION] [varchar](100) NULL,
 CONSTRAINT [TBL_VIEW_FILTER_DEFINITION_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[FILTER_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_GRID]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_GRID](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[COLUMN_ID] [int] NOT NULL,
	[COLUMN_SOURCE] [varchar](20) NULL,
	[COLUMN_TYPE] [varchar](20) NULL,
	[CELL_HORIZ_ALIGN] [varchar](20) NULL,
	[CELL_VERT_ALIGN] [varchar](20) NULL,
	[HEADER_HORIZ_ALIGN] [varchar](20) NULL,
	[HEADER_VERT_ALIGN] [varchar](20) NULL,
	[FOOTER_HORIZ_ALIGN] [varchar](20) NULL,
	[GROUP_SUM_HORIZ_ALIGN] [varchar](20) NULL,
	[FIELD_NAME] [varchar](100) NULL,
	[DISPLAY_LABEL] [varchar](50) NULL,
	[DISPLAY_WIDTH] [int] NULL,
	[DISPLAY_POSITION] [int] NULL,
	[DISPLAY_FORMAT] [varchar](50) NULL,
	[MIN_WIDTH] [int] NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
	[HIDDEN_FLAG] [numeric](1, 0) NULL,
	[GROUP_INDEX] [int] NULL,
	[SORT_INDEX] [int] NULL,
	[SORT_ORDER] [varchar](20) NULL,
	[COLUMN_HINT] [varchar](255) NULL,
	[DISPLAY_MASK_FIELD] [varchar](35) NULL,
	[SORT_ORDER_FIELD] [varchar](35) NULL,
	[FOOTER_SUMMARY_TYPE] [varchar](10) NULL,
	[DATE_GROUPING_INTERVAL] [varchar](20) NULL,
	[RANGE_FROM] [varchar](40) NULL,
	[RANGE_TO] [varchar](40) NULL,
	[SINGLE] [numeric](1, 0) NULL,
 CONSTRAINT [PK_VIEW_GRID] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[COLUMN_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_GROUP_PERMISSIONS]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_GROUP_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[GROUP_ID] [int] NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
	[IS_DEFAULT] [numeric](1, 0) NULL,
	[AUTOLAUNCH] [numeric](1, 0) NULL,
	[DEFAULT_OVERRIDE] [numeric](1, 0) NULL,
 CONSTRAINT [TBL_VIEW_GROUP_PERMISSIONS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[GROUP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_PARAMETERS]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_PARAMETERS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[PARAM_NAME] [varchar](50) NOT NULL,
	[PARAM_VALUE] [varchar](4000) NULL,
	[PARAM_DISPLAY] [varchar](4000) NULL,
	[IS_VISIBLE] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_VIEW_PARAMETERS] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[PARAM_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_PERMISSION]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_PERMISSION](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[SYSTEM_PERMISSION_ID] [int] NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[STATE_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [PK_TBL_VIEW_PERMISSION] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[SYSTEM_PERMISSION_ID] ASC,
	[VIEW_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_PERSISTED_ATTRIBS]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_PERSISTED_ATTRIBS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[ATTRIBUTE_CODE] [varchar](40) NOT NULL,
	[ATTRIBUTE_VALUE] [varchar](255) NOT NULL,
	[MANDITORY_FLAG] [numeric](1, 0) NOT NULL,
 CONSTRAINT [TBL_VIEW_PERSISTED_ATTRIBS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[ATTRIBUTE_CODE] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_PIVOT]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_PIVOT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[COLUMN_ID] [int] NOT NULL,
	[FIELD_NAME] [varchar](100) NULL,
	[AREA] [varchar](10) NULL,
	[SUMMARY_VARIATION] [varchar](20) NULL,
	[VISIBLE_FLAG] [numeric](1, 0) NULL,
	[HIDDEN_FLAG] [numeric](1, 0) NULL,
	[GROUP_INDEX] [int] NULL,
	[AREA_INDEX] [int] NULL,
	[SORT_ORDER] [varchar](20) NULL,
	[COLUMN_SOURCE] [varchar](20) NULL,
	[COLUMN_TYPE] [varchar](20) NULL,
	[CELL_HORIZ_ALIGN] [varchar](20) NULL,
	[CELL_VERT_ALIGN] [varchar](20) NULL,
	[DISPLAY_LABEL] [varchar](50) NULL,
	[DISPLAY_WIDTH] [int] NULL,
	[LIST_INDEX] [int] NOT NULL,
	[DISPLAY_FORMAT] [varchar](50) NULL,
	[COLUMN_HINT] [varchar](255) NULL,
	[SUMMARY_VALUE_SORT_FIELD] [varchar](35) NULL,
	[SHOW_VARIATION_TYPE] [varchar](20) NULL,
	[CUSTOM_TOTAL_COUNT_FLAG] [numeric](1, 0) NULL,
	[CUSTOM_TOTAL_MIN_FLAG] [numeric](1, 0) NULL,
	[CUSTOM_TOTAL_MAX_FLAG] [numeric](1, 0) NULL,
	[CUSTOM_TOTAL_AVERAGE_FLAG] [numeric](1, 0) NULL,
	[CUSTOM_TOTAL_SUM_FLAG] [numeric](1, 0) NULL,
	[CUSTOM_TOTAL_CUM_BAL_FLAG] [numeric](1, 0) NULL,
 CONSTRAINT [PK_VIEW_PIVOT] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[COLUMN_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_SERIES_PROPERTIES]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_SERIES_PROPERTIES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[SUMMARY_ID] [int] NOT NULL,
	[SERIES_TYPE] [varchar](50) NOT NULL,
	[PROPERTY_NAME] [varchar](100) NOT NULL,
	[PROPERTY_VALUE] [varchar](200) NULL,
	[PROPERTY_TYPE] [varchar](5) NULL,
 CONSTRAINT [PK_TBL_VIEW_SERIES_PROPERTIES] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[SUMMARY_ID] ASC,
	[PROPERTY_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_SUMMARY]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_SUMMARY](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[SUMMARY_ID] [int] NOT NULL,
	[SUMMARY_COLUMN_NAME] [varchar](100) NOT NULL,
	[SUMMARY_FIELD_NAME] [varchar](100) NOT NULL,
	[SUMMARY_FORMAT] [varchar](100) NULL,
	[SUMMARY_KIND] [varchar](15) NOT NULL,
	[SUMMARY_POSITION] [varchar](10) NOT NULL,
	[SUMMARY_SORT_BY_FLAG] [numeric](1, 0) NOT NULL,
	[SUMMARY_TITLE] [varchar](100) NULL,
 CONSTRAINT [TBL_VIEW_SUMMARY_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[SUMMARY_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_TRIGGERED_ALERT]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_TRIGGERED_ALERT](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[ALERT_ID] [int] NOT NULL,
	[TRIGGER_DT] [datetime] NOT NULL,
	[DIMENSION] [nvarchar](100) NOT NULL,
	[ALERT_MESSAGE] [nvarchar](200) NOT NULL,
	[EXCEPTION_COLOR] [varchar](20) NOT NULL,
	[ALERT_JSON_DATASET] [text] NULL,
	[ACTIVE_UNTIL_DT] [datetime] NOT NULL,
 CONSTRAINT [TBL_VIEW_TRIGGERED_ALERT_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[ALERT_ID] ASC,
	[TRIGGER_DT] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_USER_PERMISSIONS]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_USER_PERMISSIONS](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[READ_FLAG] [numeric](1, 0) NOT NULL,
	[WRITE_FLAG] [numeric](1, 0) NOT NULL,
	[DELETE_FLAG] [numeric](1, 0) NOT NULL,
	[COPY_FLAG] [numeric](1, 0) NOT NULL,
	[SECURITY_CHECK_SUM] [char](16) NULL,
 CONSTRAINT [TBL_VIEW_USER_PERMISSIONS_PK] PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object:  Table [TBL_VIEW_USER_PROPERTIES]    Script Date: 10/05/2019 13:20:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [TBL_VIEW_USER_PROPERTIES](
	[SYSTEM_CODE] [varchar](10) NOT NULL,
	[VIEW_ID] [int] NOT NULL,
	[LOGIN_NAME] [varchar](30) NOT NULL,
	[IS_DEFAULT] [numeric](1, 0) NULL,
	[AUTOLAUNCH] [numeric](1, 0) NULL,
	[DEFAULT_OVERRIDE] [numeric](1, 0) NULL,
PRIMARY KEY CLUSTERED 
(
	[SYSTEM_CODE] ASC,
	[VIEW_ID] ASC,
	[LOGIN_NAME] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (1, N'View')
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (2, N'List')
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (3, N'Create')
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (4, N'Edit')
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (5, N'Delete')
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (6, N'Print')
INSERT [TBL_ACTION] ([ACTION_ID], [ACTION_NAME]) VALUES (7, N'Disable')
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Label_Alternate_', NULL, N'False', N'bl', N'Alternate X Axis', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Label_Angle_', NULL, N'0', N'in', N'Bottom Label Rotation', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Label_Visible_', NULL, N'True', N'bl', N'Bottom Axis Label Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Max_', NULL, N'5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_BT_Title_', NULL, N'', N'st', N'Bottom Axis Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Label_Visible_', NULL, N'True', N'bl', N'Left Axis Label Visible', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Max_', NULL, N'320', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_LF_Title_', NULL, N'', N'st', N'Left Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_RG_Title_', NULL, N'', N'st', N'Right Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_TP_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Axis_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_3D_', NULL, N'False', N'bl', N'Enable 3D Mode', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_Paging_Auto_Scale_Ax', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_Paging_Max_Points_pp', NULL, N'0', N'in', N'Items to Display', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_Title_', NULL, N'Logix 4 Chart Title', N'st', N'Chart Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_Title_Colour', NULL, N'329213', N'cp', N'Chart Title Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_Title_Font_Size', NULL, N'18', N'in', N'Chart Title Font Size', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Chart_Title_Visible_', NULL, N'False', N'bl', N'Chart Title Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'ChartListBox_Visible_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Border_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Colour_', NULL, N'8404992', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Colour_Each_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Gradient_Colour_End_', NULL, N'65535', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Gradient_Colour_Midle_', NULL, N'536870911', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Gradient_Colour_Start_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Gradient_Direction_', NULL, N'435277831', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Pattern_Colour_', NULL, N'536870912', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Pattern_Type_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Format_Style_', NULL, N'Rectangle', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Gene_BT_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Gene_LF_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Gene_RG_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Gene_TP_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Gene_Units_', NULL, N'PRC_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Alignment_', NULL, N'RG_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Format_Transp', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Frame_ Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_', NULL, N'435275776', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_CheckBox_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_DV_LN_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_DV_LN_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_FontSeriesColor_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_TextStyle_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_Visible_', NULL, N'True', N'bl', N'Legend Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Style_VT_SP_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Symbols_Gradient_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Symbols_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Symbols_Width_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Symbols_Width__Units_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Legend_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'LegendPosition_Margin_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'LegendPosition_Offset_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'LegendPosition_ResizeChart_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Arrows_Border_Colour_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Arrows_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Arrows_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Arrows_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Arrows_Distance_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Arrows_Length_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Format_Colour_', NULL, N'-16777192', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Format_Transparent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Mark_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Paging_Enabled', NULL, N'0', N'bl', N'Paging Enabled', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Paging_Number', NULL, N'0', N'in', N'Page Number', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'SeriesGeneral_Active_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'SeriesGeneral_FormatValue_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'SeriesGeneral_HorizAxis_', NULL, N'435277825', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'SeriesGeneral_Name_', NULL, N'Series1', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'SeriesGeneral_PRC_', NULL, N'0.0%', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'SeriesGeneral_VertAxis_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bar', N'Stack_MultipleBar_', NULL, N'435277825', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Inverted_', NULL, N'0', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Label_Alternate_', NULL, N'False', N'bl', N'Alternate X Axis', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Label_Angle_', NULL, N'0', N'in', N'Bottom Label Rotation', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Label_Visible_', NULL, N'True', N'bl', N'Bottom Axis Label Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Max_', NULL, N'5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_BT_Title_', NULL, N'', N'st', N'Bottom Axis Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Inverted_', NULL, N'0', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Label_Visible_', NULL, N'True', N'bl', N'Left Axis Label Visible', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Max_', NULL, N'1102.5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_LF_Title_', NULL, N'', N'st', N'Left Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Inverted_', NULL, N'0', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_RG_Title_', NULL, N'', N'st', N'Right Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Inverted_', NULL, N'0', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_TP_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Axis_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_3D_', NULL, N'False', N'bl', N'Enable 3D Mode', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_Paging_Auto_Scale_Ax', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_Paging_Max_Points_pp', NULL, N'0', N'in', N'Items to Display', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_Title_', NULL, N'Logix 4 Chart Title', N'st', N'Chart Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_Title_Colour', NULL, N'329213', N'cp', N'Chart Title Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_Title_Font_Size', NULL, N'18', N'in', N'Chart Title Font Size', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Chart_Title_Visible_', NULL, N'False', N'bl', N'Chart Title Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'ChartListBox_Visible_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Border_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Border_Style_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Colour_', NULL, N'255', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Colour_Each_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Gradient_Colour_End_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Gradient_Colour_Midle_', NULL, N'536870911', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Gradient_Colour_Start_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Gradient_Direction_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Pattern_Colour_', NULL, N'536870912', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Pattern_Type_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Format_Style_', NULL, N'RectGradient', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Gene_BT_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Gene_LF_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Gene_RG_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Gene_TP_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Gene_Units_', NULL, N'PX_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Alignment_', NULL, N'RG_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Format_Transp', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_CheckBox_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_DV_LN_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_DV_LN_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_FontSeriesColor_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_TextStyle_', NULL, N'2', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_Visible_', NULL, N'False', N'bl', N'Legend Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Style_VT_SP_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Symbols_Gradient_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Symbols_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Symbols_Width_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Symbols_Width__Units_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Legend_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'LegendPosition_Margin_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'LegendPosition_Offset_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'LegendPosition_ResizeChart_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Arrows_Border_Colour_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Arrows_Border_Style_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Arrows_Border_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Arrows_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Arrows_Distance_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Arrows_Length_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Format_Colour_', NULL, N'-16777192', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Format_Transparent_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Style_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Mark_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'SeriesGeneral_Active_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'SeriesGeneral_FormatValue_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'SeriesGeneral_HorizAxis_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'SeriesGeneral_PRC_', NULL, N'0.00%', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'SeriesGeneral_VertAxis_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Bubble', N'Stack_MultipleBar_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'ComparisionInvert', 2, N'', N'bl', N'Invert Threshold (Is 1st < 2nd desirable?)', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'PercentageDecimals', 7, N'', N'in', N'Percentage Decimals', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'ShowFirstMeasure', 4, N'', N'bl', N'Show First Measure', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'ShowPercentageValue', 6, N'', N'li', N'Show Percentage', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'ShowSecondMeasure', 5, N'', N'bl', N'Show Second Measure', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'Text', 1, N'', N'st', N'Narrative Text', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Comparison', N'UseSecondMeasureAsPrimary', 3, N'', N'bl', N'Use Second Measure As Primary', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'LowerColour', 6, N'3915605', N'cp', N'Lower Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'LowerThreshold', 3, N'0', N'in', N'Lower Threshold', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'MaxValue', 2, N'100', N'in', N'Maximum Value', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'MidColour', 7, N'909277', N'cp', N'Mid Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'MidThreshold', 4, N'100', N'in', N'Mid Threshold', 1, CAST(1 AS Numeric(1, 0)))
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'MinValue', 1, N'0', N'in', N'Minimum Value', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'UpperColour', 8, N'5460959', N'cp', N'Upper Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Gauge', N'UpperThreshold', 5, N'500', N'in', N'Upper Threshold', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Headline', N'Danger', 2, N'', N'in', N'Danger Threshold', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Headline', N'Invert', 3, N'', N'bl', N'Invert Threshold', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Headline', N'Warning', 1, N'', N'in', N'Warning Threshold', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Label_Alternate_', NULL, N'False', N'bl', N'Alternate X Axis', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Label_Angle_', NULL, N'0', N'in', N'Bottom Label Rotation', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Label_Visible_', NULL, N'True', N'bl', N'Bottom Axis Label Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Max_', NULL, N'605', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_BT_Title_', NULL, N'', N'st', N'Bottom Axis Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Label_Visible_', NULL, N'True', N'bl', N'Left Axis Label Visible', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Max_', NULL, N'5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_LF_Title_', NULL, N'', N'st', N'Left Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_RG_Title_', NULL, N'', N'st', N'Right Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_TP_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Axis_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_3D_', NULL, N'False', N'bl', N'Enable 3D Mode', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_Paging_Auto_Scale_Ax', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_Paging_Max_Points_pp', NULL, N'0', N'in', N'Items to Display', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_Title_', NULL, N'Logix 4 Chart Title', N'st', N'Chart Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_Title_Colour', NULL, N'329213', N'cp', N'Chart Title Colour', 1, CAST(1 AS Numeric(1, 0)))
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_Title_Font_Size', NULL, N'18', N'in', N'Chart Title Font Size', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Chart_Title_Visible_', NULL, N'False', N'bl', N'Chart Title Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'ChartListBox_Visible_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Border_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Colour_', NULL, N'16744448', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Colour_Each_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Gradient_Colour_End_', NULL, N'65535', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Gradient_Colour_Midle_', NULL, N'536870911', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Gradient_Colour_Start_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Gradient_Direction_', NULL, N'435277831', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Pattern_Colour_', NULL, N'536870912', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Pattern_Type_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Format_Style_', NULL, N'Rectangle', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Gene_BT_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Gene_LF_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Gene_RG_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Gene_TP_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Gene_Units_', NULL, N'PRC_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Alignment_', NULL, N'RG_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Format_Transp', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Frame_ Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_', NULL, N'435275776', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_CheckBox_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_DV_LN_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_DV_LN_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_FontSeriesColor_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_TextStyle_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_Visible_', NULL, N'True', N'bl', N'Legend Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Style_VT_SP_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Symbols_Gradient_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Symbols_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Symbols_Width_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Symbols_Width__Units_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Legend_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'LegendPosition_Margin_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'LegendPosition_Offset_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'LegendPosition_ResizeChart_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Arrows_Border_Colour_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Arrows_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Arrows_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Arrows_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Arrows_Distance_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Arrows_Length_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Format_Colour_', NULL, N'-16777192', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Format_Transparent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Mark_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Paging_Enabled', NULL, N'0', N'bl', N'Paging Enabled', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Paging_Number', NULL, N'0', N'in', N'Page Number', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'SeriesGeneral_Active_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'SeriesGeneral_FormatValue_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'SeriesGeneral_HorizAxis_', NULL, N'435277825', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'SeriesGeneral_Name_', NULL, N'Series1', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'SeriesGeneral_PRC_', NULL, N'0.0%', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'SeriesGeneral_VertAxis_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'Stack_MultipleBar_', NULL, N'435277825', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Label_Alternate_', NULL, N'False', N'bl', N'Alternate X Axis', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Label_Angle_', NULL, N'0', N'in', N'Bottom Label Rotation', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Label_Visible_', NULL, N'True', N'bl', N'Bottom Axis Label Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Max_', NULL, N'5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_BT_Title_', NULL, N'', N'st', N'Bottom Axis Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Label_Visible_', NULL, N'True', N'bl', N'Left Axis Label Visible', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Max_', NULL, N'182.5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Min_', NULL, N'5', N'fl', NULL, 1, NULL)
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_LF_Title_', NULL, N'', N'st', N'Left Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Grid_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_RG_Title_', NULL, N'', N'st', N'Right Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_TP_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Axis_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_3D_', NULL, N'False', N'bl', N'Enable 3D Mode', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_Paging_Auto_Scale_Ax', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_Paging_Max_Points_pp', NULL, N'0', N'in', N'Items to Display', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_Title_', NULL, N'Logix 4 Chart Title', N'st', N'Chart Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_Title_Colour', NULL, N'329213', N'cp', N'Chart Title Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_Title_Font_Size', NULL, N'18', N'in', N'Chart Title Font Size', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Chart_Title_Visible_', NULL, N'False', N'bl', N'Chart Title Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'ChartListBox_Visible_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Border_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Colour_', NULL, N'8404992', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Colour_Each_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Border_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Gradient_Colour_End_', NULL, N'8404992', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Gradient_Colour_Midle_', NULL, N'536870911', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Gradient_Colour_Start_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Gradient_Direction_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Gradient_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Height_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_LinePoints_Width_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Pattern_Colour_', NULL, N'536870912', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Format_Pattern_Type_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Gene_BT_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Gene_LF_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Gene_RG_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Gene_TP_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Gene_Units_', NULL, N'PRC_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Alignment_', NULL, N'RG_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Format_Transp', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Frame_ Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_', NULL, N'435275776', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_CheckBox_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_DV_LN_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_DV_LN_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_FontSeriesColor_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_TextStyle_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_Visible_', NULL, N'True', N'bl', N'Legend Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Style_VT_SP_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Symbols_Gradient_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Symbols_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Symbols_Width_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Symbols_Width__Units_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Legend_Title_', NULL, N'', N'st', NULL, 1, NULL)
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'LegendPosition_Margin_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'LegendPosition_Offset_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'LegendPosition_ResizeChart_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Arrows_Border_Colour_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Arrows_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Arrows_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Arrows_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Arrows_Distance_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Arrows_Length_', NULL, N'8', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Format_Colour_', NULL, N'-16777192', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Format_Transparent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Mark_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Paging_Enabled', NULL, N'0', N'bl', N'Paging Enabled', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'Paging_Number', NULL, N'0', N'in', N'Page Number', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'SeriesGeneral_Active_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'SeriesGeneral_FormatValue_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'SeriesGeneral_HorizAxis_', NULL, N'435277825', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'SeriesGeneral_Name_', NULL, N'Series1', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'SeriesGeneral_PRC_', NULL, N'0.0%', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Line', N'SeriesGeneral_VertAxis_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Map', N'LogixColour', 3, N'0', N'bl', N'Has Colour Field', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Map', N'MapStyle', 1, N'Points', N'li', N'Map Style', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Map', N'MarkerColour', 2, N'3915605', N'cp', N'Marker Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Label_Alternate_', NULL, N'False', N'bl', N'Alternate X Axis', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Label_Angle_', NULL, N'0', N'in', N'Bottom Label Rotation', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Label_Visible_', NULL, N'True', N'bl', N'Bottom Axis Label Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Max_', NULL, N'5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_BT_Title_', NULL, N'', N'st', N'Bottom Axis Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Label_Visible_', NULL, N'True', N'bl', N'Left Axis Label Visible', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Max_', NULL, N'72.5', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Min_', NULL, N'-7.99360577730113E-15', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_LF_Title_', NULL, N'', N'st', N'Left Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_RG_Title_', NULL, N'', N'st', N'Right Axis Title', 1, CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Auto_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Format_DefAlignment_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Format_Exponent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Format_IsDateType_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Format_LabelFormat_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Grid_Color_', NULL, N'8421504', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Grid_Minor_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Grid_SmallDot_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Grid_SmallSpace_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Grid_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
GO
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Grid_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Label_Alternate_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Label_Angle_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Label_Min-Separate_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Label_Mlt-Line_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Label_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Max_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Min_', NULL, N'0', N'fl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Scale_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Scale_Max_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Scale_Min_Offset_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_TP_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Axis_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_3D_', NULL, N'False', N'bl', N'Enable 3D Mode', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_Paging_Auto_Scale_Ax', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_Paging_Max_Points_pp', NULL, N'0', N'in', N'Items to Display', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_Title_', NULL, N'Logix 4 Chart Title', N'st', N'Chart Title', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_Title_Colour', NULL, N'329213', N'cp', N'Chart Title Colour', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_Title_Font_Size', NULL, N'18', N'in', N'Chart Title Font Size', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Chart_Title_Visible_', NULL, N'False', N'bl', N'Chart Title Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'ChartListBox_Visible_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Border_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Colour_', NULL, N'255', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Colour_Each_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Gradient_Colour_End_', NULL, N'65535', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Gradient_Colour_Midle_', NULL, N'536870911', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Gradient_Colour_Start_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Gradient_Direction_', NULL, N'435277831', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Gradient_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Pattern_Colour_', NULL, N'536870912', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Format_Pattern_Type_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Gene_BT_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Gene_LF_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Gene_RG_', NULL, N'3', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Gene_TP_', NULL, N'4', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Gene_Units_', NULL, N'PRC_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Alignment_', NULL, N'RG_', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Format_Transp', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Frame_ Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_', NULL, N'435275776', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_CheckBox_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_DV_LN_Colour_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_DV_LN_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_FontSeriesColor_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_Inverted_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_TextStyle_', NULL, N'2', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_Visible_', NULL, N'True', N'bl', N'Legend Visible', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Style_VT_SP_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Symbols_Gradient_Visible_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Symbols_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Symbols_Width_', NULL, N'20', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Symbols_Width__Units_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Legend_Title_', NULL, N'', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'LegendPosition_Margin_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'LegendPosition_Offset_', NULL, N'10', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'LegendPosition_ResizeChart_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Arrows_Border_Colour_', NULL, N'16777215', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Arrows_Border_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Arrows_Border_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Arrows_Border_Width_', NULL, N'1', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Arrows_Distance_', NULL, N'0', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Arrows_Length_', NULL, N'8', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Format_Colour_', NULL, N'-16777192', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Format_Transparent_', NULL, N'False', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Style_', NULL, N'435277824', N'in', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Mark_Visible_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Paging_Enabled', NULL, N'0', N'bl', N'Paging Enabled', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'Paging_Number', NULL, N'0', N'in', N'Page Number', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'SeriesGeneral_Active_', NULL, N'True', N'bl', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'SeriesGeneral_FormatValue_', NULL, N'0,', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'SeriesGeneral_Name_', NULL, N'Series1', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pie', N'SeriesGeneral_PRC_', NULL, N'0.0%', N'st', NULL, 1, NULL)
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pivot', N'ColumnAreaField', 3, N'', N'fp', N'Column Area Field', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pivot', N'DataAreaField', 1, N'', N'fp', N'Data Area Field', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pivot', N'RowAreaField', 2, N'', N'fp', N'Row Area Field', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Pivot', N'SummaryType', 4, N'', N'li', N'Summary Type', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES] ([SYSTEM_CODE], [TEMPLATE_NAME], [PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [ISACTIVE], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'Scatter', N'Threshold', 1, N'false', N'bl', N'Display Threshold', 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'MapStyle', 1, N'Heatmap')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'MapStyle', 2, N'Points')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 0, N'Value')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 1, N'Percent')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 2, N'Label')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 3, N'LabelPercent')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 4, N'LabelValue')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 5, N'Legend')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'Mark_Style_', 13, N'LabelValuePercent')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'ShowPercentageValue', 1, N'Difference as a %')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'ShowPercentageValue', 2, N'M1 as a % of M2')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'stack_MultipleBar_', 0, N'None')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'stack_MultipleBar_', 1, N'Side')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'stack_MultipleBar_', 2, N'Stacked')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'stack_MultipleBar_', 3, N'Stacked 100%')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'SummaryType', 1, N'Average')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'SummaryType', 2, N'Count')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'SummaryType', 4, N'Max')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'SummaryType', 5, N'Min')
INSERT [TBL_CHART_PROPERTIES_LIST] ([PROPERTY_NAME], [PROPERTY_ID], [PROPERTY_VALUE]) VALUES (N'SummaryType', 6, N'Sum')
INSERT [TBL_CHART_SERIES] ([SYSTEM_CODE], [SERIES_TYPE], [SERIES_NAME]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Bar Series')
INSERT [TBL_CHART_SERIES] ([SYSTEM_CODE], [SERIES_TYPE], [SERIES_NAME]) VALUES (:SYSTEM_CODE, N'bubble', N'Bubble Series')
INSERT [TBL_CHART_SERIES] ([SYSTEM_CODE], [SERIES_TYPE], [SERIES_NAME]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Horizontal Bar Series')
INSERT [TBL_CHART_SERIES] ([SYSTEM_CODE], [SERIES_TYPE], [SERIES_NAME]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Line Series')
INSERT [TBL_CHART_SERIES] ([SYSTEM_CODE], [SERIES_TYPE], [SERIES_NAME]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Pie Series')
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Colour_', N'', N'cp', N'Colour', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Colour_Each_', N'0', N'bl', N'Colour Each', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Gradient_Colour_End_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Gradient_Colour_Midle_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Gradient_Colour_Start_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Gradient_Direction_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Gradient_Colour_End_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Gradient_Colour_Midle_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Gradient_Colour_Start_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Gradient_Direction_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Gradient_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Height_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_LinePoints_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Pattern_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Pattern_Type_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Format_Style_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Arrows_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Arrows_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Arrows_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Arrows_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Arrows_Distance_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Arrows_Length_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Format_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Format_Transparent_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Style_', N'0', N'li', N'Mark Style', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Mark_Visible_', N'1', N'bl', N'Marks Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_Active_', N'1', N'bl', N'Series Active', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_FormatValue_', N'0,.00', N'st', N'Series Format', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_HorizAxis_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_LeftAxis_Label', N'', N'st', N'Left Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_LeftAxis_Visible', N'', N'bl', N'Left Axis Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_Name_', N'', N'st', N'Series Name', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_PRC_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_RightAxis_Label', N'', N'st', N'Right Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'SeriesGeneral_VertAxis_', N'', N'bl', N'Enable Right Axis', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'BarSeries', N'Stack_MultipleBar_', N'0', N'li', N'Stack Type', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Colour_', N'', N'cp', N'Colour', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Colour_Each_', N'0', N'bl', N'Colour Each', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Gradient_Colour_End_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Gradient_Colour_Midle_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Gradient_Colour_Start_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Gradient_Direction_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Pattern_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Pattern_Type_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Format_Style_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Arrows_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Arrows_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Arrows_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Arrows_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Arrows_Distance_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Arrows_Length_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Format_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Format_Transparent_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Style_', N'0', N'li', N'Mark Style', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'Mark_Visible_', N'1', N'bl', N'Marks Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_Active_', N'1', N'bl', N'Series Active', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_FormatValue_', N'0,.00', N'st', N'Series Format', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_HorizAxis_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_LeftAxis_Label', N'', N'st', N'Left Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_LeftAxis_Visible', N'', N'bl', N'Left Axis Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_Name_', N'', N'st', N'Series Name', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_PRC_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_RightAxis_Label', N'', N'st', N'Right Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'bubble', N'SeriesGeneral_VertAxis_', N'', N'bl', N'Enable Right Axis', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Colour_', N'', N'cp', N'Colour', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Colour_Each_', N'0', N'bl', N'Colour Each', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Gradient_Colour_End_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Gradient_Colour_Midle_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Gradient_Colour_Start_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Gradient_Direction_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Pattern_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Pattern_Type_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Format_Style_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Arrows_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Arrows_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Arrows_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Arrows_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Arrows_Distance_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Arrows_Length_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Format_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Format_Transparent_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Style_', N'0', N'li', N'Mark Style', CAST(1 AS Numeric(1, 0)))
GO
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Mark_Visible_', N'1', N'bl', N'Marks Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_Active_', N'1', N'bl', N'Series Active', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_FormatValue_', N'0,.00', N'st', N'Series Format', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_HorizAxis_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_LeftAxis_Label', N'', N'st', N'Left Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_LeftAxis_Visible', N'', N'bl', N'Left Axis Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_Name_', N'', N'st', N'Series Name', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_PRC_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_RightAxis_Label', N'', N'st', N'Right Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'SeriesGeneral_VertAxis_', N'', N'bl', N'Enable Right Axis', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'HorizBarSeries', N'Stack_MultipleBar_', N'0', N'li', N'Stack Type', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Colour_', N'', N'cp', N'Colour', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Colour_Each_', N'0', N'bl', N'Colour Each', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Gradient_Colour_End_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Gradient_Colour_Midle_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Gradient_Colour_Start_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Gradient_Direction_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Gradient_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Height_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_LinePoints_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Pattern_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Format_Pattern_Type_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Arrows_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Arrows_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Arrows_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Arrows_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Arrows_Distance_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Arrows_Length_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Format_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Format_Transparent_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Style_', N'0', N'li', N'Mark Style', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'Mark_Visible_', N'1', N'bl', N'Marks Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_Active_', N'1', N'bl', N'Series Active', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_FormatValue_', N'0,.00', N'st', N'Series Format', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_HorizAxis_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_LeftAxis_Label', N'', N'st', N'Left Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_LeftAxis_Visible', N'', N'bl', N'Left Axis Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_Name_', N'', N'st', N'Series Name', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_PRC_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_RightAxis_Label', N'', N'st', N'Right Axis Label', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'LineSeries', N'SeriesGeneral_VertAxis_', N'', N'bl', N'Enable Right Axis', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Colour_', N'', N'cp', N'Colour', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Colour_Each_', N'1', N'bl', N'Colour Each', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Gradient_Colour_End_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Gradient_Colour_Midle_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Gradient_Colour_Start_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Gradient_Direction_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Gradient_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Pattern_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Format_Pattern_Type_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Arrows_Border_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Arrows_Border_Style_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Arrows_Border_Visible_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Arrows_Border_Width_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Arrows_Distance_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Arrows_Length_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Format_Colour_', N'', N'in', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Format_Transparent_', N'', N'bl', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Style_', N'0', N'li', N'Mark Style', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'Mark_Visible_', N'1', N'bl', N'Marks Visible', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'SeriesGeneral_Active_', N'1', N'bl', N'Series Active', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'SeriesGeneral_FormatValue_', N'0,.00', N'st', N'Series Format', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'SeriesGeneral_Name_', N'', N'st', N'Series Name', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_CHART_SERIES_PROPERTIES] ([SYSTEM_CODE], [SERIES_TYPE], [PROPERTY_NAME], [PROPERTY_VALUE], [PROPERTY_TYPE], [PROPERTY_DESCRIPTION], [UI_VISIBLE]) VALUES (:SYSTEM_CODE, N'PieSeries', N'SeriesGeneral_PRC_', N'', N'st', N'', CAST(0 AS Numeric(1, 0)))
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Bar', N'BarSeries', NULL, 1, NULL, NULL, NULL, NULL)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Bubble', N'Bubble', NULL, 1, 1, NULL, 1, NULL)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Comparison', N'Comparison', NULL, 1, 2, 2, NULL, 0)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Gauge', N'Gauge', NULL, 1, 1, 1, NULL, 0)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Headline', N'Headline', NULL, 1, 1, 1, NULL, 0)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Horizontal Bar', N'HorizBarSeries', NULL, 1, NULL, NULL, NULL, NULL)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Line', N'LineSeries', NULL, 1, NULL, NULL, NULL, NULL)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Map', N'MapSeries', NULL, 1, NULL, 0, NULL, 0)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Pie', N'PieSeries', NULL, 1, NULL, NULL, NULL, NULL)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Pivot', N'Pivot', NULL, 1, 0, 0, 0, 0)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'Scatter', N'Scatter', NULL, 1, 1, NULL, 1, NULL)
INSERT [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME], [CHART_TYPE], [TEMPLATE_DESCRIPTION], [ISACTIVE], [MIN_MEASURE], [MAX_MEASURE], [MIN_GROUP], [MAX_GROUP]) VALUES (:SYSTEM_CODE, N'WordCloud', N'Word Cloud', NULL, 1, 1, NULL, 1, NULL)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (1, 1, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (2, 2, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (3, 3, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (4, 4, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (5, 5, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (6, 6, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (7, 7, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (8, 8, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (9, 8, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (10, 8, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (11, 8, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (12, 8, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (13, 8, 6)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (14, 9, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (15, 9, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (16, 10, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (17, 11, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (18, 12, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (19, 13, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (20, 14, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (21, 15, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (22, 15, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (23, 15, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (24, 15, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (27, 16, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (28, 16, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (29, 16, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (30, 16, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (31, 16, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (33, 17, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (34, 17, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (35, 17, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (36, 17, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (37, 17, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (38, 18, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (39, 18, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (40, 18, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (41, 18, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (42, 18, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (43, 19, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (44, 19, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (45, 19, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (46, 20, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (47, 21, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (48, 21, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (49, 21, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (50, 21, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (51, 21, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (52, 21, 6)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (53, 22, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (54, 23, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (55, 23, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (56, 23, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (57, 23, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (58, 23, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (59, 23, 6)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (60, 24, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (61, 24, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (62, 24, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (63, 24, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (64, 24, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (65, 24, 6)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (66, 25, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (67, 25, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (68, 25, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (69, 25, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (70, 26, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (71, 26, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (72, 26, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (73, 26, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (74, 27, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (75, 27, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (76, 27, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (77, 27, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (78, 28, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (79, 28, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (80, 28, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (81, 28, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (82, 29, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (83, 29, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (84, 29, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (85, 29, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (86, 30, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (87, 30, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (88, 30, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (89, 30, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (90, 30, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (91, 31, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (92, 31, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (93, 32, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (94, 32, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (95, 33, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (96, 33, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (97, 34, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (98, 34, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (99, 35, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (100, 36, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (101, 37, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (102, 38, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (103, 39, 1)
GO
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (104, 40, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (105, 41, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (106, 41, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (107, 41, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (108, 41, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (109, 41, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (110, 42, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (111, 42, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (112, 42, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (113, 42, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (114, 42, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (115, 22, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (116, 22, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (117, 22, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (118, 22, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (119, 43, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (120, 43, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (121, 43, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (122, 43, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (123, 43, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (125, 44, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (126, 44, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (127, 44, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (128, 44, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (129, 33, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (130, 45, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (131, 45, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (132, 45, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (133, 45, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (134, 45, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (135, 46, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (136, 46, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (137, 46, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (138, 46, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (139, 46, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (140, 47, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (141, 47, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (142, 47, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (143, 47, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (144, 47, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (145, 44, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (146, 13, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (147, 15, 7)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (148, 48, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (149, 49, 1)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (150, 49, 2)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (151, 49, 3)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (152, 49, 5)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (153, 49, 4)
INSERT [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID], [COMPONENT_ID], [ACTION_ID]) VALUES (154, 50, 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (1, N'LogixEnterprise', CAST(1 AS Numeric(1, 0)), N'LogixEnterprise', N'LogixEnterprise', N'LogixEnterprise', NULL)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (2, N'LogixDesktop', CAST(1 AS Numeric(1, 0)), N'LogixDesktop', N'LogixDesktop', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (3, N'LogixWeb', CAST(1 AS Numeric(1, 0)), N'LogixWeb', N'LogixWeb', N'Default', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (4, N'LogixEco', CAST(1 AS Numeric(1, 0)), N'LogixEco', N'LogixEco', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (5, N'Export', CAST(0 AS Numeric(1, 0)), N'Export', N'Export', N'Export', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (6, N'EnhancedExport', CAST(1 AS Numeric(1, 0)), N'EnhancedExport', N'EnhancedExport', N'', 5)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (7, N'ExportTo', CAST(0 AS Numeric(1, 0)), N'ExportTo', N'ExportTo', N'', 5)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (8, N'View', CAST(0 AS Numeric(1, 0)), N'View', N'View', N'Content', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (9, N'Chart', CAST(0 AS Numeric(1, 0)), N'Chart', N'Chart', N'', 8)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (10, N'Pivot', CAST(0 AS Numeric(1, 0)), N'Pivot', N'Pivot', N'', 8)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (11, N'Group', CAST(0 AS Numeric(1, 0)), N'Group', N'Group', N'', 8)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (12, N'Filter', CAST(0 AS Numeric(1, 0)), N'Filter', N'Filter', N'', 8)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (13, N'Administration', CAST(0 AS Numeric(1, 0)), N'AdminDashboard', N'Administration', N'AccountMaintenance', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (14, N'Security', CAST(0 AS Numeric(1, 0)), N'Security', N'Security', N'', 13)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (15, N'Users', CAST(0 AS Numeric(1, 0)), N'Membership', N'Users', N'', 14)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (16, N'Groups', CAST(0 AS Numeric(1, 0)), N'Role', N'Groups', N'', 14)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (17, N'Permissions', CAST(0 AS Numeric(1, 0)), N'Permissions', N'Permissions', N'', 14)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (18, N'UserFields', CAST(0 AS Numeric(1, 0)), N'UserField', N'UserFields', N'', 14)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (19, N'Licensing', CAST(0 AS Numeric(1, 0)), N'License', N'Licensing', N'', 13)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (20, N'DataFederation', CAST(0 AS Numeric(1, 0)), N'DataFederation', N'DataFederation', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (21, N'Services', CAST(0 AS Numeric(1, 0)), N'Services', N'Services', N'', 20)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (22, N'Objects', CAST(0 AS Numeric(1, 0)), N'Object', N'Objects', N'', 20)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (23, N'PermissionGroup', CAST(0 AS Numeric(1, 0)), N'PermissionGroup', N'PermissionGroup', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (24, N'Icons', CAST(0 AS Numeric(1, 0)), N'Icons', N'Icons', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (25, N'GuiMeta', CAST(0 AS Numeric(1, 0)), N'GuiMeta', N'GuiMeta', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (26, N'Parameters', CAST(0 AS Numeric(1, 0)), N'Parameters', N'Parameters', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (27, N'Provider', CAST(0 AS Numeric(1, 0)), N'Provider', N'Provider', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (28, N'Drilldown', CAST(0 AS Numeric(1, 0)), N'Drilldown', N'Drilldown', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (29, N'Meta', CAST(0 AS Numeric(1, 0)), N'Meta', N'Meta', N'', 22)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (30, N'Dashboards', CAST(1 AS Numeric(1, 0)), N'Dashboards', N'Dashboards', N'Dash', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (31, N'Comment', CAST(0 AS Numeric(1, 0)), N'Comment', N'Comment', N'DashViewCommentControl', 30)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (32, N'Settings', CAST(0 AS Numeric(1, 0)), N'Settings', N'Settings', N'DashItemSettingsControl', 30)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (33, N'Favourites', CAST(0 AS Numeric(1, 0)), N'Favourites', N'Favourites', N'Favourites', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (34, N'AutoLuanch', CAST(0 AS Numeric(1, 0)), N'AutoLuanch', N'AutoLuanch', N'AutoLuanch', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (35, N'RDBMS', CAST(1 AS Numeric(1, 0)), N'RDBMS', N'RDBMS', N'', 23)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (36, N'FORCE.COM', CAST(1 AS Numeric(1, 0)), N'FORCE.COM', N'FORCE.COM', N'', 23)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (37, N'TWITTER', CAST(1 AS Numeric(1, 0)), N'TWITTER', N'TWITTER', N'', 23)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (38, N'LOGIXCACHE', CAST(1 AS Numeric(1, 0)), N'LOGIXCACHE', N'LOGIXCACHE', N'', 23)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (39, N'REST', CAST(1 AS Numeric(1, 0)), N'REST', N'REST', N'', 23)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (40, N'ENVIRONMENT', CAST(0 AS Numeric(1, 0)), N'Environment', N'Environment', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (41, N'SYSTEM', CAST(0 AS Numeric(1, 0)), N'Systems', N'System', N'', 40)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (42, N'DataConnector', CAST(0 AS Numeric(1, 0)), N'DataConnector', N'DataConnector', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (43, N'Fields', CAST(0 AS Numeric(1, 0)), N'FieldsArea', N'FieldsArea', N'', 4)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (44, N'Workspace', CAST(0 AS Numeric(1, 0)), N'Workspace', N'Visualiser', N'', 4)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (45, N'DatasetGroups', CAST(0 AS Numeric(1, 0)), N'Datasets', N'DatasetGroups', N'20', 0)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (46, N'Reporting', CAST(0 AS Numeric(1, 0)), N'Report', N'Report', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (47, N'Scheduling', CAST(0 AS Numeric(1, 0)), N'Schedule', N'Schedule', N'', 1)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (48, N'Analyser', CAST(0 AS Numeric(1, 0)), N'Analyser', N'Analyser', N'', 4)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (49, N'Folder', CAST(0 AS Numeric(1, 0)), N'Folder', N'Folders', N'', 20)
INSERT [TBL_COMPONENT_DETAIL] ([COMPONENT_ID], [COMPONENT_NAME], [IS_LICENSED], [CONTROLLER_NAME], [ITEM_NAME], [PAGE_NAME], [PARENT_ID]) VALUES (50, N'Spreadsheet', CAST(0 AS Numeric(1, 0)), N'Spreadsheet', N'Spreadsheet', N'', 4)
INSERT [TBL_DASHBOARD] ([SYSTEM_CODE], [DASHBOARD_ID], [DASHBOARD_NAME], [DISPLAY_NAME], [OWNER_LOGIN_NAME], [PRIVATE_FLAG], [DESCRIPTION], [ICON_ID], [LAYOUT_ID], [AUTO_LAUNCH], [DASHBOARD_THEME], [FILTER_ZONE_ID], [PERMISSION_GROUP_ID], [FOLDER_ID], [DASHBOARD_ZONE_MODEL], [FOLDER_SORT_ID]) VALUES (:SYSTEM_CODE, 2, N'PUBLISHERs dashboard', N'PUBLISHERs dashboard', N'PUBLISHER', CAST(1 AS Numeric(1, 0)), NULL, NULL, 1, NULL, N'default', NULL, 1, NULL, NULL, NULL)
INSERT [TBL_DASHBOARD_GROUP] ([SYSTEM_CODE], [GROUP_ID], [GROUP_NAME], [DESCRIPTION]) VALUES (:SYSTEM_CODE, 1, N'My Dashboards', N'My Dashboards')
INSERT [TBL_DASHBOARD_GROUP] ([SYSTEM_CODE], [GROUP_ID], [GROUP_NAME], [DESCRIPTION]) VALUES (:SYSTEM_CODE, 2, N'Shared Dashboards', N'Shared Dashboards')
INSERT [TBL_DASHBOARD_LAYOUT] ([SYSTEM_CODE], [LAYOUT_ID], [LAYOUT_NAME], [LAYOUT_TYPE], [LAYOUT_ICON_ID], [MAX_PANELS]) VALUES (:SYSTEM_CODE, 1, N'2 ZONE', N'PANEL', NULL, 8)
INSERT [TBL_DASHBOARD_LAYOUT] ([SYSTEM_CODE], [LAYOUT_ID], [LAYOUT_NAME], [LAYOUT_TYPE], [LAYOUT_ICON_ID], [MAX_PANELS]) VALUES (:SYSTEM_CODE, 2, N'1 ZONE', N'PANEL', NULL, 5)
INSERT [TBL_DASHBOARD_LAYOUT] ([SYSTEM_CODE], [LAYOUT_ID], [LAYOUT_NAME], [LAYOUT_TYPE], [LAYOUT_ICON_ID], [MAX_PANELS]) VALUES (:SYSTEM_CODE, 3, N'3 ZONE', N'PANEL', NULL, 9)
INSERT [TBL_DASHBOARD_LAYOUT] ([SYSTEM_CODE], [LAYOUT_ID], [LAYOUT_NAME], [LAYOUT_TYPE], [LAYOUT_ICON_ID], [MAX_PANELS]) VALUES (:SYSTEM_CODE, 4, N'2 ZONE SMALL/LARGE', N'PANEL', NULL, 8)
INSERT [TBL_DASHBOARD_LAYOUT] ([SYSTEM_CODE], [LAYOUT_ID], [LAYOUT_NAME], [LAYOUT_TYPE], [LAYOUT_ICON_ID], [MAX_PANELS]) VALUES (:SYSTEM_CODE, 5, N'Full Page Grid', N'GRID', NULL, 1)
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 1, 1, 630, 300, 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 1, 2, 630, 300, 2, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 2, 1, 1260, 300, 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 3, 1, 410, 300, 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 3, 2, 410, 300, 2, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 3, 3, 410, 300, 3, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 4, 1, 360, 300, 1, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_LAYOUT_ZONE] ([SYSTEM_CODE], [LAYOUT_ID], [ZONE_ID], [ZONE_WIDTH], [ZONE_HEIGHT], [ZONE_ORDER], [CAN_ZONE_GROW]) VALUES (:SYSTEM_CODE, 4, 2, 900, 300, 2, CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DASHBOARD_USER_PERMISSIONS] ([SYSTEM_CODE], [DASHBOARD_ID], [LOGIN_NAME], [READ_FLAG], [WRITE_FLAG], [DELETE_FLAG], [COPY_FLAG], [SECURITY_CHECK_SUM], [FORCE_CACHE_REFRESH_FLAG]) VALUES (:SYSTEM_CODE, 2, N'PUBLISHER', CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), N'                ', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DATA_CONNECTOR_USER_PERMISSIONS] ([SYSTEM_CODE], [CONNECTION_ID], [LOGIN_NAME], [PERMISSION_GROUP_ID], [READ_FLAG], [WRITE_FLAG], [DELETE_FLAG]) VALUES (:SYSTEM_CODE, 1, N'PUBLISHER', NULL, CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DATA_CONNECTOR_USER_PERMISSIONS] ([SYSTEM_CODE], [CONNECTION_ID], [LOGIN_NAME], [PERMISSION_GROUP_ID], [READ_FLAG], [WRITE_FLAG], [DELETE_FLAG]) VALUES (:SYSTEM_CODE, 2, N'PUBLISHER', NULL, CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DATABASE_ATTRIBUTES] ([SYSTEM_CODE], [DATABASE_VERSION], [DIALECT]) VALUES (N'LOGIX', N'2.1.0.48', N'MSSQL2000')
INSERT [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID], [ALIAS_NAME], [DRIVER_NAME], [SERVER_NAME], [INSTANCE_NAME], [USER_NAME], [PASSWORD], [SERVER_IP], [PORT_NUMBER], [DATABASE_TYPE], [ISACTIVE], [CLIENT_ID], [CLIENT_SECRET], [IsDatamart], [NOTES], [ISREMOTESITE], [DATACONNECTOR_LIST], [SOURCE_CONNECTION_ID], [PUBLIC_DOMAIN_NAME], [PUBLIC_IP_ADDRESS]) VALUES (:SYSTEM_CODE, 1, N'default', N'REDISCACHE', N'localhost', N'default', NULL, NULL, NULL, 6379, N'LOGIXCACHE', CAST(1 AS Numeric(1, 0)), NULL, NULL, NULL, NULL, CAST(0 AS Numeric(1, 0)), NULL, NULL, NULL, NULL)
INSERT [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID], [ALIAS_NAME], [DRIVER_NAME], [SERVER_NAME], [INSTANCE_NAME], [USER_NAME], [PASSWORD], [SERVER_IP], [PORT_NUMBER], [DATABASE_TYPE], [ISACTIVE], [CLIENT_ID], [CLIENT_SECRET], [IsDatamart], [NOTES], [ISREMOTESITE], [DATACONNECTOR_LIST], [SOURCE_CONNECTION_ID], [PUBLIC_DOMAIN_NAME], [PUBLIC_IP_ADDRESS]) VALUES (:SYSTEM_CODE, 2, N'CODALIVE', NULL, N'.\', N'CODALIVE_COPY', N'A470A83EC068505DFB76', N'8055D74EDC71343C', NULL, 0, N'SQLSERVER', CAST(1 AS Numeric(1, 0)), NULL, NULL, CAST(0 AS Numeric(1, 0)), NULL, CAST(0 AS Numeric(1, 0)), NULL, NULL, NULL, NULL)
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'$0', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'€0', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'£0', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'0', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'0%', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'0,', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 3, N'US$0', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'$0,.00', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'€0,.00', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'£0,.00', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'0,.00', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'0.00', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'0.00%', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 6, N'US$0,.00', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 11, N'dd/MM/yyyy', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 11, N'dd/MMM/yyyy', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 11, N'dd/MMM/yyyy hh:mm', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_DISPLAY_MASK_FORMATS] ([SYSTEM_CODE], [DATA_TYPE], [DISPLAY_FORMAT], [VISIBLE_FLAG]) VALUES (:SYSTEM_CODE, 11, N'MM/dd/yyyy', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (1, N'Integer', N'Integer')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (2, N'String', N'String')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (3, N'Datetime', N'Datetime')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (4, N'Boolean', N'Boolean')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (5, N'Float', N'Float')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (6, N'Cursor', N'Cursor')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (7, N'Guid', N'Guid')
INSERT [TBL_FIELD_TYPE] ([FIELD_TYPE_ID], [FIELD_TYPE_NAME], [FIELD_TYPE_DESC]) VALUES (8, N'Timestamp', N'Timestamp')
INSERT [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID], [DESCRIPTION], [DISABLED_FLAG], [AUTHENTICATE_AGAINST_CALLISTO], [AUTHENTICATE_AGAINST_DOMAINS], [GROUP_NOTES], [PERMISSION_SET_ID]) VALUES (:SYSTEM_CODE, 0, N'Administrators', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), N'', NULL, 1)
INSERT [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID], [DESCRIPTION], [DISABLED_FLAG], [AUTHENTICATE_AGAINST_CALLISTO], [AUTHENTICATE_AGAINST_DOMAINS], [GROUP_NOTES], [PERMISSION_SET_ID]) VALUES (:SYSTEM_CODE, 1, N'Publishers', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), N'', NULL, 1)
INSERT [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID], [DESCRIPTION], [DISABLED_FLAG], [AUTHENTICATE_AGAINST_CALLISTO], [AUTHENTICATE_AGAINST_DOMAINS], [GROUP_NOTES], [PERMISSION_SET_ID]) VALUES (:SYSTEM_CODE, 2, N'Users', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), N'', NULL, 1)
INSERT [TBL_GROUP_MEMBERSHIP] ([SYSTEM_CODE], [GROUP_ID], [LOGIN_NAME], [PRIMARY_FLAG], [AUTHENTICATION_FLAG], [PERMISSIONS_FLAG], [SECURITY_CHECK_SUM]) VALUES (:SYSTEM_CODE, 0, N'ADMIN', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL)
INSERT [TBL_GROUP_MEMBERSHIP] ([SYSTEM_CODE], [GROUP_ID], [LOGIN_NAME], [PRIMARY_FLAG], [AUTHENTICATION_FLAG], [PERMISSIONS_FLAG], [SECURITY_CHECK_SUM]) VALUES (:SYSTEM_CODE, 1, N'PUBLISHER', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL)
INSERT [TBL_GROUP_MEMBERSHIP] ([SYSTEM_CODE], [GROUP_ID], [LOGIN_NAME], [PRIMARY_FLAG], [AUTHENTICATION_FLAG], [PERMISSIONS_FLAG], [SECURITY_CHECK_SUM]) VALUES (:SYSTEM_CODE, 2, N'TESTUSER', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL)
INSERT [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID], [DESCRIPTION], [NOTES], [ALT_TEXT]) VALUES (:SYSTEM_CODE, 1, N'Green Arrow', NULL, NULL)
INSERT [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID], [DESCRIPTION], [NOTES], [ALT_TEXT]) VALUES (:SYSTEM_CODE, 2, N'Amber Arrow', NULL, NULL)
INSERT [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID], [DESCRIPTION], [NOTES], [ALT_TEXT]) VALUES (:SYSTEM_CODE, 3, N'Red Arrow', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 1, N'DESKTOP', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F3F3DBDBDBCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFDBDBDBF3F3F3DCDCDC959595717171707070707070707070707070707070707070707070707070707070707070717171959595DCDCDC51B22851B53751B43051B32A50B12250B11A50AF1250AF0C4FAE064FAE034FAE0450AE0950AF0F50B0137F7F7FD7D7D75AB94852BC5E52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BC5951AC1DA0A0A0E7E7E7A4D59152BC5B52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BA53659547C9C9C9F8F8F8F3F9EE5BB94853BF6A53BF6E53BF6E53BF6E52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52AF31A2A89DE9E9E9FFFFFFFFFFFFBBDFA855BD5E5FC3785FC3785DC37759C17455C07052BF6D52BF6D52BF6D52BA526F9358D1D1D1FBFBFBFFFFFFFFFFFFFFFFFF64BB4968C57B70C8886EC88669C68162C47B5AC27454C06F52BF6A53AA36AEAEAEEDEDEDFFFFFFFFFFFFFFFFFFFFFFFFC6E3B25DBF6482CE987FCD9679CB9071C98967C6805DC37753BB58789563D7D7D7FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF78C3657FCC9191D3A68AD1A080CE9775CA8C66C57C57A242B6B6B6F0F0F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0E7BD5CBE61A4DAB69AD7AE8ED2A481CE985FBF62839A75DDDDDDFCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8ECD7D89D19AAADDBB9BD7AF81CE965C9C4EC0C0C0F5F5F5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE8F3DE58BC56B1E0C0A6DBB763C16C949F8AE3E3E3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA4D69773CA8A79CC9070A263CECECEF8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F9EE5AB73F59B744D4DACFF2F2F2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 1, N'MOBILE', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F3F3DBDBDBCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFDBDBDBF3F3F3DCDCDC959595717171707070707070707070707070707070707070707070707070707070707070717171959595DCDCDC51B22851B53751B43051B32A50B12250B11A50AF1250AF0C4FAE064FAE034FAE0450AE0950AF0F50B0137F7F7FD7D7D75AB94852BC5E52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BC5951AC1DA0A0A0E7E7E7A4D59152BC5B52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BA53659547C9C9C9F8F8F8F3F9EE5BB94853BF6A53BF6E53BF6E53BF6E52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52AF31A2A89DE9E9E9FFFFFFFFFFFFBBDFA855BD5E5FC3785FC3785DC37759C17455C07052BF6D52BF6D52BF6D52BA526F9358D1D1D1FBFBFBFFFFFFFFFFFFFFFFFF64BB4968C57B70C8886EC88669C68162C47B5AC27454C06F52BF6A53AA36AEAEAEEDEDEDFFFFFFFFFFFFFFFFFFFFFFFFC6E3B25DBF6482CE987FCD9679CB9071C98967C6805DC37753BB58789563D7D7D7FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF78C3657FCC9191D3A68AD1A080CE9775CA8C66C57C57A242B6B6B6F0F0F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0E7BD5CBE61A4DAB69AD7AE8ED2A481CE985FBF62839A75DDDDDDFCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8ECD7D89D19AAADDBB9BD7AF81CE965C9C4EC0C0C0F5F5F5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE8F3DE58BC56B1E0C0A6DBB763C16C949F8AE3E3E3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA4D69773CA8A79CC9070A263CECECEF8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F9EE5AB73F59B744D4DACFF2F2F2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 1, N'WEB', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F3F3DBDBDBCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFDBDBDBF3F3F3DCDCDC959595717171707070707070707070707070707070707070707070707070707070707070717171959595DCDCDC51B22851B53751B43051B32A50B12250B11A50AF1250AF0C4FAE064FAE034FAE0450AE0950AF0F50B0137F7F7FD7D7D75AB94852BC5E52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BC5951AC1DA0A0A0E7E7E7A4D59152BC5B52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52BA53659547C9C9C9F8F8F8F3F9EE5BB94853BF6A53BF6E53BF6E53BF6E52BF6D52BF6D52BF6D52BF6D52BF6D52BF6D52AF31A2A89DE9E9E9FFFFFFFFFFFFBBDFA855BD5E5FC3785FC3785DC37759C17455C07052BF6D52BF6D52BF6D52BA526F9358D1D1D1FBFBFBFFFFFFFFFFFFFFFFFF64BB4968C57B70C8886EC88669C68162C47B5AC27454C06F52BF6A53AA36AEAEAEEDEDEDFFFFFFFFFFFFFFFFFFFFFFFFC6E3B25DBF6482CE987FCD9679CB9071C98967C6805DC37753BB58789563D7D7D7FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF78C3657FCC9191D3A68AD1A080CE9775CA8C66C57C57A242B6B6B6F0F0F0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD0E7BD5CBE61A4DAB69AD7AE8ED2A481CE985FBF62839A75DDDDDDFCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8ECD7D89D19AAADDBB9BD7AF81CE965C9C4EC0C0C0F5F5F5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE8F3DE58BC56B1E0C0A6DBB763C16C949F8AE3E3E3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA4D69773CA8A79CC9070A263CECECEF8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F9EE5AB73F59B744D4DACFF2F2F2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 2, N'DESKTOP', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFF3F3F3DCDCDCD7D7D7E7E7E7F8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDBDB9595957F7F7FA0A0A0C9C9C9E9E9E9FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF717171319BC634A0CA558A9FA0A5A7D1D1D1EDEDEDFBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707032A7D329C5F62AC3F432A9D4638897AEAEAED7D7D7F0F0F0FCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707032A2CD26CBFD26CBFD26CBFD2BC3F435A2CB6E8A97B6B6B6DDDDDDF5F5F5FFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707033A1CC26CBFD26CBFD26CBFD26CBFD27CAFC2FC2F23C9ABD7B939DC0C0C0E3E3E3F8F8F8FFFFFFFFFFFFCFCFCF70707033A1CC26CBFD26CBFD26CBFD26CBFD2BCCFD43D0FD53D1FC44C3EE4594B0909A9ECECECEF2F2F2FFFFFFCFCFCF70707033A1CD26CBFD26CBFD26CBFD27CBFD3DCFFD57D3FD6CD7FE7DDBFE79DBFD44C6F05E9AB0D2D7D9FFFFFFCFCFCF70707032A3CF26CBFD26CBFD26CBFD2FCDFD4DD1FD66D6FE7CDBFE8EDFFE9EE4FEA9E7FE62D8FD36AAD4FFFFFFCFCFCF70707031A5D126CBFD26CBFD26CBFD3ACFFD59D4FD73D8FE89DEFE9CE4FEAEE8FEB3EAFE56D6FD37A6CFFFFFFFCFCFCF70707031A7D326CBFD26CBFD28CBFD43D0FD61D5FD7BDAFE91E1FEA7E7FE78DCFC32B9E692CEE4F1F6F8FFFFFFCFCFCF70707030A9D626CBFD26CBFD29CCFD47D1FD65D6FE7FDBFE72D9FC38C2EF77C2DCE4EDF2FFFFFFFFFFFFFFFFFFCFCFCF70707030ABD826CBFD26CBFD29CCFD47D1FD55D1FB3EC6F35CB9DBC9DCE6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF7171712FADDB26CBFD26CBFD28CAFC31C7F745AED6BCD8E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDBDB9595952EAFDD29C6F729C5F738B4DFAED4E4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F3F3DCDCDC2E9FCB38B3DF93CCE1F1F6F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 2, N'MOBILE', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFF3F3F3DCDCDCD7D7D7E7E7E7F8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDBDB9595957F7F7FA0A0A0C9C9C9E9E9E9FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF717171319BC634A0CA558A9FA0A5A7D1D1D1EDEDEDFBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707032A7D329C5F62AC3F432A9D4638897AEAEAED7D7D7F0F0F0FCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707032A2CD26CBFD26CBFD26CBFD2BC3F435A2CB6E8A97B6B6B6DDDDDDF5F5F5FFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707033A1CC26CBFD26CBFD26CBFD26CBFD27CAFC2FC2F23C9ABD7B939DC0C0C0E3E3E3F8F8F8FFFFFFFFFFFFCFCFCF70707033A1CC26CBFD26CBFD26CBFD26CBFD2BCCFD43D0FD53D1FC44C3EE4594B0909A9ECECECEF2F2F2FFFFFFCFCFCF70707033A1CD26CBFD26CBFD26CBFD27CBFD3DCFFD57D3FD6CD7FE7DDBFE79DBFD44C6F05E9AB0D2D7D9FFFFFFCFCFCF70707032A3CF26CBFD26CBFD26CBFD2FCDFD4DD1FD66D6FE7CDBFE8EDFFE9EE4FEA9E7FE62D8FD36AAD4FFFFFFCFCFCF70707031A5D126CBFD26CBFD26CBFD3ACFFD59D4FD73D8FE89DEFE9CE4FEAEE8FEB3EAFE56D6FD37A6CFFFFFFFCFCFCF70707031A7D326CBFD26CBFD28CBFD43D0FD61D5FD7BDAFE91E1FEA7E7FE78DCFC32B9E692CEE4F1F6F8FFFFFFCFCFCF70707030A9D626CBFD26CBFD29CCFD47D1FD65D6FE7FDBFE72D9FC38C2EF77C2DCE4EDF2FFFFFFFFFFFFFFFFFFCFCFCF70707030ABD826CBFD26CBFD29CCFD47D1FD55D1FB3EC6F35CB9DBC9DCE6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF7171712FADDB26CBFD26CBFD28CAFC31C7F745AED6BCD8E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDBDB9595952EAFDD29C6F729C5F738B4DFAED4E4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F3F3DCDCDC2E9FCB38B3DF93CCE1F1F6F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 2, N'WEB', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFF3F3F3DCDCDCD7D7D7E7E7E7F8F8F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDBDB9595957F7F7FA0A0A0C9C9C9E9E9E9FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF717171319BC634A0CA558A9FA0A5A7D1D1D1EDEDEDFBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707032A7D329C5F62AC3F432A9D4638897AEAEAED7D7D7F0F0F0FCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707032A2CD26CBFD26CBFD26CBFD2BC3F435A2CB6E8A97B6B6B6DDDDDDF5F5F5FFFFFFFFFFFFFFFFFFFFFFFFCFCFCF70707033A1CC26CBFD26CBFD26CBFD26CBFD27CAFC2FC2F23C9ABD7B939DC0C0C0E3E3E3F8F8F8FFFFFFFFFFFFCFCFCF70707033A1CC26CBFD26CBFD26CBFD26CBFD2BCCFD43D0FD53D1FC44C3EE4594B0909A9ECECECEF2F2F2FFFFFFCFCFCF70707033A1CD26CBFD26CBFD26CBFD27CBFD3DCFFD57D3FD6CD7FE7DDBFE79DBFD44C6F05E9AB0D2D7D9FFFFFFCFCFCF70707032A3CF26CBFD26CBFD26CBFD2FCDFD4DD1FD66D6FE7CDBFE8EDFFE9EE4FEA9E7FE62D8FD36AAD4FFFFFFCFCFCF70707031A5D126CBFD26CBFD26CBFD3ACFFD59D4FD73D8FE89DEFE9CE4FEAEE8FEB3EAFE56D6FD37A6CFFFFFFFCFCFCF70707031A7D326CBFD26CBFD28CBFD43D0FD61D5FD7BDAFE91E1FEA7E7FE78DCFC32B9E692CEE4F1F6F8FFFFFFCFCFCF70707030A9D626CBFD26CBFD29CCFD47D1FD65D6FE7FDBFE72D9FC38C2EF77C2DCE4EDF2FFFFFFFFFFFFFFFFFFCFCFCF70707030ABD826CBFD26CBFD29CCFD47D1FD55D1FB3EC6F35CB9DBC9DCE6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCF7171712FADDB26CBFD26CBFD28CAFC31C7F745AED6BCD8E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDBDB9595952EAFDD29C6F729C5F738B4DFAED4E4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F3F3DCDCDC2E9FCB38B3DF93CCE1F1F6F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 3, N'DESKTOP', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2F2F2D2D2D9384ECA384DC7F1F1F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F8F8CECECE5E6AAB597EF15378F0929EDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3E3E38F909E4163E288AAF697B5F83553D9E3E4F2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5F5F5C0C0C04655A76086F17CA0F58DAEF76A8CF17786D6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCDDDDDD7A7D9B3C5DDD5F88F26E94F47B9FF585A8F63959DEC7C9E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F0F0B6B6B63B4DAF416BED517BF15E87F26990F37196F45E82EE5E6FD0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFBFBD7D7D76C6F942F51DD3864EE436EEF4D78F05680F15D85F26089F23A5CE0BABEE3FFFFFFFFFFFFFFFFFFFFFFFFEDEDEDAEAEAE3346B72F56EA3159EC3661ED3D69EE446FEF4974F04C77F0446CEB4557C8FFFFFFFFFFFFFFFFFFFBFBFBD1D1D16165932E4EDA2F57EC2F57EC2F58EC325BEC3560ED3964EE3A66EE3A66EE3155E0ADB3E1FFFFFFFFFFFFE9E9E9A0A0A72F44BC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F58EC3058EC3058EC2F57EA3951CDF1F1F8F8F8F8C9C9C95259952E4FDC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2E51E0929BDBE7E7E7A0A0A02F3FB02E51E02F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F52E23950CDD7D7D77F7F7F2B38AF2B3AB22B37AE2B36AC2B36AB2B37AD2B38AF2B3AB32C3CB72C3FBB2C40BF2D42C32D45C72C3FBDDCDCDC959595717171707070707070707070707070707070707070707070707070707070707070717171959595DCDCDCF3F3F3DBDBDBCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFDBDBDBF3F3F3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 3, N'MOBILE', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2F2F2D2D2D9384ECA384DC7F1F1F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F8F8CECECE5E6AAB597EF15378F0929EDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3E3E38F909E4163E288AAF697B5F83553D9E3E4F2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5F5F5C0C0C04655A76086F17CA0F58DAEF76A8CF17786D6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCDDDDDD7A7D9B3C5DDD5F88F26E94F47B9FF585A8F63959DEC7C9E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F0F0B6B6B63B4DAF416BED517BF15E87F26990F37196F45E82EE5E6FD0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFBFBD7D7D76C6F942F51DD3864EE436EEF4D78F05680F15D85F26089F23A5CE0BABEE3FFFFFFFFFFFFFFFFFFFFFFFFEDEDEDAEAEAE3346B72F56EA3159EC3661ED3D69EE446FEF4974F04C77F0446CEB4557C8FFFFFFFFFFFFFFFFFFFBFBFBD1D1D16165932E4EDA2F57EC2F57EC2F58EC325BEC3560ED3964EE3A66EE3A66EE3155E0ADB3E1FFFFFFFFFFFFE9E9E9A0A0A72F44BC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F58EC3058EC3058EC2F57EA3951CDF1F1F8F8F8F8C9C9C95259952E4FDC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2E51E0929BDBE7E7E7A0A0A02F3FB02E51E02F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F52E23950CDD7D7D77F7F7F2B38AF2B3AB22B37AE2B36AC2B36AB2B37AD2B38AF2B3AB32C3CB72C3FBB2C40BF2D42C32D45C72C3FBDDCDCDC959595717171707070707070707070707070707070707070707070707070707070707070717171959595DCDCDCF3F3F3DBDBDBCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFDBDBDBF3F3F3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_ICONS_FORMAT] ([SYSTEM_CODE], [ICON_ID], [ICON_PLATFORM], [ICON], [ICON_TYPE], [ICON_WIDTH], [ICON_HEIGHT]) VALUES (:SYSTEM_CODE, 3, N'WEB', 0x424D360300000000000036000000280000001000000010000000010018000000000000030000C40E0000C40E00000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2F2F2D2D2D9384ECA384DC7F1F1F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF8F8F8CECECE5E6AAB597EF15378F0929EDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE3E3E38F909E4163E288AAF697B5F83553D9E3E4F2FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5F5F5C0C0C04655A76086F17CA0F58DAEF76A8CF17786D6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFCFCDDDDDD7A7D9B3C5DDD5F88F26E94F47B9FF585A8F63959DEC7C9E5FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F0F0B6B6B63B4DAF416BED517BF15E87F26990F37196F45E82EE5E6FD0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFBFBD7D7D76C6F942F51DD3864EE436EEF4D78F05680F15D85F26089F23A5CE0BABEE3FFFFFFFFFFFFFFFFFFFFFFFFEDEDEDAEAEAE3346B72F56EA3159EC3661ED3D69EE446FEF4974F04C77F0446CEB4557C8FFFFFFFFFFFFFFFFFFFBFBFBD1D1D16165932E4EDA2F57EC2F57EC2F58EC325BEC3560ED3964EE3A66EE3A66EE3155E0ADB3E1FFFFFFFFFFFFE9E9E9A0A0A72F44BC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F58EC3058EC3058EC2F57EA3951CDF1F1F8F8F8F8C9C9C95259952E4FDC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2E51E0929BDBE7E7E7A0A0A02F3FB02E51E02F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F57EC2F52E23950CDD7D7D77F7F7F2B38AF2B3AB22B37AE2B36AC2B36AB2B37AD2B38AF2B3AB32C3CB72C3FBB2C40BF2D42C32D45C72C3FBDDCDCDC959595717171707070707070707070707070707070707070707070707070707070707070717171959595DCDCDCF3F3F3DBDBDBCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFCFDBDBDBF3F3F3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF, N'BMP', NULL, NULL)
INSERT [TBL_JOIN_TYPE] ([JOIN_TYPE_ID], [JOIN_TYPE_NAME]) VALUES (1, N'Union')
INSERT [TBL_JOIN_TYPE] ([JOIN_TYPE_ID], [JOIN_TYPE_NAME]) VALUES (2, N'Union Distinct')
INSERT [TBL_JOIN_TYPE] ([JOIN_TYPE_ID], [JOIN_TYPE_NAME]) VALUES (3, N'Outer Join')
INSERT [TBL_JOIN_TYPE] ([JOIN_TYPE_ID], [JOIN_TYPE_NAME]) VALUES (4, N'Inner Join')
INSERT [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID], [GROUP_NAME], [DESCRIPTION], [INHERIT_FLAG]) VALUES (:SYSTEM_CODE, 0, N'Logix Pro Group', N'Logix Professional Group', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID], [GROUP_NAME], [DESCRIPTION], [INHERIT_FLAG]) VALUES (:SYSTEM_CODE, 1, N'No Group Assigned', N'No Group Assigned', CAST(1 AS Numeric(1, 0)))
INSERT [TBL_PERMISSION_GROUP_GROUP] ([SYSTEM_CODE], [GROUP_ID], [PERMISSION_GROUP_ID], [READ_FLAG], [WRITE_FLAG], [DELETE_FLAG], [COPY_FLAG], [DESCRIPTION], [SECURITY_CHECK_SUM], [EMAIL_FIXED_FORMAT_REPORT_FLAG], [EMAIL_EXCEL_TEMPLATE_FLAG]) VALUES (:SYSTEM_CODE, 1, 1, CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL, NULL, CAST(1 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)))
INSERT [TBL_PERMISSION_SET] ([SYSTEM_CODE], [PERMISSION_SET_ID], [PERMISSION_SET_NAME]) VALUES (:SYSTEM_CODE, 1, N'AdminPermissions')
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 1)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 2)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 3)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 4)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 5)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 6)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 7)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 8)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 9)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 10)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 11)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 12)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 13)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 14)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 15)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 16)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 17)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 18)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 19)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 20)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 21)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 22)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 23)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 24)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 27)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 28)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 29)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 30)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 33)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 34)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 35)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 36)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 37)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 38)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 39)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 40)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 41)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 42)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 43)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 44)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 45)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 46)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 47)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 48)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 49)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 50)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 51)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 52)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 53)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 54)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 55)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 56)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 57)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 58)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 59)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 60)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 61)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 62)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 63)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 64)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 65)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 66)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 67)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 68)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 69)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 70)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 71)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 72)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 73)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 74)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 75)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 76)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 77)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 78)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 79)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 80)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 81)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 82)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 83)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 84)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 85)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 86)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 87)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 88)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 89)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 90)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 91)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 92)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 93)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 94)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 95)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 96)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 97)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 98)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 99)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 100)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 101)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 102)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 103)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 104)
GO
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 105)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 106)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 107)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 108)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 109)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 110)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 111)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 112)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 113)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 114)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 115)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 116)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 117)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 118)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 119)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 120)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 121)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 122)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 123)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 125)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 126)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 127)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 128)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 129)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 130)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 131)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 132)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 133)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 134)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 135)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 136)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 137)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 138)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 139)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 140)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 141)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 142)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 143)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 144)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 145)
INSERT [TBL_PERMISSION_SET_COMPONENT] ([SYSTEM_CODE], [PERMISSION_SET_ID], [COMPONENT_ACTION_ID]) VALUES (:SYSTEM_CODE, 1, 146)
INSERT [TBL_REGISTRATION] ([SYSTEM_CODE], [INSTALLATION_KEY], [FIRM_COMPANY_NO], [REGISTRATION_DATE], [COMPANY_NAME], [CONTACT_FIRST_NAME], [CONTACT_SURNAME], [EMAIL_ADDRESS], [OFFICE_PHONE], [OFFICE_FAX], [AUTHORISATION_CODE], [COMPONENT_KEY], [LAST_LICENSE_REFRESH], [BYPASS_VIEWER_KEY]) VALUES (:SYSTEM_CODE, N'D0 0A DF 47 AD', N'060515133429', CAST(N'2015-05-06T00:00:00.000' AS DateTime), N'Castle Trust', N'a', N'a', N'john.pugh@nathean.com', N'1', N'1', N'DE 41 BB 84 63 AA CC 03 F6 B2 1E 2D 29 66 1D 35 1F EA 12 29 63 D7 FD BC 09 4D 8D 0F 0D 26 A7 38', NULL, NULL, NULL)
INSERT [TBL_SYSTEM] ([SYSTEM_CODE], [SYSTEM_NAME], [NEXT_FORM_NAME_ID], [NEXT_VIEW_ID]) VALUES (:SYSTEM_CODE, :SYSTEM_CODE, NULL, 75)
INSERT [TBL_USER] ([LOGIN_NAME], [FIRST_NAME], [SURNAME], [PASSWORD], [DISABLED_FLAG], [AUTHENTICATE_AGAINST_CALLISTO], [AUTHENTICATE_AGAINST_DOMAINS], [ADDRESS_LINE_1], [ADDRESS_LINE_2], [TOWN], [POSTCODE], [COUNTRY], [DATE_OF_BIRTH], [HOME_PHONE_NUMBER], [WORK_PHONE_NUMBER], [FAX_PHONE_NUMBER], [EMAIL_ADDRESS], [GENDER], [MOBILE_PHONE_NUMBER], [WHEN_LAST_SUCCESSFUL_LOGIN], [WHEN_LAST_UNSUCCESSFUL_LOGIN], [UNSUCCESSFUL_REASON], [LAST_AUTHENTICATED_DOMAIN], [WHEN_LAST_LOGOUT], [LAST_LOGOUT_REASON], [USER_NOTES], [SECURITY_CHECK_SUM], [MACHINE_ID], [FTP_USERNAME], [FTP_PASSWORD], [FTP_ADDRESS], [NETWORK_LOCATION], [FILE_NAME_MASK], [FTP_IS_SFTP]) VALUES (N'ADMIN', N'System', N'Administrator', N'AB67AE30A806766F', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, CAST(N'2008-11-04T15:36:56.233' AS DateTime), CAST(N'2009-04-09T15:38:09.547' AS DateTime), N'The Logix password does not match', N'Log In', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
INSERT [TBL_USER] ([LOGIN_NAME], [FIRST_NAME], [SURNAME], [PASSWORD], [DISABLED_FLAG], [AUTHENTICATE_AGAINST_CALLISTO], [AUTHENTICATE_AGAINST_DOMAINS], [ADDRESS_LINE_1], [ADDRESS_LINE_2], [TOWN], [POSTCODE], [COUNTRY], [DATE_OF_BIRTH], [HOME_PHONE_NUMBER], [WORK_PHONE_NUMBER], [FAX_PHONE_NUMBER], [EMAIL_ADDRESS], [GENDER], [MOBILE_PHONE_NUMBER], [WHEN_LAST_SUCCESSFUL_LOGIN], [WHEN_LAST_UNSUCCESSFUL_LOGIN], [UNSUCCESSFUL_REASON], [LAST_AUTHENTICATED_DOMAIN], [WHEN_LAST_LOGOUT], [LAST_LOGOUT_REASON], [USER_NOTES], [SECURITY_CHECK_SUM], [MACHINE_ID], [FTP_USERNAME], [FTP_PASSWORD], [FTP_ADDRESS], [NETWORK_LOCATION], [FILE_NAME_MASK], [FTP_IS_SFTP]) VALUES (N'PUBLISHER', N'Logix4', :SYSTEM_CODE, N'865E9B1FFD566B', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, CAST(N'2015-05-07T08:50:25.240' AS DateTime), CAST(N'2015-05-06T16:16:00.463' AS DateTime), N'The Logix password does not match', N'Log In', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
INSERT [TBL_USER] ([LOGIN_NAME], [FIRST_NAME], [SURNAME], [PASSWORD], [DISABLED_FLAG], [AUTHENTICATE_AGAINST_CALLISTO], [AUTHENTICATE_AGAINST_DOMAINS], [ADDRESS_LINE_1], [ADDRESS_LINE_2], [TOWN], [POSTCODE], [COUNTRY], [DATE_OF_BIRTH], [HOME_PHONE_NUMBER], [WORK_PHONE_NUMBER], [FAX_PHONE_NUMBER], [EMAIL_ADDRESS], [GENDER], [MOBILE_PHONE_NUMBER], [WHEN_LAST_SUCCESSFUL_LOGIN], [WHEN_LAST_UNSUCCESSFUL_LOGIN], [UNSUCCESSFUL_REASON], [LAST_AUTHENTICATED_DOMAIN], [WHEN_LAST_LOGOUT], [LAST_LOGOUT_REASON], [USER_NOTES], [SECURITY_CHECK_SUM], [MACHINE_ID], [FTP_USERNAME], [FTP_PASSWORD], [FTP_ADDRESS], [NETWORK_LOCATION], [FILE_NAME_MASK], [FTP_IS_SFTP]) VALUES (N'TESTUSER', N'Test', N'User', N'985E9C04EF58776A', CAST(0 AS Numeric(1, 0)), CAST(1 AS Numeric(1, 0)), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
ALTER TABLE [TBL_DASHBOARD] ADD  DEFAULT ((1)) FOR [PERMISSION_GROUP_ID]
GO
ALTER TABLE [TBL_DASHBOARD_GRP_PERMISSIONS] ADD  DEFAULT ((0)) FOR [COPY_FLAG]
GO
ALTER TABLE [TBL_DASHBOARD_USER_PERMISSIONS] ADD  DEFAULT ((0)) FOR [COPY_FLAG]
GO
ALTER TABLE [TBL_DASHBOARD_VIEW_COMMENTS] ADD  DEFAULT ((1)) FOR [COMMENT_ID]
GO
ALTER TABLE [TBL_DB_CONNECTION] ADD  DEFAULT ('SQLSERVER') FOR [DATABASE_TYPE]
GO
ALTER TABLE [TBL_DB_CONNECTION] ADD  DEFAULT ((1)) FOR [ISACTIVE]
GO
ALTER TABLE [TBL_DB_CONNECTION] ADD  DEFAULT ((0)) FOR [ISREMOTESITE]
GO
ALTER TABLE [TBL_GUI_META] ADD  DEFAULT ((0)) FOR [DEFAULT_CHART_FIELD]
GO
ALTER TABLE [TBL_GUI_META] ADD  DEFAULT ((0)) FOR [DEFAULT_CHART_LABELS]
GO
ALTER TABLE [TBL_NAVIGATOR] ADD  DEFAULT ('No Group Assigned') FOR [SERVICE_GROUP]
GO
ALTER TABLE [TBL_NAVIGATOR] ADD  DEFAULT ((1)) FOR [SORT_ORDER]
GO
ALTER TABLE [TBL_OBJECT] ADD  DEFAULT ((0)) FOR [CACHE_VIEW]
GO
ALTER TABLE [TBL_OBJECT] ADD  CONSTRAINT [IS_LOOKUP_DS_FLAG_DEFAULT_DF]  DEFAULT ((0)) FOR [IS_LOOKUP_DS_FLAG]
GO
ALTER TABLE [TBL_OBJECT] ADD  CONSTRAINT [USE_DIRECT_SQL_IN_PRO_FLAG_DEFAULT_DF]  DEFAULT ((0)) FOR [USE_DIRECT_SQL_IN_PRO_FLAG]
GO
ALTER TABLE [TBL_OBJECT] ADD  DEFAULT ((0)) FOR [STORE_IN_DATA_MART_FLAG]
GO
ALTER TABLE [TBL_OBJECT] ADD  DEFAULT ((0)) FOR [SMART_CACHING]
GO
ALTER TABLE [TBL_PARAMETERS] ADD  DEFAULT ((0)) FOR [DISPLAY_FLAG]
GO
ALTER TABLE [TBL_PARAMETERS] ADD  DEFAULT ((0)) FOR [PARAMETER_BAR_FLAG]
GO
ALTER TABLE [TBL_PARAMETERS] ADD  DEFAULT ((0)) FOR [LOCK_FLAG]
GO
ALTER TABLE [TBL_PARAMETERS] ADD  DEFAULT ((0)) FOR [MANDATORY]
GO
ALTER TABLE [TBL_PARAMETERS] ADD  DEFAULT ((0)) FOR [MULTI_SELECT_FLAG]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP] ADD  DEFAULT ((0)) FOR [EMAIL_FIXED_FORMAT_REPORT_FLAG]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP] ADD  DEFAULT ((0)) FOR [EMAIL_EXCEL_TEMPLATE_FLAG]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER] ADD  DEFAULT ((0)) FOR [EMAIL_FIXED_FORMAT_REPORT_FLAG]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER] ADD  DEFAULT ((0)) FOR [EMAIL_EXCEL_TEMPLATE_FLAG]
GO
ALTER TABLE [TBL_REPORT] ADD  DEFAULT ((1)) FOR [AUTO_RELEASE_FLAG]
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS] ADD  DEFAULT ((1)) FOR [EMAIL_FLAG]
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS] ADD  DEFAULT ((1)) FOR [FTP_FLAG]
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS] ADD  DEFAULT ((1)) FOR [SAVE_FILE_FLAG]
GO
ALTER TABLE [TBL_SELECT] ADD  DEFAULT ('Query') FOR [QUERY_TYPE]
GO
ALTER TABLE [TBL_SELECT] ADD  DEFAULT ('SELECT') FOR [SELECT_NAME]
GO
ALTER TABLE [TBL_USER] ADD  DEFAULT (NULL) FOR [MACHINE_ID]
GO
ALTER TABLE [TBL_USER] ADD  DEFAULT ((0)) FOR [FTP_IS_SFTP]
GO
ALTER TABLE [TBL_USER_SYSTEM] ADD  DEFAULT (getdate()) FOR [LAST_UPDATED]
GO
ALTER TABLE [TBL_VIEW] ADD  DEFAULT ((0)) FOR [EXCLUDE_FROM_CACHING]
GO
ALTER TABLE [TBL_VIEW] ADD  DEFAULT ((0)) FOR [EXCLUDE_FROM_SMART_CACHING]
GO
ALTER TABLE [TBL_VIEW_ALERT] ADD  DEFAULT ((0)) FOR [ACTIVE_FLAG]
GO
ALTER TABLE [TBL_VIEW_ALERT] ADD  DEFAULT ((0)) FOR [EMAIL_ACTIVE_FLAG]
GO
ALTER TABLE [TBL_VIEW_ALERT] ADD  DEFAULT ((0)) FOR [EXCEPTION_ACTIVE_FLAG]
GO
ALTER TABLE [TBL_VIEW_ALERT] ADD  DEFAULT ((0)) FOR [FTP_ACTIVE_FLAG]
GO
ALTER TABLE [TBL_VIEW_ALERT] ADD  DEFAULT ((0)) FOR [REST_API_ACTIVE_FLAG]
GO
ALTER TABLE [TBL_VIEW_GRID] ADD  DEFAULT ('Default') FOR [DATE_GROUPING_INTERVAL]
GO
ALTER TABLE [TBL_VIEW_GROUP_PERMISSIONS] ADD  DEFAULT ((0)) FOR [COPY_FLAG]
GO
ALTER TABLE [TBL_VIEW_PARAMETERS] ADD  DEFAULT ((0)) FOR [IS_VISIBLE]
GO
ALTER TABLE [TBL_VIEW_PIVOT] ADD  DEFAULT ('svNone') FOR [SHOW_VARIATION_TYPE]
GO
ALTER TABLE [TBL_VIEW_SUMMARY] ADD  DEFAULT ((0)) FOR [SUMMARY_SORT_BY_FLAG]
GO
ALTER TABLE [TBL_VIEW_USER_PERMISSIONS] ADD  DEFAULT ((0)) FOR [COPY_FLAG]
GO
ALTER TABLE [TBL_CHART_PROPERTIES]  WITH CHECK ADD  CONSTRAINT [FK_TBL_CHART_PROP_CHART_TEMPL] FOREIGN KEY([SYSTEM_CODE], [TEMPLATE_NAME])
REFERENCES [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME])
GO
ALTER TABLE [TBL_CHART_PROPERTIES] CHECK CONSTRAINT [FK_TBL_CHART_PROP_CHART_TEMPL]
GO
ALTER TABLE [TBL_CHART_SERIES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_CHART_SERIES_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_CHART_SERIES] CHECK CONSTRAINT [FK_TBL_CHART_SERIES_SYSTEM]
GO
ALTER TABLE [TBL_CHART_SERIES_PROPERTIES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_CHT_SER_PROP_CHT_SER] FOREIGN KEY([SYSTEM_CODE], [SERIES_TYPE])
REFERENCES [TBL_CHART_SERIES] ([SYSTEM_CODE], [SERIES_TYPE])
GO
ALTER TABLE [TBL_CHART_SERIES_PROPERTIES] CHECK CONSTRAINT [FK_TBL_CHT_SER_PROP_CHT_SER]
GO
ALTER TABLE [TBL_CHART_TEMPLATES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_CHART_TEMPL_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_CHART_TEMPLATES] CHECK CONSTRAINT [FK_TBL_CHART_TEMPL_SYSTEM]
GO
ALTER TABLE [TBL_COMPONENT]  WITH NOCHECK ADD  CONSTRAINT [TBL_FORM_TBL_COMPONENT_FK1] FOREIGN KEY([SYSTEM_CODE], [FORM_NAME])
REFERENCES [TBL_FORM] ([SYSTEM_CODE], [FORM_NAME])
GO
ALTER TABLE [TBL_COMPONENT] CHECK CONSTRAINT [TBL_FORM_TBL_COMPONENT_FK1]
GO
ALTER TABLE [TBL_COMPONENT]  WITH NOCHECK ADD  CONSTRAINT [TBL_PERM_TBL_COMPONENT_FK1] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_ID])
REFERENCES [TBL_PERMISSION] ([SYSTEM_CODE], [PERMISSION_ID])
GO
ALTER TABLE [TBL_COMPONENT] CHECK CONSTRAINT [TBL_PERM_TBL_COMPONENT_FK1]
GO
ALTER TABLE [TBL_COMPONENT_ACTION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_COMP_ACT_ACTION] FOREIGN KEY([ACTION_ID])
REFERENCES [TBL_ACTION] ([ACTION_ID])
GO
ALTER TABLE [TBL_COMPONENT_ACTION] CHECK CONSTRAINT [FK_TBL_COMP_ACT_ACTION]
GO
ALTER TABLE [TBL_COMPONENT_ACTION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_COMP_ACT_COMPONENT] FOREIGN KEY([COMPONENT_ID])
REFERENCES [TBL_COMPONENT_DETAIL] ([COMPONENT_ID])
GO
ALTER TABLE [TBL_COMPONENT_ACTION] CHECK CONSTRAINT [FK_TBL_COMP_ACT_COMPONENT]
GO
ALTER TABLE [TBL_DASHBOARD]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_DASH_SCH_PERM_GROUP] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_DASHBOARD] CHECK CONSTRAINT [FK_TBL_DASH_SCH_PERM_GROUP]
GO
ALTER TABLE [TBL_DASHBOARD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DASHBOARD_FOLDER] FOREIGN KEY([SYSTEM_CODE], [FOLDER_ID])
REFERENCES [TBL_FOLDER] ([SYSTEM_CODE], [FOLDER_ID])
GO
ALTER TABLE [TBL_DASHBOARD] CHECK CONSTRAINT [FK_TBL_DASHBOARD_FOLDER]
GO
ALTER TABLE [TBL_DASHBOARD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_ICONS] FOREIGN KEY([SYSTEM_CODE], [ICON_ID])
REFERENCES [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID])
GO
ALTER TABLE [TBL_DASHBOARD] CHECK CONSTRAINT [FK_TBL_ICONS]
GO
ALTER TABLE [TBL_DASHBOARD_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_DASH_GRP_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_DASHBOARD_GROUP] CHECK CONSTRAINT [FK_TBL_DASH_GRP_SYSTEM]
GO
ALTER TABLE [TBL_DASHBOARD_GRP_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_DASHBOARD_GRP_PERM_GRP] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_DASHBOARD_GRP_PERMISSIONS] CHECK CONSTRAINT [FK_DASHBOARD_GRP_PERM_GRP]
GO
ALTER TABLE [TBL_DASHBOARD_GRP_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_DASHBOARD_GRP_PERM_VIEW] FOREIGN KEY([SYSTEM_CODE], [DASHBOARD_ID])
REFERENCES [TBL_DASHBOARD] ([SYSTEM_CODE], [DASHBOARD_ID])
GO
ALTER TABLE [TBL_DASHBOARD_GRP_PERMISSIONS] CHECK CONSTRAINT [FK_DASHBOARD_GRP_PERM_VIEW]
GO
ALTER TABLE [TBL_DASHBOARD_LAYOUT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DASH_LAYOUT_TBL_ICONS] FOREIGN KEY([SYSTEM_CODE], [LAYOUT_ICON_ID])
REFERENCES [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID])
GO
ALTER TABLE [TBL_DASHBOARD_LAYOUT] CHECK CONSTRAINT [FK_TBL_DASH_LAYOUT_TBL_ICONS]
GO
ALTER TABLE [TBL_DASHBOARD_LAYOUT_ZONE]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DASH_LT_ZN_TBL_DASH_LT] FOREIGN KEY([SYSTEM_CODE], [LAYOUT_ID])
REFERENCES [TBL_DASHBOARD_LAYOUT] ([SYSTEM_CODE], [LAYOUT_ID])
GO
ALTER TABLE [TBL_DASHBOARD_LAYOUT_ZONE] CHECK CONSTRAINT [FK_TBL_DASH_LT_ZN_TBL_DASH_LT]
GO
ALTER TABLE [TBL_DASHBOARD_USER_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_DASHBOARD_USER_PERM_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_DASHBOARD_USER_PERMISSIONS] CHECK CONSTRAINT [FK_DASHBOARD_USER_PERM_USER]
GO
ALTER TABLE [TBL_DASHBOARD_USER_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_DASHBOARD_USER_PERM_VIEW] FOREIGN KEY([SYSTEM_CODE], [DASHBOARD_ID])
REFERENCES [TBL_DASHBOARD] ([SYSTEM_CODE], [DASHBOARD_ID])
GO
ALTER TABLE [TBL_DASHBOARD_USER_PERMISSIONS] CHECK CONSTRAINT [FK_DASHBOARD_USER_PERM_VIEW]
GO
ALTER TABLE [TBL_DASHBOARD_VIEW]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DASH_VIEW_DASH] FOREIGN KEY([SYSTEM_CODE], [DASHBOARD_ID])
REFERENCES [TBL_DASHBOARD] ([SYSTEM_CODE], [DASHBOARD_ID])
GO
ALTER TABLE [TBL_DASHBOARD_VIEW] CHECK CONSTRAINT [FK_TBL_DASH_VIEW_DASH]
GO
ALTER TABLE [TBL_DASHBOARD_VIEW]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DASH_VIEW_VW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_DASHBOARD_VIEW] CHECK CONSTRAINT [FK_TBL_DASH_VIEW_VW]
GO
ALTER TABLE [TBL_DASHBOARD_VIEW_ATTRIBUTES]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DSH_VW_ATTR_TBL_DSH_VW] FOREIGN KEY([SYSTEM_CODE], [DASHBOARD_ID], [VIEW_ID])
REFERENCES [TBL_DASHBOARD_VIEW] ([SYSTEM_CODE], [DASHBOARD_ID], [VIEW_ID])
GO
ALTER TABLE [TBL_DASHBOARD_VIEW_ATTRIBUTES] CHECK CONSTRAINT [FK_TBL_DSH_VW_ATTR_TBL_DSH_VW]
GO
ALTER TABLE [TBL_DASHBOARD_VIEW_ATTRIBUTES]  WITH CHECK ADD  CONSTRAINT [FK_TBL_DSH_VW_COMM_TBL_DSH_VW] FOREIGN KEY([SYSTEM_CODE], [DASHBOARD_ID], [VIEW_ID])
REFERENCES [TBL_DASHBOARD_VIEW] ([SYSTEM_CODE], [DASHBOARD_ID], [VIEW_ID])
GO
ALTER TABLE [TBL_DASHBOARD_VIEW_ATTRIBUTES] CHECK CONSTRAINT [FK_TBL_DSH_VW_COMM_TBL_DSH_VW]
GO
ALTER TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FKEY_DC_GRP_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS] CHECK CONSTRAINT [FKEY_DC_GRP_PERM_SYS]
GO
ALTER TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FKKKK_DC_USER_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS] CHECK CONSTRAINT [FKKKK_DC_USER_PERM_SYS]
GO
ALTER TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FOR1_DC_GRP_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_DATA_CONNECTOR_GROUP_PERMISSIONS] CHECK CONSTRAINT [FOR1_DC_GRP_PERM_SYS]
GO
ALTER TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FF8K_DC_USER_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS] CHECK CONSTRAINT [FF8K_DC_USER_PERM_SYS]
GO
ALTER TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_DC_USER_PERM_SYS] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS] CHECK CONSTRAINT [FK_DC_USER_PERM_SYS]
GO
ALTER TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_DC_USR_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_DATA_CONNECTOR_USER_PERMISSIONS] CHECK CONSTRAINT [FK_DC_USR_PERM_SYS]
GO
ALTER TABLE [TBL_DB_CONNECTION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_DB_C_SYSTEM_CO_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_DB_CONNECTION] CHECK CONSTRAINT [FK_TBL_DB_C_SYSTEM_CO_TBL_SYST]
GO
ALTER TABLE [TBL_DELETE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_DELE_DELETE_DB_TBL_DB_C] FOREIGN KEY([SYSTEM_CODE], [CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_DELETE] CHECK CONSTRAINT [FK_TBL_DELE_DELETE_DB_TBL_DB_C]
GO
ALTER TABLE [TBL_DELETE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_DELE_OBJECT_DE_TBL_OBJE] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_DELETE] CHECK CONSTRAINT [FK_TBL_DELE_OBJECT_DE_TBL_OBJE]
GO
ALTER TABLE [TBL_DISPLAY_MASK_FORMATS]  WITH NOCHECK ADD  CONSTRAINT [FK_DISPLAY_MASK_SYSTEM_CODE] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_DISPLAY_MASK_FORMATS] CHECK CONSTRAINT [FK_DISPLAY_MASK_SYSTEM_CODE]
GO
ALTER TABLE [TBL_DOCUMENT_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [T_DOC_LIB_T_DOC_GR_PERM_FK1] FOREIGN KEY([SYSTEM_CODE], [DOCUMENT_ID])
REFERENCES [TBL_DOCUMENT_LIBRARY] ([SYSTEM_CODE], [DOCUMENT_ID])
GO
ALTER TABLE [TBL_DOCUMENT_GROUP_PERMISSION] CHECK CONSTRAINT [T_DOC_LIB_T_DOC_GR_PERM_FK1]
GO
ALTER TABLE [TBL_DOCUMENT_LIBRARY]  WITH NOCHECK ADD  CONSTRAINT [TBL_SYSTEM_TBL_DOC_LIBRARY_FK1] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_DOCUMENT_LIBRARY] CHECK CONSTRAINT [TBL_SYSTEM_TBL_DOC_LIBRARY_FK1]
GO
ALTER TABLE [TBL_FIELD]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_FIELD_SYS_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_FIELD] CHECK CONSTRAINT [FK_TBL_FIELD_SYS_TBL_SYST]
GO
ALTER TABLE [TBL_FILTERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_FILT_DEFAULT_F_TBL_OBJE] FOREIGN KEY([SYSTEM_CODE], [DEFAULT_OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_FILTERS] CHECK CONSTRAINT [FK_TBL_FILT_DEFAULT_F_TBL_OBJE]
GO
ALTER TABLE [TBL_FILTERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_FILT_SYSTEM_FI_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_FILTERS] CHECK CONSTRAINT [FK_TBL_FILT_SYSTEM_FI_TBL_SYST]
GO
ALTER TABLE [TBL_FOLDER]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_FOLDER_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_FOLDER] CHECK CONSTRAINT [FK_TBL_FOLDER_TBL_SYST]
GO
ALTER TABLE [TBL_FORM]  WITH NOCHECK ADD  CONSTRAINT [TBL_SYSTEM_TBL_FORM_FK1] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_FORM] CHECK CONSTRAINT [TBL_SYSTEM_TBL_FORM_FK1]
GO
ALTER TABLE [TBL_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_GROU_GROUP_SYS_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_GROUP] CHECK CONSTRAINT [FK_TBL_GROU_GROUP_SYS_TBL_SYST]
GO
ALTER TABLE [TBL_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_GROUP_PERM_SET] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_SET_ID])
REFERENCES [TBL_PERMISSION_SET] ([SYSTEM_CODE], [PERMISSION_SET_ID])
GO
ALTER TABLE [TBL_GROUP] CHECK CONSTRAINT [FK_TBL_GROUP_PERM_SET]
GO
ALTER TABLE [TBL_GROUP_ATTRIBUTES]  WITH NOCHECK ADD  CONSTRAINT [TBL_GROUP_TBL_GROUP_ATTR_FK1] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_GROUP_ATTRIBUTES] CHECK CONSTRAINT [TBL_GROUP_TBL_GROUP_ATTR_FK1]
GO
ALTER TABLE [TBL_GROUP_CREDENTIALS]  WITH NOCHECK ADD  CONSTRAINT [TBL_GRP_TBL_GRP_CRED_FK1] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_GROUP_CREDENTIALS] CHECK CONSTRAINT [TBL_GRP_TBL_GRP_CRED_FK1]
GO
ALTER TABLE [TBL_GROUP_MEMBERSHIP]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_GROU_GROUP_USE_TBL_GROU] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_GROUP_MEMBERSHIP] CHECK CONSTRAINT [FK_TBL_GROU_GROUP_USE_TBL_GROU]
GO
ALTER TABLE [TBL_GROUP_MEMBERSHIP]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_GROU_USER_GROU_TBL_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_GROUP_MEMBERSHIP] CHECK CONSTRAINT [FK_TBL_GROU_USER_GROU_TBL_USER]
GO
ALTER TABLE [TBL_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [TBL_GRP_TBL_GRP_PERM_FK1] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_GROUP_PERMISSIONS] CHECK CONSTRAINT [TBL_GRP_TBL_GRP_PERM_FK1]
GO
ALTER TABLE [TBL_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [TBL_PERM_TBL_GRP_PERM_FK1] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_ID])
REFERENCES [TBL_PERMISSION] ([SYSTEM_CODE], [PERMISSION_ID])
GO
ALTER TABLE [TBL_GROUP_PERMISSIONS] CHECK CONSTRAINT [TBL_PERM_TBL_GRP_PERM_FK1]
GO
ALTER TABLE [TBL_GUI_META]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_GUI_META_FIELD] FOREIGN KEY([SYSTEM_CODE], [LINK_FIELD_ID])
REFERENCES [TBL_FIELD] ([SYSTEM_CODE], [FIELD_ID])
GO
ALTER TABLE [TBL_GUI_META] CHECK CONSTRAINT [FK_TBL_GUI_META_FIELD]
GO
ALTER TABLE [TBL_GUI_META]  WITH NOCHECK ADD  CONSTRAINT [TBL_OBJECT_TBL_GUI_META_FK1] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_GUI_META] CHECK CONSTRAINT [TBL_OBJECT_TBL_GUI_META_FK1]
GO
ALTER TABLE [TBL_GUI_META_DD_PARAMS]  WITH NOCHECK ADD  CONSTRAINT [FK_GUI_META_DDP_DD] FOREIGN KEY([GMDD_ID])
REFERENCES [TBL_GUI_META_DRILLDOWN] ([GMDD_ID])
GO
ALTER TABLE [TBL_GUI_META_DD_PARAMS] CHECK CONSTRAINT [FK_GUI_META_DDP_DD]
GO
ALTER TABLE [TBL_GUI_META_DD_PARAMS]  WITH NOCHECK ADD  CONSTRAINT [FK_GUI_META_DDP_GM] FOREIGN KEY([SYSTEM_CODE], [SOURCE_OBJECT_ID], [FIELD_ID])
REFERENCES [TBL_GUI_META] ([SYSTEM_CODE], [OBJECT_ID], [FIELD_ID])
GO
ALTER TABLE [TBL_GUI_META_DD_PARAMS] CHECK CONSTRAINT [FK_GUI_META_DDP_GM]
GO
ALTER TABLE [TBL_GUI_META_DD_PARAMS]  WITH NOCHECK ADD  CONSTRAINT [FK_GUI_META_DDP_PM] FOREIGN KEY([SYSTEM_CODE], [PARAM_OBJECT_ID], [STATEMENT_ID], [PARAMETER_NAME])
REFERENCES [TBL_PARAMETERS] ([SYSTEM_CODE], [OBJECT_ID], [STATEMENT_ID], [PARAMETER_NAME])
GO
ALTER TABLE [TBL_GUI_META_DD_PARAMS] CHECK CONSTRAINT [FK_GUI_META_DDP_PM]
GO
ALTER TABLE [TBL_GUI_META_DRILLDOWN]  WITH NOCHECK ADD  CONSTRAINT [FK_GUI_META_DD_GM] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID], [FIELD_ID])
REFERENCES [TBL_GUI_META] ([SYSTEM_CODE], [OBJECT_ID], [FIELD_ID])
GO
ALTER TABLE [TBL_GUI_META_DRILLDOWN] CHECK CONSTRAINT [FK_GUI_META_DD_GM]
GO
ALTER TABLE [TBL_ICONS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_ICONS_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_ICONS] CHECK CONSTRAINT [FK_TBL_ICONS_SYSTEM]
GO
ALTER TABLE [TBL_ICONS_FORMAT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_ICONS_FORMAT_ICONS] FOREIGN KEY([SYSTEM_CODE], [ICON_ID])
REFERENCES [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID])
GO
ALTER TABLE [TBL_ICONS_FORMAT] CHECK CONSTRAINT [FK_TBL_ICONS_FORMAT_ICONS]
GO
ALTER TABLE [TBL_ICONS_FORMAT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_ICONS_FORMAT_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_ICONS_FORMAT] CHECK CONSTRAINT [FK_TBL_ICONS_FORMAT_SYSTEM]
GO
ALTER TABLE [TBL_INSERT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_INSE_INSERT_DB_TBL_DB_C] FOREIGN KEY([SYSTEM_CODE], [CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_INSERT] CHECK CONSTRAINT [FK_TBL_INSE_INSERT_DB_TBL_DB_C]
GO
ALTER TABLE [TBL_INSERT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_INSE_OBJECT_IN_TBL_OBJE] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_INSERT] CHECK CONSTRAINT [FK_TBL_INSE_OBJECT_IN_TBL_OBJE]
GO
ALTER TABLE [TBL_LOGIX_SYSTEM]  WITH NOCHECK ADD  CONSTRAINT [FK_LGX_SYSTEM_DB_CONN] FOREIGN KEY([SYSTEM_CODE], [DB_CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_LOGIX_SYSTEM] CHECK CONSTRAINT [FK_LGX_SYSTEM_DB_CONN]
GO
ALTER TABLE [TBL_NAVIGATOR]  WITH CHECK ADD  CONSTRAINT [FK_TBL_NAVIGATOR_ICONS] FOREIGN KEY([SYSTEM_CODE], [ICON_ID])
REFERENCES [TBL_ICONS] ([SYSTEM_CODE], [ICON_ID])
GO
ALTER TABLE [TBL_NAVIGATOR] CHECK CONSTRAINT [FK_TBL_NAVIGATOR_ICONS]
GO
ALTER TABLE [TBL_NAVIGATOR]  WITH NOCHECK ADD  CONSTRAINT [TBL_OBJECT_TBL_NAVIGATOR_FK1] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_NAVIGATOR] CHECK CONSTRAINT [TBL_OBJECT_TBL_NAVIGATOR_FK1]
GO
ALTER TABLE [TBL_NAVIGATOR]  WITH NOCHECK ADD  CONSTRAINT [TBL_SYSTEM_TBL_NAVIGATOR_FK1] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_NAVIGATOR] CHECK CONSTRAINT [TBL_SYSTEM_TBL_NAVIGATOR_FK1]
GO
ALTER TABLE [TBL_NAVIGATOR_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_NAV_GRP_PERM_GRP] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_NAVIGATOR_GROUP_PERMISSION] CHECK CONSTRAINT [FK_NAV_GRP_PERM_GRP]
GO
ALTER TABLE [TBL_NAVIGATOR_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VIEW_PERM_TBL_SYS_PER] FOREIGN KEY([SYSTEM_CODE], [SYSTEM_PERMISSION_ID])
REFERENCES [TBL_SYSTEM_PERMISSION] ([SYSTEM_CODE], [SYSTEM_PERMISSION_ID])
GO
ALTER TABLE [TBL_NAVIGATOR_PERMISSION] CHECK CONSTRAINT [FK_TBL_VIEW_PERM_TBL_SYS_PER]
GO
ALTER TABLE [TBL_NAVIGATOR_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_NAV_USER_PERM_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_NAVIGATOR_USER_PERMISSIONS] CHECK CONSTRAINT [FK_NAV_USER_PERM_USER]
GO
ALTER TABLE [TBL_NAVIGATOR_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [TBL_NAV_USER_PERM_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_NAVIGATOR_USER_PERMISSIONS] CHECK CONSTRAINT [TBL_NAV_USER_PERM_SYSTEM]
GO
ALTER TABLE [TBL_OBJECT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_OBJE_SYSTEM_OB_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_OBJECT] CHECK CONSTRAINT [FK_TBL_OBJE_SYSTEM_OB_TBL_SYST]
GO
ALTER TABLE [TBL_OBJECT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_OBJECT_PERM_GROUP] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_OBJECT] CHECK CONSTRAINT [FK_TBL_OBJECT_PERM_GROUP]
GO
ALTER TABLE [TBL_OBJECT_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_OBJ_PERMISSIO_TBL_OBJ] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_GROUP_PERMISSION] CHECK CONSTRAINT [FK_TBL_OBJ_PERMISSIO_TBL_OBJ]
GO
ALTER TABLE [TBL_OBJECT_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_OBJ_PERMISSIO_TBL_PERM] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_ID])
REFERENCES [TBL_PERMISSION] ([SYSTEM_CODE], [PERMISSION_ID])
GO
ALTER TABLE [TBL_OBJECT_GROUP_PERMISSION] CHECK CONSTRAINT [FK_TBL_OBJ_PERMISSIO_TBL_PERM]
GO
ALTER TABLE [TBL_OBJECT_JOIN]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJ_JOIN_LEFT_OBJ] FOREIGN KEY([SYSTEM_CODE], [LEFT_OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_JOIN] CHECK CONSTRAINT [FK_TBL_OBJ_JOIN_LEFT_OBJ]
GO
ALTER TABLE [TBL_OBJECT_JOIN]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJ_JOIN_RIGHT_OBJ] FOREIGN KEY([SYSTEM_CODE], [RIGHT_OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_JOIN] CHECK CONSTRAINT [FK_TBL_OBJ_JOIN_RIGHT_OBJ]
GO
ALTER TABLE [TBL_OBJECT_JOIN]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJECT_JOIN_OBJECT] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_JOIN] CHECK CONSTRAINT [FK_TBL_OBJECT_JOIN_OBJECT]
GO
ALTER TABLE [TBL_OBJECT_JOIN_FIELD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJ_JN_FLD_OBJECT_JN] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID], [LEFT_OBJECT_ID], [RIGHT_OBJECT_ID])
REFERENCES [TBL_OBJECT_JOIN] ([SYSTEM_CODE], [OBJECT_ID], [LEFT_OBJECT_ID], [RIGHT_OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_JOIN_FIELD] CHECK CONSTRAINT [FK_TBL_OBJ_JN_FLD_OBJECT_JN]
GO
ALTER TABLE [TBL_OBJECT_JOIN_FIELD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJ_JOIN_LEFT_GUI] FOREIGN KEY([SYSTEM_CODE], [LEFT_OBJECT_ID], [LEFT_FIELD_ID])
REFERENCES [TBL_GUI_META] ([SYSTEM_CODE], [OBJECT_ID], [FIELD_ID])
GO
ALTER TABLE [TBL_OBJECT_JOIN_FIELD] CHECK CONSTRAINT [FK_TBL_OBJ_JOIN_LEFT_GUI]
GO
ALTER TABLE [TBL_OBJECT_JOIN_FIELD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJ_JOIN_RIGHT_GUI] FOREIGN KEY([SYSTEM_CODE], [RIGHT_OBJECT_ID], [RIGHT_FIELD_ID])
REFERENCES [TBL_GUI_META] ([SYSTEM_CODE], [OBJECT_ID], [FIELD_ID])
GO
ALTER TABLE [TBL_OBJECT_JOIN_FIELD] CHECK CONSTRAINT [FK_TBL_OBJ_JOIN_RIGHT_GUI]
GO
ALTER TABLE [TBL_OBJECT_META]  WITH CHECK ADD  CONSTRAINT [FK_OBJ_META_FIELD] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID], [APPEND_DATE_FIELD_ID])
REFERENCES [TBL_GUI_META] ([SYSTEM_CODE], [OBJECT_ID], [FIELD_ID])
GO
ALTER TABLE [TBL_OBJECT_META] CHECK CONSTRAINT [FK_OBJ_META_FIELD]
GO
ALTER TABLE [TBL_OBJECT_META]  WITH CHECK ADD  CONSTRAINT [FK_TBL_OBJECT_META_OBJ] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_META] CHECK CONSTRAINT [FK_TBL_OBJECT_META_OBJ]
GO
ALTER TABLE [TBL_OBJECT_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_OBJE_OBJECT_PE_TBL_OBJE] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_PERMISSIONS] CHECK CONSTRAINT [FK_TBL_OBJE_OBJECT_PE_TBL_OBJE]
GO
ALTER TABLE [TBL_OBJECT_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_OBJE_PERMISSIO_TBL_PERM] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_ID])
REFERENCES [TBL_PERMISSION] ([SYSTEM_CODE], [PERMISSION_ID])
GO
ALTER TABLE [TBL_OBJECT_PERMISSIONS] CHECK CONSTRAINT [FK_TBL_OBJE_PERMISSIO_TBL_PERM]
GO
ALTER TABLE [TBL_OBJECT_RECIPE]  WITH CHECK ADD  CONSTRAINT [FK_OBJECT_RECIPE_OBJECT] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_RECIPE] CHECK CONSTRAINT [FK_OBJECT_RECIPE_OBJECT]
GO
ALTER TABLE [TBL_OBJECT_RECIPE]  WITH CHECK ADD  CONSTRAINT [FK_OBJECT_RECIPE_RECIPE] FOREIGN KEY([SYSTEM_CODE], [RECIPE_ID])
REFERENCES [TBL_RECIPE] ([SYSTEM_CODE], [RECIPE_ID])
GO
ALTER TABLE [TBL_OBJECT_RECIPE] CHECK CONSTRAINT [FK_OBJECT_RECIPE_RECIPE]
GO
ALTER TABLE [TBL_OBJECT_SCRIPT]  WITH CHECK ADD  CONSTRAINT [FK_OBJECT_SCRIPTS_OBJECT] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_OBJECT_SCRIPT] CHECK CONSTRAINT [FK_OBJECT_SCRIPTS_OBJECT]
GO
ALTER TABLE [TBL_OBJECT_SCRIPT]  WITH CHECK ADD  CONSTRAINT [FK_OBJECT_SCRIPTS_SCRIPT] FOREIGN KEY([SYSTEM_CODE], [SCRIPT_ID])
REFERENCES [TBL_SCRIPT] ([SYSTEM_CODE], [SCRIPT_ID])
GO
ALTER TABLE [TBL_OBJECT_SCRIPT] CHECK CONSTRAINT [FK_OBJECT_SCRIPTS_SCRIPT]
GO
ALTER TABLE [TBL_PARAMETER]  WITH CHECK ADD  CONSTRAINT [FK_TBL_PARAM_SYS_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_PARAMETER] CHECK CONSTRAINT [FK_TBL_PARAM_SYS_TBL_SYST]
GO
ALTER TABLE [TBL_PARAMETERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_PARAM_FIELD] FOREIGN KEY([SYSTEM_CODE], [FIELD_ID])
REFERENCES [TBL_FIELD] ([SYSTEM_CODE], [FIELD_ID])
GO
ALTER TABLE [TBL_PARAMETERS] CHECK CONSTRAINT [FK_TBL_PARAM_FIELD]
GO
ALTER TABLE [TBL_PARAMETERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_PARAMETERS_OBJECT] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_PARAMETERS] CHECK CONSTRAINT [FK_TBL_PARAMETERS_OBJECT]
GO
ALTER TABLE [TBL_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_PERM_SYSTEM_ON_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_PERMISSION] CHECK CONSTRAINT [FK_TBL_PERM_SYSTEM_ON_TBL_SYST]
GO
ALTER TABLE [TBL_PERMISSION_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_LGX_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_PERMISSION_GROUP] CHECK CONSTRAINT [FK_LGX_SYSTEM]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_PERM_GRP_GROUP] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP] CHECK CONSTRAINT [FK_PERM_GRP_GROUP]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_PERM_GRP_PERM_SYS] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP] CHECK CONSTRAINT [FK_PERM_GRP_PERM_SYS]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP]  WITH NOCHECK ADD  CONSTRAINT [FK_PERM_GRP_PERM_USER] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_PERMISSION_GROUP_GROUP] CHECK CONSTRAINT [FK_PERM_GRP_PERM_USER]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER]  WITH NOCHECK ADD  CONSTRAINT [FK_PERM_USER_PERM_DSGRP] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER] CHECK CONSTRAINT [FK_PERM_USER_PERM_DSGRP]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER]  WITH NOCHECK ADD  CONSTRAINT [FK_PERM_USER_PERM_SYS] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER] CHECK CONSTRAINT [FK_PERM_USER_PERM_SYS]
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER]  WITH NOCHECK ADD  CONSTRAINT [FK_PERM_USER_PERM_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_PERMISSION_GROUP_USER] CHECK CONSTRAINT [FK_PERM_USER_PERM_USER]
GO
ALTER TABLE [TBL_PERMISSION_SET]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_PERM_SET_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_PERMISSION_SET] CHECK CONSTRAINT [FK_TBL_PERM_SET_TBL_SYST]
GO
ALTER TABLE [TBL_PERMISSION_SET_COMPONENT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_PERM_SET_COMP_ACT] FOREIGN KEY([COMPONENT_ACTION_ID])
REFERENCES [TBL_COMPONENT_ACTION] ([COMPONENT_ACTION_ID])
GO
ALTER TABLE [TBL_PERMISSION_SET_COMPONENT] CHECK CONSTRAINT [FK_TBL_PERM_SET_COMP_ACT]
GO
ALTER TABLE [TBL_PERMISSION_SET_COMPONENT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_PERM_SET_PERMISSION] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_SET_ID])
REFERENCES [TBL_PERMISSION_SET] ([SYSTEM_CODE], [PERMISSION_SET_ID])
GO
ALTER TABLE [TBL_PERMISSION_SET_COMPONENT] CHECK CONSTRAINT [FK_TBL_PERM_SET_PERMISSION]
GO
ALTER TABLE [TBL_PROPERTY_VALUE]  WITH NOCHECK ADD  CONSTRAINT [TBL_COMP_TBL_PROP_VALUE_FK1] FOREIGN KEY([SYSTEM_CODE], [FORM_NAME], [COMPONENT_NAME])
REFERENCES [TBL_COMPONENT] ([SYSTEM_CODE], [FORM_NAME], [COMPONENT_NAME])
GO
ALTER TABLE [TBL_PROPERTY_VALUE] CHECK CONSTRAINT [TBL_COMP_TBL_PROP_VALUE_FK1]
GO
ALTER TABLE [TBL_PROPERTY_VALUE]  WITH NOCHECK ADD  CONSTRAINT [TBL_GRP_TBL_PROP_VALUE_FK1] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_PROPERTY_VALUE] CHECK CONSTRAINT [TBL_GRP_TBL_PROP_VALUE_FK1]
GO
ALTER TABLE [TBL_RECIPE]  WITH CHECK ADD  CONSTRAINT [FK_RECIPE_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_RECIPE] CHECK CONSTRAINT [FK_RECIPE_SYSTEM]
GO
ALTER TABLE [TBL_RECIPE_SCRIPTS]  WITH CHECK ADD  CONSTRAINT [FK_RECIPE_SCRIPTS_RECIPE] FOREIGN KEY([SYSTEM_CODE], [RECIPE_ID])
REFERENCES [TBL_RECIPE] ([SYSTEM_CODE], [RECIPE_ID])
GO
ALTER TABLE [TBL_RECIPE_SCRIPTS] CHECK CONSTRAINT [FK_RECIPE_SCRIPTS_RECIPE]
GO
ALTER TABLE [TBL_RECIPE_SCRIPTS]  WITH CHECK ADD  CONSTRAINT [FK_RECIPE_SCRIPTS_SCRIPT] FOREIGN KEY([SYSTEM_CODE], [SCRIPT_ID])
REFERENCES [TBL_SCRIPT] ([SYSTEM_CODE], [SCRIPT_ID])
GO
ALTER TABLE [TBL_RECIPE_SCRIPTS] CHECK CONSTRAINT [FK_RECIPE_SCRIPTS_SCRIPT]
GO
ALTER TABLE [TBL_REGISTRATION]  WITH NOCHECK ADD  CONSTRAINT [TBL_SYSTEM_TBL_REG_FK1] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_REGISTRATION] CHECK CONSTRAINT [TBL_SYSTEM_TBL_REG_FK1]
GO
ALTER TABLE [TBL_REPORT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_REPORT_FOLDER] FOREIGN KEY([SYSTEM_CODE], [FOLDER_ID])
REFERENCES [TBL_FOLDER] ([SYSTEM_CODE], [FOLDER_ID])
GO
ALTER TABLE [TBL_REPORT] CHECK CONSTRAINT [FK_TBL_REPORT_FOLDER]
GO
ALTER TABLE [TBL_REPORT_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FKEY_RP_GRP_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [REPORT_ID])
REFERENCES [TBL_REPORT] ([SYSTEM_CODE], [REPORT_ID])
GO
ALTER TABLE [TBL_REPORT_GROUP_PERMISSION] CHECK CONSTRAINT [FKEY_RP_GRP_PERM_SYS]
GO
ALTER TABLE [TBL_REPORT_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FKKKK_RP_USER_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_REPORT_GROUP_PERMISSION] CHECK CONSTRAINT [FKKKK_RP_USER_PERM_SYS]
GO
ALTER TABLE [TBL_REPORT_GROUP_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FOR1_RP_GRP_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_REPORT_GROUP_PERMISSION] CHECK CONSTRAINT [FOR1_RP_GRP_PERM_SYS]
GO
ALTER TABLE [TBL_REPORT_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FF8K_RP_USER_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_REPORT_USER_PERMISSIONS] CHECK CONSTRAINT [FF8K_RP_USER_PERM_SYS]
GO
ALTER TABLE [TBL_REPORT_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_RP_USER_PERM_SYS] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_REPORT_USER_PERMISSIONS] CHECK CONSTRAINT [FK_RP_USER_PERM_SYS]
GO
ALTER TABLE [TBL_REPORT_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_RP_USR_PERM_SYS] FOREIGN KEY([SYSTEM_CODE], [REPORT_ID])
REFERENCES [TBL_REPORT] ([SYSTEM_CODE], [REPORT_ID])
GO
ALTER TABLE [TBL_REPORT_USER_PERMISSIONS] CHECK CONSTRAINT [FK_RP_USR_PERM_SYS]
GO
ALTER TABLE [TBL_REPORT_VIEW_PARAMETERS]  WITH CHECK ADD  CONSTRAINT [FK_REPORT_VIEW_PARAMETERS] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID], [REPORT_ID], [SCHEDULE_REPORT_RUN_ID])
REFERENCES [TBL_SCHEDULE_REPORTS] ([SYSTEM_CODE], [SCHEDULE_ID], [REPORT_ID], [SCHEDULE_REPORT_RUN_ID])
GO
ALTER TABLE [TBL_REPORT_VIEW_PARAMETERS] CHECK CONSTRAINT [FK_REPORT_VIEW_PARAMETERS]
GO
ALTER TABLE [TBL_REPORT_VIEW_PARAMETERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_REPORT_VW_FIELD] FOREIGN KEY([SYSTEM_CODE], [FIELD_ID])
REFERENCES [TBL_FIELD] ([SYSTEM_CODE], [FIELD_ID])
GO
ALTER TABLE [TBL_REPORT_VIEW_PARAMETERS] CHECK CONSTRAINT [FK_TBL_REPORT_VW_FIELD]
GO
ALTER TABLE [TBL_REPORT_VIEWS]  WITH CHECK ADD  CONSTRAINT [FK_REPORT_VIEWS_REPORT] FOREIGN KEY([SYSTEM_CODE], [REPORT_ID])
REFERENCES [TBL_REPORT] ([SYSTEM_CODE], [REPORT_ID])
GO
ALTER TABLE [TBL_REPORT_VIEWS] CHECK CONSTRAINT [FK_REPORT_VIEWS_REPORT]
GO
ALTER TABLE [TBL_SCHEDULE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_REP_SCH_PERM_GROUP] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_GROUP_ID])
REFERENCES [TBL_PERMISSION_GROUP] ([SYSTEM_CODE], [PERMISSION_GROUP_ID])
GO
ALTER TABLE [TBL_SCHEDULE] CHECK CONSTRAINT [FK_TBL_REP_SCH_PERM_GROUP]
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_GROUPS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_GROUPS] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_GROUPS] CHECK CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_GROUPS]
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_GROUPS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_GROUPS_GROUP_IDS] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_GROUPS] CHECK CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_GROUPS_GROUP_IDS]
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_USERS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_USERS] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_USERS] CHECK CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_USERS]
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_USERS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_USERS_PK] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_ADMIN_USERS] CHECK CONSTRAINT [FK_TBL_SCHEDULE_ADMIN_USERS_PK]
GO
ALTER TABLE [TBL_SCHEDULE_GROUP_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_REPORT_GRP_PERM_GRP] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_SCHEDULE_GROUP_PERMISSIONS] CHECK CONSTRAINT [FK_REPORT_GRP_PERM_GRP]
GO
ALTER TABLE [TBL_SCHEDULE_GROUP_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_REPORT_GRP_REPORT_SCHEDULE] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_GROUP_PERMISSIONS] CHECK CONSTRAINT [FK_REPORT_GRP_REPORT_SCHEDULE]
GO
ALTER TABLE [TBL_SCHEDULE_OBJECT]  WITH CHECK ADD  CONSTRAINT [FK_OBJECT_SCHEDULE] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_OBJECT] CHECK CONSTRAINT [FK_OBJECT_SCHEDULE]
GO
ALTER TABLE [TBL_SCHEDULE_OBJECT]  WITH CHECK ADD  CONSTRAINT [FK_OBJECT_SCHEDULE_OBJ] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_SCHEDULE_OBJECT] CHECK CONSTRAINT [FK_OBJECT_SCHEDULE_OBJ]
GO
ALTER TABLE [TBL_SCHEDULE_PARAMETERS]  WITH CHECK ADD  CONSTRAINT [FK_SCH_PRMS_REPORT_SCHEDULE] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_PARAMETERS] CHECK CONSTRAINT [FK_SCH_PRMS_REPORT_SCHEDULE]
GO
ALTER TABLE [TBL_SCHEDULE_PARAMETERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SCH_PARAM_FIELD] FOREIGN KEY([SYSTEM_CODE], [FIELD_ID])
REFERENCES [TBL_FIELD] ([SYSTEM_CODE], [FIELD_ID])
GO
ALTER TABLE [TBL_SCHEDULE_PARAMETERS] CHECK CONSTRAINT [FK_TBL_SCH_PARAM_FIELD]
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS]  WITH CHECK ADD  CONSTRAINT [FK_REPORT_SCHEDULE] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS] CHECK CONSTRAINT [FK_REPORT_SCHEDULE]
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS]  WITH CHECK ADD  CONSTRAINT [FK_REPORT_SCHEDULE_REPORT] FOREIGN KEY([SYSTEM_CODE], [REPORT_ID])
REFERENCES [TBL_REPORT] ([SYSTEM_CODE], [REPORT_ID])
GO
ALTER TABLE [TBL_SCHEDULE_REPORTS] CHECK CONSTRAINT [FK_REPORT_SCHEDULE_REPORT]
GO
ALTER TABLE [TBL_SCHEDULE_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_REP_USER_PERMISSIONS_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_SCHEDULE_USER_PERMISSIONS] CHECK CONSTRAINT [FK_REP_USER_PERMISSIONS_USER]
GO
ALTER TABLE [TBL_SCHEDULE_USER_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_REP_USR_REP_SCH] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_USER_PERMISSIONS] CHECK CONSTRAINT [FK_REP_USR_REP_SCH]
GO
ALTER TABLE [TBL_SCHEDULE_VIEW_EXPORT]  WITH NOCHECK ADD  CONSTRAINT [FK_SCHEDULE_VIEW_EXPORT_SCHEDULE_ID] FOREIGN KEY([SYSTEM_CODE], [SCHEDULE_ID])
REFERENCES [TBL_SCHEDULE] ([SYSTEM_CODE], [SCHEDULE_ID])
GO
ALTER TABLE [TBL_SCHEDULE_VIEW_EXPORT] CHECK CONSTRAINT [FK_SCHEDULE_VIEW_EXPORT_SCHEDULE_ID]
GO
ALTER TABLE [TBL_SCHEDULE_VIEW_EXPORT]  WITH NOCHECK ADD  CONSTRAINT [FK_SCHEDULE_VIEW_EXPORT_SYSTEM_CODE] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SCHEDULE_VIEW_EXPORT] CHECK CONSTRAINT [FK_SCHEDULE_VIEW_EXPORT_SYSTEM_CODE]
GO
ALTER TABLE [TBL_SCHEDULE_VIEW_EXPORT]  WITH NOCHECK ADD  CONSTRAINT [FK_SCHEDULE_VIEW_EXPORT_VIEW_ID] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_SCHEDULE_VIEW_EXPORT] CHECK CONSTRAINT [FK_SCHEDULE_VIEW_EXPORT_VIEW_ID]
GO
ALTER TABLE [TBL_SCRIPT]  WITH CHECK ADD  CONSTRAINT [FK_SCRIPT_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SCRIPT] CHECK CONSTRAINT [FK_SCRIPT_SYSTEM]
GO
ALTER TABLE [TBL_SCRIPT_AVAILABLE_REFERENCE]  WITH CHECK ADD  CONSTRAINT [FK_SCRIPT_AVAILABLE_REFERENCE_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SCRIPT_AVAILABLE_REFERENCE] CHECK CONSTRAINT [FK_SCRIPT_AVAILABLE_REFERENCE_SYSTEM]
GO
ALTER TABLE [TBL_SCRIPT_INCLUDED_REFERENCE]  WITH CHECK ADD  CONSTRAINT [FK_SCRIPT_INCLUDED_REFERENCE_AVAIL_REF] FOREIGN KEY([SYSTEM_CODE], [SCRIPT_REF_ID])
REFERENCES [TBL_SCRIPT_AVAILABLE_REFERENCE] ([SYSTEM_CODE], [SCRIPT_REF_ID])
GO
ALTER TABLE [TBL_SCRIPT_INCLUDED_REFERENCE] CHECK CONSTRAINT [FK_SCRIPT_INCLUDED_REFERENCE_AVAIL_REF]
GO
ALTER TABLE [TBL_SCRIPT_INCLUDED_REFERENCE]  WITH CHECK ADD  CONSTRAINT [FK_SCRIPT_INCLUDED_REFERENCE_SCRIPT] FOREIGN KEY([SYSTEM_CODE], [SCRIPT_ID])
REFERENCES [TBL_SCRIPT] ([SYSTEM_CODE], [SCRIPT_ID])
GO
ALTER TABLE [TBL_SCRIPT_INCLUDED_REFERENCE] CHECK CONSTRAINT [FK_SCRIPT_INCLUDED_REFERENCE_SCRIPT]
GO
ALTER TABLE [TBL_SELECT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SELE_OBJECT_SE_TBL_OBJE] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_SELECT] CHECK CONSTRAINT [FK_TBL_SELE_OBJECT_SE_TBL_OBJE]
GO
ALTER TABLE [TBL_SELECT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELECT_TBL_JOIN_TYPE] FOREIGN KEY([JOIN_TYPE_ID])
REFERENCES [TBL_JOIN_TYPE] ([JOIN_TYPE_ID])
GO
ALTER TABLE [TBL_SELECT] CHECK CONSTRAINT [FK_TBL_SELECT_TBL_JOIN_TYPE]
GO
ALTER TABLE [TBL_SELECT_AUDIT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELE_OBJECT_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SELECT_AUDIT] CHECK CONSTRAINT [FK_TBL_SELE_OBJECT_SYSTEM]
GO
ALTER TABLE [TBL_SELECT_FIELD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELECT_FIELD_TBL_SELECT] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID], [SELECT_ID])
REFERENCES [TBL_SELECT] ([SYSTEM_CODE], [OBJECT_ID], [SELECT_ID])
GO
ALTER TABLE [TBL_SELECT_FIELD] CHECK CONSTRAINT [FK_TBL_SELECT_FIELD_TBL_SELECT]
GO
ALTER TABLE [TBL_SELECT_FIELD]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELECT_FIELD_TYPE] FOREIGN KEY([FIELD_TYPE_ID])
REFERENCES [TBL_FIELD_TYPE] ([FIELD_TYPE_ID])
GO
ALTER TABLE [TBL_SELECT_FIELD] CHECK CONSTRAINT [FK_TBL_SELECT_FIELD_TYPE]
GO
ALTER TABLE [TBL_SELECT_JOIN]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELECT_JOIN_SELECT_FILD] FOREIGN KEY([SYSTEM_CODE], [JOIN_OBJECT_ID], [JOIN_SELECT_ID], [JOIN_SELECT_FIELD_ID])
REFERENCES [TBL_SELECT_FIELD] ([SYSTEM_CODE], [OBJECT_ID], [SELECT_ID], [SELECT_FIELD_ID])
GO
ALTER TABLE [TBL_SELECT_JOIN] CHECK CONSTRAINT [FK_TBL_SELECT_JOIN_SELECT_FILD]
GO
ALTER TABLE [TBL_SELECT_PARAM]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELECT_PARAM_DT_TYPE] FOREIGN KEY([DATA_TYPE])
REFERENCES [TBL_FIELD_TYPE] ([FIELD_TYPE_ID])
GO
ALTER TABLE [TBL_SELECT_PARAM] CHECK CONSTRAINT [FK_TBL_SELECT_PARAM_DT_TYPE]
GO
ALTER TABLE [TBL_SELECT_PARAM]  WITH CHECK ADD  CONSTRAINT [FK_TBL_SELECT_PARAM_SELECT] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID], [SELECT_ID])
REFERENCES [TBL_SELECT] ([SYSTEM_CODE], [OBJECT_ID], [SELECT_ID])
GO
ALTER TABLE [TBL_SELECT_PARAM] CHECK CONSTRAINT [FK_TBL_SELECT_PARAM_SELECT]
GO
ALTER TABLE [TBL_SYSTEM_ATTRIBUTES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SYST_SYSTEM_AT_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SYSTEM_ATTRIBUTES] CHECK CONSTRAINT [FK_TBL_SYST_SYSTEM_AT_TBL_SYST]
GO
ALTER TABLE [TBL_SYSTEM_CREDENTIALS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SYST_SYSTEM_CR_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SYSTEM_CREDENTIALS] CHECK CONSTRAINT [FK_TBL_SYST_SYSTEM_CR_TBL_SYST]
GO
ALTER TABLE [TBL_SYSTEM_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SYS_PERM_AT_TBL_SYST] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_SYSTEM_PERMISSION] CHECK CONSTRAINT [FK_TBL_SYS_PERM_AT_TBL_SYST]
GO
ALTER TABLE [TBL_UPDATE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_UPDA_OBJECT_UP_TBL_OBJE] FOREIGN KEY([SYSTEM_CODE], [OBJECT_ID])
REFERENCES [TBL_OBJECT] ([SYSTEM_CODE], [OBJECT_ID])
GO
ALTER TABLE [TBL_UPDATE] CHECK CONSTRAINT [FK_TBL_UPDA_OBJECT_UP_TBL_OBJE]
GO
ALTER TABLE [TBL_UPDATE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_UPDA_UPDATE_DB_TBL_DB_C] FOREIGN KEY([SYSTEM_CODE], [CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_UPDATE] CHECK CONSTRAINT [FK_TBL_UPDA_UPDATE_DB_TBL_DB_C]
GO
ALTER TABLE [TBL_USER_ATTRIBUTE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USER_ATTR_TBL_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_ATTRIBUTE] CHECK CONSTRAINT [FK_TBL_USER_ATTR_TBL_USER]
GO
ALTER TABLE [TBL_USER_ATTRIBUTE]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USR_ATTR_TBL_USR_FIELD] FOREIGN KEY([SYSTEM_CODE], [FIELD_ID])
REFERENCES [TBL_USER_FIELD] ([SYSTEM_CODE], [FIELD_ID])
GO
ALTER TABLE [TBL_USER_ATTRIBUTE] CHECK CONSTRAINT [FK_TBL_USR_ATTR_TBL_USR_FIELD]
GO
ALTER TABLE [TBL_USER_ATTRIBUTES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USER_RELATION__TBL_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_ATTRIBUTES] CHECK CONSTRAINT [FK_TBL_USER_RELATION__TBL_USER]
GO
ALTER TABLE [TBL_USER_COMPONENT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USR_COMP_COMPONENT] FOREIGN KEY([COMPONENT_ID])
REFERENCES [TBL_COMPONENT_DETAIL] ([COMPONENT_ID])
GO
ALTER TABLE [TBL_USER_COMPONENT] CHECK CONSTRAINT [FK_TBL_USR_COMP_COMPONENT]
GO
ALTER TABLE [TBL_USER_COMPONENT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USR_COMP_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_COMPONENT] CHECK CONSTRAINT [FK_TBL_USR_COMP_USER]
GO
ALTER TABLE [TBL_USER_CREDENTIALS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USER_USER_CRED_TBL_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_CREDENTIALS] CHECK CONSTRAINT [FK_TBL_USER_USER_CRED_TBL_USER]
GO
ALTER TABLE [TBL_USER_DASHBOARD_ATTRIBUTE]  WITH NOCHECK ADD  CONSTRAINT [FKEY_DASH_ATTRIBUTE_LOGIN] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_DASHBOARD_ATTRIBUTE] CHECK CONSTRAINT [FKEY_DASH_ATTRIBUTE_LOGIN]
GO
ALTER TABLE [TBL_USER_DASHBOARD_ATTRIBUTE]  WITH NOCHECK ADD  CONSTRAINT [FKEY_DASH_ATTRIBUTE_SYS_CODE] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_USER_DASHBOARD_ATTRIBUTE] CHECK CONSTRAINT [FKEY_DASH_ATTRIBUTE_SYS_CODE]
GO
ALTER TABLE [TBL_USER_FIELD]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USR_FIELD_TBL_FIELD] FOREIGN KEY([SYSTEM_CODE], [FIELD_ID])
REFERENCES [TBL_FIELD] ([SYSTEM_CODE], [FIELD_ID])
GO
ALTER TABLE [TBL_USER_FIELD] CHECK CONSTRAINT [FK_TBL_USR_FIELD_TBL_FIELD]
GO
ALTER TABLE [TBL_USER_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USER_USER_PERM_TBL_PERM] FOREIGN KEY([SYSTEM_CODE], [PERMISSION_ID])
REFERENCES [TBL_PERMISSION] ([SYSTEM_CODE], [PERMISSION_ID])
GO
ALTER TABLE [TBL_USER_PERMISSION] CHECK CONSTRAINT [FK_TBL_USER_USER_PERM_TBL_PERM]
GO
ALTER TABLE [TBL_USER_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_USER_USERS_PER_TBL_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_PERMISSION] CHECK CONSTRAINT [FK_TBL_USER_USERS_PER_TBL_USER]
GO
ALTER TABLE [TBL_USER_SYSTEM]  WITH NOCHECK ADD  CONSTRAINT [FK_USER_SYS_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_USER_SYSTEM] CHECK CONSTRAINT [FK_USER_SYS_SYSTEM]
GO
ALTER TABLE [TBL_USER_SYSTEM]  WITH NOCHECK ADD  CONSTRAINT [FK_USER_SYS_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_USER_SYSTEM] CHECK CONSTRAINT [FK_USER_SYS_USER]
GO
ALTER TABLE [TBL_VIEW]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_CHART_TEMPLATES] FOREIGN KEY([SYSTEM_CODE], [CHART_TEMPLATE_NAME])
REFERENCES [TBL_CHART_TEMPLATES] ([SYSTEM_CODE], [TEMPLATE_NAME])
GO
ALTER TABLE [TBL_VIEW] CHECK CONSTRAINT [FK_TBL_VIEW_CHART_TEMPLATES]
GO
ALTER TABLE [TBL_VIEW]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_VIEW] CHECK CONSTRAINT [FK_TBL_VIEW_SYSTEM]
GO
ALTER TABLE [TBL_VIEW_ALERT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_E_TBL_RTP] FOREIGN KEY([SYSTEM_CODE], [EMAIL_REPORT_ID])
REFERENCES [TBL_REPORT] ([SYSTEM_CODE], [REPORT_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_E_TBL_RTP]
GO
ALTER TABLE [TBL_VIEW_ALERT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_F_TBL_RTP] FOREIGN KEY([SYSTEM_CODE], [FTP_REPORT_ID])
REFERENCES [TBL_REPORT] ([SYSTEM_CODE], [REPORT_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_F_TBL_RTP]
GO
ALTER TABLE [TBL_VIEW_ALERT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_TBL_CONN] FOREIGN KEY([SYSTEM_CODE], [REST_API_CONNECTION_ID])
REFERENCES [TBL_DB_CONNECTION] ([SYSTEM_CODE], [CONNECTION_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_TBL_CONN]
GO
ALTER TABLE [TBL_VIEW_ALERT]  WITH CHECK ADD  CONSTRAINT [FK_VIEW_ALERT_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT] CHECK CONSTRAINT [FK_VIEW_ALERT_VIEW]
GO
ALTER TABLE [TBL_VIEW_ALERT_GROUP_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_GROUP_PERMISSIONS] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID], [ALERT_ID])
REFERENCES [TBL_VIEW_ALERT] ([SYSTEM_CODE], [VIEW_ID], [ALERT_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT_GROUP_PERMISSIONS] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_GROUP_PERMISSIONS]
GO
ALTER TABLE [TBL_VIEW_ALERT_GROUP_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_GROUP_PERMISSIONS_GROUP_IDS] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT_GROUP_PERMISSIONS] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_GROUP_PERMISSIONS_GROUP_IDS]
GO
ALTER TABLE [TBL_VIEW_ALERT_USER_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_USR_ALERT] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID], [ALERT_ID])
REFERENCES [TBL_VIEW_ALERT] ([SYSTEM_CODE], [VIEW_ID], [ALERT_ID])
GO
ALTER TABLE [TBL_VIEW_ALERT_USER_PERMISSIONS] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_USR_ALERT]
GO
ALTER TABLE [TBL_VIEW_ALERT_USER_PERMISSIONS]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ALERT_USR_LOGIN] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_VIEW_ALERT_USER_PERMISSIONS] CHECK CONSTRAINT [FK_TBL_VIEW_ALERT_USR_LOGIN]
GO
ALTER TABLE [TBL_VIEW_CHART_PROPERTIES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_CHART_PROP_CHART_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_CHART_PROPERTIES] CHECK CONSTRAINT [FK_TBL_CHART_PROP_CHART_VIEW]
GO
ALTER TABLE [TBL_VIEW_FILTER_DEFINITION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VIEW_FILTER_DEF_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_VIEW_FILTER_DEFINITION] CHECK CONSTRAINT [FK_TBL_VIEW_FILTER_DEF_SYSTEM]
GO
ALTER TABLE [TBL_VIEW_FILTER_DEFINITION]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_FILTER_DEF_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_FILTER_DEFINITION] CHECK CONSTRAINT [FK_TBL_VIEW_FILTER_DEF_VIEW]
GO
ALTER TABLE [TBL_VIEW_GRID]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VIEW_GRID_SYSTEM] FOREIGN KEY([SYSTEM_CODE])
REFERENCES [TBL_SYSTEM] ([SYSTEM_CODE])
GO
ALTER TABLE [TBL_VIEW_GRID] CHECK CONSTRAINT [FK_TBL_VIEW_GRID_SYSTEM]
GO
ALTER TABLE [TBL_VIEW_GRID]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VIEW_GRID_VIEW_ID] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_GRID] CHECK CONSTRAINT [FK_TBL_VIEW_GRID_VIEW_ID]
GO
ALTER TABLE [TBL_VIEW_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_VIEW_GRP_PERM_GRP] FOREIGN KEY([SYSTEM_CODE], [GROUP_ID])
REFERENCES [TBL_GROUP] ([SYSTEM_CODE], [GROUP_ID])
GO
ALTER TABLE [TBL_VIEW_GROUP_PERMISSIONS] CHECK CONSTRAINT [FK_VIEW_GRP_PERM_GRP]
GO
ALTER TABLE [TBL_VIEW_GROUP_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_VIEW_GRP_PERM_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_GROUP_PERMISSIONS] CHECK CONSTRAINT [FK_VIEW_GRP_PERM_VIEW]
GO
ALTER TABLE [TBL_VIEW_PARAMETERS]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VIEW_PARAM_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_PARAMETERS] CHECK CONSTRAINT [FK_TBL_VIEW_PARAM_VIEW]
GO
ALTER TABLE [TBL_VIEW_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_SYS_PERM_AT_TBL_VW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_PERMISSION] CHECK CONSTRAINT [FK_TBL_SYS_PERM_AT_TBL_VW]
GO
ALTER TABLE [TBL_VIEW_PERMISSION]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VW_PERM_AT_TBL_SYS_PER] FOREIGN KEY([SYSTEM_CODE], [SYSTEM_PERMISSION_ID])
REFERENCES [TBL_SYSTEM_PERMISSION] ([SYSTEM_CODE], [SYSTEM_PERMISSION_ID])
GO
ALTER TABLE [TBL_VIEW_PERMISSION] CHECK CONSTRAINT [FK_TBL_VW_PERM_AT_TBL_SYS_PER]
GO
ALTER TABLE [TBL_VIEW_PERSISTED_ATTRIBS]  WITH NOCHECK ADD  CONSTRAINT [TBL_VW_TBL_VW_PERS_ATTRIB_FK1] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_PERSISTED_ATTRIBS] CHECK CONSTRAINT [TBL_VW_TBL_VW_PERS_ATTRIB_FK1]
GO
ALTER TABLE [TBL_VIEW_PIVOT]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VIEW_PIVOT_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_PIVOT] CHECK CONSTRAINT [FK_TBL_VIEW_PIVOT_VIEW]
GO
ALTER TABLE [TBL_VIEW_SERIES_PROPERTIES]  WITH NOCHECK ADD  CONSTRAINT [FK_TBL_VW_SERIES_SUMMARY] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID], [SUMMARY_ID])
REFERENCES [TBL_VIEW_SUMMARY] ([SYSTEM_CODE], [VIEW_ID], [SUMMARY_ID])
GO
ALTER TABLE [TBL_VIEW_SERIES_PROPERTIES] CHECK CONSTRAINT [FK_TBL_VW_SERIES_SUMMARY]
GO
ALTER TABLE [TBL_VIEW_SUMMARY]  WITH NOCHECK ADD  CONSTRAINT [FK_VIEW_SUMMARY_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_SUMMARY] CHECK CONSTRAINT [FK_VIEW_SUMMARY_VIEW]
GO
ALTER TABLE [TBL_VIEW_TRIGGERED_ALERT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ACTIVE_ALERT_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID], [ALERT_ID])
REFERENCES [TBL_VIEW_ALERT] ([SYSTEM_CODE], [VIEW_ID], [ALERT_ID])
GO
ALTER TABLE [TBL_VIEW_TRIGGERED_ALERT] CHECK CONSTRAINT [FK_TBL_VIEW_ACTIVE_ALERT_VIEW]
GO
ALTER TABLE [TBL_VIEW_TRIGGERED_ALERT]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VIEW_ACTIVE_ALERT_VIEW_TBL] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_TRIGGERED_ALERT] CHECK CONSTRAINT [FK_TBL_VIEW_ACTIVE_ALERT_VIEW_TBL]
GO
ALTER TABLE [TBL_VIEW_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_VIEW_USER_PERMISSIONS_USER] FOREIGN KEY([LOGIN_NAME])
REFERENCES [TBL_USER] ([LOGIN_NAME])
GO
ALTER TABLE [TBL_VIEW_USER_PERMISSIONS] CHECK CONSTRAINT [FK_VIEW_USER_PERMISSIONS_USER]
GO
ALTER TABLE [TBL_VIEW_USER_PERMISSIONS]  WITH NOCHECK ADD  CONSTRAINT [FK_VIEW_USER_PERMISSIONS_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_USER_PERMISSIONS] CHECK CONSTRAINT [FK_VIEW_USER_PERMISSIONS_VIEW]
GO
ALTER TABLE [TBL_VIEW_USER_PROPERTIES]  WITH CHECK ADD  CONSTRAINT [FK_TBL_VW_USER_PROP_VIEW] FOREIGN KEY([SYSTEM_CODE], [VIEW_ID])
REFERENCES [TBL_VIEW] ([SYSTEM_CODE], [VIEW_ID])
GO
ALTER TABLE [TBL_VIEW_USER_PROPERTIES] CHECK CONSTRAINT [FK_TBL_VW_USER_PROP_VIEW]
GO
