On this page

Stock documents ​

Purpose ​

Five documents share the same list and document page. They differ in their lines and their effect:

DocumentEffect
Opening stockEnters opening balances at the quantity and unit cost you give (MB1, IV3)
Goods issuesTakes a quantity out of the warehouse at the running average cost, for a reason set in the header
Goods receiptsBrings 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 adjustmentsAn increase (positive quantity) or decrease (negative quantity), with a required reason on every line (IV2)
Stock type changesMoves 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 /new for 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:

ActionPermission keyLabel in roles
Open the screeninv.opening_stock.viewOpening stock - View
Create and Copyinv.opening_stock.createOpening stock - Create
Edit a draftinv.opening_stock.updateOpening stock - Update
Delete a draftinv.opening_stock.deleteOpening stock - Delete
Approve the request in Approvals waiting for meinv.opening_stock.approveOpening stock - Approve
Postinv.opening_stock.postOpening stock - Post
Reverseinv.opening_stock.reverseOpening stock - Reverse
Export to Excel and Print (PDF)inv.opening_stock.printOpening 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 ​

FieldDescriptionRequired?
BranchThe document's branch. Defaults to the session's branchYes
DateThe movement date, which sets the periodYes
WarehouseThe warehouse the quantity leaves or entersYes
ReasonGoods issues and receipts only. Chosen from the reasons used for "Goods issue" or "Goods receipt"Yes, for issues and receipts
To stock typeStock type changes onlyYes, for stock type changes
Description (Arabic), Description (English) and ReferenceFree textNo

Lines ​

ColumnDescription
Item codeThe code of a stock item. Its name appears under Item
QuantityIn the item's base unit. Positive (signed in adjustments)
Unit costRequired for opening stock. Optional for receipts and adjustment increases (empty = running average). Not shown for issues
Batch and ExpiryRequired on receipts of items tracked by expiry. When issuing without a batch, the system suggests the one expiring soonest (IV8)
Serial numbersFor serialised items: one number per unit, separated by commas
ReasonAdjustments only
NoteFree 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 ​

ButtonWhen it appearsWhat it does
Edit, then SaveDrafts, for users who can editSaves the header and lines
PostDrafts, for users who can postPosts the document, or sends it for approval if an approval template applies (G3)
ReversePosted documents, for users who can reverseAsks 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)
CopyAlways, for users who can createCopies the document into a new draft
Export to ExcelAlways, for users who can printDownloads the document as an Excel file
Print (PDF)Always, for users who can printDownloads 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)
DeleteDrafts onlyDeletes 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 ​

  1. Open Goods issues and select Create.
  2. Enter the Date, and choose the Warehouse and Reason.
  3. In the grid, type the Item code, press Enter, then enter the Quantity.
  4. Select Save. The Draft reference appears.
  5. 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 ​

MovementDebitCredit
Opening stockInventoryOpening stock offset (from inventory accounts)
Receipt, adjustment increaseInventoryThe reason's account (otherwise the default adjustment account)
Issue, adjustment decreaseThe reason's accountInventory
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 ​

MessageCause
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)