Skip to main content
Answer

Adding custom rpx report to the Acumatica Customer Portal

  • September 19, 2024
  • 11 replies
  • 151 views

Forum|alt.badge.img

I am trying to add report to the Acumaca customer portal and having error as follows. Any help appreciated

 

Server Error in '/AcumaticaERPPortal' Application.

Error: You don't have enough rights on 'CR632072.rpx'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: PX.Data.PXException: Error: You don't have enough rights on 'CR632072.rpx'.

Source Error:
 

Line 317:		}
Line 318:
Line 319: var pars = PXReportRedirectParameters.UnwrapParameters(passed);
Line 320: passed = PXReportRedirectParameters.UnwrapSet(passed);
Line 321:


Source File: C:\Program Files\Acumatica ERP\AcumaticaERPPortal\Frames\ReportLauncher.aspx.cs    Line: 319

Stack Trace:
 

[PXException: Error: You don't have enough rights on 'CR632072.rpx'.]
Pages_ReportLauncher.viewer_ReportLoaded(Object sender, EventArgs e) in C:\Program Files\Acumatica ERP\AcumaticaERPPortal\Frames\ReportLauncher.aspx.cs:319
PX.Web.UI.PXReportViewer.OnReportLoaded(EventArgs e) +126
PX.Web.UI.PXReportViewer.LoadReport(Nullable`1 version) +1559
PX.Web.UI.PXReportViewer.Page_LoadComplete(Object sender, EventArgs ev) +55
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnLoadComplete(EventArgs e) +138
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5909

Best answer by fmrubi11

it worked eventually by running report from customization code, using following link

 

https://stackoverflow.com/questions/34952663/print-button-on-cr306000-to-print-case-data

 

 

11 replies

darylbowman
Captain II
Forum|alt.badge.img+15

How are you trying to add it? By saving it from the Report Designer? Do you have the Report Designer role?

 


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • September 19, 2024
  1. I have ReportDesigner Role
  2. I saved my report to the portal
  3. I created the report in the portal site map
  4. i can access it on menu but clicking gives attached error

darylbowman
Captain II
Forum|alt.badge.img+15

Did you check Access Rights? Normally, I’m not sure you’d received an error quite like that though.

Is there a sub-report on this report by any chance? Do you have Access Rights to that?


Forum|alt.badge.img+1

Do you have any module/system areas level restrictions?


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • September 20, 2024

I dont have any restrictions

i have read some infor that its not possible to add report to portal unless doing it at code level se article below

https://stackoverflow.com/questions/54775784/make-a-custom-report-created-in-acumatica-erp-visible-in-self-service-portal.


Any help on adding report and parameters for the portal through code will be appreciated 


darylbowman
Captain II
Forum|alt.badge.img+15

Based on that comment, you’ll need to run the report from a button. What does the report represent and how were you going to use it?


darylbowman
Captain II
Forum|alt.badge.img+15

(removed content: wrong thread)


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • September 22, 2024

Based on that comment, you’ll need to run the report from a button. What does the report represent and how were you going to use it?

Its a customized customer transactions report, running it should list transactions for the current customer and balance.

The default statement does not provide exact customer requirement


darylbowman
Captain II
Forum|alt.badge.img+15

Are you trying to save it as a new version of an existing report or an entirely new report?


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • Answer
  • September 24, 2024

it worked eventually by running report from customization code, using following link

 

https://stackoverflow.com/questions/34952663/print-button-on-cr306000-to-print-case-data

 

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • September 24, 2024

Thank you for sharing your solution with the community @fmrubi11!