Invoice Return: Posting to incorrect GL accounts

Issue No: AR-10099
Created 3/11/2019 6:40:41 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *For LG (Contract Balance)* : Consider 'Credit Memo' in uspLGUpdateLoadShipmentOnInvoicePost; quantity must be negated when invoice transaction type is 'Credit Memo'     Steps:   * Open invoice # SI-3192 * Select "return" * Credit Memo is automatically created * Select Post on Credit Memo   Issue:   * Error Message is displayed ** !pastedImage_d113784_0.png!   Accepted:   * 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