This commit is contained in:
@@ -22,6 +22,7 @@ namespace AyaNova.DataList
|
|||||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
SqlIdColumnName = "aworkorderstatus.id",
|
SqlIdColumnName = "aworkorderstatus.id",
|
||||||
SqlValueColumnName = "aworkorderstatus.name",
|
SqlValueColumnName = "aworkorderstatus.name",
|
||||||
|
SqlColorColumnName = "aworkorderstatus.color",
|
||||||
IsRowId = true
|
IsRowId = true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -32,9 +32,10 @@ namespace AyaNova.Biz
|
|||||||
_formFieldKeys.Add(t.ToString());
|
_formFieldKeys.Add(t.ToString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//No type form keys:
|
//No type / not corebiz form keys:
|
||||||
_formFieldKeys.Add("Contact");
|
_formFieldKeys.Add("Contact");
|
||||||
_formFieldKeys.Add(AyaType.ServiceBank.ToString());
|
_formFieldKeys.Add(AyaType.ServiceBank.ToString());
|
||||||
|
_formFieldKeys.Add(AyaType.WorkOrderStatus.ToString());
|
||||||
}
|
}
|
||||||
return _formFieldKeys;
|
return _formFieldKeys;
|
||||||
}
|
}
|
||||||
@@ -885,6 +886,14 @@ namespace AyaNova.Biz
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region WorkOrderStatus
|
||||||
|
{
|
||||||
|
List<FormField> l = new List<FormField>();
|
||||||
|
l.Add(new FormField { TKey = "WorkOrderStatusNotes", FieldKey = "WorkOrderStatusNotes" });
|
||||||
|
_formFields.Add(AyaType.WorkOrderStatus.ToString(), l);
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region CustomerServiceRequest
|
#region CustomerServiceRequest
|
||||||
{
|
{
|
||||||
List<FormField> l = new List<FormField>();
|
List<FormField> l = new List<FormField>();
|
||||||
|
|||||||
@@ -1033,7 +1033,7 @@ namespace AyaNova.Util
|
|||||||
WorkOrderStatus stat = new WorkOrderStatus();
|
WorkOrderStatus stat = new WorkOrderStatus();
|
||||||
stat.Name = "Closed";
|
stat.Name = "Closed";
|
||||||
stat.Active = true;
|
stat.Active = true;
|
||||||
stat.Color = "#000000";
|
stat.Color = "#ffffff";
|
||||||
stat.Completed = true;
|
stat.Completed = true;
|
||||||
stat.Locked = true;
|
stat.Locked = true;
|
||||||
stat.SelectRoles = AuthorizationRoles.DispatchFull | AuthorizationRoles.BizAdminFull;
|
stat.SelectRoles = AuthorizationRoles.DispatchFull | AuthorizationRoles.BizAdminFull;
|
||||||
|
|||||||
Reference in New Issue
Block a user