18.3 - Cost displaying on screen does not match actual cost Used

Issue No: TR-1216
Created 6/21/2018 4:14:36 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-209411 - Sales Analysis report|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-209411]     Version: 17.3.0129.267   Database: 01- I have not rebuild inventory on this one February   Database: 99 - I have Rebuild invnetory on this one for February   *Steps to Recreate:*   1. First find record TR-868. Notice that the posted cost for LSD2C and B100 do not match the actual cost posted to inventory valuation and sales analysis report.   2. [~ajith.dharan] says the cost posted is correct, the display is incorrect.   *Requirements* :   1. In Receipt Area, if Origin = Location, Unit Cost field is greyed-out and not editable by User.   2. At TR Posting, if a Receipt Line has Origin = Location, then get cost of IC for that Item (see IC-4885), and then update Item's Unit Cost field. Do this before marking TR as Posted.   2. If a Unit Cost is updated (from #2), then include a message in the Posting Success message: Item XYZ's Unit Cost is updated to reflect most recent Inventory Cost.   4. {color:#ff0000}What about Price? [~brian.kay] How should Price be updated? {color}   {color:#ff0000}5. Question: currently, Unit Cost is saved with the TR Load. How is this Cost used in TR and potentially other modules? If it is not used, then we can consider not saving this data as part of TR, and only fetching it from IC on display. In doing so, when Inventory is rebuilt, we do not have to update exisitng TR Loads Cost. [~lawrence.zabala] {color}