This commit is contained in:
@@ -11,7 +11,7 @@ namespace AyaNova.DataList
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "WorkOrderStatusName", "WorkOrderStatusNotes", "Active" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "workorderstatusname", "+" } };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "WorkOrderStatusName", "+" } };
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
@@ -33,6 +33,30 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aworkorderstatus.notes"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Active",
|
||||
FieldKey = "Active",
|
||||
UiFieldDataType = (int)UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "aworkorderstatus.active"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderStatusCompleted",
|
||||
FieldKey = "WorkOrderStatusCompleted",
|
||||
UiFieldDataType = (int)UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "aworkorderstatus.completed"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "WorkOrderStatusLocked",
|
||||
FieldKey = "WorkOrderStatusLocked",
|
||||
UiFieldDataType = (int)UiFieldDataType.Bool,
|
||||
SqlValueColumnName = "aworkorderstatus.locked"
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user