ReturnAcknowledgmentAndDocController.prePromptModifyContract Method [AX 2012]

Modifies the report contract before a dialog box is shown to the user.

protected void prePromptModifyContract()

Run On


Use this method to change the report contract.

This method is called only during interactive scenario before the UI is rendered to the user.

For batch scenario, this method is not called 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 controller. These will fail in batch cases.