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...
Cannot get Correct ...
 
Notifications
Clear all

Questions Cannot get Correct SalesTotal when joining SOLine and SOOrder and group by only CreatedByID

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Shawn P Slavin 7 years ago
3 Posts
3 Users
1 Reactions
1,774 Views
RSS
prathyusha melapindi
Posts: 15
 prathyusha melapindi
Topic starter
December 20, 2018 2:37 pm
(@prathyusha-melapindi)
Member
Joined: 8 years ago

Hi, I am trying to achieve sales for each agent. In this, I am joining SOOrder and SOLine to get the Total Sales and Total Orders for each agent by grouping CreatedByID. Since join is performed, I get multiple lines on SOOrder and when SUM is done on OrderTotal, it doesn't give the correct value. 

Attaching the GI, I have created. Any help to get TotalSales would help

Right-click to Download


2 Replies
Ellie
 Ellie
(@ellie)
Joined: 6 years ago

Estimable Member
Posts: 129
December 20, 2018 11:05 pm
Reply toprathyusha melapindiprathyusha melapindi

If you are looking to get just total sales by createdById then you do not need to add the line item(soline in your example)  Also, you should use the ARTran table for sales, as the SO table is not final sale technically until it is invoiced. 


Reply
Shawn P Slavin
Posts: 196
 Shawn P Slavin
December 21, 2018 11:09 am
(@shawn-p-slavin)
Estimable Member
Joined: 6 years ago

I'm with Ellie. Without context about your end objective, it's hard to provide advice.  Can you help us understand what you want as an end result? 

Data to display
Calculations required
Criteria and/or Parameters
Constraints and/or Filters
Sorting and Grouping


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 24 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Generic inquiry with information from Audit history(CT301000)
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.

‹›×

    ‹›×