Share via


JmgAbsenceStatisticsController.prePromptModifyContract Method [AX 2012]

Provides the ability to modify the report contract before the dialog box is displayed 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, or both, a query. This method is called only during an interactive scenario, before rendering the UI to user.

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

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

See Also

Reference

JmgAbsenceStatisticsController Class