How to create warning in window
10 January 2025
How to create a window with a warning. In my case, I want to create a warning when clicking on the Confirm Shipment button on the Sipments SO302000 page. To begin with, we find our button on the screen and inspect it by clicking on it with the left mouse button, holding Ctrl and Alt.
Copy the Action Name and look for it in the code.
Create an extension graph to Shipments and reassign the button using the [Override] attribute.
As a result, when we click on the Confirm Shipment button, a window with a warning pops up. If we click OK, the logic of the button is executed. If we click Cancel, the action is canceled.