Void Shipment Errors
The following errors may be encountered with the Void Shipment message:
| Exception Code | Exception Message |
|---|---|
| DELIVERY_NUMBER_MISSING | Delivery number must be specified for Void Shipment transaction. |
| INVALID_ORDER_CANCELED_STATUS | Delivery [Delivery Number]: The Order Cancelled field must be true or false. |
| INVALID_REASON_CODE | Delivery [Delivery Number]: A valid void reason [Reason] must be specified. |
| INVALID_SERIAL_NUMBER_STATUS | Delivery [Delivery Number]: The serial numbers for the specified deliver must be in a Commissioned - Shipped state. |
| INVALID_SHIPMENT_STATUS | Delivery [Delivery Number]: Shipment transaction for specified delivery number has not been submitted. |
| NO_SHIPMENT_FOUND_FOR_COMPANY | Delivery [Delivery Number]: No shipment found for specified delivery number in specified company [CompanyID]. |
| NO_SHIPMENT_FOUND_FOR_LOCATION | Delivery [Delivery Number]: No shipment found for specified delivery number in specified location [LocationID]. |
| REASON_CODE_MISSING | Delivery [Delivery Number]: A void reason must be specified. |
| INVALID_RECEIPT_STATUS | Delivery [Delivery Number]: Receipt transaction for specified delivery number is not present in the system. |
| INVALID_SERIAL_NUMBER_STATUS_RECEIPT | Delivery [Delivery Number]: The serial numbers for the specified delivery must be in a Commissioned - Available or Commissioned - Pending Receipt state when Delivery Direction is Received. |
| DELIVERY_NUMBER_DUPLICATE | Operation could not be performed because multiple deliveries with the delivery number [DELIVERY NUMBER] were found in the system. Please provide additional details (SoldFromParty and ShipFromLocation) to fetch the intended delivery and perform the operation. |
| NO_RECEIPT_FOUND_FOR_LOCATION | Delivery [Delivery Number]: No receipt found for specified delivery number in specified location [LocationID]. |
| NO_RECEIPT_FOUND_FOR_COMPANY | Delivery [Delivery Number]: No receipt found for specified delivery number in specified company [CompanyID]. |
| INVALID_DRECTION_DIRECTION | Delivery [Delivery Number]: A Delivery Direction must be specified. |