USE [LegitimateNATIONAL]
GO
exec sp_msforeachtable "alter table ? nocheck constraint all";
exec sp_msforeachtable "SET QUOTED_IDENTIFIER ON; DELETE FROM ?";
exec sp_msforeachtable "if exists(select 1 from sys.identity_columns where object_name(object_id) = '?') begin dbcc checkident ( '?', reseed, 0) end";
exec sp_msforeachtable "alter table ? with check check constraint all";
GO
INSERT [Md].[TagTypes] ([TagTypeID], [Description], [IsCancelled]) VALUES (1, N'Information', 0)
GO
INSERT [Md].[TagTypes] ([TagTypeID], [Description], [IsCancelled]) VALUES (2, N'Additional Requirements', 0)
GO
INSERT [Md].[TagTypes] ([TagTypeID], [Description], [IsCancelled]) VALUES (3, N'Review Required', 0)
GO
INSERT [Md].[TagTypes] ([TagTypeID], [Description], [IsCancelled]) VALUES (4, N'Exception', 0)
GO
INSERT [Md].[Tags] ([TagID], [TagTypeID], [Title], [Description], [ReviewRequiredByRoleID], [IsCancelled]) VALUES (0, 1, N'User Tag', N'Custom tag created by a user', NULL, 0)
GO
INSERT [Md].[Tags] ([TagID], [TagTypeID], [Title], [Description], [ReviewRequiredByRoleID], [IsCancelled]) VALUES (1, 1, N'Escalated', N'An application that has been escalated to another user for assistance.', NULL, 0)
GO
INSERT [Md].[Tags] ([TagID], [TagTypeID], [Title], [Description], [ReviewRequiredByRoleID], [IsCancelled]) VALUES (2, 1, N'OLAS License Mismactch', N'The license captured on the form does not match the one in OLAS', 1024, 0)
GO
INSERT [Md].[Tags] ([TagID], [TagTypeID], [Title], [Description], [ReviewRequiredByRoleID], [IsCancelled]) VALUES (3, 2, N'Steercom 2', N'Steercom 2', 1024, 0)
GO
INSERT [Wf].[WorkflowTemplateStepTypes] ([WorkflowTemplateStepTypeID], [Description], [IsCancelled]) VALUES (1, N'Approval', 0)
GO
INSERT [Wf].[WorkflowTemplateStepTypes] ([WorkflowTemplateStepTypeID], [Description], [IsCancelled]) VALUES (2, N'Data Capture', 0)
GO
INSERT [Wf].[WorkflowTemplateStepTypes] ([WorkflowTemplateStepTypeID], [Description], [IsCancelled]) VALUES (3, N'Parallel Tasks', 0)
GO
INSERT [Wf].[WorkflowTemplateStepTypes] ([WorkflowTemplateStepTypeID], [Description], [IsCancelled]) VALUES (4, N'Automated', 0)
GO
INSERT [Wf].[WorkflowTemplateStepTypes] ([WorkflowTemplateStepTypeID], [Description], [IsCancelled]) VALUES (5, N'Document Verification', 0)
GO
SET IDENTITY_INSERT [Wf].[WorkflowCategories] ON 
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (1, N'Application Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (2, N'Route Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (3, N'Association Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (4, N'Member Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (5, N'Vehicle Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (6, N'Licence Upliftment Extension Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (7, N'Business Rule Bypass Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (8, N'Master Data Approval Request Workflows', 0)
GO
INSERT [Wf].[WorkflowCategories] ([WorkflowCategoryID], [Description], [IsCancelled]) VALUES (9, N'Accreditation Request Workflows', 0)
GO
SET IDENTITY_INSERT [Wf].[WorkflowCategories] OFF
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (-1, N'Unknown', N'Unknown', NULL, N'Unknown', N'Unknown', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1, N'User', N'Security.Users', NULL, N'UserID', N'Security.Users', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (2, N'SecRole', N'Security.Roles', NULL, N'RoleID', N'Security.Roles', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (3, N'Message', N'Crm.Messages', NULL, N'MessageID', N'Crm.Messages', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (4, N'Workflow', N'Wf.Workflows', NULL, N'WorkflowID', N'Wf.Workflows', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (5, N'Workflow Template', N'Wf.WorkflowTemplates', NULL, N'WorkflowTemplateID', N'Wf.WorkflowTemplates', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (6, N'Workflow Instance', N'Wf.WorkflowInstances', NULL, N'WorkflowInstanceID', N'Wf.Vw_WorkflowInstances', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (7, N'Workflow Instance Task', N'Wf.WorkflowInstanceTasks', NULL, N'WorkflowInstanceTaskID', N'Wf.Vw_WorkflowInstanceTasks', N'WIT', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (8, N'Message Templates', N'Crm.MessageTemplates', NULL, N'MessageTemplateID', N'Crm.MessageTemplates', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (9, N'Application', N'Security.Applications', NULL, N'ApplicationID', N'Security.Applications', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (10, N'Report', N'Reports.ReportDefinitions', NULL, N'ReportDefinitionID', N'Reports.ReportDefinitions', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (11, N'Service', N'Svc.Services', NULL, N'ServiceID', N'Svc.Messages', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (12, N'Query', N'Crm.Queries', NULL, N'QueryID', N'Crm.Vw_Queries', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (13, N'Document', N'Doc.Documents', NULL, N'DocumentID', N'Doc.Documents', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (14, N'Workflow Instance Document', N'Wf.WorkflowInstanceDocuments', NULL, N'WorkflowInstanceDocumentID', N'Wf.WorkflowInstanceDocuments', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1000, N'ApplicationDetails', N'App.ApplicationDetails', NULL, N'ApplicationDetailID', N'App.Vw_ApplicationDetails_Light', N'APP', 0, N'TelCell', N'Email')
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1001, N'ReceiptDetails', N'App.ReceiptDetails', NULL, N'ReceiptDetailID', N'App.ReceiptDetails', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1002, N'NewRouteRequestDetails', N'App.NewRouteRequestDetails', NULL, N'NewRouteRequestDetailID', N'App.Vw_NewRouteRequestDetails', N'NRR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1003, N'ApplicationRouteDetails', N'App.ApplicationRouteDetails', NULL, N'ApplicationRouteDetailID', N'App.ApplicationRouteDetails', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1004, N'NewAssociationRequestDetails', N'App.NewAssociationRequestDetails', NULL, N'NewAssociationRequestDetailID', N'App.NewAssociationRequestDetails', N'NAR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1005, N'NewMemberRequestDetails', N'App.NewMemberRequestDetails', NULL, N'NewMemberRequestDetailID', N'App.NewMemberRequestDetails', N'NMR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1006, N'GazetteDetails', N'App.GazetteDetails', NULL, N'GazetteDetailID', N'App.GazetteDetails', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1007, N'AdjudicationDetails', N'App.AdjudicationDetails', NULL, N'AdjudicationDetailID', N'App.Vw_AdjudicationDetails', N'ADJ', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1008, N'Associations', N'Verified.Associations', NULL, N'AssociationID', N'Verified.Associations', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1009, N'Members', N'Verified.Members', NULL, N'MemberID', N'Verified.Members', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1010, N'Routes', N'Verified.Routes', NULL, N'RouteID', N'Verified.Routes', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1011, N'OperatingLicences', N'Verified.Licences', NULL, N'LicenceID', N'Verified.Licences', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1012, N'Vehicles', N'Verified.Vehicles', NULL, N'VehicleID', N'Verified.Vehicles', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1013, N'Places', N'Verified.Places', NULL, N'PlaceID', N'Verified.PlaceID', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1014, N'Licence Issue Details', N'App.LicenceIssueDetails', NULL, N'LicenceIssueDetailID', N'App.Vw_LicenceIssueDetails', N'LIR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1015, N'Precheck Details', N'App.PrecheckDetails', NULL, N'PrecheckDetailID', N'App.PrecheckDetails', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1016, N'NewVehicleRequestDetails', N'App.NewVehicleRequestDetails', NULL, N'NewVehicleRequestDetailID', N'App.NewVehicleRequestDetails', N'NVR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1017, N'PurificationDetails', N'App.PurificationDetails', NULL, N'PurificationDetailID', N'App.PurificationDetails', N'PUD', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1018, N'ApplicationAudit', N'App.ApplicationAudits', NULL, N'ApplicationAuditID', N'', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1019, N'LicenceUpliftmentExtensionRequestDetails', N'App.LicenceUpliftmentExtensionRequestDetails', NULL, N'LicenceUpliftmentExtensionRequestDetailID', N'App.LicenceUpliftmentExtensionRequestDetails', N'LER', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1020, N'AccreditationIssueDetails', N'App.AccreditationIssueDetails', NULL, N'AccreditationIssueDetailID', N'App.Vw_AccreditationIssueDetails', N'AID', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1021, N'Accreditation', N'Verified.Accreditations', NULL, N'AccreditationID', N'Verified.Accreditations', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1022, N'App.ApplicationLicences', N'App.ApplicationLicences', NULL, N'ApplicationLicenceID', N'App.ApplicationLicences', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1023, N'Stationery', N'App.Stationery', NULL, N'StationeryID', N'App.Stationery', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1024, N'ApplicationPrecheckDetails', N'App.ApplicationPrecheckDetails', NULL, N'ApplicationPrecheckDetailID', N'App.Vw_ApplicationPrecheckDetails', NULL, 0, N'', N'')
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1025, N'TemporaryReplacementLicences', N'App.ApplicationDetails', NULL, N'ApplicationLicenceID', N'App.Vw_ApplicationLicenceTemporaryReplacements', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1026, N'ApplicationAdjudications', N'App.ApplicationAdjudications', NULL, N'ApplicationAdjudicationID', N'App.ApplicationAdjudications', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1027, N'ApplicationLicenceVehicleDetails', N'App.ApplicationLicenceVehicleDetails', NULL, N'ApplicationLicenceID', N'App.ApplicationLicenceVehicleDetails', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1028, N'OfficeLocationSetupDocumentTemplates', N'Md.OfficeLocationSetupDocumentTemplates', NULL, N'OfficeLocationID', N'Md.OfficeLocationSetupDocumentTemplates', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1029, N'LicencingBoards', N'Md.LicencingBoards', NULL, N'LicencingBoardID', N'Md.Vw_LicencingBoards', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1030, N'VehicleMakes', N'Md.VehicleMakes', NULL, N'VehicleMakeID', N'', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1031, N'VehicleModels', N'Md.VehicleModels', NULL, N'VehicleModelID', N'Md.Vw_VehicleModels', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1032, N'BusinessRuleBypassRequestDetails', N'App.BusinessRuleBypassRequestDetails', NULL, N'BusinessRuleBypassRequestDetailID', N'App.Vw_BusinessRuleBypassRequestDetails', N'BRB', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1033, N'ApplicationTATDetails', N'App.ApplicationTATDetails', NULL, N'ApplicationDetailID', N'App.ApplicationTATDetails', N'TAT', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1034, N'LicenceCancelDetails', N'App.LicenceCancelDetails', NULL, N'LicenceCancelDetailID', N'App.Vw_LicenceCancelDetails', N'LCR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1035, N'MDApprovalDetails', N'App.MDApprovalDetails', NULL, N'MDApprovalDetailID', N'App.Vw_MDApprovalDetails', N'MDR', 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1036, N'Inspectors', N'Md.Inspectors', NULL, N'InspectorID', N'Md.Vw_Inspectors', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1037, N'Office Locations', N'Security.OfficeLocations', NULL, N'OfficeLocationID', N'Md.Vw_OfficeLocations', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1038, N'Division Type Annexure Mapping', N'Md.DivisionTypeAnnexureMappings', NULL, N'DivisionTypeAnnexureMappingID', N'Md.Vw_DivisionTypeAnnexureMappings', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1039, N'Application Request Type Division Setup', N'Md.ApplicationRequestTypeDivisionSetup', NULL, N'ApplicationRequestTypeDivisionSetupID', N'Md.Vw_ApplicationRequestTypeDivisionSetup', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1040, N'Application Request Type Document Setup', N'Md.ApplicationRequestTypeDocumentSetup', NULL, N'ApplicationRequestTypeDocumentID', N'Md.Vw_ApplicationRequestTypeDocumentSetup', NULL, 0, NULL, NULL)
GO
INSERT [System].[Entities] ([EntityID], [EntityName], [EntityTableName], [EntityDataTableName], [EntityKey], [EntityViewName], [FolderPrefix], [IsCancelled], [SMSFieldKey], [EmailFieldKey]) VALUES (1041, N'Accreditation Cancel Details', N'App.AccreditationCancelDetails', NULL, N'AccreditationCancelDetailID', N'App.AccreditationCancelDetails', N'ACD', 0, NULL, NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (1, 1, N'Applications', N'ApplicationRequest', N'Application Request', N'Start a new operating licence request', 1000, N'1000', N'1001', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), N'1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1010,1012,1015')
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (2, 2, N'Routes/Default', N'NewRouteRequest', N'Route Request', N'Start a new route or verification request', 1002, N'1000', N'1021,1015', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (3, 3, N'OperatingLicences/Issue', N'NewAssociationRequest', N'Association Request', N'Start a new association or verification request', 1004, N'1000', N'1001', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (4, 4, N'Members/Default', N'NewMemberRequest', N'Member Request', N'Start a new member or verification request', 1005, N'1000', N'1001', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (5, 1, N'OperatingLicences/Issue', N'LicenceIssueRequest', N'Licence Issue Request', N'Start a new licence issue request workflow', 1014, N'1000', N'1001,1009', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), N'1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1010,1012,1015')
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (6, 5, N'Vehicles/Default', N'NewVehicleRequest', N'Vehicle Request', N'Start a new vehicle or verification request', 1016, N'1000', N'1001', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (7, 6, N'OperatingLicences/Extensions', N'LicenceUpliftmentExtensionRequest', N'Licence Upliftment Extension Request', N'Start a new Licence Upliftment Extension request', 1019, N'1000', N'1001', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (8, 6, N'AccreditationIssueDetails', N'AccreditationIssueRequest', N'Accreditation Issue Request', N'Start a new accreditation issue request', 1020, N'1000', N'1001', NULL, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (9, 7, N'BusinessRuleBypass', N'BusinessRuleBypassRequests', N'Business Rule Bypass Requests', N'Start a new request to bypass business rules', 1032, N'1000', N'1000', NULL, 1, CAST(N'2020-04-20T13:50:29.927' AS DateTime), 1, CAST(N'2020-04-20T13:50:29.927' AS DateTime), NULL)
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (10, 1, N'LicenceCancel', N'LicenceCancelRequests', N'Licence Cancel Requests', N'Start a new licence cancel request', 1034, N'1000', N'1001,1009', NULL, 1, CAST(N'2020-05-18T10:18:16.187' AS DateTime), 1, CAST(N'2020-05-18T10:18:16.187' AS DateTime), N'1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1010,1012,1015')
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (11, 8, N'MDApproval', N'MDApprovalRequest', N'Master Data Approval Requests', N'Start a master data approval request', 1035, N'1000', N'1,1027,1028', NULL, 1, CAST(N'2020-05-26T12:09:40.527' AS DateTime), 1, CAST(N'2020-05-26T12:09:40.527' AS DateTime), N'1,1027,1028')
GO
INSERT [Wf].[Workflows] ([WorkflowID], [WorkflowCategoryID], [DashboardControllerName], [WorkflowControllerName], [WorkflowFriendlyName], [WorkflowDescription], [EntityID], [AdministratorRoles], [InitiatorRoles], [HelpUrl], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [ViewerRoles]) VALUES (12, 9, N'AccreditationCancel', N'AccreditationCancelRequest', N'Accreditation Cancel Request', N'Start a new accreditation cancel request', 1041, N'1000', N'1001', NULL, 1, CAST(N'2020-09-11T09:57:13.020' AS DateTime), 1, CAST(N'2020-09-11T09:57:13.020' AS DateTime), NULL)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTaskHandlers] ON 
GO
INSERT [Wf].[WorkflowTaskHandlers] ([WorkflowTaskHandlerID], [WorkflowID], [HandlerTypeName], [MethodName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (1, 1, N'Neo.LegitimateLicences.WinService.Extensions.AutoVerificationTask,Neo.LegitimateLicences.WinService.Extensions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', N'Run', 0, 1, CAST(N'2013-08-18T00:00:00.000' AS DateTime), 1, CAST(N'2013-08-18T00:00:00.000' AS DateTime))
GO
SET IDENTITY_INSERT [Wf].[WorkflowTaskHandlers] OFF
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplateStatus] ON 
GO
INSERT [Wf].[WorkflowTemplateStatus] ([WorkflowTemplateStatusID], [Description], [IsCancelled]) VALUES (1, N'Active', 0)
GO
INSERT [Wf].[WorkflowTemplateStatus] ([WorkflowTemplateStatusID], [Description], [IsCancelled]) VALUES (2, N'Inactive', 0)
GO
INSERT [Wf].[WorkflowTemplateStatus] ([WorkflowTemplateStatusID], [Description], [IsCancelled]) VALUES (3, N'Cancelled', 0)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplateStatus] OFF
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplates] ON 
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (1, 1, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''20''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Initiator creates request'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''Payment/Scanning'' Row=''1'' Column=''1''/>
		<Step Number=''3'' Title=''STEP 3'' Description=''User finalises application payment'' Row=''2'' Column=''0''/>
		<Step Number=''4'' Title=''STEP 4'' Description=''User scans mandatory documents and checks file into registry'' Row=''2'' Column=''2''/>
		<Step Number=''5'' Title=''STEP 5'' Description=''New Route Required'' Row=''3'' Column=''1''/>
		<Step Number=''6'' Title=''STEP 6'' Description=''Exception Handling'' Row=''4'' Column=''1''/>
		<Step Number=''7'' Title=''STEP 7'' Description=''Auto-Verification'' Row=''5'' Column=''1''/>
		<Step Number=''8'' Title=''STEP 8'' Description=''Verify that the application ID Number is the same as the source application ID number'' Row=''6'' Column=''0''/>
		<Step Number=''9'' Title=''STEP 9'' Description=''Verify that the application licence is currently active in the source system.'' Row=''6'' Column=''1''/>
		<Step Number=''10'' Title=''STEP 10'' Description=''Verify that the member is an active member of an association'' Row=''6'' Column=''2''/>
		<Step Number=''11'' Title=''STEP 11'' Description=''Bulk Vehicle Verification'' Row=''7'' Column=''1''/>
		<Step Number=''12'' Title=''STEP 12'' Description=''Document Verification'' Row=''8'' Column=''1''/>
		<Step Number=''13'' Title=''STEP 13'' Description=''Assessor approval'' Row=''9'' Column=''1''/>
		<Step Number=''14'' Title=''STEP 14'' Description=''Senior manager approval'' Row=''10'' Column=''1''/>
		<Step Number=''15'' Title=''STEP 15'' Description=''Gazetting Processing (Add application to gazette)'' Row=''11'' Column=''1''/>
		<Step Number=''16'' Title=''STEP 16'' Description=''Awaiting Gazette Notice Period Expiry (auto completion expiry)'' Row=''12'' Column=''1''/>
		<Step Number=''17'' Title=''STEP 17'' Description=''Agenda Officer'' Row=''13'' Column=''1''/>
		<Step Number=''18'' Title=''STEP 18'' Description=''Agenda Officer Completes Adjudication Meeting Confirmation (New)'' Row=''14'' Column=''0''/>
		<Step Number=''19'' Title=''STEP 19'' Description=''Agenda Officer Completes Adjudication Meeting Confirmation (Postponed)'' Row=''14'' Column=''1''/>
		<Step Number=''20'' Title=''STEP 20'' Description=''Agenda Officer Completes Adjudication Meeting Confirmation (Adjourned)'' Row=''14'' Column=''2''/>
		<Step Number=''21'' Title=''STEP 21'' Description=''Agenda Officer  Finalises Adjudication Meeting  Agenda'' Row=''15'' Column=''1''/>
		<Step Number=''22'' Title=''STEP 22'' Description=''Adjudication Panel Captures Adjudication Meeting Decision'' Row=''16'' Column=''1''/>
		<Step Number=''23'' Title=''STEP 23'' Description=''Adjudication Secretary Updates Application as per adjudication outcome'' Row=''17'' Column=''1''/>
		<Step Number=''24'' Title=''STEP 24'' Description=''Chairman of the Adjudication Panel Approves adjustments'' Row=''18'' Column=''1''/>
		<Step Number=''25'' Title=''STEP 25'' Description=''User finalised Cancellation (Withdrawn, Cancelled, Refused, Struck Off)'' Row=''19'' Column=''1''/>
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
		<Link FromStep=''2'' ToStep=''4'' />
		<Link FromStep=''3'' ToStep=''5'' />
		<Link FromStep=''4'' ToStep=''5'' />
		<Link FromStep=''5'' ToStep=''6'' />
		<Link FromStep=''6'' ToStep=''7'' />
		<Link FromStep=''7'' ToStep=''8'' />
		<Link FromStep=''7'' ToStep=''9'' />
		<Link FromStep=''7'' ToStep=''10'' />
		<Link FromStep=''8'' ToStep=''11'' />
		<Link FromStep=''9'' ToStep=''11'' />
		<Link FromStep=''10'' ToStep=''11'' />
		<Link FromStep=''11'' ToStep=''12'' />
		<Link FromStep=''12'' ToStep=''13'' />
		<Link FromStep=''13'' ToStep=''14'' />
		<Link FromStep=''14'' ToStep=''15'' />
		<Link FromStep=''15'' ToStep=''16'' />
		<Link FromStep=''16'' ToStep=''17'' />
		<Link FromStep=''17'' ToStep=''18'' />
		<Link FromStep=''17'' ToStep=''19'' />
		<Link FromStep=''17'' ToStep=''20'' />
		<Link FromStep=''18'' ToStep=''21'' />
		<Link FromStep=''19'' ToStep=''21'' />
		<Link FromStep=''20'' ToStep=''21'' />
		<Link FromStep=''21'' ToStep=''22'' />
		<Link FromStep=''22'' ToStep=''23'' />
		<Link FromStep=''23'' ToStep=''24'' />
		<Link FromStep=''24'' ToStep=''25'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), N'[[requesttype]] for [[member]]', N'App.Pr_ApplicationWorkflowParticipantUpdater', N'App.Pr_ApplicationSubmitToNextStepChecks', N'App.Pr_ApplicationPostSaveProcess', NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (3, 2, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''25''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Capture Route Details'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''Assessor verification and route number assignment'' Row=''1'' Column=''1''/>		
		<Step Number=''3'' Title=''STEP 3'' Description=''Approve Route Details'' Row=''2'' Column=''1''/>		
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), N'[[routeorigin]] to [[routedestination]]', N'App.Pr_NewRouteRequestWorkflowParticipantUpdater', N'App.Pr_NewRouteRequestSubmitToNextStepChecks', N'App.Pr_NewRouteRequestPostSaveProcess', NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (4, 3, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''25''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Confirm Association Details'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''Approve Association Details'' Row=''1'' Column=''1''/>		
		<Step Number=''3'' Title=''STEP 3'' Description=''Refresh all Verified Data'' Row=''2'' Column=''1''/>		
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL, NULL, NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (5, 4, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''25''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Confirm Member Details'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''Approve Member Details'' Row=''1'' Column=''1''/>		
		<Step Number=''3'' Title=''STEP 3'' Description=''Refresh all Verified Data'' Row=''2'' Column=''1''/>		
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL, NULL, NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (7, 5, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''3''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Vehicle Inspection (Disabled)'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''Document Upload'' Row=''1'' Column=''1''/>
		<Step Number=''3'' Title=''STEP 3'' Description=''Document Verification'' Row=''2'' Column=''1''/>
		<Step Number=''4'' Title=''STEP 4'' Description=''Final verification and print'' Row=''3'' Column=''1''/>
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
		<Link FromStep=''3'' ToStep=''4'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), N'[[applicationdescription]]', NULL, N'App.Pr_LicenceIssueSubmitToNextStepChecks', N'App.Pr_LicenceIssuePostSaveProcess', NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (8, 6, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''25''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Confirm Vehicle Details'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''Approve Vehicle Details'' Row=''1'' Column=''1''/>		
		<Step Number=''3'' Title=''STEP 3'' Description=''Refresh all Verified Data'' Row=''2'' Column=''1''/>		
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL, NULL, NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (9, 7, 1, 3, 1, N'<WorkflowLayout MaxColumns=''3'' MaxRows=''7''>
	<Steps>
		<Step Number=''1'' Title=''STEP 1'' Description=''Initiator creates request'' Row=''0'' Column=''1''/>
		<Step Number=''2'' Title=''STEP 2'' Description=''User scans mandatory documents and checks file into registry'' Row=''1'' Column=''2''/>
		<Step Number=''3'' Title=''STEP 3'' Description=''Document Verification'' Row=''2'' Column=''1''/>
		<Step Number=''4'' Title=''STEP 4'' Description=''Licence Upliftment Request Approval'' Row=''3'' Column=''0''/>
		<Step Number=''5'' Title=''STEP 5'' Description=''Request Approval One'' Row=''4'' Column=''1''/>
		<Step Number=''6'' Title=''STEP 6'' Description=''Request Approval Two'' Row=''5'' Column=''1''/>
		<Step Number=''7'' Title=''STEP 6'' Description=''Letter Sent For Licence Upliftment'' Row=''6'' Column=''1''/>
	</Steps>
	<Links>
		<Link FromStep=''1'' ToStep=''2'' />
		<Link FromStep=''2'' ToStep=''3'' />
		<Link FromStep=''2'' ToStep=''4'' />
		<Link FromStep=''3'' ToStep=''5'' />
		<Link FromStep=''4'' ToStep=''5'' />
		<Link FromStep=''5'' ToStep=''6'' />
		<Link FromStep=''6'' ToStep=''7'' />
	</Links>
</WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), NULL, NULL, NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (10, 8, 1, 3, 1, N'NA', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), 1, CAST(N'2019-07-01T00:00:00.000' AS DateTime), N'[[applicationdescription]]', NULL, N'App.Pr_AccreditationIssueSubmitToNextStepChecks', N'App.Pr_AccreditationIssuePostSaveProcess', NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (11, 9, 1, 3, 1, N'NA', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2020-04-20T13:54:24.177' AS DateTime), 1, CAST(N'2020-04-20T13:54:24.177' AS DateTime), N'[[businessrulebypassrequesttype]] for [[relatedreferencenumber]]', N'App.Pr_BusinessRuleBypassRequestWorkflowParticipantUpdater', NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (12, 10, 1, 3, 1, N'NA', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2020-05-18T10:23:33.717' AS DateTime), 1, CAST(N'2020-05-18T10:23:33.717' AS DateTime), N'Licence cancel for [[operatinglicencenumber]]', NULL, N'App.Pr_LicenceCancelSubmitToNextStepChecks', N'App.Pr_LicenceCancelPostSaveProcess', NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (13, 11, 1, 3, 1, N'<WorkflowLayout MaxColumns="3" MaxRows="3">    <Steps>     <Step Number="1" Title="STEP 1" Description="Initiator creates a new request" Row="0" Column="1"/>     <Step Number="2" Title="STEP 2" Description="Master Data Approval" Row="1" Column="1"/>     <Step Number="3" Title="STEP 3" Description="Update Master Data" Row="2" Column="1"/>    </Steps>    <Links>     <Link FromStep="1" ToStep="2" />     <Link FromStep="2" ToStep="3" />    </Links>   </WorkflowLayout>', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2020-05-26T12:15:56.397' AS DateTime), 1, CAST(N'2020-05-26T12:15:56.397' AS DateTime), N'[[workflowreference]] - [[entityname]] - [[description]]', N'App.Pr_MDApprovalRequestWorkflowParticipantUpdater', NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplates] ([WorkflowTemplateID], [WorkflowID], [WorkflowTemplateStatusID], [DocumentStoreLocationID], [Version], [RouteLayout], [CustomWorkflowTaskEmailRequired], [CustomWorkflowTaskEmailScriptID], [MessageTemplateID_NewTask], [MessageTemplateID_CancelledTask], [MessageTemplateID_ReAssignedTask], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [DescriptionTemplate], [ParticipantUpdateProcedure], [NextStepCheckProcedure], [PostSaveProcedure], [MoveToVerifiedProcedure]) VALUES (14, 12, 1, 3, 1, N'NA', 0, NULL, 1000, 1000, 1000, 1, CAST(N'2020-09-11T10:12:50.907' AS DateTime), 1, CAST(N'2020-09-11T10:12:50.907' AS DateTime), N'Accreditation cancel for [[accreditationnumber]]', NULL, N'App.Pr_AccreditationCancelSubmitToNextStepChecks', N'App.Pr_AccreditationCancelPostSaveProcess', NULL)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplates] OFF
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (21, 7, 4, 0, 1, 0, 2, NULL, N'Vehicle Inspection (Disabled)', N'Vehicle Inspection (Disabled)', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'1=2', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (22, 7, 2, 0, 2, 0, 111, NULL, N'Document Upload', N'Document Upload', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (23, 7, 2, 0, 4, 0, 999, NULL, N'Final verification and print', N'Final verification and print', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (29, 3, 2, 0, 1, 0, 111, NULL, N'Capture Route Details', N'Capture Route Details', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (30, 3, 1, 0, 3, 0, 999, NULL, N'Approve Route Details', N'Approve Route Details', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (34, 4, 2, 0, 1, 0, 2, NULL, N'Confirm Association Details', N'Confirm Association Details', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (35, 4, 1, 0, 2, 0, 999, NULL, N'Approve Association Details', N'Approve Association Details', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (37, 5, 2, 0, 1, 0, 2, NULL, N'Confirm Member Details', N'Confirm Member Details', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (38, 5, 1, 0, 2, 0, 999, NULL, N'Approve Member Details', N'Approve Member Details', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (52, 8, 2, 0, 1, 0, 2, NULL, N'Confirm Vehicle Details', N'Confirm Vehicle Details', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (53, 8, 1, 0, 2, 0, 999, NULL, N'Approve Vehicle Details', N'Approve Vehicle Details', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (54, 3, 2, 0, 2, 0, 3, NULL, N'Assessor verification and route number assignment', N'Assessor verification and route number assignment', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsAssessorVerificationRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (57, 7, 5, 0, 3, 0, 4, NULL, N'Document Verification', N'Document Verification', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsDocumentVerificationRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (58, 9, 2, 0, 1, 0, 2, NULL, N'Initiator creates request', N'Initiator creates request', 6, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (59, 9, 2, 0, 2, 0, 3, NULL, N'User scans mandatory documents and checks file into registry', N'User scans mandatory documents and checks file into registry', 6, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (60, 9, 4, 0, 3, 0, 4, NULL, N'Document Verification', N'Document Verification', 6, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (61, 9, 3, 1, 4, 0, 111, NULL, N'Licence Upliftment Request Approval', N'Licence Upliftment Request Approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (62, 9, 4, 1.1, 5, 4, 888, NULL, N'Request Approval One', N'Request Approval One', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (63, 9, 4, 1.2, 6, 4, 888, NULL, N'Request Approval Two', N'Request Approval Two', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (64, 9, 4, 0, 7, 0, 999, NULL, N'Letter Sent For Licence Upliftment', N'Letter Sent For Licence Upliftment', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1001, 1, 2, 0, 1, 0, 111, NULL, N'Initiator creates request', N'Initiator creates request', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1002, 1, 2, 0, 2, 0, 111, NULL, N'Payment', N'Payment', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsReceiptRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1003, 1, 5, 0, 4, 0, 111, NULL, N'Document Verification', N'Document Verification', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@DivisionTypeID <> 3', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1004, 1, 4, 0, 5, 0, 111, NULL, N'New Route Required', N'New Route Required', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsNewRouteRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1005, 1, 1, 0, 6, 0, 111, NULL, N'Assessor approval', N'Assessor approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsAssessorApprovalRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1006, 1, 1, 0, 7, 0, 111, NULL, N'Senior manager approval', N'Senior manager approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsSeniorManagerApprovalRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1007, 1, 3, 2, 8, 0, 111, NULL, N'Gazette and Referrals', N'Gazette and Referrals', 60, 120, NULL, N'Application Administrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1008, 1, 4, 2.1, 9, 8, 111, NULL, N'Gazetting Processing (Add application to gazette)', N'Gazetting Processing (Add application to gazette)', 60, 120, NULL, N'Application Administrator', 0, NULL, NULL, N'@IsGazettingRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1009, 1, 4, 2.1, 10, 8, 888, NULL, N'Awaiting Gazette Notice Period Expiry (auto completion expiry)', N'Awaiting Gazette Notice Period Expiry (auto completion expiry)', 60, 120, NULL, N'Application Administrator', 0, NULL, NULL, N'@IsGazettingRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1010, 1, 2, 2.2, 11, 8, 888, NULL, N'Inspection', N'Inspection', 60, 120, NULL, N'Application Administrator', 0, NULL, NULL, N'@IsInspectionRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1011, 1, 2, 2.3, 12, 8, 888, NULL, N'Referrals', N'Referrals', 60, 120, NULL, N'Application Administrator', 0, NULL, NULL, N'@IsReferralRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1012, 1, 4, 0, 13, 0, 111, NULL, N'Adjudication Queue (Add application to adjudication)', N'Adjudication Queue (Add application to adjudication)', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsAdjudicationRequired = ''True''  AND @IsAdjudicationBypassed = ''False''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1013, 1, 4, 0, 14, 0, 111, NULL, N'Agenda Officer Finalises Adjudication Meeting Agenda', N'Agenda Officer Finalises Adjudication Meeting Agenda', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsAdjudicationRequired = ''True''  AND @IsAdjudicationBypassed = ''False''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1014, 1, 4, 0, 15, 0, 111, NULL, N'Adjudication Panel Captures Adjudication Meeting Decision', N'Adjudication Panel Captures Adjudication Meeting Decision', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsAdjudicationRequired = ''True''  AND @IsAdjudicationBypassed = ''False''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1015, 1, 2, 0, 16, 0, 999, NULL, N'Complete application finalisation tasks', N'Complete application finalisation tasks', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'@IsFinalisationTasksRequired = ''True''', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1022, 10, 2, 0, 1, 0, 111, NULL, N'Confirmation and document upload', N'Confirmation and document upload', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1023, 10, 2, 0, 3, 0, 999, NULL, N'Final verification and print', N'Final verification and print', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1024, 10, 5, 0, 2, 0, 3, NULL, N'Document Verification', N'Document Verification', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, N'1=2', 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1025, 11, 2, 0, 1, 0, 111, NULL, N'Initiator creates a Business Rule Bypass Request', N'Initiator creates a Business Rule Bypass Request', 60, 120, NULL, NULL, 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1026, 11, 1, 0, 2, 0, 3, NULL, N'Business Rule Bypass Approval', N'Business Rule Bypass Approval', 60, 120, NULL, NULL, 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1027, 11, 4, 0, 3, 0, 999, NULL, N'Business Rule Bypass Approval Implementation', N'Business Rule Bypass Approval Implementation', 60, 120, NULL, NULL, 0, 1, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1028, 12, 2, 0, 1, 0, 2, NULL, N'Initiator creates a Licence Cancel Request', N'Initiator creates a Licence Cancel Request', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1029, 12, 1, 0, 2, 0, 3, NULL, N'Licence Cancel Request Approval', N'Licence Cancel Request Approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1030, 12, 4, 0, 3, 0, 4, NULL, N'System user cancels the licence', N'System user cancels the licence', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1031, 12, 2, 0, 4, 0, 999, NULL, N'Licence Cancel Post Processing', N'Licence Cancel Post Processing', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1032, 13, 2, 0, 1, 0, 2, NULL, N'Initiator creates a new master data approval request', N'Initiator creates a new master data approval request', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1033, 13, 1, 0, 2, 0, 3, NULL, N'Master Data Approval Request Approval', N'Master Data Approval Request Approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1034, 13, 4, 0, 3, 0, 999, NULL, N'Update Master Data', N'System updates verified data', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1035, 14, 2, 0, 1, 0, 2, NULL, N'Initiator creates a Accreditation Cancel Request', N'Initiator creates a Accreditation Cancel Request', 60, 120, NULL, N'WorkflowAdministrator', 1, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1036, 14, 1, 0, 2, 0, 3, NULL, N'Accreditation Cancel Request Approval', N'Accreditation Cancel Request Approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1037, 14, 4, 0, 3, 0, 4, NULL, N'System user cancels the accreditation', N'System user cancels the accreditation', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1038, 14, 2, 0, 4, 0, 999, NULL, N'Accreditation Cancel Post Processing', N'Accreditation Cancel Request Approval', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateSteps] ([WorkflowTemplateStepID], [WorkflowTemplateID], [WorkflowTemplateStepTypeID], [Branch], [Step], [StepParent], [StepNext], [StepNextPossibles], [StepTitle], [StepDescription], [StepDurationWarning], [StepDurationOvertime], [StepApplicationRoles], [StepReassignRoles], [IsDefaultStep], [WorkflowTaskHandlerID], [IsRequiredXml], [IsRequiredScript], [IsEmailRequired], [CanAutoExpire]) VALUES (1039, 1, 2, 0, 3, 0, 111, NULL, N'VehicleDetails', N'Vehicle and Licence Details', 60, 120, NULL, N'WorkflowAdministrator', 0, NULL, NULL, NULL, 0, 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerActions] ([WorkflowTemplateTriggerActionID], [Description], [IsCancelled]) VALUES (1, N'Send Email', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerActions] ([WorkflowTemplateTriggerActionID], [Description], [IsCancelled]) VALUES (2, N'Send SMS', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerActions] ([WorkflowTemplateTriggerActionID], [Description], [IsCancelled]) VALUES (3, N'Execute SQL', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerTypes] ([WorkflowTemplateTriggerTypeID], [Description], [IsCancelled]) VALUES (1, N'Before Workflow Instance Status Change', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerTypes] ([WorkflowTemplateTriggerTypeID], [Description], [IsCancelled]) VALUES (2, N'After Workflow Instance Status Change', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerTypes] ([WorkflowTemplateTriggerTypeID], [Description], [IsCancelled]) VALUES (3, N'Before Workflow Instance Step Change', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerTypes] ([WorkflowTemplateTriggerTypeID], [Description], [IsCancelled]) VALUES (4, N'After Workflow Instance Step Change', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerTypes] ([WorkflowTemplateTriggerTypeID], [Description], [IsCancelled]) VALUES (5, N'Before Workflow Instance Task Status Change', 0)
GO
INSERT [Wf].[WorkflowTemplateTriggerTypes] ([WorkflowTemplateTriggerTypeID], [Description], [IsCancelled]) VALUES (6, N'After Workflow Instance Task Status Change', 0)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplateTriggers] ON 
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (4, 3, NULL, 2, 3, N'Route Workflow Completed', 4, NULL, NULL, NULL, N'2,3,4')
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (5, 1, NULL, 2, 3, N'Over The Counter Licence Issue Workflow Starter', 5, NULL, NULL, N'@IsGazettingRequired = ''False'' AND @IsAdjudicationRequired = ''False''', N'2')
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (8, 9, 64, 2, 3, N'Uplift Licences', 10, NULL, NULL, NULL, N'2')
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (10007, 1, NULL, 2, 3, N'Send application received SMS', 8, NULL, NULL, NULL, N'1')
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (10008, 1, NULL, 2, 3, N'Clean up after cancellation', 9, NULL, NULL, NULL, N'4')
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (10010, 1, NULL, 4, 3, N'Calculate Application Status', 11, NULL, NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (10011, 1, NULL, 6, 3, N'Application Request Task Status Change', 12, NULL, NULL, NULL, NULL)
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (10012, 13, 1033, 6, 3, N'Process MD Approval Rejection', 13, NULL, NULL, NULL, N'3')
GO
INSERT [Wf].[WorkflowTemplateTriggers] ([WorkflowTemplateTriggerID], [WorkflowTemplateID], [WorkflowTemplateStepID], [WorkflowTemplateTriggerTypeID], [WorkflowTemplateTriggerActionID], [Title], [WorkflowTemplateScriptID], [MessageTemplateID], [IsRequiredXml], [IsRequiredScript], [IsRequiredStatusIds]) VALUES (10013, 1, 1004, 4, 3, N'Application Request New/Update Route Workflow Starter', 14, NULL, NULL, NULL, NULL)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplateTriggers] OFF
GO
INSERT [Md].[MessageMappingTypes] ([MessageMappingTypeID], [Description], [IsCancelled]) VALUES (1, N'Application Received/Started SMS', 0)
GO
INSERT [Md].[MessageMappingTypes] ([MessageMappingTypeID], [Description], [IsCancelled]) VALUES (2, N'OL Expiring SMS', 0)
GO
INSERT [Md].[MessageMappingTypes] ([MessageMappingTypeID], [Description], [IsCancelled]) VALUES (3, N'Pre-Adjudication Objection SMS', 0)
GO
INSERT [Md].[MessageMappingTypes] ([MessageMappingTypeID], [Description], [IsCancelled]) VALUES (4, N'Pre-Adjudication Hearing SMS', 0)
GO
INSERT [Md].[MessageMappingTypes] ([MessageMappingTypeID], [Description], [IsCancelled]) VALUES (5, N'Pre-Adjudication Meeting SMS', 0)
GO
INSERT [Md].[MessageMappingTypes] ([MessageMappingTypeID], [Description], [IsCancelled]) VALUES (6, N'Post-Adjudication SMS', 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1000, N'Task Email Template', N'[[workflowfriendlyname]] Workflow Task - [[workflowinstancereference]]', N'<html> <head>     <title></title>     <style type="text/css">         body         {             background: #F2F2F2 none;         }         body, table, tr, th, td, h1         {             font-family: Trebuchet MS;             font-size: 14px;             text-align: left;         }         h1         {             color: #3570C0;             font-size: 16px;             font-weight: bold;             margin: 0px;             padding: 0px;             text-transform: uppercase;         }     </style> </head> <body>     <h1>[[workflowfriendlyname]] Workflow Request</h1>     <br />     <table>         <tr>             <th>Reference Number:</th>             <td>[[referencenumber]]</td>         </tr>         <tr>             <th>Requested By:</th>             <td>[[requestedby]]</td>         </tr>         <tr>             <th>Date Requested:</th>             <td>[[workflowstartdate]]</td>         </tr>         <tr>             <th>Task:</th>             <td>[[workflowtemplatesteptitle]]</td>         </tr>         <tr>             <th>Duration:</th>             <td>You have [[taskduration]] to complete this task.</td>         </tr>         <tr>             <th>Comments:</th>             <td>[[comments]]</td>         </tr>     </table>     <p>         Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[itemid]]">here</a> to view the request.     </p>     <h1>Comment History</h1>     <br />     <table>         <tr>             <th>Comment By</th>             <th>Comment</th>             <th>Date</th>         </tr>         [[start foreach]]         <tr>             <td>[[commentby]]</td>             <td>[[comment]]</td>             <td>[[commentdate]]</td>         </tr>         [[end foreach]]     </table> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1001, N'Overdue Task Email Template', N'[[workflowfriendlyname]] Workflow Overdue Tasks Reminder', N'<html> <head>     <title></title>     <style type="text/css"> 		body 		{ 			background: #F2F2F2 none; 		} 		 		body, table, tr, th, td, h1 		{ 			font-family: Trebuchet MS; 			font-size: 14px; 			text-align: left; 		} 		 		h1 		{ 			color: #3570C0; 			font-size: 16px; 			font-weight: bold; 			margin: 0px; 			padding: 0px; 			text-transform: uppercase; 		} 	</style> </head> <body> 	<h1>Overdue Tasks Reminder</h1> 	<p> 		<b>This serves as a reminder that the following tasks have become overdue for action.</b> 	</p> 	<table> 		<tr> 			<th>Reference #</th> 			<th>Workflow Task</th> 			<th>Date Submitted</th> 			<th>Initiator</th> 			<th>Hours Overdue</th> 		</tr> 		[[start foreach]] 		<tr> 			<td><a href="http://[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[workflowinstanceitemid]]">[[workflowinstancereference]]</a></td> 			<td>[[taskdescription]]</td> 			<td>[[createddate]]</td> 			<td>[[createdby]]</td> 			<td>[[hoursoverdue]]</td> 		</tr>     		[[end foreach]]    	</table>   </body>  </html>', N'SELECT DISTINCT AssignedToID, Email AS Recipients, '''' AS Cc, '''' AS Bcc FROM Wf.Vw_WorkflowInstanceTasks Wit INNER JOIN Security.Users U ON Wit.AssignedToID = U.UserID WHERE WorkflowInstanceTaskStatusID = 1 AND DateDue < GETDATE() AND WorkflowID = 4 AND AssignedToID <> 1', N'SELECT WorkflowInstanceReference, WorkflowControllerName, WorkflowID, WorkflowInstanceItemID, ''Step '' + CAST(WorkflowTemplateStepNumber AS VARCHAR(20)) + '' - '' + WorkflowTemplateStepTitle AS TaskDescription, Wit.WorkflowInstanceCreatedByName AS CreatedBy, DATEDIFF(hh, DateDue, GETDATE()) AS HoursOverdue FROM Wf.Vw_WorkflowInstanceTasks Wit WHERE WorkflowInstanceTaskStatusID = 1 AND DATEDUE < GETDATE() AND AssignedToID = [[assignedtoid]]', 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1002, N'Request Correction Email Template', N'[[workflowfriendlyname]] Workflow Task - [[workflowinstancereference]]', N'<html> <head>     <title></title>     <style type="text/css"> 		body 		{ 			background: #F2F2F2 none; 		} 		 		body, table, tr, th, td, h1 		{ 			font-family: Trebuchet MS; 			font-size: 14px; 			text-align: left; 		} 		 		h1 		{ 			color: #3570C0; 			font-size: 16px; 			font-weight: bold; 			margin: 0px; 			padding: 0px; 			text-transform: uppercase; 		} 	</style> </head> <body>     <h1>[[workflowfriendlyname]] Workflow Request</h1>     <p>         Please note that this task has been sent back to you for correction.     </p>     <table>         <tr>             <th>Reference Number:</th>             <td>[[referencenumber]]</td>         </tr>                  <tr>             <th>Date Requested:</th>             <td>[[workflowstartdate]]</td>         </tr>         <tr>             <th>Task:</th>             <td>[[workflowtemplatesteptitle]]</td>         </tr>         <tr>             <th>Duration:</th>             <td>You have [[taskduration]] to complete this task.</td>         </tr>         <tr>             <th>Comments:</th>             <td>[[comments]]</td>         </tr>     </table>     <p>         Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[workflowinstanceitemid]]">here</a> to view the request.     </p>     <h1>Comment History</h1>     <br />     <table>         <tr>             <th>Comment By</th>             <th>Comment</th>             <th>Date</th>         </tr>         [[start foreach]]         <tr>             <td>[[commentby]]</td>             <td>[[comment]]</td>             <td>[[commentdate]]</td>         </tr>         [[end foreach]]     </table> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1003, N'Re-Assigned Task Email Template', N'[[workflowfriendlyname]] Workflow Task Re-Assigned - [[workflowinstancereference]]', N'<html> <head>     <title></title>     <style type="text/css"> 		body 		{ 			background: #F2F2F2 none; 		} 		 		body, table, tr, th, td, h1 		{ 			font-family: Trebuchet MS; 			font-size: 14px; 			text-align: left; 		} 		 		h1 		{ 			color: #3570C0; 			font-size: 16px; 			font-weight: bold; 			margin: 0px; 			padding: 0px; 			text-transform: uppercase; 		} 	</style> </head> <body>     <h1>[[workflowfriendlyname]] Workflow Request</h1>     <br />     <table>         <tr>             <th>Reference Number:</th>             <td>[[referencenumber]]</td>         </tr>         <tr>             <th>Requested By:</th>             <td>[[requestedby]]</td>         </tr>         <tr>             <th>Date Requested:</th>             <td>[[workflowstartdate]]</td>         </tr>         <tr>             <th>Task:</th>             <td>[[workflowtemplatesteptitle]]</td>         </tr>         <tr>             <th>Duration:</th>             <td>You have [[taskduration]] to complete this task.</td>         </tr>         <tr>             <th>Comments:</th>             <td>[[comments]]</td>         </tr>     </table>     <p>         Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[workflowinstanceitemid]]">here</a> to view the request.     </p>     <h1>Comment History</h1>     <br />     <table>         <tr>             <th>Comment By</th>             <th>Comment</th>             <th>Date</th>         </tr>         [[start foreach]]         <tr>             <td>[[commentby]]</td>             <td>[[comment]]</td>             <td>[[commentdate]]</td>         </tr>         [[end foreach]]     </table> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1004, N'Cancelled Task Email Template', N'[[workflowfriendlyname]] Workflow Task Cancelled - [[workflowinstancereference]]', N'<html> <head>     <title></title>     <style type="text/css"> 		body 		{ 			background: #F2F2F2 none; 		} 		 		body, table, tr, th, td, h1 		{ 			font-family: Trebuchet MS; 			font-size: 14px; 			text-align: left; 		} 		 		h1 		{ 			color: #3570C0; 			font-size: 16px; 			font-weight: bold; 			margin: 0px; 			padding: 0px; 			text-transform: uppercase; 		} 	</style> </head> <body>     <h1>[[workflowfriendlyname]] Workflow Request</h1>     <br />     <table>         <tr>             <th>Reference Number:</th>             <td>[[referencenumber]]</td>         </tr>         <tr>             <th>Requested By:</th>             <td>[[requestedby]]</td>         </tr>         <tr>             <th>Date Requested:</th>             <td>[[workflowstartdate]]</td>         </tr>         <tr>             <th>Task:</th>             <td>[[workflowtemplatesteptitle]]</td>         </tr>         <tr>             <th>Duration:</th>             <td>You have [[taskduration]] to complete this task.</td>         </tr>         <tr>             <th>Comments:</th>             <td>[[comments]]</td>         </tr>     </table>     <p>         Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[workflowinstanceitemid]]">here</a> to view the request.     </p>     <h1>Comment History</h1>     <br />     <table>         <tr>             <th>Comment By</th>             <th>Comment</th>             <th>Date</th>         </tr>         [[start foreach]]         <tr>             <td>[[commentby]]</td>             <td>[[comment]]</td>             <td>[[commentdate]]</td>         </tr>         [[end foreach]]     </table> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1005, N'Rejected Workflow Email Template', N'[[workflowfriendlyname]] Workflow Rejected - [[referencenumber]]', N'<html> <head>     <title></title>     <style type="text/css"> 		body 		{ 			background: #F2F2F2 none; 		} 		 		body, table, tr, th, td, h1 		{ 			font-family: Trebuchet MS; 			font-size: 14px; 			text-align: left; 		} 		 		h1 		{ 			color: #3570C0; 			font-size: 16px; 			font-weight: bold; 			margin: 0px; 			padding: 0px; 			text-transform: uppercase; 		} 	</style> </head> <body>     <h1>[[workflowfriendlyname]] Completed</h1>     <br />     <table>         <tr>             <th><b>Reference Number:</b></th>             <td>[[referencenumber]]</td>         </tr>         <tr>             <th><b>Requested By:</b></th>             <td>[[requestedby]]</td>         </tr>         <tr>             <th><b>Date Requested:</b></th>             <td>[[workflowstartdate]]</td>         </tr>     </table>     <p>         Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[materialmasterdetailid]]">here</a> to view the request.     </p> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1006, N'Completed Workflow Email Template', N'[[workflowfriendlyname]] Workflow Completed - [[referencenumber]]', N'<html> <head>     <title></title>     <style type="text/css">         body         {             background: #F2F2F2 none;         }         body, table, tr, th, td, h1         {             font-family: Trebuchet MS;             font-size: 14px;             text-align: left;         }         h1         {             color: #3570C0;             font-size: 16px;             font-weight: bold;             margin: 0px;             padding: 0px;             text-transform: uppercase;         }     </style> </head> <body>     <h1>[[workflowfriendlyname]] Completed</h1>     <br />     <table>         <tr>             <th>Reference Number:</th>             <td>[[referencenumber]]</td>         </tr>         <tr>             <th>Requested By:</th>             <td>[[requestedby]]</td>         </tr>         <tr>             <th>Date Requested:</th>             <td>[[workflowstartdate]]</td>         </tr>         <tr>             <th>Comments:</th>             <td>[[comments]]</td>         </tr>     </table>     <p>Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[itemid]]">here</a> to view the request.</p> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1007, N'Deleted Workflow Email Template', N'[[workflowfriendlyname]] Workflow Deleted - [[referencenumber]]', N'<html> <head>     <title></title>     <style type="text/css"> 		body 		{ 			background: #F2F2F2 none; 		} 		 		body, table, tr, th, td, h1 		{ 			font-family: Trebuchet MS; 			font-size: 14px; 			text-align: left; 		} 		 		h1 		{ 			color: #3570C0; 			font-size: 16px; 			font-weight: bold; 			margin: 0px; 			padding: 0px; 			text-transform: uppercase; 		} 	</style> </head> <body>     <h1>[[workflowfriendlyname]] Completed</h1>     <br />     <table>         <tr>             <th><b>Reference Number:</b></th>             <td>[[referencenumber]]</td>         </tr>         <tr>             <th><b>Requested By:</b></th>             <td>[[requestedby]]</td>         </tr>         <tr>             <th><b>Date Requested:</b></th>             <td>[[workflowstartdate]]</td>         </tr>     </table>     <p>         Please click <a href="[[systemurl]]/[[workflowcontrollername]]/Console?workflowid=[[workflowid]]&itemid=[[materialmasterdetailid]]">here</a> to view the request.     </p> </body> </html>', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1009, N'Pre-Adjudication Member SMS', N'Member Hearing SMS', N'Notification from the National Public Transport Regulator. The following application [[start foreach]][[applicationnumber]] [[end foreach]]will be reviewed on [[meetingdate]] [[meetingtime]] at [[meetingplace]]', N'SELECT DISTINCT Ara.ApplicationDetailID, System.Fn_GetFormattedCellNumber(TelCell) AS Recipients, '''' AS Cc, '''' AS Bcc  
FROM App.ApplicationAdjudications Ara
	INNER JOIN App.ApplicationDetails Ard ON Ara.ApplicationDetailID = Ard.ApplicationDetailID
	INNER JOIN App.ApplicationApplicantDetails Aad ON Ard.ApplicationDetailID = Aad.ApplicationDetailID
WHERE Ara.adjudicationdetailid = [[adjudicationdetailid]]
	AND LEN(System.Fn_GetFormattedCellNumber(TelCell)) = 11', N'SELECT Wi.ReferenceNumber AS workflowinstancereference, Ard.ApplicationNumber
FROM App.ApplicationDetails Ard
	INNER JOIN Wf.WorkflowInstances Wi ON Ard.WorkflowInstanceID = Wi.WorkflowInstanceID
WHERE  Ard.ApplicationDetailID = [[applicationdetailid]]', 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1011, N'Post Adjudication Member SMS', N'Member Decision SMS', N'Notification from the National Public Transport Regulator. [[start foreach]]The following application [[applicationnumber]] was reviewed on [[meetingdate]]. The decision was [[decision]].[[end foreach]] ', N'SELECT DISTINCT Ara.ApplicationDetailID, System.Fn_GetFormattedCellNumber(TelCell) AS Recipients, '''' AS Cc, '''' AS Bcc  
FROM App.ApplicationAdjudications Ara
	INNER JOIN App.ApplicationDetails Ard ON Ara.ApplicationDetailID = Ard.ApplicationDetailID
	INNER JOIN App.ApplicationApplicantDetails Aad ON Ard.ApplicationDetailID = Aad.ApplicationDetailID
WHERE Ara.adjudicationdetailid = [[adjudicationdetailid]]
	AND LEN(System.Fn_GetFormattedCellNumber(TelCell)) = 11', N'SELECT TOP 1 Wi.ReferenceNumber AS workflowinstancereference, AdDe.Description AS decision, Ad.meetingdate, Ard.ApplicationNumber
FROM App.ApplicationDetails Ard
	INNER JOIN App.ApplicationAdjudications Ara ON Ard.ApplicationDetailID = Ara.ApplicationDetailID
	INNER JOIN App.Vw_AdjudicationDetails Ad ON Ara.AdjudicationDetailID = Ad.AdjudicationDetailID
	INNER JOIN App.AdjudicationDecisions AdDe ON Ara.FinalAdjudicationDecisionID = AdDe.AdjudicationDecisionID
	INNER JOIN Wf.WorkflowInstances Wi ON Ard.WorkflowInstanceID = Wi.WorkflowInstanceID
	WHERE  Ard.ApplicationDetailID = [[applicationdetailid]]  ORDER BY Ara.AdjudicationDetailID DESC ', 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1012, N'Upcoming Licence Expiry SMS', N'Upcoming Licence Expiry SMS', N'Your Operating Licence ([[licence]]) is due to expiry on [[exiprydate]]. Please visit your nearest licencing office to begin the renewal process.', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1013, N'Expired Licence SMS', N'Expired Licence SMS', N'Your Operating Licence ([[licence]]) expired on [[exiprydate]]. Please visit your nearest licencing office immediately.', NULL, NULL, 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1014, N'Pre-Adjudication Objection SMS', N'Pre-Adjudication Objection SMS', N'Notification from the National Public Transport Regulator. The following application [[start foreach]][[applicationnumber]] [[end foreach]]will be reviewed on [[meetingdate]] [[meetingtime]] at [[meetingplace]]', N'SELECT DISTINCT Ara.ApplicationDetailID, System.Fn_GetFormattedCellNumber(TelCell) AS Recipients, '''' AS Cc, '''' AS Bcc  
FROM App.ApplicationAdjudications Ara
INNER JOIN App.ApplicationObjections ON ApplicationObjections.ApplicationDetailID = Ara.ApplicationDetailID
WHERE Ara.adjudicationdetailid = [[adjudicationdetailid]]
	AND LEN(System.Fn_GetFormattedCellNumber(TelCell)) = 11
', N'SELECT Wi.ReferenceNumber AS workflowinstancereference, Ard.ApplicationNumber
	FROM App.ApplicationDetails Ard
	INNER JOIN Wf.WorkflowInstances Wi ON Ard.WorkflowInstanceID = Wi.WorkflowInstanceID
	WHERE  Ard.ApplicationDetailID = [[applicationdetailid]]', 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1015, N'Pre-Adjudication Member SMS', N'Member Meeting SMS', N'Notification from the National Public Transport Regulator. The following application [[start foreach]][[applicationnumber]] will be reviewed on [[meetdate]] in committee.[[end foreach]]', N'SELECT DISTINCT Ara.ApplicationDetailID, System.Fn_GetFormattedCellNumber(TelCell) AS Recipients, ''''AS Cc,''''AS Bcc  
				FROM App.ApplicationAdjudications Ara
				INNER JOIN App.ApplicationDetails Ard ON Ara.ApplicationDetailID = Ard.ApplicationDetailID
				INNER JOIN App.ApplicationApplicantDetails Aad ON Ard.ApplicationDetailID = Aad.ApplicationDetailID
				WHERE Ara.adjudicationdetailid = [[adjudicationdetailid]]
				AND LEN(System.Fn_GetFormattedCellNumber(TelCell)) = 11', N'SELECT Wi.ReferenceNumber AS workflowinstancereference, System.Fn_FormatDate(MeetingDate,''dd MMM yyyy'') AS meetdate, Ard.ApplicationNumber
				FROM App.ApplicationDetails Ard
				INNER JOIN Wf.WorkflowInstances Wi ON Ard.WorkflowInstanceID = Wi.WorkflowInstanceID
				LEFT JOIN App.AdjudicationDetails ad ON ad.AdjudicationDetailID = Ard.AdjudicationDetailID
				WHERE  Ard.ApplicationDetailID = [[applicationdetailid]]', 0, 0)
GO
INSERT [Crm].[MessageTemplates] ([MessageTemplateID], [Description], [Subject], [Message], [RecipientSqlScript], [DatasetSqlScript], [IsSystemTemplate], [IsCancelled]) VALUES (1016, N'Application Received SMS', N'', N'Notification from [[divisiontype]]. Your application has been received. Please quote reference number is [[applicationnumber]] in future correspondence. Thank you.', NULL, NULL, 0, 0)
GO
INSERT [Md].[DivisionTypes] ([DivisionTypeID], [Description], [IsCancelled], [PaymentClerkUserID]) VALUES (1, N'PRE', 0, 1000)
GO
INSERT [Md].[DivisionTypes] ([DivisionTypeID], [Description], [IsCancelled], [PaymentClerkUserID]) VALUES (2, N'NPTR', 0, 1000)
GO
INSERT [Md].[DivisionTypes] ([DivisionTypeID], [Description], [IsCancelled], [PaymentClerkUserID]) VALUES (3, N'TAT', 0, 1000)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (1, N'Gauteng', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (2, N'Kwa-Zulu Natal', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (3, N'Eastern Cape', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (4, N'Western Cape', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (5, N'Limpopo Province', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (6, N'North West', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (7, N'Free State', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (8, N'Mpumalanga', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (9, N'Northern Cape', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (10, N'National', 0)
GO
INSERT [Md].[Provinces] ([ProvinceID], [Description], [IsCancelled]) VALUES (11, N'NPTR', 0)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (1, 1, NULL, 1, 1016)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (2, 2, NULL, 1, 1016)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (3, 1, NULL, 3, 1014)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (4, 2, NULL, 3, 1014)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (5, 1, NULL, 4, 1009)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (6, 2, NULL, 4, 1009)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (7, 1, NULL, 5, 1015)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (8, 2, NULL, 5, 1015)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (9, 1, NULL, 6, 1011)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (10, 2, NULL, 6, 1011)
GO
INSERT [Md].[MessageMappings] ([MessageMappingID], [DivisionTypeID], [ProvinceID], [MessageMappingTypeID], [MessageTemplateID]) VALUES (11, 3, NULL, 1, 1016)
GO
SET IDENTITY_INSERT [Report].[Groups] ON 
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (1, N'Application Reports', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (2, N'OL Reports', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (3, N'Association Reports', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (4, N'Member Reports', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (5, N'Route Reports', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (6, N'General', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (7, N'Hidden', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (8, N'NPTR Reports', 0)
GO
INSERT [Report].[Groups] ([ReportGroupID], [Description], [IsCancelled]) VALUES (9, N'IT Audit Reports', 0)
GO
SET IDENTITY_INSERT [Report].[Groups] OFF
GO
INSERT [System].[AuthTypes] ([AuthTypeID], [Title]) VALUES (1, N'Anonymous')
GO
INSERT [System].[AuthTypes] ([AuthTypeID], [Title]) VALUES (2, N'Network Credential')
GO
SET IDENTITY_INSERT [Report].[Servers] ON 
GO
INSERT [Report].[Servers] ([ReportServerID], [Title], [Url], [ServiceFileName], [AuthTypeID], [AuthDomain], [AuthUser], [AuthPassword], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (1, N'Legitimate Reports', N'Neo.LegitimateLicences.Reports', N'DevExpress', 1, N'', N'', N'', 0, 1, CAST(N'2013-02-11T09:01:49.420' AS DateTime), 1, CAST(N'2013-02-11T09:01:49.420' AS DateTime))
GO
SET IDENTITY_INSERT [Report].[Servers] OFF
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (1, 1, 6, 9, 1, N'Cashup', N'Cashup', N'ApplicationReports', N'Application_CashUpReport', 0, 1, CAST(N'2013-02-11T09:31:23.083' AS DateTime), 1, CAST(N'2013-02-11T09:31:23.083' AS DateTime), 1055)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (2, 1, 6, 1, 1, N'Inspection Sheet', N'Inspection Sheet', N'/Legitimate', N'InspectionSheet', 0, 1, CAST(N'2013-02-21T00:00:00.000' AS DateTime), 1, CAST(N'2013-02-21T00:00:00.000' AS DateTime), 2001)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (3, 1, 6, 1, 1, N'Payment Advice', N'Payment Advice', N'/Legitimate', N'PaymentAdvice', 0, 1, CAST(N'2013-02-21T00:00:00.000' AS DateTime), 1, CAST(N'2013-02-21T10:33:41.173' AS DateTime), 1038)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (6, 1, 6, 1, 1, N'Adjudication Agenda', N'Adjudication Agenda', N'General', N'Adjudication_AdjudicationAgenda', 0, 1, CAST(N'2013-02-22T14:36:15.663' AS DateTime), 1, CAST(N'2013-02-22T14:36:15.663' AS DateTime), 1014)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (8, 1, 6, 1, 1, N'Annexure', N'Annexure', N'/Legitimate', N'OLAnnexure', 0, 1, CAST(N'2013-02-22T15:10:34.873' AS DateTime), 1, CAST(N'2013-02-22T15:10:34.873' AS DateTime), 2012)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (9, 1, 6, 1, 1, N'Gazette Pack', N'Gazette Pack', N'General', N'GazettePack', 0, 1, CAST(N'2013-02-25T09:38:59.920' AS DateTime), 1, CAST(N'2013-02-25T09:38:59.920' AS DateTime), 1009)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (11, 1, 6, 1, 1, N'Pre-Adjudication Letter', N'Pre-Adjudication Letter', N'General', N'Adjudication_PreAdjudicationLetter', 0, 1, CAST(N'2013-03-01T11:36:08.170' AS DateTime), 1, CAST(N'2013-03-01T11:36:08.170' AS DateTime), 1068)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (12, 1, 6, 1, 1, N'Post-Adjudication Letter', N'Post-Adjudication Letter', N'General', N'Adjudication_PostAdjudicationLetter', 0, 1, CAST(N'2013-03-01T00:00:00.000' AS DateTime), 1, CAST(N'2013-03-01T11:36:54.367' AS DateTime), 1068)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (1034, 1, 4, 1, 1, N'Members with issued licences', N'All members per association, with a licence in one of these statuses: issued, expiring, expired', N'MemberReports', N'Members_MembersWithIssuedLicences', 0, 1, CAST(N'2015-10-10T15:51:14.870' AS DateTime), 1, CAST(N'2015-10-10T15:51:14.870' AS DateTime), 5003)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (1036, 1, 7, 1, 1, N'Application Audit Report', N'Details on all audits', N'Hidden', N'Application_ApplicationAuditSearch', 0, 1, CAST(N'2016-09-29T16:54:50.307' AS DateTime), 1, CAST(N'2016-09-29T16:54:50.307' AS DateTime), 1042)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (1040, 1, 7, 1, 1, N'Receipt vehicle details', N'Receipt vehicle details', N'/Legitimate', N'ReceiptVehicleDetails', 0, 1, CAST(N'2018-03-13T18:25:02.343' AS DateTime), 1, CAST(N'2018-03-13T18:25:02.343' AS DateTime), 1074)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10014, 1, 1, 1, 1, N'Completed Applications', N'Find a list of completed applications (per type, date range and region)', N'ApplicationReports', N'Application_CompletedApplications', 0, 1, CAST(N'2013-03-05T17:35:05.377' AS DateTime), 1, CAST(N'2013-03-05T17:35:05.377' AS DateTime), 1060)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10016, 1, 1, 1, 1, N'Adjudication Decisions', N'Find a list of adjudication decisions', N'ApplicationReports', N'Application_AdjudicationDecisions', 0, 1, CAST(N'2013-03-05T17:37:18.227' AS DateTime), 1, CAST(N'2013-03-05T17:37:18.227' AS DateTime), 1057)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10017, 1, 1, 1, 1, N'Money Received', N'Find a list of all money received (per type and type date range)', N'ApplicationReports', N'Application_CashUpSummaryReport', 0, 1, CAST(N'2013-03-05T17:38:19.673' AS DateTime), 1, CAST(N'2013-03-05T17:38:19.673' AS DateTime), 1064)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10024, 1, 2, 1, 1, N'Operating Licence Annexure', N'Get specific Operating Licence Annexure', N'OLReports', N'Licences_LicenceIssueDetails', 0, 1, CAST(N'2013-08-16T00:00:00.000' AS DateTime), 1, CAST(N'2013-08-16T00:00:00.000' AS DateTime), 2016)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10025, 1, 1, 1, 1, N'Applications In Progress', N'All Applications that are currently in Progress', N'ApplicationReports', N'Application_WorkflowsInProgress', 0, 1, CAST(N'2014-02-10T15:59:56.903' AS DateTime), 1, CAST(N'2014-02-10T15:59:56.903' AS DateTime), 1059)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10026, 1, 1, 1, 1, N'Activity Report', N'Find a list of completed tasks', N'ApplicationReports', N'Application_ActivityReport', 0, 1, CAST(N'2014-02-10T17:36:31.997' AS DateTime), 1, CAST(N'2014-02-10T17:36:31.997' AS DateTime), 1056)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10027, 1, 2, 1, 1, N'Operating Licences Issued', N'All Operating Licences Issued', N'OLReports', N'Licences_LicenceIssueOperatingLicencesIssued', 0, 1, CAST(N'2014-03-12T16:55:58.673' AS DateTime), 1, CAST(N'2014-03-12T16:55:58.673' AS DateTime), 2017)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10028, 1, 5, 1, 1, N'Verified Routes', N'List of Verified Routes and their details', N'RouteReports', N'Routes_VerifiedRoutes', 0, 1, CAST(N'2014-03-17T18:44:09.217' AS DateTime), 1, CAST(N'2014-03-17T18:44:09.217' AS DateTime), 4011)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10030, 1, 1, 1, 1, N'Route Details', N'Find the details about a specific route via board or national route number', N'ApplicationReports', N'Application_ApplicationRoutes', 0, 1, CAST(N'2014-09-17T08:42:50.197' AS DateTime), 1, CAST(N'2014-09-17T08:42:50.197' AS DateTime), 1065)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10031, 1, 6, 1, 1, N'Agenda Minutes', N'Agenda Minutes', N'General', N'Adjudication_AdjudicationMinutes', 0, 1, CAST(N'2015-02-08T11:53:31.007' AS DateTime), 1, CAST(N'2015-02-08T11:53:31.007' AS DateTime), 1070)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10032, 1, 7, 1, 1, N'Operating Licence Details', N'Operating Licence Details', N'Hidden', N'Licences_LicenceDetails', 0, 1, CAST(N'2015-03-21T17:01:54.827' AS DateTime), 1, CAST(N'2015-03-21T17:01:54.827' AS DateTime), 2018)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10033, 1, 7, 1, 1, N'Post-Adjudication Letter Single', N'Post-Adjudication Letter Single', N'Hidden', N'Adjudication_PostAdjudicationLetterSingle', 0, 1, CAST(N'2015-04-18T16:24:34.790' AS DateTime), 1, CAST(N'2015-04-18T16:24:34.790' AS DateTime), 1068)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10034, 1, 2, 1, 1, N'OLAS Migration Status', N'Migration status of licences', N'OLReports', N'Licenses_Purification_OlasMigrationStatus', 0, 1, CAST(N'2015-11-21T12:12:46.770' AS DateTime), 1, CAST(N'2015-11-21T12:12:46.770' AS DateTime), 2015)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10035, 1, 7, 1, 1, N'Pre adjudication objection letters', N'', N'Hidden', N'Adjudication_PreAdjudicationObjectionInviteLetter', 0, 1, CAST(N'2016-01-23T14:52:40.990' AS DateTime), 1, CAST(N'2016-01-23T14:52:40.990' AS DateTime), 1068)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10036, 1, 5, 1, 1, N'Association Routes', N'List of routes per association', N'RouteReports', N'Routes_AssociationRouteReport', 0, 1, CAST(N'2016-12-13T16:35:41.313' AS DateTime), 1, CAST(N'2016-12-13T16:35:41.313' AS DateTime), 4010)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10037, 1, 1, 1, 1, N'Allowed new licence summary', N'Status of id/registration numbers added to the allowed new licence list', N'ApplicationReports', N'Application_AllowedNewLicenceSummary', 0, 1, CAST(N'2017-09-03T18:47:24.297' AS DateTime), 1, CAST(N'2017-09-03T18:47:24.297' AS DateTime), 1058)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10038, 1, 2, 1, 1, N'Operating Licences Awaiting Issuing', N'Summary of LIR workflows in progress', N'OLReports', N'Licenses_LicensesAwaitingIssue', 0, 1, CAST(N'2017-09-10T18:57:58.280' AS DateTime), 1, CAST(N'2017-09-10T18:57:58.280' AS DateTime), 2021)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10039, 1, 2, 1, 1, N'Temporary Licences', N'Temporary licences issued', N'OLReports', N'Licences_TemporarySpecialOL', 0, 1, CAST(N'2017-12-14T17:37:21.467' AS DateTime), 1, CAST(N'2017-12-14T17:37:21.467' AS DateTime), 2022)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10040, 1, 7, 1, 1, N'Temporary Replacement Letter', N'', N'/Legitimate', N'TemporaryReplacementLetter', 0, 1, CAST(N'2018-04-19T20:13:19.593' AS DateTime), 1, CAST(N'2018-04-19T20:13:19.593' AS DateTime), 2024)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10041, 1, 2, 1, 1, N'Printed Operating Licences', N'Report for all Licences that is printed', N'OLReports', N'Licences_OperatingLicencePrinted', 0, 1, CAST(N'2018-05-14T00:00:00.000' AS DateTime), 1, CAST(N'2018-05-14T00:00:00.000' AS DateTime), 2026)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10042, 1, 7, 1, 1, N'User Activity', N'User Activity Report', N'Hidden', N'UserActivity', 0, 1, CAST(N'2018-07-23T00:00:00.000' AS DateTime), 1, CAST(N'2018-07-23T00:00:00.000' AS DateTime), 7000)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10043, 1, 1, 1, 1, N'Existing Licences List', N'Find a list of all existing licences in Expired List', N'ApplicationReports', N'Application_ExpiredLicenses', 0, 1, CAST(N'2018-08-22T09:30:27.683' AS DateTime), 1, CAST(N'2018-08-22T09:30:27.683' AS DateTime), 1078)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10044, 1, 7, 1, 1, N'30 Day Letter Bulk', N'30 Day Bulk Letter', N'Hidden', N'Member_30DayLetterBulk', 0, 1, CAST(N'2018-09-19T00:00:00.000' AS DateTime), 1, CAST(N'2018-09-19T00:00:00.000' AS DateTime), 2002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10045, 1, 7, 1, 1, N'60 Day Letter Bulk', N'60 Day Bulk Letter', N'Hidden', N'Member_60DayLetterBulk', 0, 1, CAST(N'2018-09-19T00:00:00.000' AS DateTime), 1, CAST(N'2018-09-19T00:00:00.000' AS DateTime), 2002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10046, 1, 7, 1, 1, N'90 Day Letter Bulk', N'90 Day Bulk Letter', N'Hidden', N'Member_90DayLetterBulk', 0, 1, CAST(N'2018-09-19T00:00:00.000' AS DateTime), 1, CAST(N'2018-09-19T00:00:00.000' AS DateTime), 2002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10047, 1, 2, 1, 1, N'Activity Report', N'Find a list of completed tasks', N'OLReports', N'Licences_LicenceActivityReport', 0, 1, CAST(N'2018-10-29T00:00:00.000' AS DateTime), 1, CAST(N'2018-10-29T00:00:00.000' AS DateTime), 2028)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10048, 1, 2, 1, 1, N'CancelledLicences', N'All Cancelled Licences', N'OLReports', N'Licences_CancelledLicences', 0, 1, CAST(N'2018-11-16T10:52:35.347' AS DateTime), 1, CAST(N'2018-11-16T10:52:35.347' AS DateTime), 2006)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10049, 1, 7, 1, 1, N'Licence Upliftment Decisions Letter', N'Licence Upliftment Decisions Letter', N'/Legitimate', N'LicenceUpliftmentDecisionsLetter', 0, 1, CAST(N'2018-11-26T14:41:43.160' AS DateTime), 1, CAST(N'2018-11-26T14:41:43.160' AS DateTime), 2030)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10050, 1, 4, 1, 1, N'New Membership Report', N'New Membership Report Including OLAS', N'MemberReports', N'Member_NewMembershipReport', 0, 1, CAST(N'2019-01-22T08:11:15.050' AS DateTime), 1, CAST(N'2019-01-22T08:11:15.050' AS DateTime), 5006)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10051, 1, 7, 1, 1, N'Application Routes report', N'Application Route Summary', N'OLReports', N'Application_AppRouteSummary', 0, 1, CAST(N'2019-01-22T14:46:14.370' AS DateTime), 1, CAST(N'2019-01-22T14:46:14.370' AS DateTime), 1080)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10052, 1, 6, 1, 1, N'NPTR Inspection Notification', N'NPTR Inspection Notification', N'NPTR_Reports', N'Nptr_Inspection_Notification', 0, 1, CAST(N'2019-09-08T14:24:17.433' AS DateTime), 1, CAST(N'2019-09-08T14:24:17.433' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10053, 1, 6, 1, 1, N'Nptr Referral Authority', N'Nptr Referral Authority', N'General', N'Nptr_Referral_Authority', 0, 1, CAST(N'2019-09-08T14:24:20.837' AS DateTime), 1, CAST(N'2019-09-08T14:24:20.837' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10054, 1, 6, 1, 1, N'Nptr Referral Inspectorate', N'Nptr Referral Inspectorate', N'General', N'Nptr_Referral_Inspectorate', 0, 1, CAST(N'2019-09-08T14:24:24.130' AS DateTime), 1, CAST(N'2019-09-08T14:24:24.130' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10055, 1, 8, 1, 1, N'Post-Adjudication Letter Single Approval', N'Post-Adjudication Letter Single Approval', N'NPTR_Reports', N'NPTR_PostAdjudicationLetterSingle_Approval', 0, 1, CAST(N'2019-10-11T10:36:50.713' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.713' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10056, 1, 8, 1, 1, N'Post-Adjudication Letter Single Postponement', N'Post-Adjudication Letter Single Postponement', N'NPTR_Reports', N'NPTR_PostAdjudicationLetterSingle_Postponement', 0, 1, CAST(N'2019-10-11T10:36:50.717' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.717' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10057, 1, 8, 1, 1, N'Post-Adjudication Letter Single Refusal', N'Post-Adjudication Letter Single Refusal', N'NPTR_Reports', N'NPTR_PostAdjudicationLetterSingle_Refusal', 0, 1, CAST(N'2019-10-11T10:36:50.717' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.717' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10058, 1, 8, 1, 1, N'Nptr Pre-Adjudication Letter Single', N'Nptr Pre-Adjudication Letter Single', N'NPTR_Reports', N'NPTR_Rpt_PreAdjudicationLetterSingle', 0, 1, CAST(N'2019-10-11T10:36:50.720' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.720' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10059, 1, 8, 1, 1, N'Nptr Pre-Adjudication Letter', N'Nptr Pre-Adjudication Letter', N'NPTR_Reports', N'NPTR_Rpt_PreAdjudicationLetter', 0, 1, CAST(N'2019-10-11T10:36:50.720' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.720' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10060, 1, 8, 1, 1, N'Nptr Pre-Adjudication Objection Invite Letter Single', N'Nptr Pre-Adjudication Objection Invite Letter Single', N'NPTR_Reports', N'NPTR_Rpt_PreAdjudicationObjectionInviteLetterSingle', 0, 1, CAST(N'2019-10-11T10:36:50.723' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.723' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10061, 1, 8, 1, 1, N'Nptr Pre-Adjudication Objection Invite Letter', N'Nptr Pre-Adjudication Objection Invite Letter', N'NPTR_Reports', N'NPTR_Rpt_PreAdjudicationObjectionInviteLetter', 0, 1, CAST(N'2019-10-11T10:36:50.727' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.727' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10062, 1, 8, 1, 1, N'Letter To Planning Authourity Report', N'Letter To Planning Authourity Report', N'NPTR_Reports', N'NPTR_LetterToPlanningAuthourityReport', 0, 1, CAST(N'2019-10-11T10:36:50.730' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.730' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10063, 1, 8, 1, 1, N'Letter To Pre Comment On Dual Authourity Application Report', N'Letter To Pre Comment On Dual Authourity Application Report', N'NPTR_Reports', N'NPTR_LetterToPreCommentOnDualAuthourityApplicationReport', 0, 1, CAST(N'2019-10-11T10:36:50.730' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.730' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10064, 1, 8, 1, 1, N'Letter To Pre Deal With Dual Authourity Application', N'Letter To Pre Deal With Dual Authourity Application Report', N'NPTR_Reports', N'NPTR_LetterToPreDealWithDualAuthourityApplicationReport', 0, 1, CAST(N'2019-10-11T10:36:50.733' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.733' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10065, 1, 8, 1, 1, N'Letter To Tourim Authourity', N'Letter To Tourim Authourity Report', N'NPTR_Reports', N'NPTR_LetterToTourimAuthourityReport', 0, 1, CAST(N'2019-10-11T10:36:50.737' AS DateTime), 1, CAST(N'2019-10-11T10:36:50.737' AS DateTime), NULL)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10066, 1, 7, 1, 1, N'60 Day Letter Single', N'60 Day Letter Single', N'Hidden', N'Member_60DayLetterSingle', 0, 1, CAST(N'2020-02-03T15:54:53.703' AS DateTime), 1, CAST(N'2020-02-03T15:54:53.703' AS DateTime), 2002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10067, 1, 7, 1, 1, N'30 Day Letter', N'30 Day Letter', N'Hidden', N'Member_30DayLetter', 0, 1, CAST(N'2020-02-03T16:00:38.753' AS DateTime), 1, CAST(N'2020-02-03T16:00:38.753' AS DateTime), 2002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10068, 1, 7, 1, 1, N'90 Day Letter Single', N'90 Day Letter Single', N'Hidden', N'Member_90DayLetterSingle', 0, 1, CAST(N'2020-02-05T10:07:04.770' AS DateTime), 1, CAST(N'2020-02-05T10:07:04.770' AS DateTime), 2002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10069, 1, 9, 1, 1, N'User Status Changes', N'De-activations and activations of existing users', N'ITAuditReports', N'ITAudit_UserStatusReport', 0, 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 13002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10070, 1, 9, 1, 1, N'New Users Created', N'All new users created', N'ITAuditReports', N'ITAudit_UsersCreatedReport', 0, 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 13002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10071, 1, 9, 1, 1, N'User Role Changes', N'Changes to user roles', N'ITAuditReports', N'ITAudit_ActivityReport', 0, 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 13002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10072, 1, 9, 1, 1, N'Current User/Role Assignmentt', N'A breakdown of roles assigned to users', N'ITAuditReports', N'ITAudit_ActiveUserMappingReport', 0, 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 13002)
GO
INSERT [Report].[ReportDefinitions] ([ReportDefinitionID], [ReportServerID], [ReportGroupID], [EntityID], [ItemID], [Title], [Description], [ReportFolder], [ReportName], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [SecurableID]) VALUES (10073, 1, 9, 1, 1, N'User System Activity', N'A log of all system activity for a user', N'ITAuditReports', N'ITAudit_UserActivityReport', 0, 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 1, CAST(N'2020-06-01T12:01:26.133' AS DateTime), 13002)
GO
INSERT [Security].[Applications] ([ApplicationID], [Name], [IsCancelled]) VALUES (1, N'Neo Legitimate', 0)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1, 1, N'Legitimate System Administrator', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (2, 1, N'System User', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1000, 1, N'Application Administrator', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1001, 1, N'Data Capturer', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1002, 1, N'Payment Clerk', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1003, 1, N'Registery Clerk', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1004, 1, N'Verifier', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1005, 1, N'Exception Handler', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1006, 1, N'Gazetting Manager', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1007, 1, N'Agenda Officer', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1008, 1, N'Adjudication Secretary', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1009, 1, N'Chairman of the Adjudication Panel', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1010, 1, N'Inspection Officer', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1011, 1, N'Issuing Officer', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1012, 1, N'Licence Signatory', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1013, 1, N'Adjudication Panel member', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1014, 1, N'Adjudication Override', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1015, 1, N'Route Approver', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1016, 1, N'Data purification', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1017, 1, N'Auditor', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1018, 1, N'Application Reports Role', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1019, 1, N'Operating Licence Reports Role', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1020, 1, N'View Only', 1, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1021, 1, N'New Route Creator', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1022, 1, N'Inspection Capturer', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1023, 1, N'Referral Capturer', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1024, 1, N'Operating License Administrator', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1025, 1, N'Stationary Manager', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1026, 1, N'Inter-department data releases', 0, NULL)
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1027, 1, N'Master Data Approver', 0, N'1028')
GO
INSERT [Security].[Roles] ([RoleID], [ApplicationID], [Name], [IsCancelled], [ConflictingRoleIDs]) VALUES (1028, 1, N'Master Data Capturer', 0, N'1027')
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1, N'Audits', N'Allows access to view the system audit.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2, N'Crms', N'Allows access to alter the crm section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (3, N'Documents', N'Allows access to alter the documents section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4, N'Forms', N'Allows access to alter the form section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5, N'Integrations', N'Allows access to alter the integration section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (6, N'Reports', N'Allows access to alter the reports section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (7, N'Securities', N'Allows access to alter the security section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (8, N'Services', N'Allows access to alter the services section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (9, N'Systems', N'Allows access to alter the system section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (10, N'Workflows', N'Allows access to alter the workflows section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (11, N'Delegation', N'Allows access to alter the delegation section.', 1, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1000, N'Applications Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1001, N'Applications Module > Home > Start a new application', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1002, N'Applications Module > Purification', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1003, N'Applications Module > Receipts', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1004, N'Applications Module > Receipts > Cash-Up', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1005, N'Applications Module > Verification', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1006, N'Applications Module > Exceptions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1007, N'Applications Module > Gazettes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1008, N'Applications Module > Gazettes > Console > Finalise and Publish Gazette', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1009, N'Applications Module > Gazettes > Console > Print Gazette', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1010, N'Applications Module > Adjudication', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1011, N'Applications Module > Adjudication > Add Adjudication Hearing', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1012, N'Applications Module > Adjudication > Add In-Committee Meeting', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1013, N'Applications Module > Adjudication > Console > Finalise Agenda', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1014, N'Applications Module > Adjudication > Console > Print Agenda', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1015, N'Applications Module > Adjudication > Console > Capture Decisions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1016, N'Applications Module > Adjudication > Console > Adjust Required Applications', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1017, N'Applications Module > Adjudication > Console > Approve Decisions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1018, N'Applications Module > Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1019, N'Applications Module > Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1020, N'Applications Module > Adjudication Scheduler Override', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1021, N'Applications Module > Adjudication Re-schedule postponed and adjourned applications', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1022, N'Applications Module > Purification > Update missing originating licence numbers', N'Allows users to update originating licence numbers on applications created as new', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1023, N'Applications Module > Purification > Overwrite originating licence numbers', N'Allows users to overwrite originating licence numbers on applications created as new', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1024, N'Applications Module > Purification > Update vehicle''s linked to operating licences incorrectly', N'Allows users to update vehicle details on active licences', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1025, N'Applications Module > Adjudication > Bypass adjudication', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1026, N'Applications Module > Auditing', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1027, N'Applications Module > Purification > Add to blocked licence list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1028, N'Applications Module > Purification > Add to LTPS licence list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1029, N'Applications Module > Application Request > Adjudication > View Adjudication Console', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1030, N'Applications Module > Application Request > Adjudication > Add to adjudication', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1031, N'Applications Module > Application Request > Adjudication > Restart Decisions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1032, N'Applications Module > Application Request > Adjudication > Capture Decision', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1033, N'Applications Module > Application Request > Adjudication >  Bypass Adjudication', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1034, N'Applications Module > Application Request > View member details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1035, N'Applications Module > Application Request > Update originating licence number', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1036, N'Applications Module > Application Request > Add objection', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1037, N'Applications Module > Application Request > View OLAS Data', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1038, N'Applications Module > Application Request > Print Payment Advice', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1039, N'Applications Module > Application Request > Print Barcode', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1040, N'Applications Module > Application Request > Edit Record', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1041, N'Applications Module > Application Request > Re-print receipt', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1042, N'Applications Module > Run audit report', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1043, N'Applications Module > Create new gazette', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1044, N'Applications Module > Gazettes > Console > Bypass gazette expiry', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1045, N'Applications Module > Purification > Update member contact details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1046, N'Applications Module > Purification > Correct mode and service type', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1047, N'Applications Module > Purification > Manage Neo verified data', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1048, N'Applications Module > Purification > Manage legiti-mate licences linked to active OLAs licences', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1049, N'Applications Module > Purification > Manage bypassed expired licence list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1050, N'Purification Module > Manage allowed new licence list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1051, N'Applications Module > Receipts > Create receipt', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1052, N'Applications Module > Receipts > Flag as received', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1053, N'Applications Module > Receipts > Assign receipt', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1054, N'Applications Module > Receipts > Generate and print receipt', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1055, N'Applications Module > Receipts > Run cash up report', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1056, N'Applications Module > Reports > Activity Report', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1057, N'Applications Module > Reports > Adjudication Decisions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1058, N'Applications Module > Reports > Allowed New Licence Summary', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1059, N'Applications Module > Reports > Applications In Progress Report', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1060, N'Applications Module > Reports > Completed Application', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1061, N'Applications Module > Reports > Incomeplete Applications', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1062, N'Applications Module > Reports > Member Details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1063, N'Applications Module > Reports > Missing Purification Data', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1064, N'Applications Module > Reports > Money Received', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1065, N'Applications Module > Reports > Route Details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1066, N'Applications Module > Verify next application', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1067, N'Applications Module > Adjudication > Console > Reverse Decision', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1068, N'Applications Module > Adjudication > Console > Print Decision Letter', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1069, N'Applications Module > Purification > Delete from blocked licence list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1070, N'Applications Module > Adjudication > Console > Download Minutes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1071, N'Applications Module > Purification > Add to blocked ID number list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1072, N'Applications Module > Purification > Delete from blocked ID number list', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1073, N'Applications Module > Receipts > Cancel Receipt', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1074, N'Applications Module > Receipts > Re-print Receipt', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1075, N'Applications Module > Adjudication > Console > Remove Application', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1076, N'Applications Module > Adjudication > Console > Add Application', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1077, N'Applications Module > Purification > Manage View Source System List', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1078, N'Applications Module > Reports > Expired List', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1079, N'Applications Module > Purification > Correct Route', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1080, N'Applications Module > Reports> Application Routes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1081, N'Applications Module > Purification > Change Application Type', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1082, N'Applications Module > Receipt Management', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1083, N'Applications Module > Receipts > Set Receipt To Zero', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1084, N'Applications Module > Assign Receipt To Application', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1085, N'Applications Module > Purification > Change ID Number', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1086, N'Applications Module > Inspection', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1087, N'Applications Module > Referrals', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1088, N'Applications Module > Application Request > Add Tag', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1089, N'Applications Module > Assessor Approval', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (1090, N'Applications Module > Senior Manager Approval', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2000, N'Operating Licences Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2001, N'Operating Licences Module > Inspections', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2002, N'Operating Licences Module > Issuing', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2003, N'Operating Licences Module > Licence Issue Request > Re-Print Licence', N'Allows access to the specified function', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2004, N'Operating Licences Module > Expiries', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2005, N'Operating Licences Module > Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2006, N'Operating Licences Module > Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2007, N'Operating Licences Module > Purification', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2008, N'Operating Licences Module > View Operating Licence Console', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2009, N'Operating Licences Module > Issuing > Licences Awaiting Supporting Documents', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2010, N'Operating Licences Module > Issuing > Licences Awaiting Verification and Printing', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2011, N'Operating Licences Module > Licence Issue Request > Print Licence (Test)', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2012, N'Operating Licences Module > Licence Issue Request > Print Licence (Actual)', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2013, N'Operating Licences Module > Licence Issue Request > Amend Routes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2014, N'Operating Licences Module > Licence Issue Request > Enable locked sections', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2015, N'Operating Licences Module > Reports > OLAS Migration Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2016, N'Operating Licences Module > Reports > Operating Licence Annexure', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2017, N'Operating Licences Module > Reports > Operating Licences Issued', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2018, N'Operating Licences Module > Licence console > Print operating licence details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2019, N'Operating Licences Module > Licence Console >  Update verified vehicle details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2020, N'Operating Licences Module > Licence Console >  Flag VIN as correct', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2021, N'Operating Licences Module > Reports > Operating Licences Awaiting Issuing', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2022, N'Operating Licences Module > Reports > Temporary Licences', N'Temporary licences issued', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2023, N'Operating Licences Module > Licence Issue Request > Issue without print', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2024, N'Operating Licences Module > Licence Issue Request > Print temporary replacement letter', N'Operating Licences Module >  Print temporary replacement letter', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2025, N'Operating Licences Module > Licence Issue Request > Delink Vehicle', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2026, N'Operating Licences Module > Reports > OperatingLicencePrinted', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2027, N'Operating Licences Module > Issuing > Issuing Expiries', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2028, N'Operating Licences Module > Reports > LicenceIssueRequestsInProgress', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2029, N'Operating Licences Module > Extensions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (2030, N'Operating Licences Module > Reports > UpliftmentDecisionReport', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (3000, N'Associations Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (3001, N'Associations Module > View Association Console', N'Allows access to the specified function', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (3002, N'Associations Module > Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (3003, N'Associations Module > Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (3004, N'Associations Module > Association Console > Adjust Routes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4000, N'Routes Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4001, N'Routes Module > Add New Route', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4002, N'Routes Module > Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4003, N'Routes Module > Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4004, N'Routes Module > Purification', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4005, N'Routes Module > View Route Console', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4006, N'Routes Module > Purification > Update potential OLAS descriptions', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4007, N'Routes Module > Purification > Check route description', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4008, N'Routes Module > Purification > Resolve duplicate national route numbers', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4009, N'Routes Module > Purification > Resolve duplicate board route numbers', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4010, N'Routes Module > Reports > Association Routes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4011, N'Routes Module > Reports > Verified Routes', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (4012, N'Routes Module > Route Console > Send to purification', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5000, N'Members Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5001, N'Members Module > View Member Console', N'Allows access to the specified function', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5002, N'Members Module > Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5003, N'Members Module > Reports > Members with issued licences ', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5004, N'Members Module > Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5005, N'Members Module > Member Console > Save member contact details', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (5006, N'Members Module > Reports > New membership report', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (6000, N'Vehicles Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (6001, N'Vehicles Module > View Vehicle Console', N'Allows access to the specified function', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (6002, N'Vehicle Module > Status', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (6003, N'Vehicle Module > Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (7000, N'Admin Module', N'Allows access to the admin module', 0, 1)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (7001, N'Admin Module > Manage Users', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (7002, N'Admin Module > Manage Places', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (7003, N'Admin Module > Manage Application Documents', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (7004, N'Admin Module > Office Locations', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (8000, N'Cashup Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (8001, N'Cashup Module > Cashup Administrator', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (8002, N'Cashup Module > Receipt Batch Generate', N'Allows access to the admin module', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (9000, N'Accreditations Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (9001, N'Accreditations Module > Issuing > Accreditations Awaiting Supporting Documents', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (9002, N'Accreditations Module > Issuing > Accreditations Awaiting Verification and Printing', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (10000, N'Dashboards Module > Avg. Time to process dashboard', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (10001, N'Dashboards Module > Avg. Time to respond to queries', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (10002, N'Dashboards Module > Avg. Time to veify', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (10003, N'Dashboards Module > Application Analytics', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (11000, N'Stationary Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (12000, N'Business Rule Bypass Request Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (13000, N'Inter-Department Module', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (13001, N'Inter-Department Module > Date Release', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[Securables] ([SecurableID], [Name], [Description], [IsCancelled], [IsSystem]) VALUES (13002, N'IT Audit Reports', N'Allows access to the specified function.', 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1019, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1025, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1027, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1028, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1033, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1042, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1044, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1046, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1047, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1048, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1049, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1050, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1055, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1056, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1057, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1058, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1059, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1060, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1061, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1062, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1063, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1064, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1065, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1069, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 1073, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 2006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 2015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 2016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 2017, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 2021, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 3003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 4003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 4010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 4011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 5002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 5003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 6003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 7000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 7001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 7002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 7004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1, 12000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (2, 1041, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 3, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 6, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 7, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 8, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 9, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 10, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 11, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1012, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1013, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1014, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1017, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1018, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1019, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1020, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1021, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1022, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1023, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1024, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1025, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1026, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1027, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1028, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1029, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1030, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1031, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1032, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1033, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1034, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1035, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1036, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1037, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1038, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1039, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1040, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1041, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1042, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1043, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1044, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1045, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1046, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1047, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1048, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1049, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1050, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1051, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1052, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1053, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1054, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1055, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1056, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1057, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1058, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1059, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1060, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1061, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1062, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1063, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1064, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1065, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1066, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1067, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1068, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1069, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1070, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1071, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1072, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1073, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1074, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1075, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1076, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1077, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1078, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1079, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1080, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1081, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1082, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1083, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1084, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1085, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1088, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1089, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 1090, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2005, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2006, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2012, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2013, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2014, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2017, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2018, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2019, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2020, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2021, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2022, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2023, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2024, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2025, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2026, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2027, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2028, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2029, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 2030, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 3000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 3001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 3002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 3003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 3004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 4012, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 5006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 6000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 6001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 6002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 6003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 7000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 7001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 7002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 7003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 8000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 8001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 8002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 10003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 12000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1000, 13002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1001, 2, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1001, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1001, 1001, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1001, 1056, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1001, 1059, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1001, 1060, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1003, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1004, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1038, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1041, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1051, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1052, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1053, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1054, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1055, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1064, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1073, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1002, 1074, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 1018, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 1019, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 2005, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 2006, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 4002, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1003, 5001, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1004, 1, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1004, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1004, 1005, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1004, 1066, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1005, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1005, 1006, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1005, 1044, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1006, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1006, 1007, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1006, 1008, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1006, 1009, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1006, 1036, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1006, 1043, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1010, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1011, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1012, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1013, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1014, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1021, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1029, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1068, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1070, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1007, 1076, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1010, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1012, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1013, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1014, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1020, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1068, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1070, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1075, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1008, 1076, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1010, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1013, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1014, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1017, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1020, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1021, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1029, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1030, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1031, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1032, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1037, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1057, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1067, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1068, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 1070, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 2013, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1009, 3004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 1002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 1027, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 2000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 2002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 2010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 2023, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 2024, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 2027, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1011, 6001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 1018, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 1019, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2004, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2005, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2006, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2012, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2013, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2014, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2018, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2019, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2020, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2023, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 2024, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 4002, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1012, 5001, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1017, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1019, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1029, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1032, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1013, 1057, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1014, 1025, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 1018, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 1019, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 1046, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 1065, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 2005, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 2006, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 3000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 3003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4001, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 4011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 5001, 0, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1015, 7002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1002, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1022, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1024, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1041, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1045, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1047, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1048, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1049, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1054, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1055, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1077, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1079, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1081, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1082, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 1085, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 2007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 2008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 4004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 4006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 4007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 4008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1016, 4009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1017, 1026, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1017, 1042, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1019, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1056, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1057, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1058, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1059, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1060, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1061, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1062, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1063, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1064, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1018, 1065, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2017, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2021, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2022, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1019, 2028, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1007, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1018, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1019, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1026, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1034, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1037, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1042, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1056, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1057, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1060, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 1061, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2004, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2006, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2008, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2009, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2015, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2016, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2017, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 2021, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 3000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 3001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 4000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 4003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 4005, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 4010, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 4011, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 5000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 5001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 5002, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 5003, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 6000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1020, 6001, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1022, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1022, 1086, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1023, 1000, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1023, 1087, 1, 0)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1025, 11000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1026, 13000, 1, 1)
GO
INSERT [Security].[RoleSecurables] ([RoleID], [SecurableID], [CanRead], [CanEdit]) VALUES (1026, 13001, 1, 1)
GO
INSERT [Security].[UserStatus] ([UserStatusID], [Title]) VALUES (1, N'Active')
GO
INSERT [Security].[UserStatus] ([UserStatusID], [Title]) VALUES (2, N'Inactive')
GO
INSERT [Security].[UserStatus] ([UserStatusID], [Title]) VALUES (3, N'Cancelled')
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (1, N'NPTR Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (2, N'Gauteng Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (3, N'Kwa-Zulu Natal Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (4, N'Eastern Cape Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (5, N'Western Cape Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (6, N'Limpopo Province Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (7, N'North West Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (8, N'Free State Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (9, N'Mpumalanga Head office', 0, NULL)
GO
INSERT [Security].[OfficeLocations] ([OfficeLocationID], [Description], [IsCancelled], [IsNew]) VALUES (10, N'Northern Cape Head office', 0, NULL)
GO
INSERT [Security].[Users] ([UserID], [UserStatusID], [EntityID], [ItemID], [LastName], [FirstName], [KnownAs], [Email], [NTAccount], [Cell], [IsPasswordExpired], [PasswordDate], [PasswordHash], [PasswordSalt], [PasswordChallenge], [PasswordQuestion], [PasswordAnswerHash], [PasswordAnswerSalt], [PasswordAnswerChallenge], [FingerprintTemplate], [FingerprintRequestToken], [FingerprintRequestExpiryDate], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [UserProfileDocID], [OfficeLocationID]) VALUES (1, 1, NULL, NULL, N'User', N'System', N'System User', N'system@neoafrica.com', N'system', NULL, 0, CAST(N'2013-09-28T15:06:34.000' AS DateTime), N'Q5i4xhRdEjnOwOJwlbWDFAW+2ag=', NULL, NULL, NULL, N'XvtKwiEvEJ68iJ3CpzX3kd/EEZo=', NULL, NULL, NULL, NULL, NULL, 1, CAST(N'2012-12-29T11:13:02.000' AS DateTime), 1051, CAST(N'2014-05-22T21:07:28.803' AS DateTime), NULL, 1)
GO
INSERT [Security].[Users] ([UserID], [UserStatusID], [EntityID], [ItemID], [LastName], [FirstName], [KnownAs], [Email], [NTAccount], [Cell], [IsPasswordExpired], [PasswordDate], [PasswordHash], [PasswordSalt], [PasswordChallenge], [PasswordQuestion], [PasswordAnswerHash], [PasswordAnswerSalt], [PasswordAnswerChallenge], [FingerprintTemplate], [FingerprintRequestToken], [FingerprintRequestExpiryDate], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [UserProfileDocID], [OfficeLocationID]) VALUES (1000, 1, 9, NULL, N'Forster', N'Stephen', N'Stephen Forster', N'stephen@vcloud.co.za', N'stephen@vcloud.co.za', N'0836508600', 0, CAST(N'2013-05-28T15:12:50.000' AS DateTime), N'Q5i4xhRdEjnOwOJwlbWDFAW+2ag=', N'jADFoNokBQ==', NULL, N'What is the name of your favourite company?', N'Q5i4xhRdEjnOwOJwlbWDFAW+2ag=', N'EAzyQaj3iw==', NULL, 0x[encoded data, 6560 characters], NULL, NULL, 1, CAST(N'2012-12-29T12:55:04.000' AS DateTime), 1000, CAST(N'2023-06-12T20:26:02.787' AS DateTime), NULL, 1)
GO
INSERT [Security].[Users] ([UserID], [UserStatusID], [EntityID], [ItemID], [LastName], [FirstName], [KnownAs], [Email], [NTAccount], [Cell], [IsPasswordExpired], [PasswordDate], [PasswordHash], [PasswordSalt], [PasswordChallenge], [PasswordQuestion], [PasswordAnswerHash], [PasswordAnswerSalt], [PasswordAnswerChallenge], [FingerprintTemplate], [FingerprintRequestToken], [FingerprintRequestExpiryDate], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [UserProfileDocID], [OfficeLocationID]) VALUES (1001, 1, NULL, NULL, N'Alexander', N'Gavin', N'Gavin Alexander', N'gavin@softedgesolutions.co.za', N'gavin@softedgesolutions.co.za', N'0834473870', 0, CAST(N'2023-05-21T11:27:21.140' AS DateTime), N'uKKbP4zBjqyLO28Xicjg9LOL/rw=', N'jBMToPowJQ==', NULL, N'What is the default password?', N'Q5i4xhRdEjnOwOJwlbWDFAW+2ag=', N'R6AJSMg9FQ==', NULL, 0x00F82801C82AE3735CC0413709A471F039145592C6EF6F70C660025F46C6C51BC17FED3250DAB8BABDC1C857108F5E781F1DACFF910C2D7A5BFA336A138644224BF0C4AF0D07E68813CDB7C9884A906B1551DE7B4BA2700BD5E7E59320AE57A05CF659B0FB7AAF1AB67BF3952E921E63BDEB5B0A7192ADF337CE34AE58179E9F8F148656B73A41B718812513F63BD6F5CBE69EB9BAAD6517CFAF3D4D48076F053D8C557843BEA26D623AFCE508E6B744A668EB04D2E059A4D225654F4CCEEAE0DE40B8867F651B8318F40271260A605B7CA887FD68BD0DC1BD1EFB5F635A681BE352D5680C9D26CB25FF890E9B0F713E16E94654A76C4F9E8E263AE8C4E558CBF5BBCFBA266B103A754AD7C10BA8CA43F60597F11746E05DF50B21A752E16F6D9D1B8620A65687EC5A8F48966F00F89201C82AE3735CC0413709A471B0D2145592594BB872AE3FF3A53C20463723E47B52D4B4A4479BB8C431F2C52060F4B1EE62962E67A060BE90CA20A9AF95CB336196578CCF253A3B8C299CAFB5C2D57F1E130568D56DC699A7130F42395618646A597453D0CD2BE575492AFC712080BF7369E133E24FD3D5174CA8C83FCE43C02E07CA623CD13E511C5432927303692446ABC15A9D81978474D6C6B8A0F815B3F6E06FEFD5B10979A3FFF2837540574FE4E5B02EB00289644364120D80F5774EC7A6455537B6BC9A0B5947E02AA0B6FA50D427B4E591551F27985C75A141ED627D204667A4B475C87CF5AD6034219CA7DF56EBA7F4554ABC08F27640E61D822A4D1DC6F92389539C96AE3EF26C4179950EBBDC8CC020AF4807BA78F96FF91FCDB822D57FA9439BBB9F2D4FFA7D46B3CD84704E0C4651069F46EEE4CCB137D41138A724AD3F5ED8E8BE92B41B45DF95AD6A0EEE84E37FA0A49B7D76E74FB530FD1CD3FDF760F731B0FF211CD59E853C31432CFB8A48965CB24A16E3153591708398696871A18582F42C0E40F571D95FC37EDC72426F00F84D01C82AE3735CC0413709A471B0CF14559299AA8C6163A548B2C987659BC03E1C3D3E922AB43CC2E673426440DB9FD81C39C9111EA06AC646A681A99F3E174D64C754815EF71E38F7566B1C7B63AF2633437825C9981E446E3399F3B711E295E11BCDEF37B543AFEA28A1BB460BCADDC8F0DF2F650A5CBAF6FE65AABCA89482202949A590775EB7BA7B6DCF986395699E808400568A238226D88CB7C118B81D981DF8BEB3F764880D783EE92867A1D8065127279135D93C6A3CC646CA10F4723E88AA35A64C3AD7F3FBD911D068A7DF4697DDEFD1D590266D6901E76F4900EB7E717F499FA7374A668383F5FCC56F4B2F4202AE4E06B7D239E6C0ED34E899892A8DA6ACDAE6E43852487B1D8CE327508BA4E0AAE38152C1E5E8782B08172C2C83C74D765CF54A06D5B0C10F3AEE4AA1411AE78DB305FF08C230A8B8238B53F19675CEC0A6628D4E665FA101D4EB926F00E89701C82AE3735CC0413709A47170C01455920C23263F8A13183EE984D99D649EF06408F0DD66801994471970E05AB89CC032108489ECC9C623F575ED841E73A55339BE008F125F0500B856BFF1760A4391EBBB36EBCEC76DE1E781450FDFFFFDAFAB3E9471221ACCEC26827FF94E199A678CF0C7070B9F17F250036D82B50856426E2B0B400782458DE5FAF9FCBEFD9F0FF96E45C3540F564DAC281C46CD116B4F3190199D7506228BC79A14CD6A2FB060B9E9B68FDE3F0081DDBF2D7FEC27B4F56AE153ED612D2746FA79BC4AB32BBE4E3B936886DB804B2E272A6C4415487E711E181D5C7830B721C725CF7F7DDC1BEBBEEAED98AEEF3D14DD1468EF850FF7CB09869FD14AC9AA197848B9A0FFE130F3E148B93097A64CF8EF9CE8E61EB37FFC69F4E1729E8685F06C5349E013B688A2833C9E7660DC51E68C8576034016261CB3FEC2AAF089BB09B16E0E82A4A831ED6478027D172BD43F65257BB2C234E1A50E01EB06328E07BF69B74CB0F45E769E84DFAA7C3C5EC0A67F90079B70EB62555404AA540A77CEB915995AB6BE9FD50013CC6F52C9B23FBE6F0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, NULL, NULL, 1000, CAST(N'2023-05-21T11:19:59.837' AS DateTime), 1001089, CAST(N'2023-06-08T12:11:05.820' AS DateTime), NULL, 1)
GO
INSERT [Security].[Users] ([UserID], [UserStatusID], [EntityID], [ItemID], [LastName], [FirstName], [KnownAs], [Email], [NTAccount], [Cell], [IsPasswordExpired], [PasswordDate], [PasswordHash], [PasswordSalt], [PasswordChallenge], [PasswordQuestion], [PasswordAnswerHash], [PasswordAnswerSalt], [PasswordAnswerChallenge], [FingerprintTemplate], [FingerprintRequestToken], [FingerprintRequestExpiryDate], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [UserProfileDocID], [OfficeLocationID]) VALUES (1002, 1, NULL, NULL, N'Forster', N'Stephen', N'Stephen Forster', N'stephen@vcloud.net.za', N'stephen@vcloud.net.za', N'0836508600', 0, CAST(N'2023-06-12T21:50:59.300' AS DateTime), N'PNyw9Lpev63O8n77IRXq0QguoYw=', N'tZNfxBDAdA==', NULL, N'What is the default password?', N'Q5i4xhRdEjnOwOJwlbWDFAW+2ag=', N'ruZUMMUtQA==', NULL, 0x00F89401C82AE3735CC041262D0BFC5569324EE0BCCD951285AEA60190220D80A0277F1F80C7C65EA1F7A29A57CDEF1ABBF60923BC2BF322857A233F8DAD1C324A8F0705DD46D639184E2FE84004DB3D32D546BB5FD9226865431D2D1546DE2982E10DBA2FF7D7FCDEE1ECCF85AEED33B3B77128D21FCF344ABB0AE5ADB1B9FAE46C4FFE8239811AD9EB0D9EB67D448C5807D728B1B5389A24CEF31E0480FE4DA476D17166E6F76D9FF428E88C554243C9988D66C4127DD7B0EB442ED425CE029648DE9F4DB5A643B3C151D4E06E50A23124EF1285901BAD93F8AB5F21B9F461D26F7BB2DF4EFEFF623A46C7D84A72A3687CA67A012C2742F4F46023DB47D72D28E02F856A81D537923A0C1CD7EFFA9C3CB703EA61E3864728352607B962307F9D4BBEAB9E113D9D567A98E6EA07B08EADA2120F82601D2BF2D1964D4B9A23B5F2478E5A5C215B28B079ED4713A1BC63277DEAF7E91F49FCCA6EB329A31D02E4C9D145ACAACA1560F7CE245267E50394CBDB57C34CC10921DFC04C9922BD4A5FB1662E4AFFE52237B6DF5609EF8267F4CA5095FC1BB265F26F00F89301C82AE3735CC0413709A471B090145592C0FA4AB9867E2ABC1C81F4077A0C25982F8058EA6D3705EE5240FEF005F9DA360B1A49C8A389B7BFD67E931E7C2BE2DA46C7B53CEBD2B7635C20BA113CB4D7C9489652FD6BEECAD559039409375205BD0D1F3F5F9A2762F47A282A486D45F516A76223B192749AE7E6053ACBB4495184990810E81D52EDEAEDDA909A9977B297DB1F78EDFCF895920B795E3694273FA539407226C50ED7F4B7AB5E2916F46BA16E14B15114EC87A0508D607D37F3ABCDEB7A029786E7D4C480BA786F06EC8ED01E9358CABCC7B40E678E1FF88DBC87D5B25B032E22018A2367BC3C316B3748BDB138A2D208718DE2225AF246908D5F0A1321001F264D0D86574171EBF70CE395372C78393DF885110325FE75350FAEC75370565F51BCF34ACA047D71C5AB6E9E50D14B13449C1E9AEEABD944EB51AAB36C666992C0B274F17DDAC45EDBBBCD1BA5DD13C6FE75F97A06866DE538D5088F4A9A9DEEA96F86A9E382DA608765A54C02C266CBA7258AEFD3B836C174837634F8AE5DD3C8B5C94043FC3DE74580E7B72F8CDF6F00F89601C82AE3735CC0413D6B5138AD771A1B51316003B19B64B95DE40B22B8B9A46C9CC03765440BF3DD8A206DD77025600AC2CEB33BA10AD903A19588D61683E60B5DF1B24AF769860FC0D960C31C2E8F8907BED87AFE1E4456386336F85D5E462D999820D1B8F831B955CBBE5E71D2B65C6057746E51760E571CA16437839E76B0744CCC8B01F06FF977318CD2BB2086C869D8331B25FF41635347D8D7C522D622B37725D192D27029413315A70D02F4186C72BD80BFF3CF32998559B90D68B3350E8FBD42DA086358F8886E0C46C4100E4814A592783DFAB0169D11B2297B22971BA469F1C9B536663CB0515E1E77BEAAC6DE9ED7576AC6DD7562591670CF63ED5ED6A9C834B113B63AD4838024782FC4A91E49FE47AFF7E92445F6C949BA272B32C4EC72C55C912301472BCBA6197C90FAECCD6EEC8B176D6F5003856556243E95601032F654406F2C12D3D1F00C15B9F2111E8346B99F1C41CB043CCE118C3D831410D4ECB5BF48581563020699C900FF27F97023C2E6B823BD50A418E01ECC8BE3C811C61401AFA296E089298C7B83F3C9FA3972D9C36F00E89401C82AE3735CC0413709A471704B15559229E40646AEB2864A627E1601A5CF4AF6ED1850C1D47571E7CFA41F98D6162570303DB4278B359F7F18FDAB0D29B52B22504FA6FADD76B6398298FBA40C5EF00EAC08AC7C2CEF89F9EC8B8226C229AA0AA6870BD45E0542DECC28468E8EFEB997B7CB1A01BF77F2D1BBBD673CFE7C8E0CF88964770A7676196E7C9074899BABF22B8793FFE5EBCA80B49A8D8C4CE63621058475101E6AE57BD2E2617C1F90D7AA42AC58A12A435CA6870843A1183401C58D1935AF1321437F06AE96E7EFA1F473372009DD06BCEF101B38D45CF8EAAB0868E5C3B9B13E978C5DA0C7F27AC0570C599285C5A90D13052630FABA44142481B65D7000EFEC0BDB1A974DA959B325D695DA90695768AD081AB8A481304555C51D2FF0651FFEDBA57D77CE98E11B411C001853E14C93619E367A082421F6AF104E1D250741CC18988233888A5CE0AF479C5FAE2CAF879F537B5AA6DCF963DFDEC292643217875C1414D192379B81663E4A5650921BB9A6F55D9BA777E0F93FAD9C2B1037D320B22E70234408E3D5A322CDDB31136F000000, NULL, NULL, 1000, CAST(N'2023-06-12T21:50:59.300' AS DateTime), 1000, CAST(N'2023-07-05T23:50:19.813' AS DateTime), NULL, 1)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 2)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1000)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1001)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1002)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1003)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1004)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1005)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1006)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1007)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1008)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1010)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1011)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1012)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1014)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1, 1016)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1000)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1001)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1002)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1003)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1004)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1006)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1007)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1008)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1009)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1011)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1012)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1013)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1014)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1015)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1021)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1022)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1023)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1024)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1025)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1026)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1000, 1028)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1000)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1001)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1002)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1003)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1004)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1006)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1007)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1008)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1009)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1011)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1012)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1013)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1014)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1015)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1021)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1022)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1023)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1024)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1025)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1026)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1001, 1028)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1000)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1001)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1002)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1003)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1004)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1006)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1007)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1008)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1009)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1011)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1012)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1013)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1014)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1015)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1021)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1022)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1023)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1024)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1025)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1026)
GO
INSERT [Security].[UserRoles] ([UserID], [RoleID]) VALUES (1002, 1028)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (1, 1, N'Initiator', N'Initiator', NULL, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (2, 1, N'DataCapturer', N'Data Capturer', 1000, 0, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (3, 1, N'PaymentClerk', N'Payment Clerk', 1000, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (7, 1, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (8, 1, N'RegisteryClerk', N'Registery Clerk', 1000, 1, 4, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (9, 1, N'Verifier', N'Verifier', 1000, 0, 5, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (10, 1, N'ExceptionHandler', N'Exception Handler', 1000, 1, 6, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (11, 1, N'GazettingManager', N'Gazetting Manager', 1000, 1, 7, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (12, 1, N'AgendaOfficer', N'Agenda Officer', 1000, 1, 8, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (13, 1, N'AdjudicationSecretary', N'Adjudication Secretary', 1000, 1, 9, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (14, 1, N'ChairmanAdjudicationPanel', N'Chairman of the Adjudication Panel', 1000, 1, 10, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (15, 7, N'InspectionOfficer', N'Inspection Officer', NULL, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (16, 7, N'IssuingOfficer', N'Issuing Officer', 1, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (17, 7, N'LicenceSignatory', N'Licence Signatory', 1, 1, 4, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (18, 3, N'Initiator', N'Initiator', 1, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (19, 3, N'Approver', N'Approver', 1000, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (20, 3, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (21, 4, N'Initiator', N'Initiator', 1037, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (22, 4, N'Approver', N'Approver', 1037, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (23, 4, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (24, 5, N'Initiator', N'Initiator', 1037, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (25, 5, N'Approver', N'Approver', 1037, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (26, 5, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (27, 7, N'Initiator', N'Initiator', 1037, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (28, 8, N'Initiator', N'Initiator', 1037, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (29, 8, N'Approver', N'Approver', 1037, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (30, 8, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (31, 3, N'Assessor', N'Assessor', NULL, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (32, 1, N'Assessor', N'Assessor', 1000, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (33, 1, N'SeniorManager', N'Senior Manager', 1000, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (34, 7, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (35, 7, N'Verifier', N'Verifier', NULL, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (36, 9, N'Initiator', N'Initiator', NULL, 1, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (37, 9, N'DataCapturer', N'Data Capturer', NULL, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (38, 9, N'Verifier', N'Verifier', NULL, 0, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (39, 9, N'LicenceUpliftmentApprovalUser', N'Licence Upliftment Approval User', NULL, 1, 4, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (40, 9, N'UpliftmentApproverOne', N'Upliftment Approver One', NULL, 1, 5, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (41, 9, N'UpliftmentApproverTwo', N'Upliftment Approver Two', NULL, 1, 6, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (42, 9, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (43, 9, N'LetterPrintUser', N'LetterPrintUser', NULL, 1, 7, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (44, 10, N'Initiator', N'Initiator', 1, 0, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (45, 10, N'SystemUser', N'System User', 1, 0, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (46, 1, N'InspectionCapturer', N'Inspection Capturer', 1000, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (47, 1, N'ReferralCapturer', N'Referral Capturer', 1000, 0, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (48, 11, N'Initiator', N'Initiator', NULL, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (49, 11, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (50, 11, N'BusinessRuleBypassRequestApprover', N'Business Rule Bypass Request Approver', NULL, 0, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (51, 12, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (52, 12, N'Initiator', N'Initiator', NULL, 0, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (53, 12, N'DataCapturer', N'Data Capturer', 1000, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (54, 12, N'LicenceCancelApprover', N'Licence Cancel Approver', 1000, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (55, 12, N'PostProcessor', N'Post Processor', 1000, 1, 4, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (56, 13, N'Initiator', N'Initiator', NULL, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (57, 13, N'SystemUser', N'System User', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (58, 13, N'MasterDataApprover', N'Master Data Approver', NULL, 0, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (59, 14, N'SystemUser', N'SystemUser', 1, 0, 0, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (60, 14, N'Initiator', N'Initiator', NULL, 0, 1, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (61, 14, N'DataCapturer', N'Data Capturer', 1000, 1, 2, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (62, 14, N'AccreditationCancelApprover', N'Accreditation Cancel Approver', 1000, 1, 3, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipants] ([WorkflowTemplateParticipantID], [WorkflowTemplateID], [FieldName], [DisplayName], [DefaultUserID], [IsVisible], [OrderBy], [DocumentPermissionLevel]) VALUES (63, 14, N'PostProcessor', N'Post Processor', 1000, 1, 4, NULL)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (1, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (2, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (3, 1002)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (7, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (8, 1003)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (9, 1004)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (10, 1005)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (11, 1006)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (12, 1007)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (13, 1008)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (14, 1009)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (15, 1010)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (16, 1011)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (17, 1012)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (18, 1021)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (19, 1015)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (20, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (21, 1000)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (22, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (23, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (24, 1000)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (25, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (26, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (27, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (27, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (27, 1009)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (36, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (37, 1003)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (38, 1004)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (39, 1007)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (40, 1010)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (41, 1011)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (44, 1011)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (48, 1000)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (49, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (50, 1024)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (51, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (52, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (52, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (52, 1009)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (53, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (54, 1011)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (55, 1011)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (56, 1)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (57, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (58, 1027)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (59, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (60, 2)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (60, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (60, 1009)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (61, 1001)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (62, 1011)
GO
INSERT [Wf].[WorkflowTemplateParticipantRoles] ([WorkflowTemplateParticipantID], [RoleID]) VALUES (63, 1011)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplateStepAssignees] ON 
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (1, 1001, 1, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (4, 1003, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (6, 1004, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (14, 1013, 12, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (15, 1014, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (17, 21, 15, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (18, 22, 16, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (19, 23, 17, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (25, 29, 18, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (26, 30, 19, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (30, 34, 21, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (31, 35, 22, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (33, 37, 24, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (34, 38, 25, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (37, 52, 28, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (38, 53, 29, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (44, 54, 31, 0)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (45, 1005, 32, 0)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (46, 1006, 33, 0)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (47, 57, 34, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (49, 58, 36, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (50, 59, 37, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (51, 60, 38, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (52, 62, 40, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (53, 63, 41, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (54, 64, 37, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (55, 1002, 3, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (56, 1007, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (57, 1008, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (58, 1010, 46, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (59, 1011, 47, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (61, 1012, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (62, 1009, 7, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (63, 1022, 44, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (64, 1023, 44, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (65, 1024, 45, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (66, 1015, 2, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (67, 1025, 48, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (68, 1026, 50, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (69, 1027, 49, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (70, 1028, 53, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (71, 1029, 54, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (72, 1030, 51, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (73, 1031, 55, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (74, 1033, 58, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (75, 1034, 57, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (76, 1035, 61, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (77, 1036, 62, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (78, 1037, 59, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (79, 1038, 63, 1)
GO
INSERT [Wf].[WorkflowTemplateStepAssignees] ([WorkflowTemplateStepAssigneeID], [WorkflowTemplateStepID], [WorkflowTemplateParticipantID], [IsMandatory]) VALUES (80, 1039, 2, 1)
GO
SET IDENTITY_INSERT [Wf].[WorkflowTemplateStepAssignees] OFF
GO
SET IDENTITY_INSERT [Doc].[DocumentStoreTypes] ON 
GO
INSERT [Doc].[DocumentStoreTypes] ([DocumentStoreTypeID], [Description]) VALUES (2, N'SQL Server')
GO
SET IDENTITY_INSERT [Doc].[DocumentStoreTypes] OFF
GO
SET IDENTITY_INSERT [Doc].[DocumentStoreLocations] ON 
GO
INSERT [Doc].[DocumentStoreLocations] ([DocumentStoreLocationID], [DocumentStoreTypeID], [Title], [ConnectionString], [AuthTypeID], [AuthDomain], [AuthUser], [AuthPassword], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [IsCancelled]) VALUES (1, 2, N'Legitimate Database', N'data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3', 1, NULL, NULL, NULL, 1, CAST(N'2012-12-29T11:13:07.947' AS DateTime), 1, CAST(N'2012-12-29T11:13:07.947' AS DateTime), 0)
GO
INSERT [Doc].[DocumentStoreLocations] ([DocumentStoreLocationID], [DocumentStoreTypeID], [Title], [ConnectionString], [AuthTypeID], [AuthDomain], [AuthUser], [AuthPassword], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [IsCancelled]) VALUES (2, 2, N'Legitimate Database', N'data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3', 1, NULL, NULL, NULL, 1, CAST(N'2012-12-29T11:13:07.947' AS DateTime), 1, CAST(N'2012-12-29T11:13:07.947' AS DateTime), 0)
GO
INSERT [Doc].[DocumentStoreLocations] ([DocumentStoreLocationID], [DocumentStoreTypeID], [Title], [ConnectionString], [AuthTypeID], [AuthDomain], [AuthUser], [AuthPassword], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate], [IsCancelled]) VALUES (3, 2, N'Legitimate Database', N'data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3', 1, NULL, NULL, NULL, 1, CAST(N'2012-12-29T11:13:07.947' AS DateTime), 1, CAST(N'2012-12-29T11:13:07.947' AS DateTime), 0)
GO
SET IDENTITY_INSERT [Doc].[DocumentStoreLocations] OFF
GO
INSERT [Queue].[QueueStatus] ([QueueStatusID], [Title], [IsCancelled]) VALUES (1, N'Pending', 0)
GO
INSERT [Queue].[QueueStatus] ([QueueStatusID], [Title], [IsCancelled]) VALUES (2, N'In Progress', 0)
GO
INSERT [Queue].[QueueStatus] ([QueueStatusID], [Title], [IsCancelled]) VALUES (3, N'Completed', 0)
GO
INSERT [Queue].[QueueStatus] ([QueueStatusID], [Title], [IsCancelled]) VALUES (4, N'Failed', 0)
GO
INSERT [Queue].[QueueStatus] ([QueueStatusID], [Title], [IsCancelled]) VALUES (5, N'Cancelled', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1, N'BarcodePrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1, N'DefaultPrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1000, N'BarcodePrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1000, N'DefaultPrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1001, N'BarcodePrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1001, N'DefaultPrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1002, N'BarcodePrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Security].[UserSettings] ([UserID], [SettingName], [SettingValue], [IsCancelled]) VALUES (1002, N'DefaultPrinterName', N'Microsoft Print to PDF', 0)
GO
INSERT [Svc].[PollFrequencies] ([PollFrequencyID], [Title]) VALUES (0, N'Minutes')
GO
INSERT [Svc].[PollFrequencies] ([PollFrequencyID], [Title]) VALUES (1, N'Hourly')
GO
INSERT [Svc].[PollFrequencies] ([PollFrequencyID], [Title]) VALUES (2, N'Daily')
GO
INSERT [Svc].[PollFrequencies] ([PollFrequencyID], [Title]) VALUES (3, N'Weekly')
GO
INSERT [Svc].[PollFrequencies] ([PollFrequencyID], [Title]) VALUES (4, N'Monthly')
GO
INSERT [Svc].[PollFrequencies] ([PollFrequencyID], [Title]) VALUES (5, N'Seconds')
GO
INSERT [Svc].[Services] ([ServiceID], [ServiceName], [ServiceTypeName], [PollFrequencyID], [PollTime], [LastRunDate], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (1, N'Email Sender', N'Neo.Afx.WinService.Messages.EmailSender, Neo.Afx.WinService.Messages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', 0, N'00:02:00', CAST(N'2023-07-20T15:02:00' AS SmallDateTime), 0, 1, CAST(N'2012-03-20T11:40:26.080' AS DateTime), 1, CAST(N'2023-07-20T15:02:00.240' AS DateTime))
GO
INSERT [Svc].[Services] ([ServiceID], [ServiceName], [ServiceTypeName], [PollFrequencyID], [PollTime], [LastRunDate], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (2, N'SMS Sender', N'Neo.Afx.WinService.Messages.SmsSender, Neo.Afx.WinService.Messages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', 0, N'00:02:00', CAST(N'2023-05-21T17:18:00' AS SmallDateTime), 1, 1, CAST(N'2012-03-26T12:54:35.033' AS DateTime), 1, CAST(N'2023-05-21T17:18:00.723' AS DateTime))
GO
INSERT [Svc].[Services] ([ServiceID], [ServiceName], [ServiceTypeName], [PollFrequencyID], [PollTime], [LastRunDate], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (3, N'Workflow Task Processor', N'Neo.Afx.WinService.Workflows.WorkflowTaskProcessor, Neo.Afx.WinService.Workflows, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', 0, N'00:01:00', CAST(N'2023-07-20T15:03:00' AS SmallDateTime), 0, 1, CAST(N'2012-03-29T13:20:08.247' AS DateTime), 1, CAST(N'2023-07-20T15:03:00.410' AS DateTime))
GO
INSERT [Svc].[Services] ([ServiceID], [ServiceName], [ServiceTypeName], [PollFrequencyID], [PollTime], [LastRunDate], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (4, N'Workflow Task Expirator', N'Neo.Afx.WinService.Workflows.WorkflowTaskExpirator, Neo.Afx.WinService.Workflows, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', 0, N'00:15:00', CAST(N'2019-07-18T13:19:00' AS SmallDateTime), 1, 1, CAST(N'2012-04-15T12:19:13.940' AS DateTime), 1, CAST(N'2019-07-18T13:19:00.020' AS DateTime))
GO
INSERT [Svc].[Services] ([ServiceID], [ServiceName], [ServiceTypeName], [PollFrequencyID], [PollTime], [LastRunDate], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (6, N'Overdue Task Emailer', N'Neo.Afx.WinService.Messages.TemplatedEmailSender, Neo.Afx.WinService.Messages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', 2, N'06:00:00', CAST(N'2023-07-20T06:00:00' AS SmallDateTime), 0, 1, CAST(N'2012-05-02T14:24:55.880' AS DateTime), 1, CAST(N'2023-07-20T06:00:00.053' AS DateTime))
GO
INSERT [Svc].[Services] ([ServiceID], [ServiceName], [ServiceTypeName], [PollFrequencyID], [PollTime], [LastRunDate], [IsCancelled], [CreatedByID], [CreatedDate], [UpdatedByID], [UpdatedDate]) VALUES (7, N'System trigger processor', N'Neo.LegitimateLicences.WinService.SystemTriggers.SystemTriggerHandler, Neo.LegitimateLicences.WinService.SystemTriggers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=19e71ac1761ebd3c', 5, N'00:00:05', CAST(N'2023-07-20T15:04:00' AS SmallDateTime), 0, 1, CAST(N'2017-05-20T12:44:33.333' AS DateTime), 1, CAST(N'2023-07-20T15:03:42.983' AS DateTime))
GO
SET IDENTITY_INSERT [Svc].[ServiceSettings] ON 
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (1, 1, N'ConnectionString', N'metadata=res://*/MessageModel.csdl|res://*/MessageModel.ssdl|res://*/MessageModel.msl;provider=System.Data.SqlClient;provider connection string="data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3;multipleactiveresultsets=True;App=EntityFramework"')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (4, 1, N'MaxRetries', N'3')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (6, 1, N'RecipientSeparator', N',')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (7, 2, N'ConnectionString', N'metadata=res://*/MessageModel.csdl|res://*/MessageModel.ssdl|res://*/MessageModel.msl;provider=System.Data.SqlClient;provider connection string="data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3;multipleactiveresultsets=True;App=EntityFramework"')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (9, 2, N'MaxRetries', N'3')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (10, 2, N'RecipientSeparator', N',')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (11, 3, N'ConnectionString', N'metadata=res://*/WorkflowServiceModel.csdl|res://*/WorkflowServiceModel.ssdl|res://*/WorkflowServiceModel.msl;provider=System.Data.SqlClient;provider connection string="data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3;multipleactiveresultsets=True;App=EntityFramework"')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (12, 4, N'ConnectionString', N'metadata=res://*/WorkflowModel.csdl|res://*/WorkflowModel.ssdl|res://*/WorkflowModel.msl;provider=System.Data.SqlClient;provider connection string="data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3;multipleactiveresultsets=True;App=EntityFramework"')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (14, 6, N'ConnectionString', N'metadata=res://*/MessageModel.csdl|res://*/MessageModel.ssdl|res://*/MessageModel.msl;provider=System.Data.SqlClient;provider connection string="data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3;multipleactiveresultsets=True;App=EntityFramework"')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (15, 6, N'MessageTemplateID', N'1000')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (16, 7, N'ConnectionString', N'metadata=res://*/SystemTriggerModel.csdl|res://*/SystemTriggerModel.ssdl|res://*/SystemTriggerModel.msl;provider=System.Data.SqlClient;provider connection string="data source=10.0.30.121;initial catalog=LegitimateNATIONAL;persist security info=True;user id=Legitimate;password=@L3g1t1mat3;multipleactiveresultsets=True;App=EntityFramework"')
GO
INSERT [Svc].[ServiceSettings] ([ServiceSettingID], [ServiceID], [SettingKey], [SettingValue]) VALUES (17, 7, N'SignalRPath', N'https://nltis-test.transport.gov.za/signalr')
GO
SET IDENTITY_INSERT [Svc].[ServiceSettings] OFF
GO
SET IDENTITY_INSERT [Md].[CarryingCapacities] ON 
GO
INSERT [Md].[CarryingCapacities] ([CarryingCapacityID], [Description], [IsCancelled]) VALUES (1, N'4-8', 0)
GO
INSERT [Md].[CarryingCapacities] ([CarryingCapacityID], [Description], [IsCancelled]) VALUES (2, N'9-16', 0)
GO
INSERT [Md].[CarryingCapacities] ([CarryingCapacityID], [Description], [IsCancelled]) VALUES (3, N'17-35', 0)
GO
INSERT [Md].[CarryingCapacities] ([CarryingCapacityID], [Description], [IsCancelled]) VALUES (4, N'35+', 0)
GO
SET IDENTITY_INSERT [Md].[CarryingCapacities] OFF
GO
INSERT [Md].[VehicleTypes] ([VehicleTypeID], [Description], [CarryingCapacityID], [OlasID], [LtpsID], [IsCancelled]) VALUES (1, N'MOTORCAR', 1, 1, NULL, 0)
GO
INSERT [Md].[VehicleTypes] ([VehicleTypeID], [Description], [CarryingCapacityID], [OlasID], [LtpsID], [IsCancelled]) VALUES (2, N'MINIBUS', 2, 2, NULL, 0)
GO
INSERT [Md].[VehicleTypes] ([VehicleTypeID], [Description], [CarryingCapacityID], [OlasID], [LtpsID], [IsCancelled]) VALUES (3, N'BUS', 4, 3, NULL, 0)
GO
INSERT [Md].[VehicleTypes] ([VehicleTypeID], [Description], [CarryingCapacityID], [OlasID], [LtpsID], [IsCancelled]) VALUES (10, N'MIDIBUS', 3, 10, NULL, 0)
GO
INSERT [Md].[VehicleTypes] ([VehicleTypeID], [Description], [CarryingCapacityID], [OlasID], [LtpsID], [IsCancelled]) VALUES (11, N'OTHER', NULL, NULL, NULL, 1)
GO
INSERT [Md].[RouteTypes] ([RouteTypeID], [Description], [IsCancelled]) VALUES (1, N'STANDARD ROUTE', 0)
GO
INSERT [Md].[RouteTypes] ([RouteTypeID], [Description], [IsCancelled]) VALUES (2, N'RADIUS ROUTE', 0)
GO
INSERT [Md].[RouteTypes] ([RouteTypeID], [Description], [IsCancelled]) VALUES (3, N'AREA OF OPERATION', 0)
GO
INSERT [Md].[RouteTypes] ([RouteTypeID], [Description], [IsCancelled]) VALUES (4, N'TEMPORARY ROUTE', 0)
GO
INSERT [Md].[RouteTypes] ([RouteTypeID], [Description], [IsCancelled]) VALUES (5, N'CHARTER SERVICE', 0)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (1, N'Scheduled service', N'8', NULL, 0, 1)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (2, N'Unscheduled service', N'10,4', NULL, 0, 1)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (3, N'Charter service', N'5', NULL, 0, 5)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (4, N'Tourist service', N'26', NULL, 0, 3)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (5, N'Staff service', N'7', NULL, 0, 1)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (6, N'Scholar service', N'62', NULL, 0, 1)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (7, N'Courtesy service', NULL, NULL, 0, 3)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (8, N'Other (specify)', NULL, NULL, 1, NULL)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (9, N'E-Hailing service', NULL, NULL, 0, 3)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (10, N'Metered Taxi service', N'6', NULL, 0, 2)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (11, N'Long distance service', N'13', NULL, 0, 1)
GO
INSERT [Md].[ServiceTypes] ([ServiceTypeID], [Description], [OlasID], [LtpsID], [IsCancelled], [RouteTypeID]) VALUES (12, N'Temporary service', NULL, NULL, 0, 4)
GO
SET IDENTITY_INSERT [Md].[ServiceVehicleTypes] ON 
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (1, 2, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (2, 3, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (3, 4, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (4, 5, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (5, 2, 2)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (6, 3, 2)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (7, 4, 2)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (8, 5, 2)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (9, 6, 2)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (10, 1, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (11, 3, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (12, 4, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (13, 5, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (14, 6, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (15, 7, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (16, 2, 10)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (17, 6, 10)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (18, 4, 10)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (19, 9, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (101, 10, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (102, 12, 1)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (103, 12, 2)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (104, 12, 3)
GO
INSERT [Md].[ServiceVehicleTypes] ([ServiceVehicleTypeID], [ServiceTypeID], [VehicleTypeID]) VALUES (105, 12, 10)
GO
SET IDENTITY_INSERT [Md].[ServiceVehicleTypes] OFF
GO
SET IDENTITY_INSERT [Md].[ApplicationRequestTypes] ON 
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (1, N'New Operating Licence', 300.0000, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (2, N'Add Existing Authorisations/Routes', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (3, N'Replacements (COV)', 300.0000, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (4, N'Increase carrying capacity', 300.0000, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (5, N'Conversion (LTPS to legiti-mate)', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (6, N'Normal Transfer', 300.0000, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (7, N'Deceased Transfer', 300.0000, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (8, N'Renewal', 300.0000, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (9, N'New Operating Licence (pre-populate with expired licence data)', 300.0000, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (10, N'Duplicate Licence', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (11, N'Temporary (Special) licence', 50.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (12, N'Data Purification', 0.0000, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (13, N'Migration/Conversion (OLAS to Legiti-mate)', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (14, N'Renewal and COV', 600.0000, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (15, N'Renewal and COV and Increase in Carrying Capacity', 900.0000, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (16, N'Renewal and Deceased Transfer', 600.0000, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (17, N'Renewal and deceased transfer and increase in carrying capacity', 900.0000, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (18, N'Renewal and deceased transfer and increase in carrying capacity and COV', 1200.0000, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (19, N'Duplicate and COV', 600.0000, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (20, N'Duplicate and Increase in Carrying Capacity', 600.0000, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (21, N'Duplicate and COV and Increase in carrying capacity', 900.0000, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (22, N'Increase in Carrying Capacity and COV', 600.0000, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (23, N'Renewal and Normal Transfer', 600.0000, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (24, N'Renewal and Normal Transfer and COV', 900.0000, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (25, N'New Operating Licence (pre-populate with expired deceased transfer licence data)', 600.0000, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (26, N'Renewal and deceased transfer and COV', 900.0000, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (27, N'Temporary Replacement', 50.0000, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (28, N'Renewal and Increase in Carrying Capacity', 600.0000, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (29, N'Personal Details Update', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (30, N'Change Radius Permit Route', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (31, N'New accreditation', 1000.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (32, N'Renewal of accreditation', 1000.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (33, N'Add Operating Licence to accreditation', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (34, N'Upliftment Extension', 0.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (35, N'New TAT Request', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (36, N'Add New Authorisations/Routes', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (37, N'Amend Authorisations/Routes', 300.0000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
GO
INSERT [Md].[ApplicationRequestTypes] ([ApplicationRequestTypeID], [Title], [Cost], [IsLinkedApplicationType], [IncludeRenewalType], [IncludeCovType], [IncludeIncreaseInCapacityType], [IncludeDeceasedTransferType], [IncludeNormalTransferType], [IncludeNewOperatingLicenceType], [IsCancelled], [IsAllowedForOLAS], [IsAllowedForLTPS], [IsAllowedForLG], [IsLicenceDurationRequiredOnApprove]) VALUES (38, N'New accreditation without Operating Licence', 1000.0000, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0)
GO
SET IDENTITY_INSERT [Md].[ApplicationRequestTypes] OFF
GO

SET IDENTITY_INSERT [Md].[ApplicationRequestTypeDivisionSetup] ON 
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2331, 1, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/  WHEN (@IsBusAndContract = ''TRUE'' OR @IsAllowedNewLicence = ''TRUE'') THEN 2 /*MEETING*/ ELSE 1 /*HEARING*/ END', N'(@ForceGazetting = ''TRUE'' OR @IsBusAndContract=''TRUE'') AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2332, 2, 2, 10, N'YES', N'YES', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/  WHEN @OnlyExistingRoutesOnLicense = ''TRUE'' THEN 2 /*MEETING*/ ELSE 1 /*HEARING*/ END', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2333, 3, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'@IsLtpsConversion = ''TRUE''', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2334, 4, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2335, 5, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2336, 6, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2337, 7, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2338, 8, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'(@ForceGazetting = ''TRUE'' OR @IsLtpsConversion=''FALSE'') AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2339, 9, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2340, 10, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'@IsLtpsConversion = ''TRUE''', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2341, 11, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2342, 13, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2343, 14, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'(@ForceGazetting = ''TRUE'' OR @IsLtpsConversion=''FALSE'') AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2344, 15, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2345, 16, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2346, 17, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2347, 18, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2348, 22, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2349, 23, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2350, 24, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2351, 25, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2352, 26, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2353, 27, 2, 10, N'NO', N'NO', N'YES', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2354, 28, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2355, 29, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2356, 30, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2357, 31, 2, 10, N'NO', N'NO', N'NO', N'YES', N'NO', N'YES', N'CASE WHEN @APPLICATIONISOBJECTED = ''TRUE'' THEN 1 /*HEARING*/  ELSE 2 /*MEETING*/ END', N'@ISGAZETTINGBYPASSED = ''FALSE'' AND @LICENCECOUNT >= 1', N'CASE WHEN @INCLUDERENEWALTYPE = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2358, 32, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN 1=1 THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2360, 34, 2, 10, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2911, 1, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/  WHEN (@IsBusAndContract = ''TRUE'' OR @IsAllowedNewLicence = ''TRUE'') THEN 2 /*MEETING*/ ELSE 1 /*HEARING*/ END', N'(@ForceGazetting = ''TRUE'' OR @IsBusAndContract=''TRUE'') AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2912, 2, 1, 1, N'YES', N'YES', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/  WHEN @OnlyExistingRoutesOnLicense = ''TRUE'' THEN 2 /*MEETING*/ ELSE 1 /*HEARING*/ END', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2913, 3, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'@IsLtpsConversion = ''TRUE''', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2914, 4, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2915, 5, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2916, 6, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2917, 7, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2918, 8, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'(@ForceGazetting = ''TRUE'' OR @IsLtpsConversion=''FALSE'') AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2919, 9, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2920, 10, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'@IsLtpsConversion = ''TRUE''', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2921, 11, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2922, 13, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2923, 14, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'CASE WHEN @ApplicationIsObjected = ''TRUE'' THEN 1 /*HEARING*/ELSE 2 /*MEETING*/ END', N'(@ForceGazetting = ''TRUE'' OR @IsLtpsConversion=''FALSE'') AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2924, 15, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2925, 16, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2926, 17, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2927, 18, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2928, 22, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2929, 23, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2930, 24, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2931, 25, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2932, 26, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2933, 27, 1, 1, N'NO', N'NO', N'YES', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2934, 28, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2935, 29, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'NO', N'1 /*HEARING*/', N'@ForceGazetting = ''TRUE'' AND @IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2936, 30, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2938, 32, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN 1=1 THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2939, 34, 1, 1, N'NO', N'NO', N'NO', N'NO', N'NO', N'YES', N'1 /*HEARING*/', N'@IsGazettingBypassed = ''FALSE''', N'CASE WHEN @IncludeRenewalType = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', NULL)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2940, 38, 2, 10, N'NO', N'NO', N'NO', N'YES', N'NO', N'YES', N'2 /*MEETING*/', N'@ISGAZETTINGBYPASSED = ''FALSE'' AND @LICENCECOUNT >= 1', N'CASE WHEN @INCLUDERENEWALTYPE = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', 0)
GO
INSERT [Md].[ApplicationRequestTypeDivisionSetup] ([ApplicationRequestTypeDivisionSetupID], [ApplicationRequestTypeID], [DivisionTypeID], [ProvinceID], [IsAssessorApprovalRequiredRule], [IsSeniorManagerApprovalRequiredRule], [IsFinalisationTasksRequiredRule], [IsInspectionRequiredRule], [IsReferralRequiredRule], [IsAdjudicationRequiredRule], [AdjudicationTypeRule], [IsGazettingRequiredRule], [GazetteTypeRule], [IsNew]) VALUES (2941, 38, 1, 1, N'NO', N'NO', N'NO', N'YES', N'NO', N'YES', N'2 /*MEETING*/', N'@ISGAZETTINGBYPASSED = ''FALSE'' AND @LICENCECOUNT >= 1', N'CASE WHEN @INCLUDERENEWALTYPE = ''TRUE'' THEN 1 /*INTERNAL GAZETTE*/  ELSE 2 /*PUBLISHED GAZETTE*/ END', 0)
GO
SET IDENTITY_INSERT [Md].[ApplicationRequestTypeDivisionSetup] OFF
GO
INSERT [System].[SmsDeliveryMethods] ([SmsDeliveryMethodID], [Title]) VALUES (1, N'Vodazone')
GO
INSERT [System].[SmsDeliveryMethods] ([SmsDeliveryMethodID], [Title]) VALUES (2, N'Swift')
GO
INSERT [System].[SmsSettings] ([SmsSettingID], [SmsDeliveryMethodID], [UserName], [Password], [UserRef]) VALUES (1, 1, N'UNKNOWN', N'UNKNOWN', N'3475889')
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1, N'Email Attachment', 0, 0, NULL, NULL)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2, N'Workflow Document', 0, 0, NULL, NULL)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (3, N'Profile Picture', 0, 0, 0, 0)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (500, N'Gazette', 0, 0, 0, 0)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1000, N'Completed Application Form (1A)', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1001, N'Certified copy of ID', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1002, N'All valid Original Permits / Operating Licenses (OL)', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1003, N'Original Taxi Association letter signed by 3 Executive members', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1004, N'Original certified copy of rank permit from municipality or in case of private property an original certified copy of letter from the landlord (not older than 3 months)', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1005, N'Detailed route description and official letter from municipality commenting about routes', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1006, N'Original Valid Form 10 signed by Commissioner of Oaths (Affidavit regarding Previous Convictions)', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1007, N'Tax Clearance Certificate', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1008, N'Affidavit stating reason for late Renewal', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1009, N'Affidavit from SAPS stating reason for application', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1010, N'Declaration Form on Routes', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1011, N'Transfer Agreement signed by both Applicant and Transferor', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1012, N'Names and addresses of passengers to be conveyed', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1013, N'Certified Copy ID Document of Deceased', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1014, N'Certified Copy of Death Certificate', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1015, N'Certified Copy of Letter of Appointment Determination of Heir/Liquidation and Distribution Account/Executorship', 0, 1, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1016, N'Affidavit from Master Office', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1017, N'Certified Copy of Marriage Certificate', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1018, N'Certified copy of the contract between the applicant and the employer (if applicable)', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1019, N'Valid Rank Permit or proof of application', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1020, N'Original certified copy of Professional Driver’s Permit (PrDP)', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1021, N'Original certified copy of vehicle registration document / logbook', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1022, N'Original certified copy of valid COR/COF (corresponding with logbook)', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1023, N'Full Original Permit/OL (Disc plus printout), except if expired', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1024, N'Payment Receipt', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1025, N'New Licence Issued', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1026, N'Certified Letter of Authority of Excutorship', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1027, N'Quotation (or purchase invoice) for Passenger liability Insurance to the value of R1 million per passenger per seat.', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1028, N'Letter From Association regarding Allocation of Routes', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1029, N'Letter from Municipality (Planning Dept.) for permission if operation is from residence', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1030, N'Written authorization from the planning authorities with particular emphasis on the potential impact on existing ranking and terminal facilities', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1031, N'Document proving Authority to act on behalf of deceased', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1032, N'Letter of recommendation or an affidavit in support of the application', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1033, N'Letter from Association on allocation of routes in case of radius permit', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1034, N'Company registration certificate (in case of a Juristic Person)', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1035, N'Letter of authority and next of kin affidavit', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1036, N'Letter of executorship and a will', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1037, N'Final liquidation and distribution account', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1038, N'Certified letter of appointment determining the heir', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1039, N'Original certified copy of valid Permit / Operating License', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1040, N'Objection letter', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1041, N'Original copy of the letter from Home Affairs confirming the amendment', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1042, N'Application Route Summary', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1043, N'Inspection Results', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1044, N'Livery and Signage Photo', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1045, N'NPTR Inspection checklist', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1046, N'NPTR Back to office report', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1047, N'Completed Application Form (2A)', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1048, N'SARS Pin', 0, 0, 1, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1049, N'Statement of Oath', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1050, N'Statement in terms of section 62(1) of NLTA', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1052, N'Proof of operation (Certified copies of recent invoices or itenaries)', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1053, N'Certified copy of Business Plan', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1054, N'B-BBEE certificate or exemption affidavit', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1055, N'Certified copy of service records/service plan/maintenance plan of vehicles', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1056, N'Vehicle Licence Disk', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1057, N'Certified copy of Public Passenger Liability', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1058, N'Referral feedback', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1059, N'Proof of Payment', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (1060, N'Accreditation Certificate', 0, 0, NULL, NULL)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2000, N'Vehicle Roadworthy Certificate', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2001, N'Vehicle Inspection Sheet', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2002, N'Photo of Front of Vehicle With Reg Number', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2003, N'Photo of Chassis Number', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2004, N'Photo of Engine Number', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2005, N'Photo of Back of Vehicle with Reg Number', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2006, N'Certified ID Copy of The Appointee (Proxy)', 0, 0, 0, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2007, N'Company Proxy Letter', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2008, N'Association Letter', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2009, N'SAPS Letter', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2010, N'SAPS 91 Form', 0, 0, NULL, 1)
GO
INSERT [Doc].[DocumentTypes] ([DocumentTypeID], [Description], [IsDocumentTitleEditable], [IsCancelled], [IsExpiryDateRequired], [IsUniqueEntityDocument]) VALUES (2011, N'Proof of Residential Address', 0, 0, 0, 1)
GO
