FormDataSource.delete Method [AX 2012]
Deletes the current record from the data source.
This method is called when a user deletes a record in a form.
The delete method calls the FormDataSource.validateDelete method. If the validateDelete method returns true, the record is deleted.
After the deletion, the cursor is positioned on the next record (if there is one).
The delete method can be overridden on a form data source by right-clicking the Methods node under the data source, pointing to Override Method, and then clicking delete.
Community Additions
ADD
Show: