.
Plugin
[GP]247
.
🌐 Language: 🇻🇳 Tiếng Việt · 🇬🇧 English (current)
This document explains the purchasing workflow in the InOut plugin: from creating a purchase order to a supplier, confirming it, receiving goods into stock, through to paying the supplier. It is for store owners, warehouse managers and internal accountants. After reading it you will be able to create and process a complete purchase order on your own.
flowchart LR
A["Create PO<br/>(Draft)"] --> B["Confirm<br/>(Confirmed)"]
B --> C["Receive goods<br/>(Into stock)"]
C --> D["Pay supplier<br/>(Record expense)"]
C -. auto .-> E["Stock increases<br/>+ recompute avg cost"]
D -. auto .-> F["Creates a payment entry<br/>in the cash book"]
1.5).PO-YYYYMMDD-XXXX) and computes: goods subtotal + total tax + extra costs = grand total.A new order starts in Draft status. You can only add/remove product lines while it is in Draft.
If you over-recorded and then reduce the received quantity, the system automatically subtracts back the exact amount of stock previously added.
You cannot pay more than the order total: paid so far + the new amount must not exceed the order grand total — otherwise the system returns an error.
| Status | Meaning |
|---|---|
| Draft | Just created, not confirmed (products can be added/removed) |
| Confirmed | Approved, ready to receive |
| Partial received | Some products received, not all |
| Received | All products fully received |
| Cancelled | Order cancelled (only possible when nothing has been received) |
The purchase order list can be filtered by: order code, supplier, status, and a creation date range (from – to).
If the accounting period containing the order's date is closed, any modification to that order (add/remove costs, add/remove products, payment, cancel…) is blocked. See Cash Flow, Debts & Period Closing.
Learn these rules up front so you don't get "stuck" while entering data — each rule has a business reason:
When creating / editing an order:
1.25 is valid, 1.255 is rejected) — because the system stores only 2 decimals.When receiving goods:
When paying:
Adding/removing products, confirming, cancelling:
Period closing: any modification to an order belonging to a closed period (judged by the order's date) is blocked.
Q1: Do I have to "Confirm" before I can receive goods?
→ You should follow Draft → Confirm → Receive for clean data. Adding/removing product lines is only possible while the order is still Draft.
Q2: How do I fix a wrong received quantity?
→ Just re-enter the correct received quantity and save. If the new number is smaller, stock is subtracted back; if larger, stock is added.
Q3: What is a negative extra cost for?
→ To record a discount/rebate the supplier gives you. For example a cost of -200,000 reduces the order grand total.
Q4: Why can't I add a product to the order?
→ Only orders in Draft allow adding/removing products. Confirmed/received orders have their product list locked.
Q5: Why did the system block my payment?
→ Because paid so far plus the new amount would exceed the order total. Check the remaining amount before entering.
Q6: How is "average cost" calculated?
→ On receipt with a unit price, the system uses weighted average: (old stock × old cost + received qty × unit price) ÷ (old stock + received qty). Cost is updated only at receipt time, not retroactively for past orders.
Q7: Can I cancel an order that has already received goods?
→ No. Only orders with nothing received can be cancelled. If you already received, use the Return workflow.
Q8: Where do I export the order to Excel/PDF?
→ On the order detail page, use the Export Excel or Export PDF button. See Export & Printing.
📅 Last updated: 2026-08-16 · ✍️ Author: GP247
Plugin
Plugin
Plugin
Plugin