Wrong GL postings for matched invoice in RMA/Vendor Return/Credit Memo

Description

When recording a vendor RMA, Return to Vendor and Vendor Credit Memo, the system creates a matched invoice document between Vendor Credit Memo and Return to Vendor, however, the GL posting is incorrect:
CR Inventory Clearing, DR NIR
The correct GL posting would be DR Inventory Clearing, CR NIR because return to Vendor debits GL NIR and credit memo credits GL Inventory Clearing.

This error was introduced in the past year and could be related to https://idempiere.atlassian.net/browse/IDEMPIERE-4006.

Michael

Environment

None

Activity

Show:
Michael Powacht
April 28, 2020, 5:50 AM

Here are the steps to reproduce the issue:

  1. Create Vendor RMA with reference to an earlier material receipt.

  2. Create Return to Vendor with reference to the RMA in step 1.

  3. Create a vendor credit memo with reference to the RMA/receipt.

  4. A matched invoice is document is being generated with the aforementioned incorrect GL fact postings.

 

Heng Sin Low
September 10, 2020, 9:55 AM
Edited

hi ,

Please address my comments for the pull request.

thanks.

Regards,

Low

Elaine Tan
September 10, 2020, 10:54 AM

Hi

This ticket is ready for review.

Thanks,
Elaine

Assignee

Heng Sin Low

Reporter

Michael Powacht

Labels

None

Tested By

None

Components

Fix versions

Affects versions

Priority

Major
Configure