diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 31a5868..da28337 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -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]; }