Skip to main content
Answer

Shipment Confirmation Error - Line cannot be deleted

  • April 24, 2025
  • 4 replies
  • 67 views

Forum|alt.badge.img

Hello Community, 

We are having an issue when attempting to confirm a shipment and receiving the following message:

On the shipment, we are not trying to delete any items, simply clicking the “Confirm Shipment” button and receiving that error. The quantity lines are as follows:

These are serialized items, and all have a serial selected so no unassigned quantities. No duplicate shipments were sitting out there, and the lines are all allocated correctly. The order itself shows the lines as open for shipment and every line is marked “back order allowed”. Has anyone seen this error before? 

Best answer by Samvel Petrosov

There is a graph customization to SalesOrderEntry and ShipmentEntry, but they arent deleting anything. The ShipmentEntry updates some custom fields on “Receipt” operations and the SalesOrderEntry is updating some custom fields based on the lines receipt type in a rowpersisting method. 

I would try to process shipment confirmation without these customizations to see if they are causing this error or not.

It will also be very useful to see the Stack Trace with the error message.

4 replies

Samvel Petrosov
Jr Varsity II
Forum|alt.badge.img+8

Do you have any customizations to Shipment Confirmation action or any customizations that might be deleting/updating the related sales orders?


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • April 24, 2025

There is a graph customization to SalesOrderEntry and ShipmentEntry, but they arent deleting anything. The ShipmentEntry updates some custom fields on “Receipt” operations and the SalesOrderEntry is updating some custom fields based on the lines receipt type in a rowpersisting method. 


Samvel Petrosov
Jr Varsity II
Forum|alt.badge.img+8

There is a graph customization to SalesOrderEntry and ShipmentEntry, but they arent deleting anything. The ShipmentEntry updates some custom fields on “Receipt” operations and the SalesOrderEntry is updating some custom fields based on the lines receipt type in a rowpersisting method. 

I would try to process shipment confirmation without these customizations to see if they are causing this error or not.

It will also be very useful to see the Stack Trace with the error message.


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • April 28, 2025

@Samvel Petrosov That worked! Had to unpublish but that got it to the finish line. Not sure why the code didn’t allow that to go through as it is checking for receipts, but that's a different problem. Thanks for the help!