Share via


InventJournalTransDocPLController.prePromptModifyContract Method [AX 2012]

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

Syntax

protected void prePromptModifyContract()

Run On

Called

Remarks

Use this method to change the report contract, 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, since 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 controller, since these will fail in batch cases.

See Also

Reference

InventJournalTransDocPLController Class