This commit is contained in:
@@ -136,7 +136,8 @@ namespace AyaNova.Biz
|
||||
PartInventory = 67,
|
||||
DataListColumnView = 68,
|
||||
PartInventoryRestock = 69,//for list only, synthetic object
|
||||
PartInventoryRequest = 70//for list only not, synthetic object
|
||||
PartInventoryRequest = 70,//for list only not, synthetic object
|
||||
WorkOrderStatus = 71
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -451,6 +451,17 @@ namespace AyaNova.Biz
|
||||
});
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//WorkOrderStatus
|
||||
//
|
||||
roles.Add(AyaType.WorkOrderStatus, new BizRoleSet()
|
||||
{
|
||||
Change = AuthorizationRoles.BizAdminFull | AuthorizationRoles.DispatchFull | AuthorizationRoles.TechFull | AuthorizationRoles.SubContractorFull | AuthorizationRoles.AccountingFull,
|
||||
ReadFullRecord = AuthorizationRoles.BizAdminLimited | AuthorizationRoles.DispatchLimited | AuthorizationRoles.SalesFull |
|
||||
AuthorizationRoles.SalesLimited | AuthorizationRoles.SubContractorLimited | AuthorizationRoles.TechLimited | AuthorizationRoles.CustomerLimited | AuthorizationRoles.CustomerFull,
|
||||
Select = AuthorizationRoles.All
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//WorkOrder
|
||||
//
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace AyaNova.Models
|
||||
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
|
||||
//otherwise the server will call it an invalid record if the field isn't sent from client
|
||||
|
||||
public class WorkorderStatus
|
||||
public class WorkOrderStatus
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
@@ -32,7 +32,7 @@ namespace AyaNova.Models
|
||||
public bool Completed { get; set; }
|
||||
public bool Locked { get; set; }
|
||||
|
||||
public WorkorderStatus()
|
||||
public WorkOrderStatus()
|
||||
{
|
||||
Color = "#ffffff";//white / no color is the default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user