Share via


InventJournalTransController.prePromptModifyContract Method [AX 2012]

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

Syntax

public void prePromptModifyContract()

Run On

Called

Remarks

Use this method to change the report contract. A common use case for this method is to add or to change a query. It is important to notice that this method is called only during an interactive scenario, before rendering the UI to user.

For a batch scenario, we do not start this method because there is no user interaction and the contract values are already saved in the 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

InventJournalTransController Class