SalesOrderEntryStatisticsController.prePromptModifyContract Method [AX 2012]
Provides an opportunity to modify the report contract before the dialog box is shown to the user.
Syntax
protected void prePromptModifyContract()
Run On
Called
Remarks
Use this method to change the report contract. A common use case is to add or change a query. This method is called only during an interactive scenario, which is before the UI is displayed to the user. For a batch scenario, we do not invoke this method, because there is no user interaction and contract values are already saved in batch. Do not initialize any instance variables in this code that are used during the lifetime of the controller, because these will fail in batch scenarios.