HDTN-246699 - Stock Rebuild failed in Settle Storage

Issue No: GRN-2904
Created 2/8/2022 9:40:27 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-246699 - IC Cleanup|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-246699]   *Issue:*   + *Investigation Result from IC-10048:* +   It looks like there is a change on how Storage Settlement is creating its GL entries. If the there is an other charge involved, it is creating a separate entry for the other charge and another one for the item.   !pastedImage_d179068_0.jpg!   [~leslie.arat] ,   Inventory Receipt has a separate GL entry for the other charge and another for the item. During the stock rebuild, it will call uspICCreateReceiptGLEntries.   !pastedImage_d179068_1.jpg!   In the case of Storage Settlement, stock rebuild is calling uspGRCreateItemGLEntries. However, it generates the following entries:   !pastedImage_d179068_2.jpg!   It should generate entries from the original cost ($4,278.92) and not the valuation cost where the other charge was already deducted.   *Steps:*   Follow [http://jira.irelyserver.com/secure/Tests.jspa#/testCase/AGS-T78] \   *Acceptance* : Should proceed stock rebuild