Skip to main content

Data Corruption Error when creating a Shipment

  • Sep 22, 2026 3:41 PM UTC
  • 8 replies
  • 136 views
  • Translate All

Hello all,

Recently we have begun to increasingly see the below error when we attempt to make a shipment. To resolve it we end up repeatedly trying to create a shipment until the error resolves on its own. Does anyone else experience this problem? Is there a known fix? We are on the latest build of 25R2 the screens involved are the shipment screen and sales order.

 

 

8 replies

rkenna
Captain II
Forum|alt.badge.img+5
  • Captain II
  • Sep 22, 2026 3:56 PM UTC

Hi ​@FHubsch, anytime I have seen a data corruption, it usually is with a Sales Order/Shipment relationship. Something took place at some point to cause the corruption. I have always had to open a ticket with Acumatica each time for them to go into the server on the backend and make a corruption fix. 

Cheers,

RJ

Translate

  • Author
  • Freshman I
  • Sep 22, 2026 4:05 PM UTC

Hi RJ, 

I should have probably added we are an onprem company so we have our own server… does that effect your advice?

Translate

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+16

​@FHubsch Can you refresh and check if this issue exist?

As per my knowledge, there is a permanent fix in 26r1

Translate

Steve Milner
Varsity III
Forum|alt.badge.img+8
  • Varsity III
  • Sep 22, 2026 4:52 PM UTC

@FHubsch RJ's route is still the right one, and being on-prem doesn't change it. It does give you two things to do first.

openSiteCntr is the number of warehouses on the order that still have open lines and no unconfirmed shipment. The check behind that error isn't reading your stored value. It compares the change one save makes to that counter against the change the order's warehouse rows (SOOrderSite) account for. Both have to move together, and creating a shipment moves both. When they disagree the save is refused, so it's a condition inside a single save rather than a flag sitting on the order. That fits a retry eventually going through.

First, open System Monitor (SM201530), System Events tab, and find the incident by the ID in that message. The event records the difference and the two values it compared. Support will ask for it.

Second, and this is the part on-prem gives you, check whether your stored counters are actually off. Read-only:

SELECT o.CompanyID, o.OrderType, o.OrderNbr, o.OpenSiteCntr AS Stored, ISNULL(s.Expected, 0) AS Expected
FROM SOOrder o
LEFT JOIN (
    SELECT CompanyID, OrderType, OrderNbr,
           SUM(CASE WHEN OpenShipmentCntr = 0 AND OpenLineCntr > 0 THEN 1 ELSE 0 END) AS Expected
    FROM SOOrderSite
    GROUP BY CompanyID, OrderType, OrderNbr
) s ON s.CompanyID = o.CompanyID AND s.OrderType = o.OrderType AND s.OrderNbr = o.OrderNbr
WHERE o.OpenSiteCntr <> ISNULL(s.Expected, 0)

Rows coming back is real data to fix, and you walk into the case with order numbers. Nothing coming back means the stored counters are fine and it's the save path, so try reproducing with your customizations and ISV products unpublished before you open it.

Translate

KrunalDoshi
Pro III
Forum|alt.badge.img+9
  • Pro III
  • Nov 24, 2026 5:16 PM UTC

Hi ​@FHubsch,

Data corruption errors are often related to a discrepancy between the data held in the cache and the actual database state. This can sometimes happen when the same record is updated by another process, customization, or concurrent transaction.

I would recommend checking whether any customizations are involved in the Shipment or Sales Order screens and reviewing the System Events on the System Monitor (SM201530) screen for additional details.

You could also try clearing the application cache and see if the issue persists. If this is happening repeatedly on the latest build, it may be worth opening a support case with Acumatica, as the error could also be related to an underlying issue with the aggregate validation logic.

Translate

mohammadnawaz51
Varsity I
Forum|alt.badge.img+8

​@FHubsch This is a common issue we have seen In Acumatica instance.

 

Are you getting this issue for new sales order or backorder sales order?

Translate

KrunalDoshi
Pro III
Forum|alt.badge.img+9

Hi ​@FHubsch,

Data corruption errors are often related to a discrepancy between the data held in the cache and the actual database state. This can sometimes happen when the same record is updated by another process, customization, or concurrent transaction.

I would recommend checking whether any customizations are involved in the Shipment or Sales Order screens and reviewing the System Events on the System Monitor (SM201530) screen for additional details.

You could also try clearing the application cache and see if the issue persists. If this is happening repeatedly on the latest build, it may be worth opening a support case with Acumatica, as the error could also be related to an underlying issue with the aggregate validation logic.

Hi ​@FHubsch, Does this help identify your data corruption issue? Please mark the answer so it helps others in the community.

Thanks!

Translate

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+16

​@FHubsch Follow below steps

  1. Delete the existing shipment.
  2. Open the related sales order and place it on Hold.
  3. For each sales order line, select the Completed checkbox, clear it again, and save the order.
  4. Remove the sales order from Hold.
  5. Create a new shipment.
  6. Confirm the newly created shipment.
Translate