Hi,
I have encountered an error when trying to end work period. I have read the topic Error Work Period but not sure if this is the same case.
Below is the error log:
-----------------------------
[General Info]
Application: SambaPOS
Version: 4.1.78
Region: en
DB: CE
Machine: CAFEPC
User: Cafe PC
Date: 27/11/2014
Time: 4:42
User Explanation:
Cafe PC 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.Single[TSource](IEnumerable`1 source, Func`2 predicate)
at Samba.Services.Implementations.CacheService.GetRecipe(String portionName, Int32 menuItemId)
at Samba.Presentation.Services.Implementations.InventoryModule.ConsumptionBuilder.UpdateConsumption(PeriodicConsumption pc, Int32 warehouseId, IEnumerable`1 tickets)
at Samba.Presentation.Services.Implementations.InventoryModule.ConsumptionBuilder.BuildPeriodicConsumption()
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
System.Configuration, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
Samba.Presentation.Common, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
PresentationCore, Version=4.0.0.0
DevExpress.Xpf.Core.v14.1, Version=14.1.6.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
System.Core, Version=4.0.0.0
Samba.Localization, Version=1.0.0.0
FastButton, Version=1.0.0.0
-----------------------------
[System Info]
Operating System
-Microsoft Windows 8 Pro
--CodeSet = 1252
--CSDVersion =
--CurrentTimeZone = 420
--FreePhysicalMemory = 1232068
--OSArchitecture = 32-bit
--OSLanguage = 2057
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 6.2.9200
Machine
-CAFEPC
--Manufacturer = INTEL_
--Model = D525MW__
--TotalPhysicalMemory = 2129584128
--UserName = CAFEPC\Cafe PC
-----------------------------
######################### E N D #########################