Share via


SalesHeadingController.prePromptModifyContract Method [AX 2012]

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

Syntax

public void prePromptModifyContract()

Run On

Called

Remarks

Use this method to change the report contract. This method is called only during interactive scenario, before the UI is rendered for the user. For batch scenarios, we do not call this method, because there is no user interaction, and contract values are already saved in a 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 scenarios.

See Also

Reference

SalesHeadingController Class