@mjb2000 wrote:
I am trying to use a rule that will...
- Add a surcharge calculation based on the
{:TENDEREDAMOUNT}
- Refresh the payment screen (using
Display Payment Screen
action)- Set the Tendered Amount numberpad to a specific value
If I don't refresh the the payment screen then setting the numberpad works. But I need to refresh the payment screen becaue if I don't then you don't see the service calculation getting applied to the balance.
Interestingly, if I use
Show Message
between the Display Payment Screen and the Set Numberpad then this gives enough time for the payment screen to refresh before the numberpad gets set. But it's not ideal. I guess it would be better for the next action not to be triggered until the "Display Payment Screen" action has completely finished?So just to reitorate..
This works...
- Add calcuation
- Display Payment Screen
- Show Message
- Set Numberpad
This doesn't work...
- Add calcuation
- Display Payment Screen
- Set Numberpad
Posts: 5
Participants: 2