A typical use for focus triggers is to verify the state of the application before Microsoft Dynamics GP processing occurs. For example, when the user clicks the Save button in Microsoft Dynamics GP, you may want to verify the state of the application before allowing the save operation to proceed. This means the focus trigger that verifies the state of the application should run before the original button change script. If the application doesn’t meet certain conditions, you can use the reject script statement to stop all pending script operations for your application and for Microsoft Dynamics GP.