We have a business scenario where sales team is creating sales orders from head office. The dispatch team operation from different plants run the report VL10E where they get the list of sales orders and create the delivery docs and PGI them.
Now the problem is sometimes sales team cancel the orders. However the dispatch team using VL10E do not refresh their screen and system allows to create the delivery for cancelled order and also PGI such delivery.
How can we avoid this problem. It would be better that if the order is cancelled VL10E screen is not refreshed and user tries to process the order system should give error. How to make this possible?
If not, is there any other transaction like VL10E which updates the order status and gives error as required.