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
Acumatica Generic I...
Linking Generic Inq...
 
Notifications
Clear all

Questions Linking Generic Inquiries

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 4 years ago
8 Posts
3 Users
0 Reactions
2,275 Views
RSS
MikeLupro
Posts: 28
 MikeLupro
Topic starter
February 8, 2022 12:53 pm
(@mikelupro)
Eminent Member
Joined: 8 years ago

We have two generic inquiries.ย  One returns the forecasted revenue for kit items.ย  The second returns the MRP costs for the forecasted items.ย  We need to link the two inquiries so we get a data-result that shows the revenue and the costs for the forecasted periods.ย  In SQL we'd write to an output table and append records and then query the combined results.ย ย 

Is there a way we can do this in Acumatica using generic inquiries.ย  The end result we want is a pivot table that shows forecasted revenue and forecasted (MRP) costs by period so we can see the cash requirements by period.

We are open to any ideas as to how to get a cash-flow forecast from forecasts and MRP requirements.


7 Replies
Royce Lithgo
Posts: 557
 Royce Lithgo
February 8, 2022 4:39 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Have you looked at PowerBI?ย 


Reply
MikeLupro
 MikeLupro
(@mikelupro)
Joined: 8 years ago

Eminent Member
Posts: 28
February 8, 2022 4:51 pm
Reply toRoyce LithgoRoyce Lithgo

@roycelithgo Not yet.ย  Thanks for the suggestion.

We are looking into OData and we can get the GI's to Refresh in Excel but the data is still on two separate worksheets and we need to combine the data (automagically) into one table somehow.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
February 8, 2022 4:54 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

If you have the data in 2 worksheets in Excel shouldn't be too difficult to merge.

eg. https://support.microsoft.com/en-us/office/merge-queries-power-query-fd157620-5470-4c0f-b132-7ca2616d17f9

I do this in PowerBI all the time, which was why I suggested it. It does have a bit of a learning curve though.


Reply
MikeLupro
 MikeLupro
(@mikelupro)
Joined: 8 years ago

Eminent Member
Posts: 28
February 8, 2022 5:37 pm
Reply toRoyce LithgoRoyce Lithgo

@roycelithgoย 

Thank you.ย  We'll follow the links ๐Ÿ™‚ Mike


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
February 18, 2022 9:06 am
(@timrodman)
Famed Member
Joined: 10 years ago

I'd like to second the Power BI idea from @roycelithgo for this scenario. Note that you can do it in Excel too since the Power Query functionality is available in Excel.

Supposedly, in the future, Generic Inquiries will include the ability to do subqueries. I wonder if they will also include the ability to "append" two Generic Inquiries together when they add this functionality.

For now, the best way that I know of to do this within Acumatica Generic Inquiries, is to use what I call the Wyatt.ERP Technique. It's essentially a way to do a SQL UNION statement:

https://www.augforums.com/forecasting-future-acumatica-project-revenue-in-monthly-buckets

Since I wrote that article, I learned a cleaner way to use the technique, without having to create Attributes, by using the DateInfo table.

I just added the Wyatt.ERP Technique to my list of ideas for a Tips & Tricks lesson in the Building Generic Inquiries & Pivot Tables course (click here). I know I've been silent so far on Tips & Tricks, but today is the first day that I'm getting into my "Tips & Tricks Friday" routine. The goal is to dedicate Fridays to "Tips & Tricks" lessons. That's actually why I read this post today. I'm "hunting" for an idea for today 😀ย 


Reply
MikeLupro
Posts: 28
 MikeLupro
Topic starter
February 18, 2022 10:53 am
(@mikelupro)
Eminent Member
Joined: 8 years ago

Thank you for the reply Tim.ย  We ultimately used four generic inquiries tied to four refreshable OData Excel sheets and used the Excel Merge function to combine the four table results.ย  Then we built a pivot table off the merged data and got a reasonable cash flow statement with data from the Forecast, AR Aging details, AP aging details, and MRP results.

We will check out your WyattERP technique as well.

Thanks for posting


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

Famed Member
Posts: 3193
February 18, 2022 5:22 pm
Reply toMikeLuproMikeLupro

@mikelupro I just published Part 1 of the new lesson series in the course and summarized it in a blog post here:

https://www.augforums.com/the-wyatt-erp-technique-for-generic-inquiries

Stay tuned for additional parts that walk through how the example was built.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 84 Online
  • 2,412 Members
Our newest member: thollings
Latest Post: Attribute Input Mask
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.

โ€นโ€บร—

    โ€นโ€บร—