chesiito's picture
Nov 13, 2017
2074 views
Reputation: 2

End work period: sequence contains more than one matching element

the manager of the restaurant, told me that they made some changes in the menu, while they were attending. Can the error be deviated from this?

[General Info] Application: SambaPOS Version: 3.0.35 BETA Region: es DB: SQ Machine: MUSIC-PC User: Music Date: 12/11/2017 Time: 03:05 a.m. User Explanation: Music said "" ----------------------------- [Exception Info 1] Top-level Exception Type: System.InvalidOperationException Message: Sequence contains more than one matching element Source: System.Core Stack Trace: at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Samba.Domain.Models.Inventory.WarehouseConsumption.UpdateFinalCost(Recipe recipe) at System.Collections.Generic.List`1.ForEach(Action`1 action) at Samba.Domain.Models.Inventory.WarehouseConsumption.UpdateFinalCost(IEnumerable`1 recipes) at Samba.Domain.Models.Inventory.PeriodicConsumption.UpdateFinalCost(IList`1 recipes, Int32 warehouseId) at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.CalculateCost(PeriodicConsumption pc, WorkPeriod workPeriod) at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.CreateNewPeriodicConsumption(Boolean filter) at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.GetCurrentPeriodicConsumption() at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.DoWorkPeriodEnd() at Samba.Presentation.Services.Implementations.InventoryModule.InventoryWorkperiodProcessor.ProcessWorkPeriodEnd(WorkPeriod workPeriod) at Samba.Presentation.Services.Implementations.WorkPeriodModule.WorkPeriodService.StopWorkPeriod(String description) ----------------------------- [Assembly Info] PresentationFramework, Version=4.0.0.0 System.Xaml, Version=4.0.0.0 Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0 mscorlib, Version=4.0.0.0 System, Version=4.0.0.0 WindowsBase, Version=4.0.0.0 Samba.Services, Version=1.0.0.0 Samba.Presentation.Services, Version=1.0.0.0 Samba.Domain, Version=1.0.0.0 PresentationCore, Version=4.0.0.0 Microsoft.Practices.ServiceLocation, Version=1.0.0.0 Samba.Infrastructure, Version=1.0.0.0 Microsoft.Practices.Prism, Version=4.0.0.0 Samba.Presentation.Common, Version=1.0.0.0 System.ComponentModel.Composition, Version=4.0.0.0 Samba.Localization, Version=1.0.0.0 ----------------------------- [System Info] Operating System -Microsoft Windows 7 Ultimate--CodeSet = 1252--CSDVersion = Service Pack 1--CurrentTimeZone = -420--FreePhysicalMemory = 5499476--OSArchitecture = 64 bits--OSLanguage = 3082--ServicePackMajorVersion = 1--ServicePackMinorVersion = 0--Version = 6.1.7601 Machine -MUSIC-PC--Manufacturer = Gigabyte Technology Co., Ltd.--Model = B85M-DS3H-A--TotalPhysicalMemory = 8485011456--UserName = Music-PC\Music

We have already answers to
1030 questions
E-Posta Facebook Twitter RSS Skype
Telefon (212) 252 0634