AssetProposal.prompt Method [AX 2012]

Displays the dialog box from the class dialog box and waits for user input.

Syntax

public boolean prompt()

Run On

Called

Return Value

Type: boolean
true if the user clicks OK in the dialog box; otherwise, false.

Remarks

If the RunBase.canSwapBetweenCS and RunBase.canSwapBetweenCSPrim methods return true, the class is packed, sent to the client, and 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 in the following situations:

  • The user starts the class (typically from the main method).

  • The user wants to modify the settings of a queued batch job.

See Also

Reference

AssetProposal Class