Edit Stock In
Update an existing Stock In document that is still in Draft status. The edit form uses the same layout as the Create form — a Document Details card and a Line Items table — but opens with all existing data pre-filled. Confirmed and Cancelled documents cannot be edited.

Accessing the Page
Section titled “Accessing the Page”From the Stock In Detail page, click Edit in the Actions menu, or navigate directly to /inventory/operations/stock-in/:id/edit.
The Edit option is only visible when the document status is Draft.
Form Overview
Section titled “Form Overview”The edit form uses the same structure as Create Stock In. See that page for the full field reference. The following differences apply in edit mode:
- The document number is displayed in the page header as read-only.
- The document status badge shows the current status (always Draft when editing).
- All fields are editable: warehouse, document date, reference, remarks, and all line items.
Document Details
Section titled “Document Details”| Field | Required | Type | Description | Validation |
|---|---|---|---|---|
| Warehouse | Yes | Entity select | Receiving warehouse | Only active warehouses |
| Document Date | No | Date | Date of the physical receipt | — |
| Reference | No | Text | External reference number | — |
| Remarks | No | Textarea | Document-level notes | — |
Line Items
Section titled “Line Items”Line items can be added, edited, and removed. Existing lines have their current values pre-filled. New lines can be added with Add Line. Existing lines can be removed with the delete icon.
| Field | Required | Type | Description |
|---|---|---|---|
| Item | Yes | Entity select | Stock-tracked item |
| Quantity | Yes | Number | Must be greater than 0 |
| UOM | No | Text | Auto-populated from item |
| Notes | No | Text | Line-level note |
Validation Rules
Section titled “Validation Rules”Same rules as Create Stock In:
| Rule | Behavior |
|---|---|
| Warehouse required | Cannot save without a warehouse |
| At least one line | At least one line with an item is required |
| Quantity positive | All quantities must be greater than 0 |
| Item required per line | Each line must have an item selected |
Post-save behavior
Section titled “Post-save behavior”After saving:
- The document is updated with the new values
- Status remains Draft
- You are redirected to the Stock In Detail page
- A success notification confirms the update
Common tasks
Section titled “Common tasks”- Open the Stock In Detail page for a Draft document.
- Click Edit to open the edit form.
- Make the necessary changes and click Save to return to the detail view.
Permissions & system behavior
Section titled “Permissions & system behavior”- Editing requires Write permission on Operations.
- Only Draft documents can be edited. If you need to correct a Confirmed document, cancel it and create a new one.
Related Pages
Section titled “Related Pages”- Stock In — List all receipt documents
- Stock In Detail — View a specific receipt document
- Create Stock In — Create a new receipt document