Daytona Venue's picture
Sep 02, 2015
2358 views
Reputation: 1

erro code with ending work period

when i want to close a wotk period i am reciving the following error

-----------------------------

[General Info]

 

Application: SambaPOS

Version:     3.0.35 BETA

Region:      en

DB:          SQ

Machine:     USER-PC

User:        User

Date:        9/2/2015

Time:        12:55 PM

 

User Explanation:

 

User 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.Modules.BasicReports.Reports.InventoryReports.InventoryReportViewModel.GetReport()

   at Samba.Modules.BasicReports.ReportViewModelBase.<>c__DisplayClass9.<RefreshReport>b__2(Object param0, DoWorkEventArgs param1)

   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

 

-----------------------------

 

[Assembly Info]

 

Samba.Services, Version=1.0.0.0

mscorlib, Version=4.0.0.0

PresentationCore, Version=4.0.0.0

Microsoft.Practices.Prism, Version=4.0.0.0

WindowsBase, Version=4.0.0.0

Samba.Infrastructure.Data, Version=1.0.0.0

PresentationFramework, Version=4.0.0.0

System.Xaml, Version=4.0.0.0

Samba.Presentation.Services, Version=1.0.0.0

System, Version=4.0.0.0

Samba.Infrastructure, Version=1.0.0.0

FluentValidation, Version=3.4.0.0

Samba.Domain, Version=1.0.0.0

Stateless, Version=1.0.0.0

System.Core, Version=4.0.0.0

System.Drawing, Version=4.0.0.0

System.Windows.Forms, Version=4.0.0.0

System.ComponentModel.Composition, Version=4.0.0.0

Samba.Localization, Version=1.0.0.0

Microsoft.CSharp, Version=4.0.0.0

Microsoft.Practices.ServiceLocation, Version=1.0.0.0

Samba.Persistance, Version=1.0.0.0

Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0

PropertyTools, Version=2012.4.14.1

 

-----------------------------

 

[System Info]

 

Operating System

-Microsoft Windows 7 Professional

--CodeSet = 1252

--CSDVersion = Service Pack 1

--CurrentTimeZone = 120

--FreePhysicalMemory = 898568

--OSArchitecture = 32-bit

--OSLanguage = 1033

--ServicePackMajorVersion = 1

--ServicePackMinorVersion = 0

--Version = 6.1.7601

 

Machine

-USER-PC

--Manufacturer = To Be Filled By O.E.M.

--Model = To Be Filled By O.E.M.

--TotalPhysicalMemory = 2136137728

--UserName = User-PC\User

 

 

 

 

 

 

 

 

 

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