If the totals were $0, then the hotfix was supposed to fix that, if the totals are wrong, it is likely something else unless the totals were saved before the fix was in place, such as if they started out as zero but a line change increased or decreased and was then saved. Throwing the following in a post read event script on the SO_SalesOrderHeader appeared to prevent the totals being zero when duplicating the events that were found to produce the issue. However, the only way to force the totals to recalculate is by changing the tax schedule or calling the header's SalesTaxCalculation or SalesTaxRecalculation (this is called when the tax schedule is changed) methods.
If oBusObj.Lines <> 0 Then oSession.AsObject(oBusObj.Lines).SetBrowseFilter oBusObj.GetKeyPadded()
You may also want to check to see if you have any scripts on the SO_SalesOrderHeader, SO_SalesOrderDetail, SO_InvoiceHeader, and/or SO_InvoiceDetail tables and scripts that don't handle the totals correctly may be contributing towards the discrepancy. Also check for any button scripts attached to the UI tasks.
------------------------------
David Speck II
Tennessee Software Solutions
------------------------------
Original Message:
Sent: 08-02-2021 18:28
From: Kelley Johnson
Subject: Sales Order lines out of balance with totals
I installed SO6004T back in March for a client on Advanced 2020 6.20.0.1 as they had a lot of orders with totals not matching lines. They contacted me about another one today. Ran a report and found 2 more. So this did not fix it. Changing sales tax recalcs it and makes it correct in Open SO but SO history does not match Open SO.
Is there any hotfix more current that actually fixes the issue?
------------------------------
Kelley Johnson
Kelley Johnson Consulting
------------------------------
Original Message:
Sent: 07-28-2021 13:48
From: Madeline Stefanou
Subject: Sales Order lines out of balance with totals
@Cooper Black the download states it is compatible with both PM and OM. It's on my To Do List for a client, also.
------------------------------
Madeline Stefanou
RKL eSolutions, LLC