This commit is contained in:
2021-01-16 15:12:57 +00:00
parent 3cc3af5f2b
commit f2e875c46a

View File

@@ -109,7 +109,7 @@ namespace AyaNova.Biz
if (logTheGetEvent && ret != null)
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, id, BizType, AyaEvent.Retrieved), ct);
if (populatePartNames && ret.Items.Count > 0)
if (populatePartNames && ret.Items!=null && ret.Items.Count > 0)
{
var partIdList = ret.Items.Select(z => z.PartId).ToArray();
var PickList = PickListFactory.GetAyaPickList(AyaType.Part);