Displaying the Returned, Sold and Remaining Quantities of Receive Supplies
Last updated: November 24, 2026
Before agreeing a new order with a supplier, you want to know what happened to the goods you bought from them before: how much was sold? How much did you return to them? And how much is left in your warehouses?
Total purchases alone don't answer these questions, since the same item can arrive more than once and from more than one supplier. You need these quantities for each delivery on its own, so you can discuss the next order with clear numbers.
Follow the Steps
- Go to the "Warehouse" module.
- Open the "Work Orders" page.
- Select the work order type "Receive supplies".
- Under "Second party", click the search icon beside "Supplier", and choose the supplier.
- Select the date.
- Under "List by", choose "Line item — no grouping".
- Tick "Show returned, sold and remaining quantities of receive supplies".
- Click "Generate".
For each item line of a receive supplies, the report shows three columns: "Returned", "Remaining" and "Sold". Each quantity is calculated in a different way.
Returned: from its link to the receive supplies
The report adds up the quantities returned to the supplier from the same line. If 5 units arrived and 2 of them were returned, "Returned" shows 2 in that line.
Remaining: the current balance, assigned from the latest to the oldest
The report assumes that what is received first is sold first, as in the Stock Aging Report. So it assigns the stock you have now to the latest receive supplies first:
- It starts from the item's current global balance across all warehouses.
- It assigns to the latest receive supplies a quantity no larger than its quantity after the returns.
- If some balance is left, it moves to the one before it, and so on until the whole balance is assigned.
The quantity assigned to each line shows in "Remaining", and is zero when none of the balance is assigned to the line.
Sold: the quantity received minus returned and remaining
Once the returned and remaining quantities are set, "Sold" in each line is: quantity received − returned − remaining. So it is a quantity calculated on this assumption; it doesn't trace each unit from the receive supplies to its sales invoice.
In the following example, an item has only two receive supplies from the same supplier, and its current balance across all warehouses is 10 units:
Example
| Receive supplies | Quantity received | Returned | Remaining | Sold |
|---|---|---|---|---|
| Older | 5 | 1 | 2 | 2 |
| Latest | 8 | 0 | 8 | 0 |
The report assigns 8 units of the balance to the latest one, and the other 2 to the older one. So the sold quantity of the older one is: 5 − 1 − 2 = 2.
Important Things to Know
- "Show returned, sold and remaining quantities of receive supplies" is available only with "Line item — no grouping" and when you select one supplier.
- The three columns show with the work order type "Receive supplies" only, and are calculated for receive supplies lines from suppliers, not from other parties.
- "Remaining" is calculated from the item's balance across all warehouses, not its balance in one warehouse.
- We recommend turning on the "Prevent making IR without PR" setting, so that stock returns can't be made directly and must be linked to purchase return documents; the system can then tell the original receive supplies and calculate "Returned" for each line accurately.
- A direct stock return, not linked to a purchase return, lowers the item's balance without being recorded in "Returned" for any receive supplies line, so its quantity shows in "Sold". This doesn't mean it was actually sold.
Try It Yourself
Sample data — it doesn't affect any real data. Click the search icon beside "Supplier" and choose a supplier, choose "Line item — no grouping", then tick "Show returned, sold and remaining quantities of receive supplies" and click "Generate". Then compare "Sold" and "Remaining" between the older and the latest receive supplies of the same item.
You May Be Wondering
Why can't I tick "Show returned, sold and remaining quantities of receive supplies"?
Why is "Remaining" zero in an old receive supplies?
Is "Sold" what was actually sold from this receive supplies?
I returned a quantity to the supplier and it doesn't show in "Returned". Why?
If you encounter any challenges or have questions during these processes, you can contact our technical support team, who are ready to assist you at any time.