- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello,
If I understand correctly, then you want to capture, when a customer clicked on the stop button on delivery to stop the delivery as in below picture.
As I found that, this stop button is created by html view, what i mean, in the input form of delivery there is Summary container, there a delivery.jssp page is included. So this view is an html view. When a user click on the stop button, then deliveryState is updated by jssp script. This is out of box. I might be not the best idea to change the out of box jssp script.
I am just thinking, if you could check the deliveryState of delivery, when delivery is opened by creating a function in the input form on enter and store value of deliverySatate like in an option or other temp table. When this is closed, check again on leave, if deliveryState is changed from started to stop, then you can send the request to your provider to cancel it.
Thanks.
Parvesh.
Views
Replies
Total Likes