I have question about State Order.
Is there a better way to set State Order? I have to create individual actual for each state to set State Order. I have to create 20 actions for 20 seats lol. May be I have to use Seat 01 then take last 2 letters for State Order.
This State Order is suppose to set only once right?
At first I need to understand how you are setting state order before I can recommend something better. Sorry if it was mentioned in the post or something I should remember
How to use variable? Right now I use Substring to get 2 last letters (01,02,03âŠ)
I got weird issue with seating.
Seat 01 order Sandwich
Seat 02 order Burger
Seat 03 order Pizza
Seat 04 order Sandwich
When I print bill by seat {ORDER STATE:Seating} I got error popup:
But if nobody order the same thing there is no problem.
Itâs weird because it doesnât happen when I use order state Course
EDIT: I thought it was Group Sum issue but itâs not. I add Group Sum to Kitchen template which grouped by Order State Course. Hmm⊠what course it?
Do you know where is the order state store in database. It must be something in State order?
I still using SDF. I will convert to SQLExpress. Donât know software to open SDF
Not yet, I thought I found it but still having the same problem.
Actually, itâs State Order which make that error. It is working when no State Order.
I have no idea how State Order works.
Here is what I know:
If I donât set State Order, Print ticket will print out order as it receive (first State found will group that state first).
If I set State Order (10,20,30âŠ), It works as long as the State has not changed. If I change State, it will popup âSequence contains morn than one matching elementâ.
@emre@Jesse Could you please explain how to use state order and state value?
@sukasem I think that relates with Merge Lines setting of printer template. When that setting is enabled duplicate orders merges to a single line and as that single line contains both seat values reading a seat value generates the error. I mean error message says âan order contains more than one seat valuesâ. As you mean to write seat next to order line I think you can disable Merge Lines setting.