Mark Opened and Remove Mark Opened actions added for tickets. You can lock ticket and prevent open by others. Also you must select this in User Roles
I use this new action at last sambapos 5.3.6.
I use mark opened action at ticked opened rule
Remove mark opened action at ticked closing rule
And set add user rule.
For open, close, print bill, void activity, all work good
The problems occur when change table, ticket become disappeared after move and, pop up can’t saved last changed ticket ’ no table ’
After that when I want to open the ticket, ticket can’t opened and pop up warning message ticket can’t display.
This same problem when I select customer to add customer name.
Problem occur again when move 1 or more product to new ticket or move to other table.
Please How to solve it.
I use this action because, when 2 people open ordered ticket for add new order product, and cashier check item product, at same time, and close at the end people
The problems occur all last ordered ticket become double order with same table without print to kitchen
I just testing in SambaPOS 5.5.0, change table dan select customer not error, but need do 2x for change table or select customer?
If I change table from 20 to 30
For first time change table massage ticket moved to 30. Your latest changes not saved. And entity state color change to New Orders.
Second time, change again this ticket, and success.
Why must do 2x for this action?
After some testing for this solution.
Rule : mark Open
Event Name : Ticket Opened
Execute rule : Match
Action : Mark Open
I have wrong setting at Remove Opened rule, i use event name : ticket closing.
after change it :
Rule : Remove Opened
Event Name : After Ticket Closing
Execute rule : Match
Action : Remove Opened
Change table working.
Testing just at single computer, not implement to production, still need time to go client
Not testing at mobile MC3
rule, action, product, all setting just use sample data.
Just remove permission for open opened ticket
Problem at change table and select customer.
Ticket, table can’t opened, like remove mark opened not function.
When i ask to sambapos support directly, they answer because my resseller not valid so can’t support for this issue. But in my analysis, this issue is a bug of action.
I have check direct to database at table Ticket column IsOpened is still True.
this indicate action “Remove Opened Mark from Ticket” not function.
This issue had been 2 years, still not improvement.
Issue solve just Hack Sambapos from sql query
Rule : After Ticket Closing
use action :
execute script:
Function : {CALL:tutup.UpdateTutup(‘{TICKET ID}’)}
Script:
handler: tutup
script :
function UpdateTutup(ticketID) {
var q = "UPDATE dbo.Tickets SET IsOpened = 0 WHERE Id = " + ticketID;
var ttp = sql.Query(q).First;
return ttp;
}