﻿--------------------------Ali 2026-03-05---------------------------


INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES (1667, N'WorkFlow', NULL, N'MasterRequestsSignatures', N'CancelRequest', N'Post')
GO

INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES (2040, 1667, 15653, NULL)
GO

--------------------------End 2026-03-05---------------------------
--------------------------Ali 2026-03-08---------------------------

delete from   WF_MasterRequestsSignature where  MasterRequestCode in(select MasterRequestCode from WF_MasterRequests where MasterRequestCode not in(select MasterRequestCode from WF_JobOfferRequests) and RequestTypeCode=58 and MainType != 1 )
Go
delete from WF_MasterRequests where MasterRequestCode not in(select MasterRequestCode from WF_JobOfferRequests) and RequestTypeCode=58 and MainType != 1
Go
--------------------------End 2026-03-08---------------------------
--------------------------Ali 2026-03-11---------------------------

INSERT [dbo].[SystemMenu] ([SystemMenuCode], [Name], [Arabic_Name], [ParentID], [ControllerName], [ActionName], [ImageURL], [HTTPMethod], [Sequence], [IsVisible], [ShowInPrivilegePage])
VALUES(1257,N'Close Evaluation',N'اغلاق التقييم',1135,N'/PMS/CloseEvaluation',N'index','fa fa-thumb-tack',N'Get',5,1,1)
Go

INSERT[dbo].[SystemMenuModule]( [SystemMenuCode], [AppModuleCode]) VALUES(1257,8)
Go

INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(26149,N'اغلاق التقييم',N'Close Evaluation',1257,1)

INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(26150,N'عرض اغلاق التقييم',N'View Close Evaluation',1257,2)

INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(26151,N'حفظ اغلاق التقييم',N'Save Close Evaluation',1257,2)


Go
--------------------------End 2026-03-11---------------------------
