Purchase
Fill a Purchase from Supplier Items or Low Stock
Fill from supplier is a bulk line-entry aid, not an automatic order decision. It uses the selected supplier and active branch; low-stock mode includes tracked items at or below their item reorder point, or the device's fallback low-stock range.
- Menu path
- Purchase -> Purchases -> New Purchase -> select Supplier -> Fill from supplier
- Verified from
- Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence
frontend/modules/receivings_write.html Fill from supplier controls, frontend/static/script/js/modules/js/receiving_add.js autofillFromSupplier, api/src/controllers/items.controller.js getItemsBySupplier permission and request context, api/src/repositories/item.repository.js getItemsBySupplier filters threshold result cap and incoming context, api/tests/unit/repositories/item.repository.test.js supplier and low-stock query contracts
Choose the Fill Mode
| Mode | What Posnic adds | Use when |
|---|---|---|
| all items | Up to 500 active, non-instant items linked to the selected supplier and active branch. | Building a regular supplier order from a trusted supplier catalog. |
| low-stock items | Only linked items that track inventory and are at or below their reorder threshold. | Reorder points and on-hand quantities have been reviewed. |
| Manual search | Only the item selected by name, SKU or barcode. | The order is small or supplier links are incomplete. |
| Purchase order | Planned incoming lines without immediate stock movement. | Goods have been ordered but are not physically received. |
| Direct purchase | Lines intended for a received purchase. | Goods are physically present and checked. |
Fill the Purchase Safely
- Open Purchase -> Purchases and check for open or partially received orders from the same supplier.
- Start New Purchase and select the exact supplier.
- Choose all items for a full supplier catalog fill, or low-stock items for threshold-based candidates.
- Wait for the success message showing how many item rows were added.
- Review every generated item name, unit, current stock and incoming quantity.
- Remove items that should not be ordered or received.
- Enter the real quantity for each retained line; autofill initially uses the item's normal row quantity behavior, not an approved reorder quantity.
- Verify cost and tax against the current supplier quote or invoice.
- Save as an order when goods are pending, or save as received only after physical counting.
How Low Stock Is Selected
| Rule | Current behavior | Operator implication |
|---|---|---|
| Inventory tracking | Item must have Track inventory enabled. | Services and untracked products are excluded from low-stock fill. |
| Item reorder point | When present, the item's own reorder point wins. | Different products can trigger at different quantities. |
| Fallback threshold | Uses the device's stored notification range; missing or invalid values fall back to 10. | Two devices can produce different low-stock candidates when local settings differ. |
| Comparison | Available quantity less than or equal to the threshold is included. | An item exactly at its reorder point is low stock. |
| Available quantity conversion | Invalid or missing stock values are treated as zero for the comparison. | Investigate malformed stock data instead of blindly ordering it. |
| Incoming quantity | Existing open-order quantity is returned as display context. | Subtract or account for incoming stock before placing another order. |
Scope and Exclusions
- A valid supplier is required; Posnic refuses an unscoped supplier query.
- Results are limited to the active branch and current license.
- Deleted items are excluded even if they were previously linked to the supplier.
- Instant items are excluded from the purchasable supplier list.
- The response is capped at 500 items, so very large supplier catalogs need manual review or a narrower process.
- Only the primary supplier link stored on the item is used by this query.
Duplicates and Existing Lines
Autofill reuses the normal receiving add-line path. If the same item is already on the purchase, its quantity is incremented rather than creating a second visible line.
- Do not click an autofill link repeatedly while waiting for the first request.
- After autofill, compare every quantity with the intended order quantity.
- If a manually added item is also supplier-linked, expect its line quantity to increase.
- Incoming stock is context only and is not automatically deducted from the quantity entered on the new line.
- Use the purchase list and open document before ordering to prevent duplicate supplier commitments.
Clean the Supplier-Item Setup
- Open the item record when an expected product is missing from supplier fill.
- Confirm the item belongs to the active branch and is not deleted.
- Confirm its Supplier is the supplier selected on the purchase.
- For low-stock fill, enable inventory tracking and enter a reviewed reorder point where product-specific control is needed.
- Correct available stock through receiving, inventory count or an approved adjustment.
- Return to New Purchase, reselect the supplier if needed and run the fill once more.
Troubleshooting
| Message or symptom | Likely reason | Controlled response |
|---|---|---|
| Choose a supplier first | No valid supplier is selected. | Select the supplier before using either fill link. |
| No items linked to this supplier | No eligible active items use that supplier in this branch. | Review supplier assignment on item records. |
| No low-stock items for this supplier | No linked tracked item is at or below its threshold. | Confirm stock and reorder settings; do not force an order without evidence. |
| Could not load the supplier items | Request, permission, connection or server processing failed. | Keep the purchase unsaved, refresh once and report the repeated error. |
| Expected item is missing | Wrong supplier, branch, deleted/instant item, or result cap. | Inspect the item record and use manual search when appropriate. |
| Too many items were added | all items was used or supplier links are overly broad. | Remove unwanted lines and correct supplier assignments later. |
| Quantity doubled | The item already existed and autofill incremented its line. | Correct the line quantity and avoid repeated fill clicks. |
| Low-stock list differs by workstation | Fallback notification range is stored locally. | Align device settings or use item-specific reorder points. |
Pre-Save Review
- Correct supplier and active branch are selected.
- No open order already covers the same requirement.
- Every retained item is actually supplied by this supplier.
- Quantities account for on-hand and incoming stock.
- Units and pack conversions are understood.
- Costs and tax match current supplier evidence.
- Order versus Received status matches physical reality.