I have a main menu screen that is list of open sales orders and a list of actions (scripts) that can be performed on the selected order.
One of the actions takes a billing block off of the sales order and SHOULD remove it from the list.
Very occasionally it does take the block off but leaves the entry on the screen (but you can't make it active) as in the case below...
The script refreshes the screen and then puts the successful update message to it but the unblocked message remains on the open order list. The program that this flavour belongs to is a customer program and screens orders that do not have a block set.
Can anyone suggest how this could happen. Is it some sort of caching issue or a timing issue between the custom program and the time it takes to physically take the block off the sales doc (VA02)?
Here's the tail end of the script ...