Hi There,
Firstly , i create and post the inventory adjustement journal.So i have new cost price calculated for the item .
When i create new inventory adjustement journal , i need get the updated cost price from
Product information management/Common/Released products/Item001/Manage inventory/on hand inventory/On hand/ cost Price.
So to do that i edit the method setCostPrice() on the table InventJournalTrans like this
this.CostPrice = InventSum::find(this.ItemId,this.InventDimId).costPricePcs();
The problem is i still getting the preview value of cost Price because the InventSum.PosteValue is not updated, but when clear the cach i get the correct value of cost price.
Would you please help me what is the causing for such issue, and how can it be fixed ????
Is there a way to recalculate inventSum with the updated value?
*This post is locked for comments
I have the same question (0)