Quantcast
Channel: SambaClub Forum - Latest topics
Viewing all articles
Browse latest Browse all 8860

Clear Customer Entity on Add Ticket Command Execution

$
0
0

@royh wrote:

Hello, everyone.

I'm having difficulty removing the customer entity when the Add Ticket Command is Executed.

It appears that all entity information is cloned over when the command is being executed, however, I just want the table to be carried over, not the customer. The way we're using it, when we press Add Ticket, it's so that we can add another customer's order to the same table.

I've tried several methods and have been able to remove the customer when the command is executed, however it removes the customer from the last ticket (presumably the ticket with the highest ticket ID) and the new ticket. This happens regardless of whether the command is executed when a ticket is displayed or when the command is executed from the ticket list screen. I've changed the mapping so that the Add Ticket buttons shows up on the ticket list screen for the table as well so that we don't have to click on a specific ticket in order to add one. Just saves us a step, is all.

Any help is appreciated as always.
Cheers!

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8860

Trending Articles