Event Method Sequences when a Record is Deleted [AX 2012]
Updated: October 11, 2008
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.
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.
Announcements: New book: "Inside Microsoft Dynamics AX 2012 R3" now available. Get your copy at the MS Press Store.