Hello community,
On this occasion, I am writing to notify you about a logic change that I recently detected in version 12 of iDempiere, and which still persists.
A long time ago, I remember that I was able to change the amount with which a product was entered into the product asset account when it was posted from physical inventory. This week, I realized that this is no longer possible, and when I looked for the reason, I saw that there was a logic change. Now, no matter how much I try to change the costdetail before posting, the cost at which it is posted is always the current cost of the product. This brings me a problem because that functionality previously allowed me to manage inventory entries more flexibly. I will resolve this today by overwriting the accounting class, but I think it would be a good idea to maintain the original logic.
I am attaching a screenshot of the change that was made and which does not match what the Java doc says. Previously, the DocLine class would first look for the amount in costdetail, and if it was not found, it would look for the product’s cost. Today, it only takes the product’s cost.