From d72c8e36609a7598a5bce8ce42fc37f24bdbe583 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 24 Nov 2021 20:29:38 +0000 Subject: [PATCH] case 4037 --- server/AyaNova/DataList/PartInventoryDataList.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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