Method to close the form in MSD axapta


FormRun.Close
This method shuts down the form. If you have cleanup in connection with finishing the execution of the form, place it here.
One function to available for implementation is saving some options for future use as in \Forms\ForecastPurch\Methods\close.