The AfterLineChange event occurs when the contents of a line change in an editable or adds-allowed grid, and the focus moves out of the line. It occurs after the Microsoft Dynamics GP line change event.
• grid – A grid object.
Use the AfterLineChange event to perform other actions in the window after the Microsoft Dynamics GP line change event. Microsoft Dynamics GP uses the line change event to save data in the line when the user leaves the line. An example of this is the Invoice Entry window, where each grid line represents a separate transaction record in the invoice. As the user moves to a new line, the line change event saves the invoice line item record to a table.