Projects:Client Side Event Handlers Extension PreDelete/Specs
Contents |
Functional Requirements
The objective of this project is to provide the infrastructure needed to execute actions before a delete event is fired from a standard window of the User Interface.
Technical Specs
Function Registry
In Client Side Event Handler extensions project Pre-Save and Post-Save actions were implemented. In this project Pre-Delete will be implemented.
Save And Update Events
There are several flows through the UI which allows to delete a record. All of them must be handled in order to execute the corresponding actions:
- Delete a record (in grid or form view) using the toolbar delete button.
- Delete a record (in grid or form view) using the Supr keyboard button.
- Delete multiple records at once in grid view using the Supr keyboard button.
- Delete multiple records at once in grid view using the toolbar delete button.
Previous Code Adjustments
New generic function has been implemented named callClientEventHandlerActions in order to be called by all kind of events. So existing callSaveActions function uses this one. New executePreDeleteActions function has been implemented for Pre-Delete events.