When closing a sales order , it changes the TotalCharges of the header to 0$

Not sure if that’s a new behavior but users notice that the amount on the SO header is wrong. We found that when closing orders related to projects (They were invoiced), it changes the TotalCharges field to 0$:

Before (1 line at 11 000$)

After

I checked and we don’t have any directive that could update that field. Is there anything to fix it or anyone had the same problem ?

1 Like

Often I’ve seen that behaviour when the order lines are marked void because they have been manually closed without a shipment occurring against them. Can you confirm what the line status states on these orders?
Is the invoicing against a shipment? Or against a milestone?
Depending on how projects are being used, oftentimes a customer shipment is still required against the sales order to fully close it out - even if the paperwork is not being sent externally to a customer.

2 Likes

It’s invoiced against a milestone. I don’t think we use the shipments in that company but I can verify

1 Like

That’s likely your issue. I would check those orders and see if OrderHed.VoidOrder, OrderDtl.VoidLine, and/or OrderRel.VoidRelease are true.

2 Likes

Yeah all 3 fields are voided!

Thank you for your help, I’ll check if that’s something that needs to be fixed or not. Usually, we use the sum of order lines in all our dashboards so that shouldn’t change too many things. It would suck to be forced to do a customer shipment for every sales order if we don’t need it

1 Like