Skip to main content
Answer

how to leave a spot in a recursive sql view for a report/GI Parameter to input in

  • November 8, 2024
  • 2 replies
  • 87 views

Forum|alt.badge.img

I am trying to make another version of the Multi Level Bom as a SQL View. The multi level bom doesnt have all the information that we need on it and I cant join tables on it. So I am creating a Sql view with a recursive statement to explode the boms. It needs to have a parameter in the anchor for it to work correctly and to keep it from bogging down the system with trying to do it for everything. How would I go about loading it into acumatica with a “Blank” for this field so that it could be filled out using the parameter from a report or a GI parameter? Screen shot below of my sql statement with the area im talking about highlighted. Doing it this way, would give me the ability to have any or all information from the tables in the joined in the below query. The information is currently limited to make it easier for testing.

 

Best answer by darylbowman

The SQL view just simulates a data table. You would put a filter on the report or GI using the conventions available to them.

2 replies

darylbowman
Captain II
Forum|alt.badge.img+15
  • Answer
  • November 8, 2024

The SQL view just simulates a data table. You would put a filter on the report or GI using the conventions available to them.


Forum|alt.badge.img
  • Author
  • Varsity III
  • November 15, 2024

Daryl, thank you for the reply. You were correct but i was also missing something. I needed to add the Top level bom to every line so that it would filter correctly.