Auto Order Tag Not Working for me


Hi @VehbiEmiroglu after all the updates. i am having this problem now that when i am trying to add order tags automatically my sambaPOS crashes when i select the product… can you please advise? here are my screenshots for you convenience: Consider the following for easy reference

Product :Hawaiian Pizza
Order Tags :Ham,Pineapples,Mozzarella Cheese

[General Info]

Application: SambaPOS
Version: 5.2.21
Region: en
User: Enraptture
Date: 5/17/2019
Time: 7:01 AM

User Explanation:

Enraptture said “Can you please check?”

[Exception Info 1]

Top-level Exception
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack Trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Inner Exception 1
Type: System.ArgumentException
Message: Order tag group not found
Source: Samba.Services
Stack Trace: at Samba.Services.Implementations.TicketModule.TicketServiceBase.UpdateOrderTag(Ticket ticket, Order order, String orderTagGroupi, String orderTagi, Decimal orderTagPrice, String orderTagNote, AppState appState) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\TicketModule\TicketServiceBase.cs:line 949
at Samba.Services.Implementations.TicketModule.TicketServiceBase.ApplyDefaultOrderTags(Ticket ticket, Order order, String orderTags, AppState appState) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Services\Implementations\TicketModule\TicketServiceBase.cs:line 930
at Samba.Presentation.Services.Implementations.TicketModule.TicketService.ApplyDefaultOrderTags(Ticket ticket, Order order, String orderTags)
at Samba.Presentation.ClientLibrary.Modules.PosModule.TicketOrdersViewModel.AddOrder(ScreenMenuItemData data) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\PosModule\TicketOrdersViewModel.cs:line 220
at Samba.Presentation.ClientLibrary.Modules.PosModule.PosViewModel.OnMenuItemSelected(EventParameters1 obj) in C:\Users\vehbi\Source\Repos\sambapos-v5-pro\Samba.Presentation.ClientLibrary\Modules\PosModule\PosViewModel.cs:line 477 at Microsoft.Practices.Prism.Events.EventSubscription1.InvokeAction(Action1 action, TPayload argument) at Microsoft.Practices.Prism.Events.EventSubscription1.<>c__DisplayClass2.b__0(Object[] arguments)
at Microsoft.Practices.Prism.Events.EventBase.InternalPublish(Object[] arguments)
at Microsoft.Practices.Prism.Events.CompositePresentationEvent`1.Publish(TPayload payload)
at Samba.Presentation.Services.Common.ExtensionMethods.Publish[TEventsubject](TEventsubject eventArgs, String eventTopic, Action expectedAction)

[Assembly Info]

mscorlib, Version=
System, Version=
Samba.Services, Version=
Samba.Domain, Version=
Samba.Infrastructure.Data, Version=
System.ComponentModel.Composition, Version=
Samba.Presentation.Services, Version=
System.Core, Version=
PresentationCore, Version=
WindowsBase, Version=
PresentationFramework, Version=
DevExpress.Xpf.LayoutControl.v16.2, Version=
System.Xml, Version=
DevExpress.Xpf.Grid.v16.2, Version=
DevExpress.Xpf.Grid.v16.2.Core, Version=
System.Xaml, Version=
Samba.Infrastructure, Version=
Microsoft.Practices.Prism, Version=
System.Runtime.Serialization, Version=
Microsoft.Practices.Prism.MefExtensions, Version=
DevExpress.Xpf.Core.v16.2, Version=
System.Windows.Forms, Version=
System.Drawing, Version=
Samba.Persistance, Version=
Stateless, Version=
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=
ReachFramework, Version=
EntityFramework, Version=
FluentValidation, Version=
NCalc, Version=
Microsoft.CSharp, Version=
Omu.ValueInjecter, Version=
Microsoft.Practices.ServiceLocation, Version=
DevExpress.Data.v16.2, Version=
WindowsInput, Version=

[System Info]

Operating System
-Microsoft Windows 10 Home
–CodeSet = 1252
–CSDVersion =
–CurrentTimeZone = -360
–FreePhysicalMemory = 9518496
–OSArchitecture = 64-bit
–OSLanguage = 1033
–ServicePackMajorVersion = 0
–ServicePackMinorVersion = 0
–Version = 10.0.17763

–Manufacturer = Dell Inc.
–Model = XPS 8910
–TotalPhysicalMemory = 17056960512
–UserName = ENRAPTURE\Enraptture


Thanks for reporting. I saw the error and solved that. I uploaded a fresh build.
Please reinstall 5.2.22 from the link:

1 Like

Sweet… awesome dear!

Thanks for the quick turn around… its working flawlessly now!

Much appreciated.

Once again @Tayfun thank you too for your help!

Have a wonderful rest of the day.

1 Like

@VehbiEmiroglu another small thing please can you check?

I have separate menus for pick up and for delivery. When i go to main menu–> manage screen and come back to ticket screen after selecting the first product it changes my menu to main menu from pick up… not sure whats happening… i have recorded a screen let me know where i can send the video or you can download from the link below…

Thanks for your help


How are you doing that? You have to close the ticket to go to mainenu no?


You probably have default menu for ticket types set. Try removing that from the ticket types

1 Like

thanks a lot @Jesse i had it selected for all ticket types… the moment i deleted the menu for ticket type it got resolved.

1 Like