AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
passing a sql view ...
 
Notifications
Clear all

Questions passing a sql view with a parameter to acumatica

 
Everything Else
Last Post by Justen Mccarter 2 months ago
4 Posts
2 Users
0 Reactions
589 Views
RSS
Justen Mccarter
Posts: 4
 Justen Mccarter
Topic starter
November 8, 2024 1:40 pm
(@jmccarter)
Active Member
Joined: 2 years ago

Is it possible to pass a sql view with an "emtpy" spot to be filled out by a report parameter to acumatica? We wanted to use the mutli level bom for verifying our boms but it is missing information that we need. So I am creating my own as a cte  that uses the recursive statement to blow through the boms and show information for every level. I want to pass this as a view to acumatica. I think it should be done for 1 bom at a time because it would be too exhaustive on the system if it was trying to do all of them at once. How would I set it up so that I can do that? Screen shot of the section im talking about. The goal is to make a report and add it to the side panel of "Bill of Materials" , so that designers can print it out when they build the prototype and compare the Acumatica BOM to what they actually use. This would be a final checkoff before we deem it "Production Ready". I may be over thinking it, but I cant seem to think of a way to pass it over with the "blank" so that the paramater on the report will be the input for the parameter in the CTE. Or should i just pass it over without the "blank" and just make sure its only ever used in a report and or a GI that has a parameter. I also put this statement in AUGSql to double check that the output is the same.

 

image
Topic Tags
SQL SERVER Acumatica Report Designe Parameters
3 Replies
Justen Mccarter
Posts: 4
 Justen Mccarter
Topic starter
November 15, 2024 2:21 pm
(@jmccarter)
Active Member
Joined: 2 years ago

Nevermind, I figured this out. I didnt need to declare it. i just needed to add the top bom to every level then i can sort by this.

Reply
Tim Rodman
 Tim Rodman
Admin
(@timrodman)
Joined: 10 years ago

Famed Member
Posts: 3193
May 11, 2025 8:02 pm
Reply toJusten MccarterJusten Mccarter

@jmccarter Glad you found a solution without a parameter. I haven't been able to figure out how to populate parameters in SQL Views from the Acumatica Framework.

Reply
Justen Mccarter
 Justen Mccarter
(@jmccarter)
Joined: 2 years ago

Active Member
Posts: 4
May 12, 2025 7:44 am
Reply toTim RodmanTim Rodman
Justen Mccarter

@timrodman what i did was just have the top level included on every line of my recursive view and then add a parameter to that.

image
Reply
Forum Jump:
  Previous Topic
Next Topic  
Related Topics
  • Acumatica Data Provider
    1 year ago
Topic Tags:  SQL SERVER (2) , Acumatica Report Designe (1) , Parameters (9) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,521 Topics
  • 10.9 K Posts
  • 12 Online
  • 2,321 Members
Our newest member: Courtney Wilder
Latest Post: Can UDFs be populated using an Import Scenario?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×