Sequence contains no matching element

Good day.

I have a issue where the customer received an account payment but did not start the work period.

Now when he tries to start a work period it gives him this error.

Where can i start looking for problem please?

Kind Regards

Have you tried to restart/reboot the till system.
Which SambaPOS Version are you running
Which Database are U using.
Need some more info.

Also, post the more recent content of the log file from …

[Documents]\SambaPOS4\log.txt
1 Like

I have restarted my system
We are using SambaPos3.3.2 and database is SambaPos3 sql 2012


[General Info]

Application: SambaPOS
Version: 3.0.35 BETA
Region: en
DB: SQ
Machine: SURVER
User: User
Date: 7/16/2015
Time: 3:07 PM

User Explanation:

User said “”

[Exception Info 1]

Top-level Exception
Type: System.InvalidOperationException
Message: Sequence contains no matching element
Source: System.Core
Stack Trace: at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at Samba.Services.Implementations.CacheService.GetRecipe(String portionName, Int32 menuItemId)
at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.b__30(SalesData sale)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Collections.Generic.List1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.CalculateCost(PeriodicConsumption pc, WorkPeriod workPeriod)
at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.UpdatePeriodicConsumptionCost()
at Samba.Presentation.Services.Implementations.InventoryModule.InventoryService.DoWorkPeriodStart()
at Samba.Presentation.Services.Implementations.InventoryModule.InventoryWorkperiodProcessor.ProcessWorkPeriodStart(WorkPeriod workPeriod)
at Samba.Presentation.Services.Implementations.WorkPeriodModule.WorkPeriodService.StartWorkPeriod(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 Professional
–CodeSet = 1252
–CSDVersion = Service Pack 1
–CurrentTimeZone = 120
–FreePhysicalMemory = 2043936
–OSArchitecture = 64-bit
–OSLanguage = 1033
–ServicePackMajorVersion = 1
–ServicePackMinorVersion = 0
–Version = 6.1.7601

Machine
-SURVER
–Manufacturer = Dell Inc.
–Model = OptiPlex 790
–TotalPhysicalMemory = 4249817088
–UserName = SURVER\User


######################### E N D #########################

Hi Andre,

You will possible not get much response as this forum is for SambaPOS4 and soon SambaPOS5.
For V3 I would suggest to post on the V3 Forum, as I’m also not familiar with V3.

http://www.sambapos.org/

1 Like

As @Peter_Cijsouw said we don’t discuss V3 topics here. Error message says it can’t find a required recipe. If you’ve recently deleted a recipe you should create it again. V4 has better control on this issue.