JmgReportBaseController.prePromptModifyContract Method [AX 2012]

Provides the ability to modify the report contract before a dialog box is shown to the user.

Syntax

protected void prePromptModifyContract()

Run On

Called

Remarks

Use this method to change the report contract. A common use case is to add or change a query. This method is called only during interactive scenario before rendering the UI to user.

For batch scenario, we do not invoke this method because there is no user interaction, and contract values are already saved in batch.

Do not instantiate any instance variables in this code if they are used during the lifetime of the controller because these will fail in batch cases.

See Also

Reference

JmgReportBaseController Class