Solved

sub Report Parameters

  • 29 March 2021
  • 1 reply
  • 632 views

Badge

Hello

i just add a parameter in my report to select the account range 

it works fine but i want my filter to suggest the list of the account i writing like this one 

but its not working 

this is what the filter looks like 

 

i tried to add the branch id like the standard filter but its not working 

icon

Best answer by lauraj46 30 March 2021, 16:54

View original

1 reply

Userlevel 7
Badge +8

@khairi 

The field BAccount.AcctCD is probably too broad to use for your schema as it will list all of the business accounts, including customers and vendors.  Try referencing the same table and field from your report schema that is used in the filter on your Conditions tab.  For example if the filter is on APRegister.BranchID, the view name might be as follows: 

=Report.GetFieldSchema(‘APRegister.BranchID’)

This report selector in Acumatica would look something like this:

You can also copy the syntax to create a more generic drop down company/branch selector from one of the standard reports, for example the OrgBAccountID parameter on the standard report AP610500:

=Report.GetFieldSchema('OrganizationBranchReportParameters.OrgBAccountID')

That selector will appear in your report something like this:

 

Hope this helps!

Laura

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