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
DB: SQ
Machine: ENRAPTURE
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=4.0.0.0
System, Version=4.0.0.0
Samba.Services, Version=1.0.0.0
Samba.Domain, Version=1.0.0.0
Samba.Infrastructure.Data, Version=1.0.0.0
System.ComponentModel.Composition, Version=4.0.0.0
Samba.Presentation.Services, Version=1.0.0.0
System.Core, Version=4.0.0.0
PresentationCore, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
DevExpress.Xpf.LayoutControl.v16.2, Version=16.2.13.0
System.Xml, Version=4.0.0.0
DevExpress.Xpf.Grid.v16.2, Version=16.2.13.0
DevExpress.Xpf.Grid.v16.2.Core, Version=16.2.13.0
System.Xaml, Version=4.0.0.0
Samba.Infrastructure, Version=1.0.0.0
Microsoft.Practices.Prism, Version=4.0.0.0
System.Runtime.Serialization, Version=4.0.0.0
Microsoft.Practices.Prism.MefExtensions, Version=4.0.0.0
DevExpress.Xpf.Core.v16.2, Version=16.2.13.0
System.Windows.Forms, Version=4.0.0.0
System.Drawing, Version=4.0.0.0
Samba.Persistance, Version=1.0.0.0
Stateless, Version=1.0.0.0
PropertyTools, Version=2012.4.14.1
Samba.Localization, Version=1.0.0.0
ReachFramework, Version=4.0.0.0
EntityFramework, Version=6.0.0.0
FluentValidation, Version=3.4.0.0
NCalc, Version=1.3.8.0
Microsoft.CSharp, Version=4.0.0.0
Omu.ValueInjecter, Version=2.3.0.0
Microsoft.Practices.ServiceLocation, Version=1.0.0.0
DevExpress.Data.v16.2, Version=16.2.13.0
WindowsInput, Version=1.0.4.0


[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

Machine
-ENRAPTURE
–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: https://sambapos.com/?wpfb_dl=212

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

2 Likes

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

2 Likes