MR=>Create Lines From...Incorrect remaining quantity for PO with Charge and partial MR

Description

Here is how to simulate the above issue:

1. Create Purchase Order=>Line using a charge A (not a product) with qty=10, UOM=Each
2. MR(1)=>Create Lines From... Overwrite default qty of 10 to qty=3 (1st partial receipt)
2.1 PO Line=>Delivered qty for Charge A is updated to 3 =>OK
3. MR(2)=>Create Lines From... (2nd partial receipt)
3.1 Create Lines From...-Window shows total PO qty of 10 instead of the remaining qty of 7 available for receipt

The issue was simulated in https://demo.globalqss.com/webui/index.zul PO=800016

Environment

None

Activity

Show:
Anna Fadeeva
June 25, 2020, 6:36 PM

Third step - new drafted Material Receipt. Quantity = 7. It’s OK

Anna Fadeeva
June 25, 2020, 6:38 PM

Fourth step - completed Material Receipt from First step 10000516

Anna Fadeeva
June 25, 2020, 6:39 PM

Fifth step - opened Material Receipt from Third step 10000517

Anna Fadeeva
June 25, 2020, 6:41 PM

Tested by

Anna Fadeeva
June 25, 2020, 6:43 PM

Reproduced in 7.1z

Assignee

Unassigned

Reporter

Michael Powacht

Labels

Tested By

Anna Fadeeva

Components

Affects versions

Priority

Minor
Configure