Hi Community,
I am working on a customization in Acumatica, where I need to open the parameter screen for a report before the report is executed. I am using the report ID AM660000 for the "Move Report," and I want to pre-fill some parameters (like BatchNbr) from the current screen, but I want to ensure that the user can select additional parameters (like AcctCD) before the report is actually run.
I have tried using the following code:
throw new PXReportRequiredException(parameters, "AM660000", "Move Report");
However, this approach immediately runs the report instead of just opening the parameter screen. I would like to know if there's a way to only show the parameter screen and allow the user to modify or select their parameters (e.g., AcctCD) before proceeding with the report.
Any insights or examples would be greatly appreciated!