This commit is contained in:
@@ -16,8 +16,8 @@ namespace AyaNova.DataList
|
||||
+ "left join aworkorder on (aworkorderitem.workorderid = aworkorder.id)";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "notedate", "UnitMeterReadingDescription", "Unit" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "notedate", "-" } };
|
||||
DefaultColumns = new List<string>() { "UnitMeterReadingMeterDate", "UnitMeterReadingMeter", "UnitMeterReadingDescription" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "UnitMeterReadingMeterDate", "-" } };
|
||||
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace AyaNova.DataList
|
||||
AType = (int)AyaType.Unit,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "aunit.id",
|
||||
SqlValueColumnName = "aunit.name",
|
||||
SqlValueColumnName = "aunit.serial",
|
||||
IsRowId = false
|
||||
});
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace AyaNova.DataList
|
||||
AType = (int)AyaType.UnitMeterReading,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "aunitmeterreading.id",
|
||||
SqlValueColumnName = "aunitmeterreading.description",
|
||||
SqlValueColumnName = "aunitmeterreading.notes",
|
||||
IsRowId = false
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user