I`ve added new department, but it doesn`t shows in reports

I have 4 departments using one database, i’ve added another one but it doesn`t shows in reports and tickets menu, but shows in accounts? What may be the problem…?

For V4 reports does not grouped by departments like V2. You need to create and assign Ticket Types.

ive created everything including ticket type but it doesnt shows!
and when i want to look thru reports filtering date i receive a message!
[General Info]

Application: SambaPOS
Version: 4.1.19 BETA
Region: en
User: Михаил
Date: 3/24/2014
Time: 8:57 PM

User Explanation:

Михаил said “”

[Exception Info 1]

Top-level Exception
Type: System.ArgumentException
Message: An item with the same key has already been added.
Source: mscorlib
Stack Trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
at Samba.Services.Common.SimpleReport.AddTable(String tableName, String[] headers)
at Samba.Modules.BasicReports.Reports.EndOfDayReport.EndDayReportViewModel.GetReport() in c:\Users\Emre\Documents\GitHub\SambaPOS-Gold\Samba.Modules.BasicReports\Reports\EndOfDayReport\EndDayReportViewModel.cs:line 335
at Samba.Modules.BasicReports.ReportViewModelBase.<>c__DisplayClass9.b__2(Object param0, DoWorkEventArgs param1) in c:\Users\Emre\Documents\GitHub\SambaPOS-Gold\Samba.Modules.BasicReports\ReportViewModelBase.cs:line 200
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

[Assembly Info]

Samba.Services, Version=
mscorlib, Version=
PresentationCore, Version=
Microsoft.Practices.Prism, Version=
WindowsBase, Version=
Samba.Infrastructure.Data, Version=
PresentationFramework, Version=
System.Xaml, Version=
Samba.Presentation.Services, Version=
System, Version=
Samba.Infrastructure, Version=
FluentValidation, Version=
Samba.Domain, Version=
DevExpress.Xpf.Grid.v13.2, Version=
Stateless, Version=
System.Core, Version=
System.Drawing, Version=
System.Windows.Forms, Version=
System.ComponentModel.Composition, Version=
Samba.Localization, Version=
Microsoft.CSharp, Version=
DevExpress.Xpf.Grid.v13.2.Core, Version=
Microsoft.Practices.ServiceLocation, Version=
Samba.Persistance, Version=
Microsoft.Practices.Prism.MefExtensions, Version=
DevExpress.Xpf.Core.v13.2, Version=
PropertyTools, Version=2012.4.14.1

[System Info]

Operating System
-Microsoft Windows 7 Максимальная
–CodeSet = 1251
–CSDVersion = Service Pack 1
–CurrentTimeZone = 120
–FreePhysicalMemory = 1611676
–OSArchitecture = 64-bit
–OSLanguage = 1049
–ServicePackMajorVersion = 1
–ServicePackMinorVersion = 0
–Version = 6.1.7601

–Manufacturer = Acer
–Model = Aspire E1-531
–TotalPhysicalMemory = 4104499200
–UserName = Nevermind\Михаил


I can’t understand from this code but something on your configuration have duplicated names. Can you check your configuration and let me know what is duplicated?

Ive renamed all, ticket type, account.. also checked database tables and didnt find anything that duplicates! Know tickets shows in ticket menu, but reports throws exeption, maybe i need to erase some old tickets?

Did you remove any categories or products while in the same work period?
Have you started a new work period and tried the reports?
Have you erased all transactions and tried again?

  1. Yes
  2. tried but problem is the same
  3. I can`t because i need to have copy of the transactions

Send me a backup of your database with PM.

Still waiting for the backup.

Hello. Thank you for the backup. The problem is both a user and a ticket type are named as Texas. You can try Renaming user or wait for the next update for solution.

thx Emre, i`ve changed user name and everything works fine!

@ Emre

Hi Emre

I just installed 4.1.43 (sql) i created 2 tickets type and 2 departments, in each department ticket type are different but in my work period report i don’t see seprate sales data for both ticket type.

Are you sure mapping is correct for the departments and 2 ticket types?