RunBaseBatch.prompt Method [AX 2012]
Displays the dialog from the class dialog and waits for user input.
If the RunBase.canSwapBetweenCS and RunBase.canSwapBetweenCSPrim methods return true, the class is packed, sent to the client, unpacked, and the prompt is executed there. When the dialog box is closed, the class is packed and returned to server where it is unpacked.
This method is called when
The user starts the class (typically from the main method)
The user wants to modify the settings of a queued batch job.
You should not override this method.