Skip to main content
Solved

Import Scenario to Correct Shipment generating error

  • May 20, 2025
  • 3 replies
  • 76 views

Forum|alt.badge.img

 

I’m trying to create an import scenario to do the following:

  1. Trigger the ‘Correct Shipment’ action.
  2. Change the Ship Via and update the Freight Cost.
  3. Trigger the ‘Confirm Shipment’ action.

However, when I run my scenario it produces the following error message: 

Another process has updated the 'SOShipment' record. Your changes will be lost.

 

The scenario successfully triggers the ‘Correct Shipment’ action and the Shipment changes to ‘Open’ status, but nothing else works. And if I deactivate the 3 rows after the ‘Correct Shipment’ action in the scenario, it runs successfully without any errors. Seems to be related to ANYTHING after <Action: Correct Shipment>.

I’d appreciate any input the community can provide.

Here’s a screenshot of my scenario:

 

Best answer by dcomerford

@michaelho I suspect that because the Correct Shipment Action is updating fields on the shipment record as in Status etc, that as the import scenario does not refresh the Shipment record it is importing in to so when it tries to do the Confirm Shipment the record is different and so that is why it is throwing the error. I believe you will need two import scenarios 

3 replies

dcomerford
Captain II
Forum|alt.badge.img+15
  • Captain II
  • Answer
  • May 21, 2025

@michaelho I suspect that because the Correct Shipment Action is updating fields on the shipment record as in Status etc, that as the import scenario does not refresh the Shipment record it is importing in to so when it tries to do the Confirm Shipment the record is different and so that is why it is throwing the error. I believe you will need two import scenarios 


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • May 21, 2025

@dcomerford  I suspect you are correct, and that makes sense.

Thankfully, I was trying to use this import scenario in a Business Event and I realized I could create an ‘Action Execution’ subscriber for the Correct Shipment step, and then a separate ‘Import Scenario’ subscriber to make the Ship Via change. In my testing that seems to be working well.


bwhite49
Captain II
Forum|alt.badge.img+11
  • Captain II
  • May 21, 2025

I think there is a bug with import scenarios on the shipment screen in 2024 R2. I have a business event to create shipments by line item that receives the same error. The same business event worked in previous versions.