Edit Delivery
Update an existing delivery that is in Draft status. The edit form uses the same full-page document layout as the create form. Once a delivery is confirmed, line quantities are locked and the form cannot be edited.

Accessing the Page
Section titled “Accessing the Page”From the Delivery Detail page, click Edit, or navigate directly to /commerce/sales/deliveries/:id/edit. The Edit button only appears for Draft deliveries.
Form Overview
Section titled “Form Overview”The edit form uses the same structure as the Create Delivery form. All fields and line item columns are identical.
In edit mode:
- The document number is shown as a read-only reference in the header.
- The submit button is labeled Save Changes.
- Existing lines are pre-loaded; deleting a saved line marks it for removal on submit.
- Version tracking detects concurrent edits.
The Document Number is read-only after creation.
Document Header Fields
Section titled “Document Header Fields”Same fields as Create Delivery.
Line Items
Section titled “Line Items”Same columns as Create Delivery. Batch numbers and serial numbers can be updated until the delivery is confirmed.
Validation Rules
Section titled “Validation Rules”Same rules as Create Delivery. Additionally:
| Rule | Behavior |
|---|---|
| Version conflict | If another user edited the document concurrently, a conflict error is shown; refresh and retry |
| Draft-only editing | Non-Draft deliveries redirect to the detail page |
Post-save Behavior
Section titled “Post-save Behavior”After saving:
- The delivery is updated.
- You are redirected to the Delivery Detail page.
- A success notification confirms the update.
Common tasks
Section titled “Common tasks”- Open the Delivery Detail for a Draft delivery.
- Click Edit in the action bar.
- Update carrier details, line quantities, or batch numbers.
- Click Save Changes.
Permissions & system behavior
Section titled “Permissions & system behavior”- Editing requires Write permission on the Deliveries module.
- Only Draft deliveries are editable.
Related Pages
Section titled “Related Pages”- Deliveries — List all deliveries
- Create Delivery — Create a new delivery
- Delivery Detail — View and confirm a delivery