Error : Backdated Stock Entry


Am getting error while doing anything related to stock.
Like Making new invoice for date 01-04-2020 with update stock
getting message:

Backdated Stock Entry
Posting timestamp of current transaction must be after last Stock transaction’s timestamp which is 2020-05-02 14:18:42.664969

Its happened after making update to v13


I am not in V13 but my guess is the new immutable ledger of V13 is the cause. Check for this. Also never upgrade a production server with beta environment.

Thats a leason. Reverted back to version-12 branch. And done backup of some sites, Everything came back as old. But two sites doesn’t have the old backup. All data are okay in those two But desk page not coming.
That might be cause by update of v13 patches in database.

This is the error in the current v13 beta 3.

It’s not a bug per se: fix(Immutable Ledger): Item wise backdated stock entry posting by deepeshgarg007 · Pull Request #22366 · frappe/erpnext · GitHub

Probably needs a rethink, does this mean past transactions that affect stock cannot be posted?

1 Like

The same issue with me on v13. is there someone who can resolve the issue?