Stock Details grid is not showing value

Issue No: MFG-3706
Created 7/31/2018 2:42:57 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.1
Description Did a production order to produce Oil and Flake. The inventory valuation report shows the item going into inventory and then the cost adjustment to get the Inventory cost adjusted. This is supported by the GL transactions. However, the Stock details shows $0 for the cost.     !pastedImage_d102324_0.png!   *Expected:*   Implement @ysnUpdateItemCostAndPrice on all mfg sp that calls uspICPostCostAdjustment. See IC-5838.   !pastedImage_d102324_1.png|height=388,width=725!   *Steps:*   1. Produce 1 Lot with quantity 20 each, having unit cost @20 per each   2. The total cost is 400   3. Produce one more lot of the same item with quantity 20 each, having unit cost @20 per each.   4. Go to Manufacturing --> Inventory view and filter this item   5. Application is showing correct unit cost against each lot   4. Go to Inventory --> Stock details --> Locations YTD   *Expectation:* Average cost should calculate as (sum of total cost)/ total quantity, i.e 800/40=20. The last cost should be considered from the recent lot produced.