This commit is contained in:
@@ -7,7 +7,7 @@ namespace AyaNova.DataList
|
||||
public WorkOrderItemStatusDataList()
|
||||
{
|
||||
DefaultListAType = AyaType.WorkOrderItemStatus;
|
||||
SQLFrom = "from aworkorderstatus";
|
||||
SQLFrom = "from aworkorderitemstatus";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "WorkOrderItemStatusName", "WorkOrderItemStatusNotes", "Active" };
|
||||
@@ -42,21 +42,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aworkorderstatus.active"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderItemStatusCompleted",
|
||||
FieldKey = "WorkOrderItemStatusCompleted",
|
||||
UiFieldDataType = (int)UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "aworkorderstatus.completed"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderItemStatusLocked",
|
||||
FieldKey = "WorkOrderItemStatusLocked",
|
||||
UiFieldDataType = (int)UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "aworkorderstatus.locked"
|
||||
});
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user