Solved

Sum rows in report

  • 11 March 2024
  • 2 replies
  • 42 views

Userlevel 2
Badge

Sometimes for business reasons, when we create a Purchase Order we might list some Inventory ID’s multiple times.

Eg

Inventory ID XYZ 

Line one has an order for 2 

Line two has an order for 3 

Line three has an order for 1

We would like to show in a report (done in Report Designer) that sums these rows and shows only one row. 

So in the above example we would have only one line appear for XYZ with order qty of 6.

Can anyone suggest how we do this?

 

icon

Best answer by ejmillar 11 March 2024, 10:51

View original

2 replies

Userlevel 3
Badge

The PO Form (PO641000) has the line items within a groupheadersection.

This section is grouped by POLine.InventoryID, POLine.TransDesc, POLine.UOM and POLine.CuryUnitCost. The quantity is aggregated with the following expression: =Sum([POLine.OrderQty])

I would replicate the setup within this form to group the line items by inventory id. If the POLine.TransDesc is different for each record then remove the field from the group collection.

 

Userlevel 7
Badge +17

@steph23  Please review the default Acumatica Sales Order report, so that you get an idea how to sum the lines and display at the header section.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved