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 ​

FilterDescription
CompanyThe company. Required.
From Date, To DateShow only entries in this period. The report still reads the ledger from the first entry, so its numbers are correct.
Item, Item Group, WarehouseCheck only these items or warehouses. A parent warehouse includes its child warehouses.
ShowFirst 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 BelowHide differences smaller than this amount, such as rounding. The default is 0.01.
Show Differences Settled by Adjustment EntriesAlso show differences that an adjustment entry has already settled.

Columns ​

The value columns come in groups of three: actual, expected, and difference.

ActualExpectedDifferenceMeaning
(A) Balance Qty(B) Expected Balance QtyA - BThe quantity in stock after the entry
(C) Change in Stock Value(D) Expected Change in Stock ValueC - DThe value that the entry added or removed
(E) Valuation Rate(F) Expected Valuation RateE - FThe rate per unit after the entry
(G) Balance Stock Value(H) Expected Balance Stock ValueG - HThe total stock value after the entry

Other columns:

ColumnDescription
Expected Value Based OnHow the report calculated the expected value, for example from the FIFO queue, the moving average, or the receipt rate of a serial number.
Adjusted ByThe adjustment entry that settled this difference, if any.
Pending RepostA Repost Item Valuation that is queued or running for this item and warehouse.
Stock Ledger EntryThe 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.