diff --git a/server/AyaNova/DataList/PartInventoryDataList.cs b/server/AyaNova/DataList/PartInventoryDataList.cs index 56ed9b1d..413fa684 100644 --- a/server/AyaNova/DataList/PartInventoryDataList.cs +++ b/server/AyaNova/DataList/PartInventoryDataList.cs @@ -13,7 +13,6 @@ namespace AyaNova.DataList SQLFrom = "from viewpartinventorylist "; - var RoleSet = BizRoles.GetRoleSet(DefaultListAType); AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change; DefaultColumns = new List() { "PartName", "PartWarehouseName", "PartInventoryBalance", "PartByWarehouseInventoryMinStockLevel", "PartByWarehouseInventoryReorderQuantity", "PartByWarehouseInventoryQuantityOnOrder", "PartByWarehouseInventoryQtyOnOrderCommitted", "Active","PartInventoryId" }; @@ -102,7 +101,7 @@ namespace AyaNova.DataList UiFieldDataType = (int)UiFieldDataType.Text, SqlIdColumnName = "partinventoryid", SqlValueColumnName = "partinventoryid", - IsRowId = true//useless but necessary to show for row selection and reporting purposes + IsRowId = true//useless but necessary to show for row selection and reporting purposes, added this text to get the right case number under commit }); FieldDefinitions.Add(new DataListFieldDefinition