I’m working on documentation for States, and I’m trying to figure out the Update Order State action, but I’m a little confused as to what all the parameters mean.
(used @Jesse’s picture here to show the parameters)
State Name: I suppose this is the state group for the state you want to set? (as in ‘Group code’ when you define a State in the Management screen)
If so, then I guess this would better be called ‘State Group’, as it’s not the name of the state??
Group Order: The order this State group will be sorted in on bills?
Current State: What does this mean?
State: I suppose this is the name of the State you want the order to be in?
State Order: The order that the state we’re setting will be shown in on the bill?
State Name is Group Code
Group Order is Order it shows on ticket
Current State is Current State so it will look for that state as a check.
State - State your modifying
State Order - order it shows on bill
State Value - Sub Value of a State. Example… GStatus uses Status with Values as the actual state it enters.
The whole States part of SambaPOS seems like a tough feature to understand to me, that’s why I thought I might try to figure this all out and document it
I’m not sure what’s happening with the void rule:.
It seems like the Void button updates the GStatus group’s Void state of the order to the value of the button? When does this value get set?
Or is that not what [:Value] means in the rule?
Update Order Gift State action’s Value parameter should be linked to [:CommandValue]. That was a bug coming from early V4 releases. I think that confused you.