Skip to main content
Solved

Subreport value not display in main report


cij
Freshman II

 

Hello,

What could be the possible issue why the value is not showing automatically in the subreport. The purpose of subreport is to display the information from the approval tab in the purchase order module.

 

Please see details below.

 

Report designer:

 

 Parameters of SubReport from PO Main Form:

 

Subreport Form with parameters:

When I tried to print a PO, values are not displayed automatically in the subreport.


 

However, when I clicked the Edit Parameter in the report form and assign a value manually to a parameters the approval information is displayed.

 

Edit Form:

 

Can you share your solution, please? How did you fix it? Thanks

 

Best answer by cij

 

Hi @Samvel Petrosov 

 

Thanks for your response I really appreciate it. Actually, I figured out the issue. There is no changes has been made in the parameters. The value was there but it was overlap with text box that is why it shows blank. I was using the text box as border and placed the subreport. When I replaced it to panel as border everything went well.

 

Thanks

View original

Samvel Petrosov
Jr Varsity I
Forum|alt.badge.img+1

There are 2 different ways to invoke the reports from code:

  1. Pass the parameters and let the report load the data.
  2. Pass the data without any parameters and the report will just process the data.

Most likely, the report that you are working on is working by the second scenario.

If you simply change the Value field of the parameters being passed to the subreport from @OrderType, @OrderNbr to POOrder.OrderType, POOrder.OrderNbr should fix the issue.

 


cij
Freshman II
  • July 12, 2023

 

Hi @Samvel Petrosov 

 

Thanks for your response I really appreciate it. Actually, I figured out the issue. There is no changes has been made in the parameters. The value was there but it was overlap with text box that is why it shows blank. I was using the text box as border and placed the subreport. When I replaced it to panel as border everything went well.

 

Thanks


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 12, 2023

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings