Stock Ledger Entries of Cancelled Vouchers report ​

When you cancel a document, ERPNext cancels its Stock Ledger Entries too. Sometimes an entry stays active after its document is cancelled, because of a customization or an old issue. The stock balance then still counts it. The Stock Ledger Entries of Cancelled Vouchers report lists these entries so that you can fix them.

Filters ​

FilterDescription
CompanyThe company.
From Date, To DateThe period to check.
Voucher TypeCheck only one type of document.
Item Code, WarehouseCheck only this item or warehouse.

Columns ​

ColumnDescription
Stock Ledger EntryThe entry that is still active.
Voucher Type, Voucher NoThe cancelled document.
Posting DateThe posting date of the entry.
Item Code, WarehouseThe item and warehouse.
QtyThe quantity of the entry.
Stock Value DifferenceThe stock value of the entry.
Uncancelled Serial and Batch BundleA Serial and Batch Bundle of the entry that is also still active.

Cancel the entries ​

  1. Select the entries to fix.
  2. Select Cancel Stock Ledger Entries. ERPNext cancels them and creates reposting entries for the same items and warehouses.
  3. When the reposts are complete, check the stock balance.

WARNING

The stock balance changes after the fix. For example, if you have 50 water bottles in stock and you cancel a wrong entry of 5, the stock shows 45 after the repost.