Edit Return Delivery
Update an existing return delivery that is in Draft status. The edit form uses the same full-page document layout as the create form. Once a return delivery is confirmed, the inventory movement is committed and the form cannot be edited.

Accessing the Page
Section titled “Accessing the Page”From the Return Delivery Detail page, click Edit, or navigate directly to /commerce/sales/return-deliveries/:id/edit. The Edit button only appears for Draft return deliveries.
Form Overview
Section titled “Form Overview”The edit form uses the same structure as the Create Return 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 Return Delivery.
Line Items
Section titled “Line Items”Same columns as Create Return Delivery. Batch numbers can be updated until the return delivery is confirmed.
Validation Rules
Section titled “Validation Rules”Same rules as Create Return 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 return deliveries redirect to the detail page |
Post-save Behavior
Section titled “Post-save Behavior”After saving:
- The return delivery is updated.
- You are redirected to the Return Delivery Detail page.
- A success notification confirms the update.
Common tasks
Section titled “Common tasks”- Open the Return Delivery Detail for a Draft return delivery.
- Click Edit in the action bar.
- Update batch numbers, line quantities, or other fields.
- Click Save Changes.
Permissions & system behavior
Section titled “Permissions & system behavior”- Editing requires Write permission on the Return Deliveries module.
- Only Draft return deliveries are editable.
Related Pages
Section titled “Related Pages”- Return Deliveries — List all return deliveries
- Create Return Delivery — Create a new return delivery
- Return Delivery Detail — View and confirm a return delivery