Solved

Open report screen to parameters

  • 23 January 2023
  • 2 replies
  • 96 views

Userlevel 7
Badge +5

I’m using PXReportRequiredException  to open up a report from a button on a screen. I would like to open the report to the where the user can enter the parameters instead of the preview. I don’t want to pass the parameters to the report because it doesn’t make sense in this context.

Is there a way to do that?

icon

Best answer by Yuriy Zaletskyy 1 February 2023, 21:06

View original

2 replies

Userlevel 5
Badge +3

I’d consider these excetions instead:

PXRedirectToUrlException or PXRedirectRequiredException. 

if (string.IsNullOrEmpty(e.NavigateUrl) is false)
throw new PXRedirectToUrlException(e.NavigateUrl, newWindowMode, "");

 

Userlevel 5
Badge +3

@Django did my suggestion helped?

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved