On this page
Stock documents
Purpose
Five documents share the same list and document page. They differ in their lines and their effect:
| Document | Effect |
|---|---|
| Opening stock | Enters opening balances at the quantity and unit cost you give (MB1, IV3) |
| Goods issues | Takes a quantity out of the warehouse at the running average cost, for a reason set in the header |
| Goods receipts | Brings a quantity in at the unit cost you give (or at the running average if you leave it empty), for a reason set in the header |
| Inventory adjustments | An increase (positive quantity) or decrease (negative quantity), with a required reason on every line (IV2) |
| Stock type changes | Moves a quantity from one stock type to another in the same warehouse, with no accounting entry (IV7) |
Transfers and revaluations use the same page, and have their own pages in this manual.
Where to find it
- Menu: Inventory → Opening stock, Goods issues, Goods receipts, Adjustments or Stock type changes.
- URLs:
/inv/opening-stock,/inv/goods-issues,/inv/goods-receipts,/inv/adjustments,/inv/stock-type-changes. Add/<id>for a specific document, or/newfor a new one.
Permissions
Each document has its own keys in the form inv.<document>.<action>, where the document is opening_stock, goods_issue, goods_receipt, inventory_adjustment or stock_type_change. For example, for opening stock:
| Action | Permission key | Label in roles |
|---|---|---|
| Open the screen | inv.opening_stock.view | Opening stock - View |
| Create and Copy | inv.opening_stock.create | Opening stock - Create |
| Edit a draft | inv.opening_stock.update | Opening stock - Update |
| Delete a draft | inv.opening_stock.delete | Opening stock - Delete |
| Approve the request in Approvals waiting for me | inv.opening_stock.approve | Opening stock - Approve |
| Post | inv.opening_stock.post | Opening stock - Post |
| Reverse | inv.opening_stock.reverse | Opening stock - Reverse |
| Export to Excel and Print (PDF) | inv.opening_stock.print | Opening stock - Print |
Branch scope applies: you only see documents from branches you're allowed to access (data scope).
The list
The list shows the current company's documents, newest date first, 25 per page.
- Columns: Number, Date, Warehouse, Description, Lines, Value and Status.
- Filters: Number (starts with), Description (contains) and Status.
- The adjustment, goods issue and goods receipt lists also have a Reason column (the document's reason if all lines share one, otherwise "Several reasons"), and you can filter by it.
- The adjustment and opening stock lists have an Increase / decrease column (increase, decrease, or both). In the adjustment list you can also filter by it.
The Value total at the bottom covers every document that matches the filter, not just the page shown. The Create button in the header opens a new document.
Opening stock
Unit cost is required on every line, and there's no reason. Use it for starting balances when you go live on the system (MB1).
Goods issues
Needs a Reason in the header, and is valued at the running average. There's no unit cost column.
Goods receipts
Needs a Reason in the header. Unit cost is optional.
Inventory adjustments
Unlike the other documents, the quantity is signed: positive for an increase and negative for a decrease. Each line has its own reason in the Reason column, chosen from the reasons used for "Adjustment in" or "Adjustment out". The reason sets the offset account (IV2).
Stock type changes
In the header, choose To stock type: Unrestricted, Quality inspection or Blocked. The quantity leaves its current type and enters the chosen type at the same value. No entry is created.
The document page
An object page with two sections: Header and Items. After the first save, Attachments appears below the items, for example for the supplier's delivery note: Attach a file (up to 10 MB), Download and Delete attachment. Attaching and deleting need the permission to edit the document.
The page header shows the number (or the Draft reference before posting), the status, and the Approval if the document was sent for approval.
Fields
Header
| Field | Description | Required? |
|---|---|---|
| Branch | The document's branch. Defaults to the session's branch | Yes |
| Date | The movement date, which sets the period | Yes |
| Warehouse | The warehouse the quantity leaves or enters | Yes |
| Reason | Goods issues and receipts only. Chosen from the reasons used for "Goods issue" or "Goods receipt" | Yes, for issues and receipts |
| To stock type | Stock type changes only | Yes, for stock type changes |
| Description (Arabic), Description (English) and Reference | Free text | No |
Lines
| Column | Description |
|---|---|
| Item code | The code of a stock item. Its name appears under Item |
| Quantity | In the item's base unit. Positive (signed in adjustments) |
| Unit cost | Required for opening stock. Optional for receipts and adjustment increases (empty = running average). Not shown for issues |
| Batch and Expiry | Required on receipts of items tracked by expiry. When issuing without a batch, the system suggests the one expiring soonest (IV8) |
| Serial numbers | For serialised items: one number per unit, separated by commas |
| Reason | Adjustments only |
| Note | Free text |
The grid works from the keyboard. Enter and Tab move between cells and add a line at the end of the grid, and Ctrl+Delete deletes the line (Working with the keyboard). Every line has a fixed ID, so pressing save again or losing the connection never duplicates a line or a document (IV15).
Buttons and actions
| Button | When it appears | What it does |
|---|---|---|
| Edit, then Save | Drafts, for users who can edit | Saves the header and lines |
| Post | Drafts, for users who can post | Posts the document, or sends it for approval if an approval template applies (G3) |
| Reverse | Posted documents, for users who can reverse | Asks for a Reversal reason from the company's list (required) and Details, then creates a reversing document with the original values. The reason is stored as "code: details" (G15, D5, G12) |
| Copy | Always, for users who can create | Copies the document into a new draft |
| Export to Excel | Always, for users who can print | Downloads the document as an Excel file |
| Print (PDF) | Always, for users who can print | Downloads the document as a PDF using the system template: items, quantities and batches, plus cost and value where present. A draft is marked as not final (IV14, IV17) |
| Delete | Drafts only | Deletes the draft after you confirm |
In an adjustment draft, Import lines from Excel (permission inv.inventory_adjustment.import) replaces the draft's lines with the lines from an Excel file. Lines imported. appears when it succeeds.
On every document, Item code accepts a barcode (scanned or typed) and replaces it with the item code. The grid's Import lines from Excel button adds lines from a file with barcode or item code, quantity and price columns. Importing the same file twice doesn't duplicate lines (IV15).
Procedures
Enter and post a goods issue
- Open Goods issues and select Create.
- Enter the Date, and choose the Warehouse and Reason.
- In the grid, type the Item code, press Enter, then enter the Quantity.
- Select Save. The Draft reference appears.
- Select Post. The message "Posted as …" appears and the status becomes Posted.
Business rules
- The official number is assigned only at posting, with no gaps (P5).
- The item must be a stock item, and the warehouse must not be blocked by a full count in progress.
- Issues follow the negative stock policy of the item and warehouse (D11). When a moving-average balance goes negative, the issue is valued at the last average, and the next receipt resets the average to its own cost (D15).
- An expired batch can leave stock only through an adjustment, a supplier return or a change to "Blocked" (D15).
- Posting with a date earlier than the item's latest movement queues a cost recalculation request (Inventory costing).
Accounting impact
| Movement | Debit | Credit |
|---|---|---|
| Opening stock | Inventory | Opening stock offset (from inventory accounts) |
| Receipt, adjustment increase | Inventory | The reason's account (otherwise the default adjustment account) |
| Issue, adjustment decrease | The reason's account | Inventory |
| Stock type change | — | — |
The inventory account comes from the item's account family. Under periodic inventory, the purchases account takes the place of inventory.
Statuses
Draft → (Pending approval) → Posted → Reversed.
Error messages
| Message | Cause |
|---|---|
| Not enough stock: … available, … requested. | The balance doesn't cover the issue, and the item's policy doesn't allow negative stock |
| The warehouse is blocked by a running stock count. | A full count has started in the warehouse |
| Line … needs a batch number. | The item is tracked by expiry |
| Line … needs one serial number per unit. | The number of serial numbers doesn't match the quantity |
| The inventory account «…» is not configured. | An account is missing in the setup or on the reason |
| A line appears twice. | Two lines with the same ID |
| You are not allowed to work in this warehouse. | The user is restricted to other warehouses in Warehouse access |
| Choose a reversal reason. / The reversal reason … is not defined or not active in this company. | Reversing without a reason code, or with a code that doesn't exist (G15) |