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...
Generic Inquiry Pro...
 
Notifications
Clear all

Questions Generic Inquiry Projects and Sales Orders

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 6 years ago
8 Posts
4 Users
1 Reactions
4,193 Views
RSS
delledge
Posts: 6
 delledge
Topic starter
February 28, 2019 7:42 am
(@delledge)
Active Member
Joined: 4 years ago

We enter in Projects and Sales Orders to create our backlog.  I need to be able to combine the Project Revenue Total Budget and the Sales Order Total to provide a total amount booked for the week, month and fiscal year.  I am able to get them individually and put them on a dashboard. 

Is there a way of combining on a GI (to turn into a dashboard) Projects and Sales Order to get this value combined?  I can download the data and do it in Excel, examples attached.


7 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
March 8, 2019 9:23 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I like Excel for this scenario.

What you are missing in a Generic Inquiry is the UNION concept from SQL where you can have two completely separate queries, but combine the results together.

The only way I can think of at the moment to do this within Acumatica would be to create a SQL view that does a UNION between the two queries, then connect the SQL View to a Data Access Class that feeds a Generic Inquiry that feeds a Dashboard.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
March 10, 2019 7:28 pm
(@roycelithgo)
Honorable Member
Joined: 6 years ago

Use Power BI - you will be able to accomplish so much more.


Reply
Tim Rodman reacted
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
January 3, 2020 9:49 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Note that you can use Power BI inside Excel. Using Data -> Get Data -> From Other Sources -> From OData Feed on the Excel Ribbon will take you into the Power Query window where you can combined multiple inquiries in a similar way to doing a UNION in SQL.


Reply
Wyatt.ERP
Posts: 128
 Wyatt.ERP
January 7, 2020 5:16 pm
(@wyatt-erp)
Estimable Member
Joined: 6 years ago

You can get this to work using GIs.  If you check out This Post I go over making an attribute you can join off of and rope a bunch of information together.  Although in that post I'm using it to do a cardinal(cross) join, you can use the trick to effectively union information together.  

Use tables: FinPeriod

CSAttribute (Inner Join on CSAttributeDetail.AttributeID ='MYPIVOT' and CSAttributeDetail.SortOrder <= 2)

SOOrder (Left Join on FinPeriod.FinPeriodID as one link and CSAttributeDetail.SortOrder = 1 as a second link)

Project* (Left Join on FinPeriod.FinPeriodID as one link and CSAttributeDetail.SortOrder = 2 as a second link)

*I'm not sure the name of the actual project DAC, we don't have that module.

This should effectively give you information like this:

01-2019, 1, [Sales Orders], NULL
01-2019, 2, NULL, [Projects]
02-2019, 1, [Sales Orders], NULL
02-2019, 2, NULL, [Projects]
03-2019, 1, [Sales Orders], NULL
03-2019, 2, NULL, [Projects]

etc..

Group By your FinPeriod, and then have your fields as SUM(ISNULL(Order Total, 0)), SUM(ISNULL(Project Total,0)), and SUM(ISNULL(Order Total, 0)+ISNULL(Project Total,0)) for both.


Reply
Royce Lithgo
 Royce Lithgo
(@roycelithgo)
Joined: 6 years ago

Honorable Member
Posts: 557
January 7, 2020 6:19 pm
Reply toWyatt.ERPWyatt.ERP

Really nice solution @wyatt-erp. I didn't even know Attributes existed. 


Reply
delledge
Posts: 6
 delledge
Topic starter
January 9, 2020 12:44 am
(@delledge)
Active Member
Joined: 4 years ago

Client First and Power Storage Solutions found a solution.  It is working really well to track bookings as projects and SO are open.  We then use it to forecast revenue out into the future based upon SO ship dates and Project Scheduled end dates.   We have the monthly forecast move down as we invoice to see we completed everything in the month.

I cannot explain  or now how to post the GI solution.  Kristi (Clients First) and Zach (Power Storage Solutions) created the solution together.  We would be happy to share.


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
January 18, 2020 4:22 pm
(@timrodman)
Famed Member
Joined: 10 years ago

This is turning into a really cool Discussion Topic!


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 40 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.

‹›×

    ‹›×