Stock Valuation Comparison report
Every stock transaction adds a Stock Ledger Entry that stores the balance quantity, the change in stock value, the valuation rate, and the balance stock value. These numbers can become wrong, for example after:
- Many backdated entries for the same item and warehouse.
- A repost that failed or never ran.
- An old bug that is fixed now, but whose wrong values remain in the ledger.
- Customizations that change stock ledgers.
The Stock Valuation Comparison report reads the ledger of each item and warehouse from the first entry. It calculates what each number should be and shows the actual and the expected value side by side. A row with a difference is shown in red.
From the report, you can fix the differences with a repost or an adjustment entry. See Fix stock value differences.
Filters
| Filter | Description |
|---|---|
| Company | The company. Required. |
| From Date, To Date | Show only entries in this period. The report still reads the ledger from the first entry, so its numbers are correct. |
| Item, Item Group, Warehouse | Check only these items or warehouses. A parent warehouse includes its child warehouses. |
| Show | First Difference per Item-Warehouse (default): only the first wrong entry of each item and warehouse. One wrong entry makes all later entries wrong too, so this is usually enough. All Differences: every wrong entry. All Entries: every entry. |
| Ignore Differences Below | Hide differences smaller than this amount, such as rounding. The default is 0.01. |
| Show Differences Settled by Adjustment Entries | Also show differences that an adjustment entry has already settled. |
Columns
The value columns come in groups of three: actual, expected, and difference.
| Actual | Expected | Difference | Meaning |
|---|---|---|---|
| (A) Balance Qty | (B) Expected Balance Qty | A - B | The quantity in stock after the entry |
| (C) Change in Stock Value | (D) Expected Change in Stock Value | C - D | The value that the entry added or removed |
| (E) Valuation Rate | (F) Expected Valuation Rate | E - F | The rate per unit after the entry |
| (G) Balance Stock Value | (H) Expected Balance Stock Value | G - H | The total stock value after the entry |
Other columns:
| Column | Description |
|---|---|
| Expected Value Based On | How the report calculated the expected value, for example from the FIFO queue, the moving average, or the receipt rate of a serial number. |
| Adjusted By | The adjustment entry that settled this difference, if any. |
| Pending Repost | A Repost Item Valuation that is queued or running for this item and warehouse. |
| Stock Ledger Entry | The entry that the row describes. |
WARNING
Before you fix anything, open the voucher of the first difference of an item. Check that the expected value makes sense. If the expected value looks wrong, do not fix the entry. Contact your ERPNext partner or support first.