Skip to main content
Answer

Filter sales order by order total

  • September 13, 2024
  • 5 replies
  • 99 views

Forum|alt.badge.img

Hi, I am trying to get the total of the sales order (together with all the charges/discounts) I tried using the field [SOOrder.CuryOrderTotal] but when I tried to get the sum, it seems that it is getting the sum of all the line items. Do I filter them and how?

Thanks so much in advance!

Best answer by Crisel

Hi @Crisel were you able to find a solution? Thank you!

No, we did not use the SUM function. We just added the field column. This topics can be closed. Thank you.

5 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • September 13, 2024

@Crisel It might help to see more of the report and more of what you’re trying to capture. Not sure if you can just move the amounts into a grouping section and group by order number or you’ll need to make a variable and then total the variable instead?

This was the only topic I could find at the moment, but I’m sure I’ve seen others regarding getting a total using a variable if needed


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • September 13, 2024

@Crisel It might help to see more of the report and more of what you’re trying to capture. Not sure if you can just move the amounts into a grouping section and group by order number or you’ll need to make a variable and then total the variable instead?

This was the only topic I could find at the moment, but I’m sure I’ve seen others regarding getting a total using a variable if needed

Thanks so much for the reply. I am trying to modify the “Daily Sales Orders - Entered” and the values for these fields are “=sum([SOLine.CuryLineAmt]*-[SOLine.InvtMult])” but it doesn’t seem to be considering the surcharge and discounts. When I tried to use the inspect element I thought I could use the field Order Total which is =[SOOrder.CuryOrderTotal]. However when I tried to use the sum in the groupFooterSection it seems that it got the total of all the orders.  

 

I noticed there’s a filter set(as in screenshot below) but as I understand this filter should reflect in the groupFooterSection too and not get all orders’ total. 

 


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • September 19, 2024

Anyone else encountered odd behavior on using the SUM function in the report designer? Thanks in advance.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • November 13, 2024

Hi @Crisel were you able to find a solution? Thank you!


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Answer
  • January 14, 2025

Hi @Crisel were you able to find a solution? Thank you!

No, we did not use the SUM function. We just added the field column. This topics can be closed. Thank you.