controller class in ax 2012
public SysOperationStartResult startOperation()
{
// get the report contract. This will initialize it as well.
this.parmReportContract();
// call hook to change the contract before prompt is called.
this.prePromptModifyContract();
// maintain a unique id for each report run execution instance.
reportRunId = newGuid();
return super();
}