This userexit cannot be used with the Java Client browser! In Java Client, to delete objects form the browser, please use the function PrpMenu/DeleteObject.
Input Parameters | Significance |
none | - |
Output Parameters | Significance |
none | - |
Return Code | Significance |
0 | no error |
1 | user has no delete privilege for the main entity in the widget |
Can be invoked as on_select-userexit in widget menus or as on_event-userexit in the widget- or element selection state of a mask.
Replaces the function dal_wdh_del_lis as userexit.
Before deleting DataView checks for delete privileges, locking, existence of depending elements, and the return code of the pre_action-trigger in delete mode for each selected record. If these checks result in the conclusion that the record may not be deleted, DataView will output a warning in the message window and cancel the procedure.
If the mask displays elements of data base tables in a foreign format, DataView will not check for locking or existence of depending elements.