Invoice Return: Posting to incorrect GL accounts

Issue No: AR-9918
Created 2/28/2019 10:40:59 AM
Type Bug-QC
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-230927 - Return Using wrong cost|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-230927] Steps:   * Open invoice # SI-3192 * Select "return" * Credit Memo is automatically created * Select Post on Credit Memo   Issue:   * Error Message is displayed ** !pastedImage_d112980_0.png! * Select Post Preview ** it appears that the credit memo is attempting to post to incorrect GL accounts ** I'm not sure why we are hitting intransit and AP accounts as well as COGS and InTransit for the Raw Materials? ** I believe posts should be as follows ** Dr: Sales $12,247.20 and 21 units ** Cr: AR $12,247.20 and 21 units ** Dr: Inventory - Grits Creston Soybeans @ current inventory cost and 21 units ** Cr: COGS - Soy Grits Creston Soybeans @ current inventory cost and 21 units