Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Buying Settings "Set Landed Cost Based on Purchase Invoice Rate" #43967

Open
guilmori opened this issue Nov 4, 2024 · 0 comments
Open
Labels

Comments

@guilmori
Copy link

guilmori commented Nov 4, 2024

Information about bug

When creating a Purchase Invoice against a Purchase Order (which have Purchase Receipt), it won't update the the reception price in the stock ledger.

Steps:

  • Activate Buying Settings "Set Landed Cost Based on Purchase Invoice Rate"
  • Create and Submit a Purchase Order for ItemA (has batch no)
  • Create a Purchase Receipt against the Purchase Order. Split the ItemA into 3 different batches. Submit the Purchase Receipt.
  • Create a Purchase Invoice against the Purchase Order. Update the ItemA price. Submit the Purchase Invoice.
  • Execute Item Repost Valuation scheduled job.
  • Check the Stock Ledger for ItemA, the new price enterred in Purchase Invoice won't be reflected.

Doing the same steps, but create the Purchase Invoice against the Purchase Receipt instead of the Purchase Order, and it works OK.

I think this is a bug, or at least very misleading. My users first instinct is to create the invoice against the Purchase Order. And they don't understand why the price isn't updated.

Module

buying

Version

ERPNext v14.74.8

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

@guilmori guilmori added the bug label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant