This commit is contained in:
2020-12-03 15:04:38 +00:00
parent 9e704658c1
commit c8e60e9f10

View File

@@ -631,24 +631,24 @@ namespace AyaNova.PlugIn.V8
switch (c.UserType)
{
case UserTypes.Administrator:
d.userType = 2;
d.userType = RavenUserType.NotService;
break;
case UserTypes.NonSchedulable:
d.userType = 2;
d.userType = RavenUserType.NotService;
break;
case UserTypes.Schedulable:
d.userType = 1;
d.userType = RavenUserType.Service;
break;
case UserTypes.Client:
d.userType = 2;//raven not service type
d.userType = RavenUserType.Customer;//raven not service type
break;
case UserTypes.HeadOffice:
d.userType = 2;
d.userType = RavenUserType.HeadOffice;
break;
}
if (c.VendorID != Guid.Empty)
{
d.userType = 2;
d.userType = RavenUserType.ServiceContractor;
d.vendorId = Map[c.VendorID];
}