Solved

Material Numbers not populating in the report parameter

  • 15 September 2023
  • 4 replies
  • 38 views

Userlevel 2
Badge

I want to populate  [AMBatch.BatNbr] as the report parameter. I have added the parameter in the schema but nothing is showing up on the report screen.

 

Report Designer Setup for the Parameter

This is how I see this empty selector. 
 

Report screen


Any leads will appriciated.

Thanks​​​​​​​

icon

Best answer by BenjaminCrisman 15 September 2023, 23:39

View original

4 replies

@BenjaminCrisman I think i figured out,

it was Doc Type that i needed to add and i added it as parameter. all good now!

thank you!

 

Userlevel 7
Badge +4

@isharamadhushan You probably need to have the Batch Type displayed as a parameter as well above it. Do you also have the type as a parameter?

HI @param2022 did it work for you? 

 

@BenjaminCrisman i tried it and ended up with below error, 

 

 

Userlevel 7
Badge +4

Hi @param2022! The issue I believe you are having is that the BatNbr is a dependent field, relying on the type, so because no type is defined, there are no batches to show.

Try using:

=Report.GetFieldSchema('AMBatch.BatNbr,BatchType')

This should work better and can be see in action on the Production Batch Register report AM622000

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