Event Method Sequences when a Record is Deleted
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
An event method sequence is executed when a record is deleted from a grid control. The grid control is on a form.
Grid Scenario
This scenario has a form that contains a grid control, which is bound to a data source. The data source is associated with a table. The form is open and the grid is populated. Focus is on the first line of the grid.
The user presses ALT+F9 to delete the record, and then clicks Yes to confirm. The following event methods are executed in response to that event.
validateDelete on the table.
delete on the table.
aosValidateDelete on the table.
leaveRecord on the data source.
See also
Event Method Sequences in Form Scenarios
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.