I wish to create a popup confirmation message whenever user exit from a screen with changes applied.
For example, when a user exit from the Item form while adding a new item or modify the existing item, the system will prompt a confirmation message whether to save the changes.
If the user select ‘Yes’ the system will apply the changes but if the user choose ‘No’ the system will discard the changes.
If the user doesn’t complete all the columns in order for the system to apply the changes, the system will prompt out a message saying that the necessary column is not complete and the system will go back to the previous screen for user to complete the necessary column.
I would like to remove the Escape function to ensure that user exit from the screen properly.
Objective :
1. To minimize error while maintaining the system.
2. To make sure chnages that done by user is apply
Does anyone know how can i make it? thanks..
Regards.
0
Comments
- Add a new field "Confirm Changes" (type Boolean) to table 403 "Change Log Setup (Table)" & form 593 "Change Log Setup (Table) List".
- Activate Change Log for table 27 Item and place a checkmark in the new field
- Modify function GetTableTriggerMask in codeunit 423 "Change Log Management":
- Add following code at the start of function LogModification in codeunit 423 "Change Log Management":
Hope this gets you started.