Share via


SMAWorkNoteController.prePromptModifyContract Method [AX 2012]

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

Syntax

public void prePromptModifyContract()

Run On

Called

Remarks

Use this method to change the report contract, common use case is to add, change, or both a query.

This method is called only during 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 the controller, because these will fail in batch cases.

See Also

Reference

SMAWorkNoteController Class