## Shipment Error Codes

The following errors are specific to the **Shipment** module. The `%s` in error messages are placeholders used to indicate where a specific value, such as a Shipment ID or an item name, will be inserted when the actual error message is displayed. For example, if the error is “Shipment is already in status `%s`,” and the shipment has been marked as `DELIVERED`, the displayed message would become “Shipment is already in status `DELIVERED`.”

| Module    | Error Code   | Message                                                                       |
|-----------|--------------|-------------------------------------------------------------------------------|
| **Shipment** | SHIPMENT-2001 | The related transfer is in an invalid state `%s`.                            |
| **Shipment** | SHIPMENT-2002 | The requested quantity for item with item ID `%s` exceeds the shipped quantity. |
| **Shipment** | SHIPMENT-2003 | Partial shipment is not permitted for this transfer.                          |
| **Shipment** | SHIPMENT-2004 | Over-shipment is not permitted for this transfer.                             |
| **Shipment** | SHIPMENT-2005 | Shipment is already in status `%s`.                                          |
| **Shipment** | SHIPMENT-2006 | Item `%s` has already been scratched.                                         |
| **Shipment** | SHIPMENT-2007 | Item `%s` has already been shipped.                                           |
| **Shipment** | SHIPMENT-2008 | Item `%s` has already been packed.                                            |
| **Shipment** | SHIPMENT-2009 | Allocation `%s` is already in SHIPPED status.                                |
| **Shipment** | SHIPMENT-2010 | Transfer `%s` is either in corrupted or rejected status.                     |
| **Shipment** | SHIPMENT-2011 | Shipment is in invalid state to perform operation.
