I am trying to get a running total of a column in the Invoice Head. I have tried to mimic several examples on here and I am just not getting a column to total. I want it to total for each customer’s open invoices.
They are called windowing functions.
You can do a sum over partition with an order by and it will give you a running total. No need for a sub query or group by. There are More examples here of you keep searching.