﻿--------------------------------------- End MOstafa 2024-07-08 ------------
UPDATE Insurer SET Closed = 0 WHERE Closed IS NULL;
GO
ALTER TABLE dbo.PenaltiesList ADD
	IsAttachmentMandatory bit NOT NULL CONSTRAINT DF_PenaltiesList_IsAttachmentMandatory DEFAULT ((0))
GO
update SystemMenu set ControllerName =N'/WorkFlow/BandSalaryConfiguration' where SystemMenuCode=1037
GO
Update [PenaltiesList] SET PenaltiesListSerial=PenaltyCode 
Go
UPDATE RelativeTypes SET Closed = 0 WHERE Closed IS NULL;
GO
UPDATE HealthInsuranceTypes SET Closed = 0 WHERE Closed IS NULL;
GO
--------------------------------------- End MOstafa 2024-07-08 ------------
  --------------------------------------- AK 2024-07-10 ---------
INSERT INTO [dbo].[SecurityPrivilegeEndPoints] ([Id],[ApiName],[AreaName],[ControllerName],[ActionName],[HTTPMethod]) VALUES (1414,NULL,NULL,N'CandidateInvitation',N'GetCandidatesForHire',N'Post')
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPointsDetails]([Id],[SecurityPrivilegeEndPointId],[SecurityPrivilegeId],[RequestTypeId]) VALUES (1703,1414,5076,NULL)
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPoints] ([Id],[ApiName],[AreaName],[ControllerName],[ActionName],[HTTPMethod]) VALUES (1415,NULL,NULL,N'CandidateInvitation',N'SaveHiringDetails',N'Post')
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPointsDetails]([Id],[SecurityPrivilegeEndPointId],[SecurityPrivilegeId],[RequestTypeId]) VALUES (1704,1415,5044,NULL)
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPoints] ([Id],[ApiName],[AreaName],[ControllerName],[ActionName],[HTTPMethod]) VALUES (1416,NULL,NULL,N'CandidateInvitation',N'UpdateCandidateIsHired',N'Post')
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPointsDetails]([Id],[SecurityPrivilegeEndPointId],[SecurityPrivilegeId],[RequestTypeId]) VALUES (1705,1416,5121,NULL)
GO
--------------------------------------- End AK 2024-07-10 ------------